Skip to content

Build your personal knowledge base with Trilium Notes

Merge branch 'stable'

zadamce39d3b4ce39
diff --cc src/services/backend_script_api.js
index ba593f4c86,3a47761a9d..e3e5b5b36d
--- a/src/services/backend_script_api.js
+++ b/src/services/backend_script_api.js
@@@ -19,20 -19,8 +19,21 @@@ const SpacedUpdate = require("./spaced_
const specialNotesService = require("./special_notes");
const branchService = require("./branches");
const exportService = require("./export/zip");
- const syncMutex = require("./sync_mutex.js");
+ const syncMutex = require("./sync_mutex");
+ const backupService = require("./backup");
+const optionsService = require("./options");
+
+
+/**
+ * A whole number
+ * @typedef {number} int
+ */
+
+/**
+ * An instance of the frontend api available globally.
+ * @global
+ * @var {BackendScriptApi} api
+ */
/**
* <p>This is the main backend API interface for scripts. All the properties and methods are published in the "api" object