mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 17:16:16 +08:00
chore: add api doc
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user