Skip to content

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

354 B
Raw Blame
export type ChatCreateMutationInput = {
  type: 'chat.create';
  userId: string;
  collaboratorId: string;
};

export type ChatCreateMutationOutput = {
  id: string;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'chat.create': {
      input: ChatCreateMutationInput;
      output: ChatCreateMutationOutput;
    };
  }
}