feat: init data from cloud

This commit is contained in:
DarkSky committed 2023-01-04 22:14:48 +08:00
1 parent 151a2a4311
commit 00dd7e9621
4 files changed
+90 -38

No files matched your search

+6 -2
View File
@@ -61,8 +61,12 @@ export class BaseProvider {
return this._workspace;
}
static async auth(_config: Readonly<ConfigStore>, _logger: Logger) {
throw Error('Not implemented: auth');
static async auth(
_config: Readonly<ConfigStore>,
logger: Logger,
_signals: DataCenterSignals
) {
logger("This provider doesn't require authentication");
}
// get workspace list,return a map of workspace id and boolean