Skip to content

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

444 B
Raw Blame
export type FileDownloadRequestGetQueryInput = {
  type: 'file.download.request.get';
  id: string;
  userId: string;
};

export type FileDownloadRequestGetQueryOutput = {
  url: string;
  headers: Record<string, string>;
};

declare module '@colanode/client/queries' {
  interface QueryMap {
    'file.download.request.get': {
      input: FileDownloadRequestGetQueryInput;
      output: FileDownloadRequestGetQueryOutput | null;
    };
  }
}