Added missing types

This commit is contained in:
Dean 2023-07-24 09:15:13 +01:00
parent 3b36970c58
commit 5691be3c4a
1 changed files with 10 additions and 0 deletions

View File

@ -32,3 +32,13 @@ export interface Row extends Document {
tableId?: string
[key: string]: any
}
export interface DeleteRows {
rows: (Row | string)[]
}
export interface DeleteRow {
_id: string
}
export type DeleteRowRequest = DeleteRows | DeleteRow