ducks.global.Global.d.ts Maven / Gradle / Ivy
The newest version!
export type State = {
breadcrumbs: Record
ready: boolean
loading: boolean
error: object | null
locale: 'ru' | 'en'
locales?: ['ru', 'en', 'fr']
messages: Record
menu: {
layout?: Record
header?: Record
footer?: Record
datasources?: Record
}
rootPageId: string | null
user?: object
redirectPath?: string
}
export type RouterState = {
location: { search: string }
action: string
}