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