mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat(core): init organize (#7456)
This commit is contained in:
@@ -77,6 +77,10 @@ export class DocEngine {
|
||||
});
|
||||
}
|
||||
|
||||
markAsReady(docId: string) {
|
||||
this.localPart.actions.markAsReady(docId);
|
||||
}
|
||||
|
||||
constructor(
|
||||
storage: DocStorage,
|
||||
private readonly server?: DocServer | null
|
||||
|
||||
@@ -163,6 +163,10 @@ export class DocEngineLocalPart {
|
||||
this.status.docs.set(doc.guid, doc);
|
||||
this.statusUpdatedSubject$.next(doc.guid);
|
||||
},
|
||||
markAsReady: (docId: string) => {
|
||||
this.status.readyDocs.add(docId);
|
||||
this.statusUpdatedSubject$.next(docId);
|
||||
},
|
||||
};
|
||||
|
||||
readonly jobs = {
|
||||
|
||||
Reference in New Issue
Block a user