Coordinates the cloud-sync configuration dialog, provider adapters and shared settings. It also exposes provider status and handles sync notifications and platform-specific events.
Methods
# static getActiveCloudSyncProvider()
Returns the active cloud sync provider ('dropbox', 'nextcloud' or null). Installations without the cloudSyncProvider setting but with a Dropbox token are treated as Dropbox.
# static getActiveProviderDisplayName()
Returns the display name of the active cloud sync provider ('Dropbox' / 'Nextcloud').
# static isCloudStorageConfigured()
Returns true if the active cloud sync provider is fully configured (Dropbox linked / Nextcloud credentials set).
# inner isSelectedCloudStorageAvailable()
Whether the cloud storage of the provider selected in the dialog can be accessed (Dropbox linked / Nextcloud form filled in).
# async inner validateCustomModuleRepoBeforeSave() → {Promise.<boolean>}
Validates the custom module repo (if enabled) before saving.
false if the custom module repo is enabled but invalid
Promise.<boolean>