UseGoogleDriveBackupResult
Defined in: src/react/useGoogleDriveBackup.ts:48
Result returned by useGoogleDriveBackup hook
Properties
backup()
backup: (
options?:object) =>Promise<GoogleDriveExportResult| {error:string; }>
Defined in: src/react/useGoogleDriveBackup.ts:50
Backup all conversations to Google Drive
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
( |
Returns
Promise<GoogleDriveExportResult | { error: string; }>
isAuthenticated
isAuthenticated:
boolean
Defined in: src/react/useGoogleDriveBackup.ts:60
Whether user has a Google Drive token
isConfigured
isConfigured:
boolean
Defined in: src/react/useGoogleDriveBackup.ts:58
Whether Google Drive is configured
restore()
restore: (
options?:object) =>Promise<GoogleDriveImportResult| {error:string; }>
Defined in: src/react/useGoogleDriveBackup.ts:54
Restore conversations from Google Drive
Parameters
| Parameter | Type |
|---|---|
|
|
|
|
|
( |
Returns
Promise<GoogleDriveImportResult | { error: string; }>