Skip to content

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

380 B
Raw Blame
export type FileDownloadMutationInput = {
  type: 'file.download';
  userId: string;
  fileId: string;
  path: string;
};

export type FileDownloadMutationOutput = {
  success: boolean;
};

declare module '@colanode/client/mutations' {
  interface MutationMap {
    'file.download': {
      input: FileDownloadMutationInput;
      output: FileDownloadMutationOutput;
    };
  }
}