Skip to content

Commit

Permalink
Merge pull request #499 from internxt/feat/maintain-data-integrity
Browse files Browse the repository at this point in the history
[PB-2050]: Feat/maintain data integrity
  • Loading branch information
miguelsw authored Apr 30, 2024
2 parents 4653cec + f533fb8 commit 34cf9d8
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 34cf9d8

Please sign in to comment.