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
api docs update
azivner24673168bbd9
diff --git a/docs/backend_api/ApiToken.html b/docs/backend_api/ApiToken.htmlindex 5134611634..8642aa7351 100644--- a/docs/backend_api/ApiToken.html+++ b/docs/backend_api/ApiToken.html@@ -288,7 +288,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Attribute.html b/docs/backend_api/Attribute.htmlindex 8cba422619..b3d34fc0c4 100644--- a/docs/backend_api/Attribute.html+++ b/docs/backend_api/Attribute.html@@ -426,7 +426,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/BackendScriptApi.html b/docs/backend_api/BackendScriptApi.htmlindex 4235dde334..99ea4eb64f 100644--- a/docs/backend_api/BackendScriptApi.html+++ b/docs/backend_api/BackendScriptApi.html@@ -3814,7 +3814,7 @@ transactional by default.<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Branch.html b/docs/backend_api/Branch.htmlindex 90244543e2..d1dcb70c42 100644--- a/docs/backend_api/Branch.html+++ b/docs/backend_api/Branch.html@@ -511,7 +511,7 @@ Each note can have multiple (at least one) branches, meaning it can be placed in<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Entity.html b/docs/backend_api/Entity.htmlindex 06d760b44a..01f52046f6 100644--- a/docs/backend_api/Entity.html+++ b/docs/backend_api/Entity.html@@ -216,7 +216,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Image.html b/docs/backend_api/Image.htmlindex 3af2be45b0..31e3f27628 100644--- a/docs/backend_api/Image.html+++ b/docs/backend_api/Image.html@@ -380,7 +380,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Note.html b/docs/backend_api/Note.htmlindex 5b94091293..3f58d45273 100644--- a/docs/backend_api/Note.html+++ b/docs/backend_api/Note.html@@ -6651,7 +6651,7 @@ Cache is note instance scoped.<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/NoteImage.html b/docs/backend_api/NoteImage.htmlindex 690c9baf5c..28b67ea8fa 100644--- a/docs/backend_api/NoteImage.html+++ b/docs/backend_api/NoteImage.html@@ -334,7 +334,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/NoteRevision.html b/docs/backend_api/NoteRevision.htmlindex fbd8d171e0..317a91731f 100644--- a/docs/backend_api/NoteRevision.html+++ b/docs/backend_api/NoteRevision.html@@ -403,7 +403,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Option.html b/docs/backend_api/Option.htmlindex 4a8482ce22..74de22bc13 100644--- a/docs/backend_api/Option.html+++ b/docs/backend_api/Option.html@@ -311,7 +311,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/RecentNote.html b/docs/backend_api/RecentNote.htmlindex 07116489a5..86e19d189b 100644--- a/docs/backend_api/RecentNote.html+++ b/docs/backend_api/RecentNote.html@@ -288,7 +288,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_api_token.js.html b/docs/backend_api/entities_api_token.js.htmlindex 0fc30fe887..d066908b5f 100644--- a/docs/backend_api/entities_api_token.js.html+++ b/docs/backend_api/entities_api_token.js.html@@ -75,7 +75,7 @@ module.exports = ApiToken;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_attribute.js.html b/docs/backend_api/entities_attribute.js.htmlindex a51aebe983..5783b5f412 100644--- a/docs/backend_api/entities_attribute.js.html+++ b/docs/backend_api/entities_attribute.js.html@@ -134,7 +134,7 @@ module.exports = Attribute;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_branch.js.html b/docs/backend_api/entities_branch.js.htmlindex 1de70e8a85..edd23b3b6e 100644--- a/docs/backend_api/entities_branch.js.html+++ b/docs/backend_api/entities_branch.js.html@@ -105,7 +105,7 @@ module.exports = Branch;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_entity.js.html b/docs/backend_api/entities_entity.js.htmlindex 5e3b0d17f8..3559ae81d5 100644--- a/docs/backend_api/entities_entity.js.html+++ b/docs/backend_api/entities_entity.js.html@@ -93,7 +93,7 @@ module.exports = Entity;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_image.js.html b/docs/backend_api/entities_image.js.htmlindex 3f31bfbd21..8ef53d133f 100644--- a/docs/backend_api/entities_image.js.html+++ b/docs/backend_api/entities_image.js.html@@ -83,7 +83,7 @@ module.exports = Image;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_note.js.html b/docs/backend_api/entities_note.js.htmlindex feafba1368..c9aa8c3479 100644--- a/docs/backend_api/entities_note.js.html+++ b/docs/backend_api/entities_note.js.html@@ -601,7 +601,7 @@ module.exports = Note;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_note_image.js.html b/docs/backend_api/entities_note_image.js.htmlindex e60507b355..67990ae637 100644--- a/docs/backend_api/entities_note_image.js.html+++ b/docs/backend_api/entities_note_image.js.html@@ -90,7 +90,7 @@ module.exports = NoteImage;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_note_revision.js.html b/docs/backend_api/entities_note_revision.js.htmlindex 129d75cca7..141785ab6c 100644--- a/docs/backend_api/entities_note_revision.js.html+++ b/docs/backend_api/entities_note_revision.js.html@@ -91,7 +91,7 @@ module.exports = NoteRevision;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_option.js.html b/docs/backend_api/entities_option.js.htmlindex 8acb062d1b..9349f16da4 100644--- a/docs/backend_api/entities_option.js.html+++ b/docs/backend_api/entities_option.js.html@@ -78,7 +78,7 @@ module.exports = Option;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/entities_recent_note.js.html b/docs/backend_api/entities_recent_note.js.htmlindex 108bf9ba2f..64161f6ae2 100644--- a/docs/backend_api/entities_recent_note.js.html+++ b/docs/backend_api/entities_recent_note.js.html@@ -75,7 +75,7 @@ module.exports = RecentNote;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/global.html b/docs/backend_api/global.htmlindex 2e3b50f0f7..f24e8b242b 100644--- a/docs/backend_api/global.html+++ b/docs/backend_api/global.html@@ -594,7 +594,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/index.html b/docs/backend_api/index.htmlindex 6c0ee3c577..bc8a0fb268 100644--- a/docs/backend_api/index.html+++ b/docs/backend_api/index.html@@ -56,7 +56,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/services_backend_script_api.js.html b/docs/backend_api/services_backend_script_api.js.htmlindex 9e790304e0..4e49f4eb69 100644--- a/docs/backend_api/services_backend_script_api.js.html+++ b/docs/backend_api/services_backend_script_api.js.html@@ -278,7 +278,7 @@ module.exports = BackendScriptApi;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:45 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:26:59 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/Branch.html b/docs/frontend_api/Branch.htmlindex d0a24eb022..90ea874fcf 100644--- a/docs/frontend_api/Branch.html+++ b/docs/frontend_api/Branch.html@@ -719,7 +719,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/FrontendScriptApi.html b/docs/frontend_api/FrontendScriptApi.htmlindex 9cbffba061..dd6f5247f1 100644--- a/docs/frontend_api/FrontendScriptApi.html+++ b/docs/frontend_api/FrontendScriptApi.html@@ -81,7 +81,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line15">line 15</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line16">line 16</a></li></ul></dd>@@ -221,7 +221,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line21">line 21</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line22">line 22</a></li></ul></dd>@@ -334,7 +334,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line23">line 23</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line24">line 24</a></li></ul></dd>@@ -444,7 +444,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line19">line 19</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line20">line 20</a></li></ul></dd>@@ -573,7 +573,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line40">line 40</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line41">line 41</a></li></ul></dd>@@ -726,7 +726,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line32">line 32</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line33">line 33</a></li></ul></dd>@@ -879,7 +879,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line59">line 59</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line60">line 60</a></li></ul></dd>@@ -1057,7 +1057,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line194">line 194</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line195">line 195</a></li></ul></dd>@@ -1188,7 +1188,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line154">line 154</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line155">line 155</a></li></ul></dd>@@ -1244,6 +1244,110 @@+ <h4 class="name" id="getCodeMimeTypes"><span class="type-signature"></span>getCodeMimeTypes<span class="signature">()</span><span class="type-signature"> → {array}</span></h4>+++++++++++++++++++<dl class="details">+++++++++++++++++++++++++++ <dt class="tag-source">Source:</dt>+ <dd class="tag-source"><ul class="dummy"><li>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line219">line 219</a>+ </li></ul></dd>++++++++</dl>++++++++++++++<h5>Returns:</h5>+++<div class="param-desc">+ list of currently used code mime types+</div>++++<dl>+ <dt>+ Type+ </dt>+ <dd>++<span class="param-type">array</span>+++ </dd>+</dl>+++++++++++++<h4 class="name" id="getCurrentNoteContent"><span class="type-signature"></span>getCurrentNoteContent<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>@@ -1292,7 +1396,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line200">line 200</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line201">line 201</a></li></ul></dd>@@ -1348,6 +1452,110 @@+ <h4 class="name" id="getDefaultCodeMimeTypes"><span class="type-signature"></span>getDefaultCodeMimeTypes<span class="signature">()</span><span class="type-signature"> → {array}</span></h4>+++++++++++++++++++<dl class="details">+++++++++++++++++++++++++++ <dt class="tag-source">Source:</dt>+ <dd class="tag-source"><ul class="dummy"><li>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line213">line 213</a>+ </li></ul></dd>++++++++</dl>++++++++++++++<h5>Returns:</h5>+++<div class="param-desc">+ list of default code mime types+</div>++++<dl>+ <dt>+ Type+ </dt>+ <dd>++<span class="param-type">array</span>+++ </dd>+</dl>+++++++++++++<h4 class="name" id="getInstanceName"><span class="type-signature"></span>getInstanceName<span class="signature">()</span><span class="type-signature"> → {string}</span></h4>@@ -1401,7 +1609,7 @@ if some action needs to happen on only one specific instance.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line147">line 147</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line148">line 148</a></li></ul></dd>@@ -1600,7 +1808,7 @@ otherwise (by e.g. createNoteLink())<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line139">line 139</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line140">line 140</a></li></ul></dd>@@ -1708,7 +1916,7 @@ otherwise (by e.g. createNoteLink())- <td class="description last">callback called on note change</td>+ <td class="description last">callback called on note change as user is typing (not necessarily tied to save event)</td></tr>@@ -1749,7 +1957,7 @@ otherwise (by e.g. createNoteLink())<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line206">line 206</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line207">line 207</a></li></ul></dd>@@ -1880,7 +2088,7 @@ otherwise (by e.g. createNoteLink())<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line161">line 161</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line162">line 162</a></li></ul></dd>@@ -1988,7 +2196,7 @@ otherwise (by e.g. createNoteLink())<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line185">line 185</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line186">line 186</a></li></ul></dd>@@ -2165,7 +2373,7 @@ Internally this serializes the anonymous function into string and sends it to ba<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line107">line 107</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line108">line 108</a></li></ul></dd>@@ -2217,6 +2425,137 @@ Internally this serializes the anonymous function into string and sends it to ba+++++ <h4 class="name" id="setCodeMimeTypes"><span class="type-signature"></span>setCodeMimeTypes<span class="signature">(types)</span><span class="type-signature"></span></h4>+++++++++++++++ <h5>Parameters:</h5>+++<table class="params">+ <thead>+ <tr>++ <th>Name</th>+++ <th>Type</th>++++++ <th class="last">Description</th>+ </tr>+ </thead>++ <tbody>+++ <tr>++ <td class="name"><code>types</code></td>+++ <td class="type">+++<span class="param-type">array</span>++++ </td>++++++ <td class="description last">list of mime types to be used</td>+ </tr>+++ </tbody>+</table>+++++++<dl class="details">+++++++++++++++++++++++++++ <dt class="tag-source">Source:</dt>+ <dd class="tag-source"><ul class="dummy"><li>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line225">line 225</a>+ </li></ul></dd>++++++++</dl>++++++++++++++++++++@@ -2322,7 +2661,7 @@ Internally this serializes the anonymous function into string and sends it to ba<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line177">line 177</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line178">line 178</a></li></ul></dd>@@ -2457,7 +2796,7 @@ Internally this serializes the anonymous function into string and sends it to ba<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line169">line 169</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line170">line 170</a></li></ul></dd>@@ -2507,7 +2846,7 @@ Internally this serializes the anonymous function into string and sends it to ba<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/NoteFull.html b/docs/frontend_api/NoteFull.htmlindex 1c335ca925..5dfb0e209d 100644--- a/docs/frontend_api/NoteFull.html+++ b/docs/frontend_api/NoteFull.html@@ -279,7 +279,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/NoteShort.html b/docs/frontend_api/NoteShort.htmlindex b01b6ee043..5c2f1b23ed 100644--- a/docs/frontend_api/NoteShort.html+++ b/docs/frontend_api/NoteShort.html@@ -1316,7 +1316,7 @@ Its notable omission is the note content.</div><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_branch.js.html b/docs/frontend_api/entities_branch.js.htmlindex 0742712ea7..8fd3106c15 100644--- a/docs/frontend_api/entities_branch.js.html+++ b/docs/frontend_api/entities_branch.js.html@@ -76,7 +76,7 @@ export default Branch;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_note_full.js.html b/docs/frontend_api/entities_note_full.js.htmlindex 742f8552d4..a14a9f0e05 100644--- a/docs/frontend_api/entities_note_full.js.html+++ b/docs/frontend_api/entities_note_full.js.html@@ -64,7 +64,7 @@ export default NoteFull;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_note_short.js.html b/docs/frontend_api/entities_note_short.js.htmlindex c369da1145..28367adff0 100644--- a/docs/frontend_api/entities_note_short.js.html+++ b/docs/frontend_api/entities_note_short.js.html@@ -128,7 +128,7 @@ export default NoteShort;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/global.html b/docs/frontend_api/global.htmlindex 2e5c12b06f..56e1bb957d 100644--- a/docs/frontend_api/global.html+++ b/docs/frontend_api/global.html@@ -303,7 +303,7 @@<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line46">line 46</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line47">line 47</a></li></ul></dd>@@ -339,7 +339,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/index.html b/docs/frontend_api/index.htmlindex dfc80b9982..08d878fb32 100644--- a/docs/frontend_api/index.html+++ b/docs/frontend_api/index.html@@ -56,7 +56,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/services_frontend_script_api.js.html b/docs/frontend_api/services_frontend_script_api.js.htmlindex 8b26e8a384..4cf24ebebb 100644--- a/docs/frontend_api/services_frontend_script_api.js.html+++ b/docs/frontend_api/services_frontend_script_api.js.html@@ -33,6 +33,7 @@ import infoService from './info.js';import linkService from './link.js';import treeCache from './tree_cache.js';import noteDetailService from './note_detail.js';+import noteTypeService from './note_type.js';/*** This is the main frontend API interface for scripts. It's published in the local "api" object.@@ -229,9 +230,27 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null) {/*** @method- * @param {function} func - callback called on note change+ * @param {function} func - callback called on note change as user is typing (not necessarily tied to save event)*/this.onNoteChange = noteDetailService.onNoteChange;++ /**+ * @method+ * @returns {array} list of default code mime types+ */+ this.getDefaultCodeMimeTypes = noteTypeService.getDefaultCodeMimeTypes;++ /**+ * @method+ * @returns {array} list of currently used code mime types+ */+ this.getCodeMimeTypes = noteTypeService.getCodeMimeTypes;++ /**+ * @method+ * @param {array} types - list of mime types to be used+ */+ this.setCodeMimeTypes = noteTypeService.setCodeMimeTypes;}export default FrontendScriptApi;</code></pre>@@ -250,7 +269,7 @@ export default FrontendScriptApi;</code></pre><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Mon Sep 03 2018 16:04:46 GMT+0200 (CEST)+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sun Oct 07 2018 16:27:00 GMT+0200 (CEST)</footer><script> prettyPrint(); </script>