Skip to content

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

422 B
Raw Blame
export type NodeReactionDeleteMutationInput = {
  type: 'node.reaction.delete';
  userId: string;
  nodeId: string;
  reaction: string;
};

export type NodeReactionDeleteMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.reaction.delete': {
      input: NodeReactionDeleteMutationInput;
      output: NodeReactionDeleteMutationOutput;
    };
  }
}