Skip to content

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

468 B
Raw Blame
export type NodeCollaboratorUpdateMutationInput = {
  type: 'node.collaborator.update';
  userId: string;
  nodeId: string;
  collaboratorId: string;
  role: string;
};

export type NodeCollaboratorUpdateMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'node.collaborator.update': {
      input: NodeCollaboratorUpdateMutationInput;
      output: NodeCollaboratorUpdateMutationOutput;
    };
  }
}