Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
updates to the demo document
zadamc4bc53da59f7
diff --git a/db/demo.zip b/db/demo.zipindex 20bcbf9bac..8e3f73b1a0 100644Binary files a/db/demo.zip and b/db/demo.zip differdiff --git a/src/services/backend_script_api.js b/src/services/backend_script_api.jsindex 197f149b35..d9452ee679 100644--- a/src/services/backend_script_api.js+++ b/src/services/backend_script_api.js@@ -387,12 +387,10 @@ function BackendScriptApi(currentNote, apiParams) {this.sql = sql;/**- * Trigger tree refresh in all connected clients. This is required when some tree change happens in- * the backend.- *- * @returns {Promise<void>}+ * @method+ * @deprecated - this is now no-op since all the changes should be gracefully handled per widget*/- this.refreshTree = ws.refreshTree;+ this.refreshTree = () => {};/*** @return {{syncVersion, appVersion, buildRevision, dbVersion, dataDirectory, buildDate}|*} - object representing basic info about running Trilium version