Skip to content

Function: createGoogleDrivePersistenceService() ​

ts
function createGoogleDrivePersistenceService(config): object;

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

Creates a Google Drive provider together with a getError function that reports when the provider is disabled or no OAuth client id is configured.

Parameters ​

ParameterType
configGoogleDrivePersistenceConfig

Returns ​

object

getError ​

ts
getError: () => string;

Returns ​

string

provider ​

ts
provider: WorkspacePersistenceProvider;