mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
tree change listener and others
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export class LoadResults {
|
||||
constructor() {
|
||||
constructor(treeCache) {
|
||||
this.treeCache = treeCache;
|
||||
|
||||
this.noteIdToSourceId = {};
|
||||
this.sourceIdToNoteIds = {};
|
||||
|
||||
@@ -25,14 +27,34 @@ export class LoadResults {
|
||||
this.branchIdToSourceId[branchId].push(sourceId);
|
||||
}
|
||||
|
||||
getBranches() {
|
||||
|
||||
}
|
||||
|
||||
addNoteReordering(parentNoteId, sourceId) {
|
||||
|
||||
}
|
||||
|
||||
getNoteReorderings() {
|
||||
|
||||
}
|
||||
|
||||
addAttribute(attributeId, sourceId) {
|
||||
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
|
||||
}
|
||||
|
||||
addNoteRevision(noteRevisionId, noteId, sourceId) {
|
||||
|
||||
}
|
||||
|
||||
hasNoteRevisionForNote(noteId) {
|
||||
|
||||
}
|
||||
|
||||
getNoteIds() {
|
||||
return Object.keys(this.noteIdToSourceId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user