feat(base): add BASE_ROWS_DELETED event type

This commit is contained in:
Philipinho
2026-04-18 16:29:26 +01:00
parent 65c5bb11b8
commit 4a9e891582
2 changed files with 2 additions and 0 deletions
@@ -23,6 +23,7 @@ export enum EventName {
BASE_ROW_CREATED = 'base.row.created',
BASE_ROW_UPDATED = 'base.row.updated',
BASE_ROW_DELETED = 'base.row.deleted',
BASE_ROWS_DELETED = 'base.rows.deleted',
BASE_ROW_RESTORED = 'base.row.restored',
BASE_ROW_REORDERED = 'base.row.reordered',
@@ -21,6 +21,7 @@ export type BaseRowUpdatedEvent = BaseEventBase & {
updatedCells: Record<string, unknown>;
};
export type BaseRowDeletedEvent = BaseEventBase & { rowId: string };
export type BaseRowsDeletedEvent = BaseEventBase & { rowIds: string[] };
export type BaseRowRestoredEvent = BaseEventBase & { rowId: string };
export type BaseRowReorderedEvent = BaseEventBase & {
rowId: string;