Type action store
This commit is contained in:
parent
911fb59d5d
commit
c4935ef60a
|
@ -38,10 +38,23 @@ interface RowDerivedStore {
|
||||||
interface RowActionStore {
|
interface RowActionStore {
|
||||||
rows: RowStore["rows"] & {
|
rows: RowStore["rows"] & {
|
||||||
actions: {
|
actions: {
|
||||||
addRow: any
|
addRow: (params: {
|
||||||
duplicateRow: any
|
row: Row
|
||||||
bulkDuplicate: any
|
idx: number
|
||||||
updateValue: any
|
bubble: boolean
|
||||||
|
notify: boolean
|
||||||
|
}) => Promise<UIRow | undefined>
|
||||||
|
duplicateRow: (row: UIRow) => Promise<UIRow | undefined>
|
||||||
|
bulkDuplicate: (
|
||||||
|
rowsToDupe: UIRow[],
|
||||||
|
progressCallback: (any: number) => void
|
||||||
|
) => Promise<UIRow[]>
|
||||||
|
updateValue: (params: {
|
||||||
|
rowId: string
|
||||||
|
column: any
|
||||||
|
value: any
|
||||||
|
apply: boolean
|
||||||
|
}) => Promise<void>
|
||||||
applyRowChanges: any
|
applyRowChanges: any
|
||||||
deleteRows: any
|
deleteRows: any
|
||||||
loadNextPage: any
|
loadNextPage: any
|
||||||
|
|
Loading…
Reference in New Issue