Skip to content

Commit

Permalink
wip: add dataintegrity on appstore
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelsw committed Apr 18, 2024
1 parent 5b62c84 commit f533fb8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/apps/main/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export interface AppStore {
preferedLanguage?: string;
preferedTheme?: string;
virtualdriveWindowsLetter: string;
dataIntegrityMaintenance?: boolean;
}

const schema: Schema<AppStore> = {
Expand Down Expand Up @@ -103,6 +104,9 @@ const schema: Schema<AppStore> = {
virtualdriveWindowsLetter: {
type: 'string',
},
dataIntegrityMaintenance: {
type: 'boolean',
},
} as const;

export const defaults: AppStore = {
Expand All @@ -127,6 +131,7 @@ export const defaults: AppStore = {
preferedLanguage: '',
preferedTheme: 'system',
virtualdriveWindowsLetter: 'I',
dataIntegrityMaintenance: false,
};

const configStore = new Store({ schema, defaults });
Expand Down

0 comments on commit f533fb8

Please sign in to comment.