Skip to content

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 ​

ts
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? ​

ts
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? ​

ts
enabled?: boolean;

Defined in: application/services/persistence/google-drive-persistence-provider.ts:66

Defaults to true.


scope? ​

ts
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? ​

ts
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? ​

ts
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? ​

ts
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-.