From 68c152d4c670c1166385084efc93ca6e70c2b320 Mon Sep 17 00:00:00 2001 From: DarkSky Date: Tue, 3 Jan 2023 23:16:01 +0800 Subject: [PATCH] chore: add api doc --- packages/data-center/src/datacenter.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/data-center/src/datacenter.ts b/packages/data-center/src/datacenter.ts index 47bf844f99..62edea334d 100644 --- a/packages/data-center/src/datacenter.ts +++ b/packages/data-center/src/datacenter.ts @@ -150,7 +150,8 @@ export class DataCenter { } /** - * get workspace list + * get workspace list,return 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>> { const lists = await Promise.all(