feat: init data from cloud

This commit is contained in:
DarkSky
2023-01-04 22:14:48 +08:00
parent 151a2a4311
commit 00dd7e9621
4 changed files with 90 additions and 38 deletions
+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 listreturn a map of workspace id and boolean