chore: add api doc

This commit is contained in:
DarkSky
2023-01-03 23:16:01 +08:00
parent 38178022f7
commit 68c152d4c6
+2 -1
View File
@@ -150,7 +150,8 @@ export class DataCenter {
}
/**
* get workspace list
* get workspace listreturn a map of workspace id and data state
* data state is also map, the key is the provider id, and the data exists locally when the value is true, otherwise it does not exist
*/
async list(): Promise<Record<string, Record<string, boolean>>> {
const lists = await Promise.all(