Skip to content

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

474 B
Raw Blame
export type SyncNodeReactionsInput = {
  type: 'node.reactions';
  rootId: string;
};

export type SyncNodeReactionData = {
  nodeId: string;
  collaboratorId: string;
  reaction: string;
  rootId: string;
  workspaceId: string;
  revision: string;
  createdAt: string;
  deletedAt: string | null;
};

declare module '@colanode/core' {
  interface SynchronizerMap {
    'node.reactions': {
      input: SyncNodeReactionsInput;
      data: SyncNodeReactionData;
    };
  }
}