Skip to content

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

357 B
Raw Blame
import { LocalFile } from '@colanode/client/types';

export type LocalFileGetQueryInput = {
  type: 'local.file.get';
  fileId: string;
  userId: string;
  autoDownload?: boolean;
};

declare module '@colanode/client/queries' {
  interface QueryMap {
    'local.file.get': {
      input: LocalFileGetQueryInput;
      output: LocalFile | null;
    };
  }
}