Open-source and local-first Slack and Notion alternative that puts you in control of your data
TypeScript chatchat-applicationcrdteditorelectronknowledge-baselocal-firstnotionnotion-alternativerealtime-collaborationself-hostedslacksqliteteam-collaborationwikiyjs
Remove unused file
Hakan Shehu4fb061d10e6d
diff --git a/apps/desktop/src/types/window.d.ts b/apps/desktop/src/types/window.d.tsdeleted file mode 100644index f01d5aaf..00000000--- a/apps/desktop/src/types/window.d.ts+++ /dev/null@@ -1,38 +0,0 @@-import { EventBus } from '@/lib/event-bus';-import { MutationMap, MutationInput } from '@/operations/mutations';-import { QueryMap, QueryInput } from '@/operations/queries';-import { FileMetadata } from '@/types/files';--interface NeuronApi {- init: () => Promise<void>;- logout: (accountId: string) => Promise<void>;-- executeMutation: <T extends MutationInput>(- input: T,- ) => Promise<MutationMap[T['type']]['output']>;-- executeQuery: <T extends QueryInput>(- input: T,- ) => Promise<QueryMap[T['type']]['output']>;-- executeQueryAndSubscribe: <T extends QueryInput>(- id: string,- input: T,- ) => Promise<QueryMap[T['type']]['output']>;-- unsubscribeQuery: (id: string) => Promise<void>;-- openFileDialog: (- options: Electron.OpenDialogOptions,- ) => Promise<Electron.OpenDialogReturnValue>;-- openFile: (userId: string, id: string, extension: string) => Promise<void>;- getFileMetadata: (path: string) => Promise<FileMetadata | null>;-}--declare global {- interface Window {- neuron: NeuronApi;- eventBus: EventBus;- }-}