From 4fb061d10e6d00ced66b645cdb84f044f8521d7d Mon Sep 17 00:00:00 2001 From: Hakan Shehu Date: Thu, 7 Nov 2024 10:48:20 +0100 Subject: [PATCH] Remove unused file --- apps/desktop/src/types/window.d.ts | 38 ------------------------------ 1 file changed, 38 deletions(-) delete mode 100644 apps/desktop/src/types/window.d.ts diff --git a/apps/desktop/src/types/window.d.ts b/apps/desktop/src/types/window.d.ts deleted file mode 100644 index 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; - logout: (accountId: string) => Promise; - - executeMutation: ( - input: T, - ) => Promise; - - executeQuery: ( - input: T, - ) => Promise; - - executeQueryAndSubscribe: ( - id: string, - input: T, - ) => Promise; - - unsubscribeQuery: (id: string) => Promise; - - openFileDialog: ( - options: Electron.OpenDialogOptions, - ) => Promise; - - openFile: (userId: string, id: string, extension: string) => Promise; - getFileMetadata: (path: string) => Promise; -} - -declare global { - interface Window { - neuron: NeuronApi; - eventBus: EventBus; - } -}