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 NodeReactionCreateMutationInput = {
  type: 'node.reaction.create';
  userId: string;
  nodeId: string;
  reaction: string;
};

export type NodeReactionCreateMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.reaction.create': {
      input: NodeReactionCreateMutationInput;
      output: NodeReactionCreateMutationOutput;
    };
  }
}