Interface: GoogleDrivePersistenceConfig
Defined in: application/services/persistence/google-drive-persistence-provider.ts:60
Configuration for the Google Drive persistence provider. Snapshots are stored in the Drive appDataFolder.
Properties
clientId
clientId: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:62
OAuth client id used in the browser (Google Identity Services token flow).
desktopClientId?
desktopClientId?: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:64
OAuth client id used inside Tauri, where sign-in runs through a loopback redirect. Falls back to clientId.
enabled?
enabled?: boolean;Defined in: application/services/persistence/google-drive-persistence-provider.ts:66
Defaults to true.
scope?
scope?: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:68
OAuth scope. Defaults to https://www.googleapis.com/auth/drive.appdata.
tokenStorageKey?
tokenStorageKey?: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:74
localStorage key for the cached access token. Defaults to sidedoc_google_drive_token.
workspaceFileName?
workspaceFileName?: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:70
Legacy single snapshot file name, used as a fallback when loading. Defaults to sidedoc-workspace.json.
workspaceFilePrefix?
workspaceFilePrefix?: string;Defined in: application/services/persistence/google-drive-persistence-provider.ts:72
File name prefix for per-workspace snapshot files. Defaults to sidedoc-workspace-.