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
Merge branch 'beta'
zadamaf24758ad477
diff --cc src/public/app/services/frontend_script_api.jsindex c5a7084f9d,183624ed3e..86830eb8f0--- a/src/public/app/services/frontend_script_api.js+++ b/src/public/app/services/frontend_script_api.js@@@ -14,19 -14,8 +14,20 @@@ import NoteContextAwareWidget from "../import BasicWidget from "../widgets/basic_widget.js";import SpacedUpdate from "./spaced_update.js";import shortcutService from "./shortcuts.js";+ import dialogService from "./dialog.js";++/**+ * A whole number+ * @typedef {number} int+ */++/**+ * An instance of the frontend api available globally.+ * @global+ * @var {FrontendScriptApi} api+ */+/*** <p>This is the main frontend API interface for scripts. All the properties and methods are published in the "api" object* available in the JS frontend notes. You can use e.g. <code>api.showMessage(api.startNote.title);</code></p>