From 5691be3c4a2280b81aca664c8fdf6e5058a53496 Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 24 Jul 2023 09:15:13 +0100 Subject: [PATCH] Added missing types --- packages/types/src/documents/app/row.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/types/src/documents/app/row.ts b/packages/types/src/documents/app/row.ts index a2295c4a42..3a302589cc 100644 --- a/packages/types/src/documents/app/row.ts +++ b/packages/types/src/documents/app/row.ts @@ -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