Interfaces
CloudStorageProviderOptions
Properties
| Property | Type | Description |
|---|---|---|
googledrive | object | - |
googledrive.accessToken? | | string | (() => string | Promise<string | null> | null) | null | The Google Drive access token, or a function that returns it synchronously or asynchronously. The function is called before each request and when checking cloud availability. |
googledrive.kvPollInterval? | number | null | The polling interval in milliseconds for key-value external-change detection. Polling requires a finite value of at least 1 ms. It is off for null, undefined, non-finite, or non-positive values. |
googledrive.kvStrictLimits? | boolean | Whether to enforce iCloud-equivalent limits for Google Drive key-value storage. Defaults to true. |
googledrive.scope? | CloudStorageScope | The directory scope to use for Google Drive operations. Defaults to 'app_data'. |
googledrive.strictFilenames? | boolean | Whether to throw if a path component matches multiple files or directories. Defaults to false. |
googledrive.timeout? | number | The timeout in milliseconds after which to cancel an API request. Defaults to 3000. |
icloud | object | - |
icloud.documentsMode? | ICloudDocumentsMode | The directory mode to use for CloudStorageScope.Documents. icloud uses the user-facing iCloud Documents directory, while legacy_sandbox uses the local app sandbox Documents directory. Defaults to icloud. |
icloud.scope? | CloudStorageScope | The directory scope to use for iCloud operations. Defaults to 'app_data'. |