ducks.table.Actions.d.ts Maven / Gradle / Ivy
The newest version!
import { Action } from '../Action'
import { Table } from './Table'
export type RegisterTablePayload = {
widgetId: string
initProps: Table
}
export type RegisterTableColumnPayload = {
widgetId: string
columnId: string
label: string
visible: boolean
disabled: boolean
conditions: Record
}
export type ChangeTableColumnParamPayload = {
widgetId: string
columnId: string
paramKey: string
value: string | boolean | number
}
export type ChangeTableParamPayload = {
widgetId: string
paramKey: string
value: string
}
export type SwitchTableColumnParamPayload = {
widgetId: string
paramKey: string
}
export type RegisterTable = Action
export type RegisterTableColumn = Action
export type ChangeTableColumnParam = Action
export type ChangeTableParam = Action
export type SwitchTableColumnParam = Action