added triggerCommand and triggerEvent into frontend API

This commit is contained in:
zadam
2022-05-13 22:33:57 +02:00
parent 87b75a9a22
commit 8318ab7ac0
9 changed files with 1010 additions and 1194 deletions

View File

@@ -238,7 +238,7 @@ function BackendScriptApi(currentNote, apiParams) {
* @property {string} parentNoteId - MANDATORY
* @property {string} title - MANDATORY
* @property {string|buffer} content - MANDATORY
* @property {string} type - text, code, file, image, search, book, relation-map - MANDATORY
* @property {string} type - text, code, file, image, search, book, relation-map, canvas - MANDATORY
* @property {string} mime - value is derived from default mimes for type
* @property {boolean} isProtected - default is false
* @property {boolean} isExpanded - default is false