Skip to content

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

352 B
Raw Blame
export type NodeDeleteMutationInput = {
  type: 'node.delete';
  userId: string;
  nodeId: string;
};

export type NodeDeleteMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.delete': {
      input: NodeDeleteMutationInput;
      output: NodeDeleteMutationOutput;
    };
  }
}