Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

chore: add api doc

DarkSky68c152d4c670
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<Record<string, Record<string, boolean>>> {
const lists = await Promise.all(