Skip to content

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

452 B
Raw Blame
export type NodeCollaboratorDeleteMutationInput = {
  type: 'node.collaborator.delete';
  userId: string;
  nodeId: string;
  collaboratorId: string;
};

export type NodeCollaboratorDeleteMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.collaborator.delete': {
      input: NodeCollaboratorDeleteMutationInput;
      output: NodeCollaboratorDeleteMutationOutput;
    };
  }
}