mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
feat(core): support syncing workspaces and blobs in the background (#4057)
This commit is contained in:
2
packages/env/src/workspace.ts
vendored
2
packages/env/src/workspace.ts
vendored
@@ -190,6 +190,8 @@ export interface AppEvents {
|
||||
'app:init': () => string[];
|
||||
// event if you have access to workspace adapter
|
||||
'app:access': () => Promise<boolean>;
|
||||
'service:start': () => void;
|
||||
'service:stop': () => void;
|
||||
}
|
||||
|
||||
export interface WorkspaceAdapter<Flavour extends WorkspaceFlavour> {
|
||||
|
||||
Reference in New Issue
Block a user