diff --git a/dashboard/electron/main/store.ts b/dashboard/electron/main/store.ts index 65a810df..73535c91 100644 --- a/dashboard/electron/main/store.ts +++ b/dashboard/electron/main/store.ts @@ -1,6 +1,6 @@ import { randomUUID } from 'crypto' -import Store from 'electron-store' +import Store, { type Schema } from 'electron-store' /** * Backend connection data model @@ -31,7 +31,7 @@ export interface AppSettings { /** * JSON Schema for validating store contents */ -const SCHEMA: Store.Schema = { +const SCHEMA: Schema = { backends: { type: 'array', items: {