refactor(core): adapter to new journal and property (#8508)

remove old WorkspacePropertyAdapter
add JournalService
This commit is contained in:
EYHN committed 2024-10-16 08:46:38 +00:00
1 parent 72e1489c62
commit 140ac723e6
39 files changed
+269 -255

No files matched your search

@@ -43,6 +43,12 @@ export class DocRecord extends Entity<{ id: string }> {
});
}
setProperty(propertyId: string, value: string) {
this.docPropertiesStore.updateDocProperties(this.id, {
[propertyId]: value,
});
}
setMeta(meta: Partial<DocMeta>): void {
this.docsStore.setDocMeta(this.id, meta);
}