Added missing types
This commit is contained in:
parent
3b36970c58
commit
5691be3c4a
|
@ -32,3 +32,13 @@ export interface Row extends Document {
|
||||||
tableId?: string
|
tableId?: string
|
||||||
[key: string]: any
|
[key: string]: any
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface DeleteRows {
|
||||||
|
rows: (Row | string)[]
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface DeleteRow {
|
||||||
|
_id: string
|
||||||
|
}
|
||||||
|
|
||||||
|
export type DeleteRowRequest = DeleteRows | DeleteRow
|
||||||
|
|
Loading…
Reference in New Issue