Skip to content

Open-source and local-first Slack and Notion alternative that puts you in control of your data

423 B
Raw Blame
export type SyncNodeTombstonesInput = {
  type: 'node.tombstones';
  rootId: string;
};

export type SyncNodeTombstoneData = {
  id: string;
  rootId: string;
  workspaceId: string;
  deletedBy: string;
  deletedAt: string;
  revision: string;
};

declare module '@colanode/core' {
  interface SynchronizerMap {
    'node.tombstones': {
      input: SyncNodeTombstonesInput;
      data: SyncNodeTombstoneData;
    };
  }
}