mirror of
https://github.com/bitwarden/browser
synced 2025-12-14 07:13:32 +00:00
* WIP: First Try at making DesktopSettingsService Does not work, migrations are ran in renderer but the values are read in main. * Update window$ retrieval * Fix DesktopSettings * Rename Migration * Add Migration to Builder * Cleanup * Update Comments * Update `migrate.ts` * Catch Unawaited Promises * Remove Comments * Update Tests * Rename Migration * Add `alwaysOnTop` * Make `init` async * Fix Desktop Build
20 lines
562 B
TypeScript
20 lines
562 B
TypeScript
import { ThemeType } from "../../enums";
|
|
|
|
export class GlobalState {
|
|
installedVersion?: string;
|
|
locale?: string;
|
|
organizationInvitation?: any;
|
|
rememberedEmail?: string;
|
|
theme?: ThemeType = ThemeType.System;
|
|
twoFactorToken?: string;
|
|
biometricFingerprintValidated?: boolean;
|
|
vaultTimeout?: number;
|
|
vaultTimeoutAction?: string;
|
|
loginRedirect?: any;
|
|
mainWindowSize?: number;
|
|
enableBrowserIntegration?: boolean;
|
|
enableBrowserIntegrationFingerprint?: boolean;
|
|
enableDuckDuckGoBrowserIntegration?: boolean;
|
|
deepLinkRedirectUrl?: string;
|
|
}
|