Skip to content

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

443 B
Raw Blame
export type WorkspaceCreateMutationInput = {
  type: 'workspace.create';
  name: string;
  description: string;
  accountId: string;
  avatar: string | null;
};

export type WorkspaceCreateMutationOutput = {
  id: string;
  userId: string;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'workspace.create': {
      input: WorkspaceCreateMutationInput;
      output: WorkspaceCreateMutationOutput;
    };
  }
}