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
library upgrades
zadamb3c87156c22a
diff --git a/docs/backend_api/AbstractEntity.html b/docs/backend_api/AbstractEntity.htmlindex 83ea380cb2..2e07d30867 100644--- a/docs/backend_api/AbstractEntity.html+++ b/docs/backend_api/AbstractEntity.html@@ -991,7 +991,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Attribute.html b/docs/backend_api/Attribute.htmlindex fb0796b3b3..5349663eb9 100644--- a/docs/backend_api/Attribute.html+++ b/docs/backend_api/Attribute.html@@ -1904,7 +1904,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/BackendScriptApi.html b/docs/backend_api/BackendScriptApi.htmlindex 8d0cc9b6bf..ea272a14d2 100644--- a/docs/backend_api/BackendScriptApi.html+++ b/docs/backend_api/BackendScriptApi.html@@ -3667,7 +3667,7 @@ if some action needs to happen on only one specific instance.- <h4 class="name" id="getNotesWithLabel"><span class="type-signature"></span>getNotesWithLabel<span class="signature">(name, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Note.html">Note</a>>}</span></h4>+ <h4 class="name" id="getNoteWithLabel"><span class="type-signature"></span>getNoteWithLabel<span class="signature">(name, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="Note.html">Note</a>|null}</span></h4>@@ -3675,7 +3675,7 @@ if some action needs to happen on only one specific instance.<div class="description">- Retrieves notes with given label name & value+ Retrieves first note with given label name & value</div>@@ -3811,7 +3811,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_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line126">line 126</a>+ <a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line136">line 136</a></li></ul></dd>@@ -3847,7 +3847,10 @@ if some action needs to happen on only one specific instance.</dt><dd>-<span class="param-type">Array.<<a href="Note.html">Note</a>></span>+<span class="param-type"><a href="Note.html">Note</a></span>+|++<span class="param-type">null</span></dd>@@ -3865,7 +3868,7 @@ if some action needs to happen on only one specific instance.- <h4 class="name" id="getNoteWithLabel"><span class="type-signature"></span>getNoteWithLabel<span class="signature">(name, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {<a href="Note.html">Note</a>|null}</span></h4>+ <h4 class="name" id="getNotesWithLabel"><span class="type-signature"></span>getNotesWithLabel<span class="signature">(name, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Note.html">Note</a>>}</span></h4>@@ -3873,7 +3876,7 @@ if some action needs to happen on only one specific instance.<div class="description">- Retrieves first note with given label name & value+ Retrieves notes with given label name & value</div>@@ -4009,7 +4012,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_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line136">line 136</a>+ <a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line126">line 126</a></li></ul></dd>@@ -4045,10 +4048,7 @@ if some action needs to happen on only one specific instance.</dt><dd>-<span class="param-type"><a href="Note.html">Note</a></span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<<a href="Note.html">Note</a>></span></dd>@@ -6437,7 +6437,7 @@ exists, then we'll use that transaction.<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Branch.html b/docs/backend_api/Branch.htmlindex 332b283dca..b5b4fc21b1 100644--- a/docs/backend_api/Branch.html+++ b/docs/backend_api/Branch.html@@ -1844,7 +1844,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/EtapiToken.html b/docs/backend_api/EtapiToken.htmlindex fd90ac06e3..5f7b1e1e51 100644--- a/docs/backend_api/EtapiToken.html+++ b/docs/backend_api/EtapiToken.html@@ -1461,7 +1461,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Note.html b/docs/backend_api/Note.htmlindex 3c95422fc7..f059e8d9b9 100644--- a/docs/backend_api/Note.html+++ b/docs/backend_api/Note.html@@ -1154,7 +1154,7 @@ See addLabel, addRelation for more specific methods.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1086">line 1086</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1137">line 1137</a></li></ul></dd>@@ -1441,7 +1441,7 @@ See addLabel, addRelation for more specific methods.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1107">line 1107</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1158">line 1158</a></li></ul></dd>@@ -1620,7 +1620,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1120">line 1120</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1171">line 1171</a></li></ul></dd>@@ -1855,7 +1855,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1205">line 1205</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1256">line 1256</a></li></ul></dd>@@ -2055,7 +2055,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1219">line 1219</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1270">line 1270</a></li></ul></dd>@@ -2317,7 +2317,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1001">line 1001</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1052">line 1052</a></li></ul></dd>@@ -2423,7 +2423,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line921">line 921</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line972">line 972</a></li></ul></dd>@@ -2655,7 +2655,7 @@ returned.- <h4 class="name" id="getAttributes"><span class="type-signature"></span>getAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getAttributeValue"><span class="type-signature"></span>getAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -2683,8 +2683,6 @@ returned.<th>Type</th>- <th>Attributes</th>-@@ -2710,20 +2708,10 @@ returned.</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute type to filter</td>+ <td class="description last">attribute type (label, relation, etc.)</td></tr>@@ -2743,20 +2731,10 @@ returned.</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute name to filter</td>+ <td class="description last">attribute name</td></tr>@@ -2797,7 +2775,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line363">line 363</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line584">line 584</a></li></ul></dd>@@ -2826,7 +2804,7 @@ returned.<div class="param-desc">- all note's attributes, including inherited ones+ attribute value of given type and name or null if no such attribute exists.</div>@@ -2837,7 +2815,10 @@ returned.</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -2855,7 +2836,7 @@ returned.- <h4 class="name" id="getAttributeValue"><span class="type-signature"></span>getAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getAttributes"><span class="type-signature"></span>getAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -2883,6 +2864,8 @@ returned.<th>Type</th>+ <th>Attributes</th>+@@ -2908,10 +2891,20 @@ returned.</td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">attribute type (label, relation, etc.)</td>+++ <td class="description last">(optional) attribute type to filter</td></tr>@@ -2931,10 +2924,20 @@ returned.</td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">attribute name</td>+ <td class="description last">(optional) attribute name to filter</td></tr>@@ -2975,7 +2978,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line584">line 584</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line363">line 363</a></li></ul></dd>@@ -3004,7 +3007,7 @@ returned.<div class="param-desc">- attribute value of given type and name or null if no such attribute exists.+ all note's attributes, including inherited ones</div>@@ -3015,10 +3018,7 @@ returned.</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -3920,7 +3920,7 @@ returned.- <h4 class="name" id="getLabels"><span class="type-signature"></span>getLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getLabelValue"><span class="type-signature"></span>getLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -3948,8 +3948,6 @@ returned.<th>Type</th>- <th>Attributes</th>-@@ -3975,20 +3973,10 @@ returned.</td>- <td class="attributes">-- <optional><br>----- </td>--- <td class="description last">label name to filter</td>+ <td class="description last">label name</td></tr>@@ -4029,7 +4017,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line605">line 605</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line538">line 538</a></li></ul></dd>@@ -4058,7 +4046,7 @@ returned.<div class="param-desc">- all note's labels (attributes with type label), including inherited ones+ label value if label exists, null otherwise</div>@@ -4069,7 +4057,10 @@ returned.</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -4087,7 +4078,7 @@ returned.- <h4 class="name" id="getLabelValue"><span class="type-signature"></span>getLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getLabelValues"><span class="type-signature"></span>getLabelValues<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<string>}</span></h4>@@ -4115,6 +4106,8 @@ returned.<th>Type</th>+ <th>Attributes</th>+@@ -4140,10 +4133,20 @@ returned.</td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">label name</td>+++ <td class="description last">label name to filter</td></tr>@@ -4184,7 +4187,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line538">line 538</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line613">line 613</a></li></ul></dd>@@ -4213,7 +4216,7 @@ returned.<div class="param-desc">- label value if label exists, null otherwise+ all note's label values, including inherited ones</div>@@ -4224,10 +4227,7 @@ returned.</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<string></span></dd>@@ -4245,7 +4245,7 @@ returned.- <h4 class="name" id="getLabelValues"><span class="type-signature"></span>getLabelValues<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<string>}</span></h4>+ <h4 class="name" id="getLabels"><span class="type-signature"></span>getLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -4354,7 +4354,7 @@ returned.<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line613">line 613</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line605">line 605</a></li></ul></dd>@@ -4383,7 +4383,7 @@ returned.<div class="param-desc">- all note's label values, including inherited ones+ all note's labels (attributes with type label), including inherited ones</div>@@ -4394,7 +4394,7 @@ returned.</dt><dd>-<span class="param-type">Array.<string></span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -4520,7 +4520,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedAttributes"><span class="type-signature"></span>getOwnedAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedAttributeValue"><span class="type-signature"></span>getOwnedAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -4548,8 +4548,6 @@ This method can be significantly faster than the getAttribute()<th>Type</th>- <th>Attributes</th>-@@ -4575,20 +4573,10 @@ This method can be significantly faster than the getAttribute()</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute type to filter</td>+ <td class="description last">attribute type (label, relation, etc.)</td></tr>@@ -4608,53 +4596,10 @@ This method can be significantly faster than the getAttribute()</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute name to filter</td>- </tr>---- <tr>-- <td class="name"><code>value</code></td>--- <td class="type">---<span class="param-type">string</span>---- </td>--- <td class="attributes">-- <optional><br>------ </td>----- <td class="description last">(optional) attribute value to filter</td>+ <td class="description last">attribute name</td></tr>@@ -4695,7 +4640,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line655">line 655</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line595">line 595</a></li></ul></dd>@@ -4724,7 +4669,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- note's "owned" attributes - excluding inherited ones+ attribute value of given type and name or null if no such attribute exists.</div>@@ -4735,7 +4680,10 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -4753,7 +4701,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedAttributeValue"><span class="type-signature"></span>getOwnedAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getOwnedAttributes"><span class="type-signature"></span>getOwnedAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>, value<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -4781,6 +4729,8 @@ This method can be significantly faster than the getAttribute()<th>Type</th>+ <th>Attributes</th>+@@ -4806,10 +4756,20 @@ This method can be significantly faster than the getAttribute()</td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">attribute type (label, relation, etc.)</td>+++ <td class="description last">(optional) attribute type to filter</td></tr>@@ -4829,10 +4789,53 @@ This method can be significantly faster than the getAttribute()</td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">attribute name</td>+ <td class="description last">(optional) attribute name to filter</td>+ </tr>++++ <tr>++ <td class="name"><code>value</code></td>+++ <td class="type">+++<span class="param-type">string</span>++++ </td>+++ <td class="attributes">++ <optional><br>++++++ </td>+++++ <td class="description last">(optional) attribute value to filter</td></tr>@@ -4873,7 +4876,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line595">line 595</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line655">line 655</a></li></ul></dd>@@ -4902,7 +4905,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- attribute value of given type and name or null if no such attribute exists.+ note's "owned" attributes - excluding inherited ones</div>@@ -4913,10 +4916,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -5092,7 +5092,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedLabels"><span class="type-signature"></span>getOwnedLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedLabelValue"><span class="type-signature"></span>getOwnedLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -5120,8 +5120,6 @@ This method can be significantly faster than the getAttribute()<th>Type</th>- <th>Attributes</th>-@@ -5147,20 +5145,10 @@ This method can be significantly faster than the getAttribute()</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">label name to filter</td>+ <td class="description last">label name</td></tr>@@ -5201,7 +5189,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line621">line 621</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line544">line 544</a></li></ul></dd>@@ -5230,7 +5218,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- all note's labels (attributes with type label), excluding inherited ones+ label value if label exists, null otherwise</div>@@ -5241,7 +5229,10 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -5259,7 +5250,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedLabelValue"><span class="type-signature"></span>getOwnedLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getOwnedLabelValues"><span class="type-signature"></span>getOwnedLabelValues<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<string>}</span></h4>@@ -5287,6 +5278,8 @@ This method can be significantly faster than the getAttribute()<th>Type</th>+ <th>Attributes</th>+@@ -5312,10 +5305,20 @@ This method can be significantly faster than the getAttribute()</td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">label name</td>+ <td class="description last">label name to filter</td></tr>@@ -5356,7 +5359,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line544">line 544</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line629">line 629</a></li></ul></dd>@@ -5385,7 +5388,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- label value if label exists, null otherwise+ all note's label values, excluding inherited ones</div>@@ -5396,10 +5399,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<string></span></dd>@@ -5417,7 +5417,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedLabelValues"><span class="type-signature"></span>getOwnedLabelValues<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<string>}</span></h4>+ <h4 class="name" id="getOwnedLabels"><span class="type-signature"></span>getOwnedLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -5526,7 +5526,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line629">line 629</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line621">line 621</a></li></ul></dd>@@ -5555,7 +5555,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- all note's label values, excluding inherited ones+ all note's labels (attributes with type label), excluding inherited ones</div>@@ -5566,7 +5566,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<string></span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -5742,7 +5742,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedRelations"><span class="type-signature"></span>getOwnedRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedRelationValue"><span class="type-signature"></span>getOwnedRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -5770,8 +5770,6 @@ This method can be significantly faster than the getAttribute()<th>Type</th>- <th>Attributes</th>-@@ -5797,20 +5795,10 @@ This method can be significantly faster than the getAttribute()</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">relation name to filter</td>+ <td class="description last">relation name</td></tr>@@ -5851,7 +5839,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line645">line 645</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line556">line 556</a></li></ul></dd>@@ -5880,7 +5868,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- all note's relations (attributes with type relation), excluding inherited ones+ relation value if relation exists, null otherwise</div>@@ -5891,7 +5879,10 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -5909,7 +5900,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getOwnedRelationValue"><span class="type-signature"></span>getOwnedRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getOwnedRelations"><span class="type-signature"></span>getOwnedRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -5937,6 +5928,8 @@ This method can be significantly faster than the getAttribute()<th>Type</th>+ <th>Attributes</th>+@@ -5962,10 +5955,20 @@ This method can be significantly faster than the getAttribute()</td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">relation name</td>+ <td class="description last">relation name to filter</td></tr>@@ -6006,7 +6009,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line556">line 556</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line645">line 645</a></li></ul></dd>@@ -6035,7 +6038,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- relation value if relation exists, null otherwise+ all note's relations (attributes with type relation), excluding inherited ones</div>@@ -6046,10 +6049,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -6518,7 +6518,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getRelations"><span class="type-signature"></span>getRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getRelationValue"><span class="type-signature"></span>getRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>@@ -6546,8 +6546,6 @@ This method can be significantly faster than the getAttribute()<th>Type</th>- <th>Attributes</th>-@@ -6573,20 +6571,10 @@ This method can be significantly faster than the getAttribute()</td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">relation name to filter</td>+ <td class="description last">relation name</td></tr>@@ -6627,7 +6615,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line637">line 637</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line550">line 550</a></li></ul></dd>@@ -6656,7 +6644,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- all note's relations (attributes with type relation), including inherited ones+ relation value if relation exists, null otherwise</div>@@ -6667,7 +6655,10 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span>+|++<span class="param-type">null</span></dd>@@ -6685,7 +6676,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getRelationValue"><span class="type-signature"></span>getRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string|null}</span></h4>+ <h4 class="name" id="getRelations"><span class="type-signature"></span>getRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -6713,6 +6704,8 @@ This method can be significantly faster than the getAttribute()<th>Type</th>+ <th>Attributes</th>+@@ -6738,10 +6731,20 @@ This method can be significantly faster than the getAttribute()</td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">relation name</td>+ <td class="description last">relation name to filter</td></tr>@@ -6782,7 +6785,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line550">line 550</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line637">line 637</a></li></ul></dd>@@ -6811,7 +6814,7 @@ This method can be significantly faster than the getAttribute()<div class="param-desc">- relation value if relation exists, null otherwise+ all note's relations (attributes with type relation), including inherited ones</div>@@ -6822,10 +6825,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">string</span>-|--<span class="param-type">null</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -6952,7 +6952,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getSubtreeNoteIds"><span class="type-signature"></span>getSubtreeNoteIds<span class="signature">()</span><span class="type-signature"> → {Array.<String>}</span></h4>+ <h4 class="name" id="getSubtree"><span class="type-signature"></span>getSubtree<span class="signature">()</span><span class="type-signature"> → {Object}</span></h4>@@ -7000,7 +7000,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line864">line 864</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line845">line 845</a></li></ul></dd>@@ -7036,7 +7036,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<String></span>+<span class="param-type">Object</span></dd>@@ -7054,7 +7054,7 @@ This method can be significantly faster than the getAttribute()- <h4 class="name" id="getSubtreeNotes"><span class="type-signature"></span>getSubtreeNotes<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Note.html">Note</a>>}</span></h4>+ <h4 class="name" id="getSubtreeNoteIds"><span class="type-signature"></span>getSubtreeNoteIds<span class="signature">()</span><span class="type-signature"> → {Array.<String>}</span></h4>@@ -7102,7 +7102,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line843">line 843</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line913">line 913</a></li></ul></dd>@@ -7138,7 +7138,7 @@ This method can be significantly faster than the getAttribute()</dt><dd>-<span class="param-type">Array.<<a href="Note.html">Note</a>></span>+<span class="param-type">Array.<String></span></dd>@@ -7306,7 +7306,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line963">line 963</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1014">line 1014</a></li></ul></dd>@@ -7502,7 +7502,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line947">line 947</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line998">line 998</a></li></ul></dd>@@ -8981,7 +8981,7 @@ This method can be significantly faster than the getAttribute()<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1022">line 1022</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1073">line 1073</a></li></ul></dd>@@ -9903,7 +9903,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1066">line 1066</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1117">line 1117</a></li></ul></dd>@@ -10083,7 +10083,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1181">line 1181</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1232">line 1232</a></li></ul></dd>@@ -10263,7 +10263,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1189">line 1189</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1240">line 1240</a></li></ul></dd>@@ -10458,7 +10458,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1263">line 1263</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1314">line 1314</a></li></ul></dd>@@ -10690,7 +10690,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1035">line 1035</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1086">line 1086</a></li></ul></dd>@@ -10870,7 +10870,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1165">line 1165</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1216">line 1216</a></li></ul></dd>@@ -11030,7 +11030,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1173">line 1173</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1224">line 1224</a></li></ul></dd>@@ -11272,7 +11272,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1132">line 1132</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1183">line 1183</a></li></ul></dd>@@ -11483,7 +11483,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1148">line 1148</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1199">line 1199</a></li></ul></dd>@@ -11694,7 +11694,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1157">line 1157</a>+ <a href="becca_entities_note.js.html">becca/entities/note.js</a>, <a href="becca_entities_note.js.html#line1208">line 1208</a></li></ul></dd>@@ -11746,7 +11746,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/NoteRevision.html b/docs/backend_api/NoteRevision.htmlindex f2443f927a..5bb9a2eb3a 100644--- a/docs/backend_api/NoteRevision.html+++ b/docs/backend_api/NoteRevision.html@@ -2174,7 +2174,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/Option.html b/docs/backend_api/Option.htmlindex e4764f7dba..f31eaf5e97 100644--- a/docs/backend_api/Option.html+++ b/docs/backend_api/Option.html@@ -1319,7 +1319,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/RecentNote.html b/docs/backend_api/RecentNote.htmlindex 0b293ddae0..62c311b5e3 100644--- a/docs/backend_api/RecentNote.html+++ b/docs/backend_api/RecentNote.html@@ -1251,7 +1251,7 @@ This is a low level method, for notes and branches use `note.deleteNote()` and '<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_abstract_entity.js.html b/docs/backend_api/becca_entities_abstract_entity.js.htmlindex 58361497f6..f06a0c9f1b 100644--- a/docs/backend_api/becca_entities_abstract_entity.js.html+++ b/docs/backend_api/becca_entities_abstract_entity.js.html@@ -209,7 +209,7 @@ module.exports = AbstractEntity;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_attribute.js.html b/docs/backend_api/becca_entities_attribute.js.htmlindex 7c88c09f3f..76d06856f0 100644--- a/docs/backend_api/becca_entities_attribute.js.html+++ b/docs/backend_api/becca_entities_attribute.js.html@@ -254,7 +254,7 @@ module.exports = Attribute;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_branch.js.html b/docs/backend_api/becca_entities_branch.js.htmlindex fc264138ad..5cf5b3d74f 100644--- a/docs/backend_api/becca_entities_branch.js.html+++ b/docs/backend_api/becca_entities_branch.js.html@@ -198,6 +198,10 @@ class Branch extends AbstractEntity {log.info("Deleting note " + note.noteId);+ // marking note as deleted as a signal to event handlers that the note is being deleted+ // (isDeleted is being checked against becca)+ delete this.becca.notes[note.noteId];+for (const attribute of note.getOwnedAttributes()) {attribute.markAsDeleted(deleteId);}@@ -274,7 +278,7 @@ module.exports = Branch;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_etapi_token.js.html b/docs/backend_api/becca_entities_etapi_token.js.htmlindex 72b9adef4b..064d6494b1 100644--- a/docs/backend_api/becca_entities_etapi_token.js.html+++ b/docs/backend_api/becca_entities_etapi_token.js.html@@ -120,7 +120,7 @@ module.exports = EtapiToken;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_note.js.html b/docs/backend_api/becca_entities_note.js.htmlindex d50098ce16..f584efb8ef 100644--- a/docs/backend_api/becca_entities_note.js.html+++ b/docs/backend_api/becca_entities_note.js.html@@ -38,7 +38,7 @@ const AbstractEntity = require("./abstract_entity");const NoteRevision = require("./note_revision");const TaskContext = require("../../services/task_context");const dayjs = require("dayjs");-const utc = require('dayjs/plugin/utc')+const utc = require('dayjs/plugin/utc');dayjs.extend(utc)const LABEL = 'label';@@ -867,30 +867,81 @@ class Note extends AbstractEntity {return Array.from(set);}- /** @returns {Note[]} */- getSubtreeNotes(includeArchived = true) {+ /**+ * @returns {{notes: Note[], relationships: Array.<{parentNoteId: string, childNoteId: string}>}}+ */+ getSubtree({includeArchived = true, resolveSearch = false} = {}) {const noteSet = new Set();+ const relationships = []; // list of tuples parentNoteId -> childNoteId++ function resolveSearchNote(searchNote) {+ try {+ const searchService = require("../../services/search/services/search");+ const becca = searchNote.becca;+ const {searchResultNoteIds} = searchService.searchFromNote(searchNote);++ for (const resultNoteId of searchResultNoteIds) {+ const resultNote = becca.notes[resultNoteId];++ if (resultNote) {+ addSubtreeNotesInner(resultNote, searchNote);+ }+ }+ }+ catch (e) {+ log.error(`Could not resolve search note ${searchNote?.noteId}: ${e.message}`);+ }+ }++ function addSubtreeNotesInner(note, parentNote = null) {+ // share can be removed after 0.57 since it will be put under hidden+ if (note.noteId === 'hidden' || note.noteId === 'share') {+ return;+ }++ if (parentNote) {+ // this needs to happen first before noteSet check to include all clone relationships+ relationships.push({+ parentNoteId: parentNote.noteId,+ childNoteId: note.noteId+ });+ }++ if (noteSet.has(note)) {+ return;+ }- function addSubtreeNotesInner(note) {if (!includeArchived && note.isArchived) {return;}noteSet.add(note);- for (const childNote of note.children) {- addSubtreeNotesInner(childNote);+ if (note.type === 'search') {+ if (resolveSearch) {+ resolveSearchNote(note);+ }+ }+ else {+ for (const childNote of note.children) {+ addSubtreeNotesInner(childNote, note);+ }}}addSubtreeNotesInner(this);- return Array.from(noteSet);+ return {+ notes: Array.from(noteSet),+ relationships+ };}/** @returns {String[]} */- getSubtreeNoteIds(includeArchived = true) {- return this.getSubtreeNotes(includeArchived).map(note => note.noteId);+ getSubtreeNoteIds({includeArchived = true, resolveSearch = false} = {}) {+ return this.getSubtree({includeArchived, resolveSearch})+ .notes+ .map(note => note.noteId);}getDescendantNoteIds() {@@ -1378,7 +1429,7 @@ module.exports = Note;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_note_revision.js.html b/docs/backend_api/becca_entities_note_revision.js.htmlindex f22ca30483..f82037b938 100644--- a/docs/backend_api/becca_entities_note_revision.js.html+++ b/docs/backend_api/becca_entities_note_revision.js.html@@ -235,7 +235,7 @@ module.exports = NoteRevision;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_option.js.html b/docs/backend_api/becca_entities_option.js.htmlindex a6ab8a5e37..f63984cec6 100644--- a/docs/backend_api/becca_entities_option.js.html+++ b/docs/backend_api/becca_entities_option.js.html@@ -89,7 +89,7 @@ module.exports = Option;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/becca_entities_recent_note.js.html b/docs/backend_api/becca_entities_recent_note.js.htmlindex 6b3f05d15d..5d6268cb29 100644--- a/docs/backend_api/becca_entities_recent_note.js.html+++ b/docs/backend_api/becca_entities_recent_note.js.html@@ -77,7 +77,7 @@ module.exports = RecentNote;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/global.html b/docs/backend_api/global.htmlindex 43ea3274e4..e6c91e6a80 100644--- a/docs/backend_api/global.html+++ b/docs/backend_api/global.html@@ -1089,7 +1089,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/index.html b/docs/backend_api/index.htmlindex 3a8828939f..afc8c4960a 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/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/module-sql.html b/docs/backend_api/module-sql.htmlindex f006a89d71..5279b0454b 100644--- a/docs/backend_api/module-sql.html+++ b/docs/backend_api/module-sql.html@@ -28,8 +28,6 @@<header>--</header><article>@@ -38,6 +36,50 @@+++<dl class="details">+++++++++++++++++++++++++++ <dt class="tag-source">Source:</dt>+ <dd class="tag-source"><ul class="dummy"><li>+ <a href="services_sql.js.html">services/sql.js</a>, <a href="services_sql.js.html#line3">line 3</a>+ </li></ul></dd>++++++++</dl>+++</div>@@ -1258,7 +1300,7 @@<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></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 f6de2455f2..f2aff48479 100644--- a/docs/backend_api/services_backend_script_api.js.html+++ b/docs/backend_api/services_backend_script_api.js.html@@ -512,7 +512,7 @@ module.exports = BackendScriptApi;<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/backend_api/services_sql.js.html b/docs/backend_api/services_sql.js.htmlindex 87a04b7339..56e81262e1 100644--- a/docs/backend_api/services_sql.js.html+++ b/docs/backend_api/services_sql.js.html@@ -404,7 +404,7 @@ module.exports = {<br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/Attribute.html b/docs/frontend_api/Attribute.htmlindex f37b6de376..2f337a101e 100644--- a/docs/frontend_api/Attribute.html+++ b/docs/frontend_api/Attribute.html@@ -844,13 +844,13 @@ and relation (representing named relationship between source and target note)</d</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/Branch.html b/docs/frontend_api/Branch.htmlindex d5b3f73279..b67be15750 100644--- a/docs/frontend_api/Branch.html+++ b/docs/frontend_api/Branch.html@@ -1056,13 +1056,13 @@ parents.</div></div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/FrontendScriptApi.html b/docs/frontend_api/FrontendScriptApi.htmlindex 793e731495..105a352d3d 100644--- a/docs/frontend_api/FrontendScriptApi.html+++ b/docs/frontend_api/FrontendScriptApi.html@@ -453,7 +453,7 @@-<h4 class="name" id="currentNote"><span class="type-signature"></span>currentNote<span class="type-signature"></span></h4>+<h4 class="name" id="NoteContextAwareWidget"><span class="type-signature"></span>NoteContextAwareWidget<span class="type-signature"></span></h4>@@ -472,8 +472,6 @@<thead><tr>- <th>Name</th>-<th>Type</th>@@ -490,13 +488,11 @@<tr>- <td class="name"><code>note</code></td>-<td class="type">-<span class="param-type">object</span>+<span class="param-type">NoteContextAwareWidget</span>@@ -506,7 +502,7 @@- <td class="description last">where script is currently executing</td>+ <td class="description last"></td></tr>@@ -545,7 +541,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#line33">line 33</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line50">line 50</a></li></ul></dd>@@ -563,7 +559,7 @@-<h4 class="name" id="NoteContextAwareWidget"><span class="type-signature"></span>NoteContextAwareWidget<span class="type-signature"></span></h4>+<h4 class="name" id="NoteContextCachingWidget"><span class="type-signature"></span>NoteContextCachingWidget<span class="type-signature"></span></h4>@@ -651,7 +647,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#line50">line 50</a>+ <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></li></ul></dd>@@ -669,7 +665,7 @@-<h4 class="name" id="NoteContextCachingWidget"><span class="type-signature"></span>NoteContextCachingWidget<span class="type-signature"></span></h4>+<h4 class="name" id="TabAwareWidget"><span class="type-signature"></span>TabAwareWidget<span class="type-signature"></span></h4>@@ -745,6 +741,8 @@+ <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use NoteContextAwareWidget instead</li></ul></dd>+@@ -757,7 +755,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#line47">line 47</a></li></ul></dd>@@ -775,7 +773,7 @@-<h4 class="name" id="originEntity"><span class="type-signature"></span>originEntity<span class="type-signature"></span></h4>+<h4 class="name" id="TabCachingWidget"><span class="type-signature"></span>TabCachingWidget<span class="type-signature"></span></h4>@@ -794,8 +792,6 @@<thead><tr>- <th>Name</th>-<th>Type</th>@@ -812,16 +808,11 @@<tr>- <td class="name"><code>entity</code></td>-<td class="type">-<span class="param-type">object</span>-|--<span class="param-type">null</span>+<span class="param-type">NoteContextCachingWidget</span>@@ -831,7 +822,7 @@- <td class="description last">whose event triggered this execution</td>+ <td class="description last"></td></tr>@@ -858,6 +849,8 @@+ <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use NoteContextCachingWidget instead</li></ul></dd>+@@ -870,7 +863,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#line35">line 35</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line56">line 56</a></li></ul></dd>@@ -888,7 +881,7 @@-<h4 class="name" id="startNote"><span class="type-signature"></span>startNote<span class="type-signature"></span></h4>+<h4 class="name" id="currentNote"><span class="type-signature"></span>currentNote<span class="type-signature"></span></h4>@@ -941,7 +934,7 @@- <td class="description last">where script started executing</td>+ <td class="description last">where script is currently executing</td></tr>@@ -980,7 +973,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#line31">line 31</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>@@ -998,7 +991,7 @@-<h4 class="name" id="TabAwareWidget"><span class="type-signature"></span>TabAwareWidget<span class="type-signature"></span></h4>+<h4 class="name" id="originEntity"><span class="type-signature"></span>originEntity<span class="type-signature"></span></h4>@@ -1017,6 +1010,8 @@<thead><tr>+ <th>Name</th>+<th>Type</th>@@ -1033,11 +1028,16 @@<tr>+ <td class="name"><code>entity</code></td>+<td class="type">-<span class="param-type">NoteContextAwareWidget</span>+<span class="param-type">object</span>+|++<span class="param-type">null</span>@@ -1047,7 +1047,7 @@- <td class="description last"></td>+ <td class="description last">whose event triggered this execution</td></tr>@@ -1074,8 +1074,6 @@- <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use NoteContextAwareWidget instead</li></ul></dd>-@@ -1088,7 +1086,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#line47">line 47</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line35">line 35</a></li></ul></dd>@@ -1106,7 +1104,7 @@-<h4 class="name" id="TabCachingWidget"><span class="type-signature"></span>TabCachingWidget<span class="type-signature"></span></h4>+<h4 class="name" id="startNote"><span class="type-signature"></span>startNote<span class="type-signature"></span></h4>@@ -1125,6 +1123,8 @@<thead><tr>+ <th>Name</th>+<th>Type</th>@@ -1141,11 +1141,13 @@<tr>+ <td class="name"><code>note</code></td>+<td class="type">-<span class="param-type">NoteContextCachingWidget</span>+<span class="param-type">object</span>@@ -1155,7 +1157,7 @@- <td class="description last"></td>+ <td class="description last">where script started executing</td></tr>@@ -1182,8 +1184,6 @@- <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use NoteContextCachingWidget instead</li></ul></dd>-@@ -1196,7 +1196,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#line56">line 56</a>+ <a href="services_frontend_script_api.js.html">services/frontend_script_api.js</a>, <a href="services_frontend_script_api.js.html#line31">line 31</a></li></ul></dd>@@ -1542,7 +1542,7 @@<div class="description">- Adds new button the the plugin area.+ Adds new button to the plugin area.</div>@@ -8141,13 +8141,13 @@ Typical use case is when new note has been created, we should wait until it is s</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/NoteComplement.html b/docs/frontend_api/NoteComplement.htmlindex cb2d6501bb..9238439efb 100644--- a/docs/frontend_api/NoteComplement.html+++ b/docs/frontend_api/NoteComplement.html@@ -775,13 +775,13 @@</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/NoteShort.html b/docs/frontend_api/NoteShort.htmlindex fc95148b82..22a030fdbd 100644--- a/docs/frontend_api/NoteShort.html+++ b/docs/frontend_api/NoteShort.html@@ -285,7 +285,7 @@ This note's representation is used in note tree and is kept in Froca.</div>-<h4 class="name" id="children"><span class="type-signature"></span>children<span class="type-signature"> :Array.<string></span></h4>+<h4 class="name" id="childToBranch"><span class="type-signature"></span>childToBranch<span class="type-signature"> :Object.<string, string></span></h4>@@ -296,7 +296,7 @@ This note's representation is used in note tree and is kept in Froca.</div><ul><li>-<span class="param-type">Array.<string></span>+<span class="param-type">Object.<string, string></span></li>@@ -335,7 +335,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line48">line 48</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line54">line 54</a></li></ul></dd>@@ -353,7 +353,7 @@ This note's representation is used in note tree and is kept in Froca.</div>-<h4 class="name" id="childToBranch"><span class="type-signature"></span>childToBranch<span class="type-signature"> :Object.<string, string></span></h4>+<h4 class="name" id="children"><span class="type-signature"></span>children<span class="type-signature"> :Array.<string></span></h4>@@ -364,7 +364,7 @@ This note's representation is used in note tree and is kept in Froca.</div><ul><li>-<span class="param-type">Object.<string, string></span>+<span class="param-type">Array.<string></span></li>@@ -403,7 +403,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line54">line 54</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line48">line 48</a></li></ul></dd>@@ -629,7 +629,7 @@ This note's representation is used in note tree and is kept in Froca.</div>-<h4 class="name" id="parents"><span class="type-signature"></span>parents<span class="type-signature"> :Array.<string></span></h4>+<h4 class="name" id="parentToBranch"><span class="type-signature"></span>parentToBranch<span class="type-signature"> :Object.<string, string></span></h4>@@ -640,7 +640,7 @@ This note's representation is used in note tree and is kept in Froca.</div><ul><li>-<span class="param-type">Array.<string></span>+<span class="param-type">Object.<string, string></span></li>@@ -679,7 +679,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line46">line 46</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line51">line 51</a></li></ul></dd>@@ -697,7 +697,7 @@ This note's representation is used in note tree and is kept in Froca.</div>-<h4 class="name" id="parentToBranch"><span class="type-signature"></span>parentToBranch<span class="type-signature"> :Object.<string, string></span></h4>+<h4 class="name" id="parents"><span class="type-signature"></span>parents<span class="type-signature"> :Array.<string></span></h4>@@ -708,7 +708,7 @@ This note's representation is used in note tree and is kept in Froca.</div><ul><li>-<span class="param-type">Object.<string, string></span>+<span class="param-type">Array.<string></span></li>@@ -747,7 +747,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line51">line 51</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line46">line 46</a></li></ul></dd>@@ -1161,7 +1161,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getAttributes"><span class="type-signature"></span>getAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getAttributeValue"><span class="type-signature"></span>getAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string}</span></h4>@@ -1189,8 +1189,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -1216,20 +1214,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute type to filter</td>+ <td class="description last">attribute type (label, relation, etc.)</td></tr>@@ -1249,20 +1237,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>----- </td>--- <td class="description last">(optional) attribute name to filter</td>+ <td class="description last">attribute name</td></tr>@@ -1303,7 +1281,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line240">line 240</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line533">line 533</a></li></ul></dd>@@ -1332,7 +1310,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's attributes, including inherited ones+ attribute value of given type and name or null if no such attribute exists.</div>@@ -1343,7 +1321,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span></dd>@@ -1361,7 +1339,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getAttributeValue"><span class="type-signature"></span>getAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getAttributes"><span class="type-signature"></span>getAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -1389,6 +1367,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -1414,10 +1394,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">attribute type (label, relation, etc.)</td>+++ <td class="description last">(optional) attribute type to filter</td></tr>@@ -1437,10 +1427,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">attribute name</td>+ <td class="description last">(optional) attribute name to filter</td></tr>@@ -1481,7 +1481,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line533">line 533</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line240">line 240</a></li></ul></dd>@@ -1510,7 +1510,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- attribute value of given type and name or null if no such attribute exists.+ all note's attributes, including inherited ones</div>@@ -1521,7 +1521,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -1539,7 +1539,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getBranches"><span class="type-signature"></span>getBranches<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Branch.html">Branch</a>>}</span></h4>+ <h4 class="name" id="getBranchIds"><span class="type-signature"></span>getBranchIds<span class="signature">()</span><span class="type-signature"> → {Array.<string>}</span></h4>@@ -1575,7 +1575,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use getParentBranches() instead</li></ul></dd>+ <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use getParentBranchIds() instead</li></ul></dd>@@ -1589,7 +1589,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line165">line 165</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line148">line 148</a></li></ul></dd>@@ -1625,7 +1625,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Branch.html">Branch</a>></span>+<span class="param-type">Array.<string></span></dd>@@ -1643,7 +1643,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getBranchIds"><span class="type-signature"></span>getBranchIds<span class="signature">()</span><span class="type-signature"> → {Array.<string>}</span></h4>+ <h4 class="name" id="getBranches"><span class="type-signature"></span>getBranches<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Branch.html">Branch</a>>}</span></h4>@@ -1679,7 +1679,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use getParentBranchIds() instead</li></ul></dd>+ <dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>use getParentBranches() instead</li></ul></dd>@@ -1693,7 +1693,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line148">line 148</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line165">line 165</a></li></ul></dd>@@ -1729,7 +1729,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<string></span>+<span class="param-type">Array.<<a href="Branch.html">Branch</a>></span></dd>@@ -2208,7 +2208,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getLabels"><span class="type-signature"></span>getLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getLabelValue"><span class="type-signature"></span>getLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>@@ -2236,8 +2236,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -2263,20 +2261,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">label name to filter</td>+ <td class="description last">label name</td></tr>@@ -2317,7 +2305,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line392">line 392</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line597">line 597</a></li></ul></dd>@@ -2346,7 +2334,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's labels (attributes with type label), including inherited ones+ label value if label exists, null otherwise</div>@@ -2357,7 +2345,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span></dd>@@ -2375,7 +2363,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getLabelValue"><span class="type-signature"></span>getLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getLabels"><span class="type-signature"></span>getLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -2403,6 +2391,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -2428,10 +2418,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">label name</td>+ <td class="description last">label name to filter</td></tr>@@ -2472,7 +2472,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line597">line 597</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line392">line 392</a></li></ul></dd>@@ -2501,7 +2501,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- label value if label exists, null otherwise+ all note's labels (attributes with type label), including inherited ones</div>@@ -2512,7 +2512,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -2814,7 +2814,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedAttributes"><span class="type-signature"></span>getOwnedAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedAttributeValue"><span class="type-signature"></span>getOwnedAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string}</span></h4>@@ -2842,8 +2842,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -2869,20 +2867,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">(optional) attribute type to filter</td>+ <td class="description last">attribute type (label, relation, etc.)</td></tr>@@ -2902,20 +2890,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>----- </td>--- <td class="description last">(optional) attribute name to filter</td>+ <td class="description last">attribute name</td></tr>@@ -2956,7 +2934,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line227">line 227</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line522">line 522</a></li></ul></dd>@@ -2985,7 +2963,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's attributes, including inherited ones+ attribute value of given type and name or null if no such attribute exists.</div>@@ -2996,7 +2974,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span></dd>@@ -3014,7 +2992,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedAttributeValue"><span class="type-signature"></span>getOwnedAttributeValue<span class="signature">(type, name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getOwnedAttributes"><span class="type-signature"></span>getOwnedAttributes<span class="signature">(type<span class="signature-attributes">opt</span>, name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -3042,6 +3020,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -3067,10 +3047,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">attribute type (label, relation, etc.)</td>+++ <td class="description last">(optional) attribute type to filter</td></tr>@@ -3090,10 +3080,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">attribute name</td>+++ <td class="description last">(optional) attribute name to filter</td></tr>@@ -3134,7 +3134,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line522">line 522</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line227">line 227</a></li></ul></dd>@@ -3163,7 +3163,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- attribute value of given type and name or null if no such attribute exists.+ all note's attributes, including inherited ones</div>@@ -3174,7 +3174,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -3347,7 +3347,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedLabels"><span class="type-signature"></span>getOwnedLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedLabelValue"><span class="type-signature"></span>getOwnedLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>@@ -3375,8 +3375,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -3402,20 +3400,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>----- </td>--- <td class="description last">label name to filter</td>+ <td class="description last">label name</td></tr>@@ -3456,7 +3444,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line384">line 384</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line591">line 591</a></li></ul></dd>@@ -3485,7 +3473,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's labels (attributes with type label), including inherited ones+ label value if label exists, null otherwise</div>@@ -3496,7 +3484,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span></dd>@@ -3514,7 +3502,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedLabelValue"><span class="type-signature"></span>getOwnedLabelValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getOwnedLabels"><span class="type-signature"></span>getOwnedLabels<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -3542,6 +3530,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -3567,10 +3557,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">label name</td>+++ <td class="description last">label name to filter</td></tr>@@ -3611,7 +3611,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line591">line 591</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line384">line 384</a></li></ul></dd>@@ -3640,7 +3640,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- label value if label exists, null otherwise+ all note's labels (attributes with type label), including inherited ones</div>@@ -3651,7 +3651,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -3824,7 +3824,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedRelations"><span class="type-signature"></span>getOwnedRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getOwnedRelationValue"><span class="type-signature"></span>getOwnedRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>@@ -3852,8 +3852,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -3879,20 +3877,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">relation name to filter</td>+ <td class="description last">relation name</td></tr>@@ -3933,7 +3921,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line465">line 465</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line603">line 603</a></li></ul></dd>@@ -3962,7 +3950,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's relations (attributes with type relation), including inherited ones+ relation value if relation exists, null otherwise</div>@@ -3973,7 +3961,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">string</span></dd>@@ -3991,7 +3979,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getOwnedRelationValue"><span class="type-signature"></span>getOwnedRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getOwnedRelations"><span class="type-signature"></span>getOwnedRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -4019,6 +4007,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -4044,10 +4034,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last">relation name</td>+ <td class="description last">relation name to filter</td></tr>@@ -4088,7 +4088,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line603">line 603</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line465">line 465</a></li></ul></dd>@@ -4117,7 +4117,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- relation value if relation exists, null otherwise+ all note's relations (attributes with type relation), including inherited ones</div>@@ -4128,7 +4128,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -4146,7 +4146,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getParentBranches"><span class="type-signature"></span>getParentBranches<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Branch.html">Branch</a>>}</span></h4>+ <h4 class="name" id="getParentBranchIds"><span class="type-signature"></span>getParentBranchIds<span class="signature">()</span><span class="type-signature"> → {Array.<string>}</span></h4>@@ -4194,7 +4194,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line155">line 155</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line140">line 140</a></li></ul></dd>@@ -4230,7 +4230,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Branch.html">Branch</a>></span>+<span class="param-type">Array.<string></span></dd>@@ -4248,7 +4248,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getParentBranchIds"><span class="type-signature"></span>getParentBranchIds<span class="signature">()</span><span class="type-signature"> → {Array.<string>}</span></h4>+ <h4 class="name" id="getParentBranches"><span class="type-signature"></span>getParentBranches<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Branch.html">Branch</a>>}</span></h4>@@ -4296,7 +4296,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line140">line 140</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line155">line 155</a></li></ul></dd>@@ -4332,7 +4332,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<string></span>+<span class="param-type">Array.<<a href="Branch.html">Branch</a>></span></dd>@@ -4709,7 +4709,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getRelations"><span class="type-signature"></span>getRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getRelationTarget"><span class="type-signature">(async) </span>getRelationTarget<span class="signature">(name)</span><span class="type-signature"> → {Promise.<<a href="NoteShort.html">NoteShort</a>>|null}</span></h4>@@ -4737,8 +4737,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -4764,20 +4762,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">relation name to filter</td>+ <td class="description last"></td></tr>@@ -4818,7 +4806,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line473">line 473</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line615">line 615</a></li></ul></dd>@@ -4847,7 +4835,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- all note's relations (attributes with type relation), including inherited ones+ target note of the relation or null (if target is empty or note was not found)</div>@@ -4858,7 +4846,10 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">Promise.<<a href="NoteShort.html">NoteShort</a>></span>+|++<span class="param-type">null</span></dd>@@ -4876,7 +4867,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getRelationTarget"><span class="type-signature">(async) </span>getRelationTarget<span class="signature">(name)</span><span class="type-signature"> → {Promise.<<a href="NoteShort.html">NoteShort</a>>|null}</span></h4>+ <h4 class="name" id="getRelationTargets"><span class="type-signature">(async) </span>getRelationTargets<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<Array.<<a href="NoteShort.html">NoteShort</a>>>}</span></h4>@@ -4904,6 +4895,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -4929,10 +4922,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>++++++ </td>+- <td class="description last"></td>+ <td class="description last">relation name to filter</td></tr>@@ -4973,7 +4976,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line615">line 615</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line625">line 625</a></li></ul></dd>@@ -5001,10 +5004,6 @@ This note's representation is used in note tree and is kept in Froca.</div><h5>Returns:</h5>-<div class="param-desc">- target note of the relation or null (if target is empty or note was not found)-</div>-<dl>@@ -5013,10 +5012,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Promise.<<a href="NoteShort.html">NoteShort</a>></span>-|--<span class="param-type">null</span>+<span class="param-type">Promise.<Array.<<a href="NoteShort.html">NoteShort</a>>></span></dd>@@ -5034,7 +5030,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getRelationTargets"><span class="type-signature">(async) </span>getRelationTargets<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Promise.<Array.<<a href="NoteShort.html">NoteShort</a>>>}</span></h4>+ <h4 class="name" id="getRelationValue"><span class="type-signature"></span>getRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>@@ -5062,8 +5058,6 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>- <th>Attributes</th>-@@ -5089,20 +5083,10 @@ This note's representation is used in note tree and is kept in Froca.</div></td>- <td class="attributes">-- <optional><br>------ </td>-- <td class="description last">relation name to filter</td>+ <td class="description last">relation name</td></tr>@@ -5143,7 +5127,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line625">line 625</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line609">line 609</a></li></ul></dd>@@ -5171,6 +5155,10 @@ This note's representation is used in note tree and is kept in Froca.</div><h5>Returns:</h5>+<div class="param-desc">+ relation value if relation exists, null otherwise+</div>+<dl>@@ -5179,7 +5167,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Promise.<Array.<<a href="NoteShort.html">NoteShort</a>>></span>+<span class="param-type">string</span></dd>@@ -5197,7 +5185,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getRelationValue"><span class="type-signature"></span>getRelationValue<span class="signature">(name)</span><span class="type-signature"> → {string}</span></h4>+ <h4 class="name" id="getRelations"><span class="type-signature"></span>getRelations<span class="signature">(name<span class="signature-attributes">opt</span>)</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -5225,6 +5213,8 @@ This note's representation is used in note tree and is kept in Froca.</div><th>Type</th>+ <th>Attributes</th>+@@ -5250,10 +5240,20 @@ This note's representation is used in note tree and is kept in Froca.</div></td>+ <td class="attributes">++ <optional><br>+++++ </td>- <td class="description last">relation name</td>+++ <td class="description last">relation name to filter</td></tr>@@ -5294,7 +5294,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line609">line 609</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line473">line 473</a></li></ul></dd>@@ -5323,7 +5323,7 @@ This note's representation is used in note tree and is kept in Froca.</div><div class="param-desc">- relation value if relation exists, null otherwise+ all note's relations (attributes with type relation), including inherited ones</div>@@ -5334,7 +5334,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">string</span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -5461,7 +5461,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getTargetRelations"><span class="type-signature"></span>getTargetRelations<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>+ <h4 class="name" id="getTargetRelationSourceNotes"><span class="type-signature">(async) </span>getTargetRelationSourceNotes<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="NoteShort.html">NoteShort</a>>}</span></h4>@@ -5513,7 +5513,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line703">line 703</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line713">line 713</a></li></ul></dd>@@ -5549,7 +5549,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span>+<span class="param-type">Array.<<a href="NoteShort.html">NoteShort</a>></span></dd>@@ -5567,7 +5567,7 @@ This note's representation is used in note tree and is kept in Froca.</div>- <h4 class="name" id="getTargetRelationSourceNotes"><span class="type-signature">(async) </span>getTargetRelationSourceNotes<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="NoteShort.html">NoteShort</a>>}</span></h4>+ <h4 class="name" id="getTargetRelations"><span class="type-signature"></span>getTargetRelations<span class="signature">()</span><span class="type-signature"> → {Array.<<a href="Attribute.html">Attribute</a>>}</span></h4>@@ -5619,7 +5619,7 @@ This note's representation is used in note tree and is kept in Froca.</div><dt class="tag-source">Source:</dt><dd class="tag-source"><ul class="dummy"><li>- <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line713">line 713</a>+ <a href="entities_note_short.js.html">entities/note_short.js</a>, <a href="entities_note_short.js.html#line703">line 703</a></li></ul></dd>@@ -5655,7 +5655,7 @@ This note's representation is used in note tree and is kept in Froca.</div></dt><dd>-<span class="param-type">Array.<<a href="NoteShort.html">NoteShort</a>></span>+<span class="param-type">Array.<<a href="Attribute.html">Attribute</a>></span></dd>@@ -7263,13 +7263,13 @@ This note's representation is used in note tree and is kept in Froca.</div></div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_attribute.js.html b/docs/frontend_api/entities_attribute.js.htmlindex d44f46ece5..31db324617 100644--- a/docs/frontend_api/entities_attribute.js.html+++ b/docs/frontend_api/entities_attribute.js.html@@ -115,13 +115,13 @@ export default Attribute;</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_branch.js.html b/docs/frontend_api/entities_branch.js.htmlindex e96a6a59bb..49e04e6325 100644--- a/docs/frontend_api/entities_branch.js.html+++ b/docs/frontend_api/entities_branch.js.html@@ -99,13 +99,13 @@ export default Branch;</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_note_complement.js.html b/docs/frontend_api/entities_note_complement.js.htmlindex 360dce7607..a7b13f24ac 100644--- a/docs/frontend_api/entities_note_complement.js.html+++ b/docs/frontend_api/entities_note_complement.js.html@@ -76,13 +76,13 @@ export default NoteComplement;</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/entities_note_short.js.html b/docs/frontend_api/entities_note_short.js.htmlindex a63cacf28e..254372125e 100644--- a/docs/frontend_api/entities_note_short.js.html+++ b/docs/frontend_api/entities_note_short.js.html@@ -864,13 +864,13 @@ export default NoteShort;</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/global.html b/docs/frontend_api/global.htmlindex 48b1f623a1..c988f8be74 100644--- a/docs/frontend_api/global.html+++ b/docs/frontend_api/global.html@@ -425,13 +425,13 @@</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/index.html b/docs/frontend_api/index.htmlindex 8dc8b7de8d..55816361e5 100644--- a/docs/frontend_api/index.html+++ b/docs/frontend_api/index.html@@ -50,13 +50,13 @@</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/module.exports.html b/docs/frontend_api/module.exports.htmlindex a20ad67f43..c743929acb 100644--- a/docs/frontend_api/module.exports.html+++ b/docs/frontend_api/module.exports.html@@ -155,13 +155,13 @@</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></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 a39196f1cb..e47bb0eb5c 100644--- a/docs/frontend_api/services_frontend_script_api.js.html+++ b/docs/frontend_api/services_frontend_script_api.js.html@@ -159,7 +159,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain*//**- * Adds new button the the plugin area.+ * Adds new button to the plugin area.** @param {ToolbarButtonOptions} opts*/@@ -663,13 +663,13 @@ export default FrontendScriptApi;</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/docs/frontend_api/widgets_collapsible_widget.js.html b/docs/frontend_api/widgets_collapsible_widget.js.htmlindex 4a731fa1a6..b5871ed12d 100644--- a/docs/frontend_api/widgets_collapsible_widget.js.html+++ b/docs/frontend_api/widgets_collapsible_widget.js.html@@ -74,13 +74,13 @@ export default class CollapsibleWidget extends NoteContextAwareWidget {</div><nav>- <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="module.exports.html">exports</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul>+ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Attribute.html">Attribute</a></li><li><a href="Branch.html">Branch</a></li><li><a href="FrontendScriptApi.html">FrontendScriptApi</a></li><li><a href="NoteComplement.html">NoteComplement</a></li><li><a href="NoteShort.html">NoteShort</a></li><li><a href="module.exports.html">exports</a></li></ul><h3>Global</h3><ul><li><a href="global.html#doRenderBody">doRenderBody</a></li></ul></nav><br class="clear"><footer>- Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.11</a>+ Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.0</a></footer><script> prettyPrint(); </script>diff --git a/package-lock.json b/package-lock.jsonindex 2f3024b085..90b601659e 100644--- a/package-lock.json+++ b/package-lock.json@@ -14,7 +14,7 @@"@excalidraw/excalidraw": "0.12.0","archiver": "5.3.1","async-mutex": "0.4.0",- "axios": "1.1.2",+ "axios": "1.1.3","better-sqlite3": "7.4.5","chokidar": "3.5.3","cls-hooked": "4.2.2",@@ -22,11 +22,11 @@"compression": "1.7.4","cookie-parser": "1.4.6","csurf": "1.11.0",- "dayjs": "1.11.5",+ "dayjs": "1.11.6","dayjs-plugin-utc": "^0.1.2","ejs": "3.1.8","electron-debug": "3.2.0",- "electron-dl": "3.4.0",+ "electron-dl": "3.4.1","electron-window-state": "5.0.3","express": "4.18.2","express-partial-content": "1.0.2",@@ -44,10 +44,10 @@"is-svg": "4.3.2","jimp": "0.16.2","joplin-turndown-plugin-gfm": "1.0.12",- "jsdom": "20.0.1",+ "jsdom": "20.0.2","mime-types": "2.1.35","multer": "1.4.5-lts.1",- "node-abi": "3.26.0",+ "node-abi": "3.28.0","normalize-strings": "1.1.1","open": "8.4.0","rand-token": "1.0.1",@@ -57,7 +57,7 @@"rimraf": "3.0.2","safe-compare": "1.1.4","sanitize-filename": "1.6.3",- "sanitize-html": "2.7.2",+ "sanitize-html": "2.7.3","sax": "1.2.4","semver": "7.3.8","serve-favicon": "2.5.0",@@ -67,7 +67,7 @@"tmp": "0.2.1","turndown": "7.1.1","unescape": "1.0.1",- "ws": "8.9.0",+ "ws": "8.11.0","yauzl": "2.10.0"},"bin": {@@ -77,11 +77,11 @@"cross-env": "7.0.3","electron": "16.2.8","electron-builder": "23.6.0",- "electron-packager": "16.0.0",+ "electron-packager": "17.1.1","electron-rebuild": "3.2.9","esm": "3.2.25",- "jasmine": "4.4.0",- "jsdoc": "3.6.11",+ "jasmine": "4.5.0",+ "jsdoc": "4.0.0","lorem-ipsum": "2.0.8","rcedit": "3.0.1","webpack": "5.74.0",@@ -140,6 +140,27 @@"node": ">=10.0.0"}},+ "node_modules/@electron/asar": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.2.tgz",+ "integrity": "sha512-32fMU68x8a6zvxtC1IC/BhPDKTh8rQjdmwEplj3CDpnkcwBzZVN9v/8cK0LJqQ0FOQQVZW8BWZ1S6UU53TYR4w==",+ "dev": true,+ "dependencies": {+ "chromium-pickle-js": "^0.2.0",+ "commander": "^5.0.0",+ "glob": "^7.1.6",+ "minimatch": "^3.0.4"+ },+ "bin": {+ "asar": "bin/asar.js"+ },+ "engines": {+ "node": ">=10.12.0"+ },+ "optionalDependencies": {+ "@types/glob": "^7.1.1"+ }+ },"node_modules/@electron/get": {"version": "1.14.1","resolved": "https://registry.npmjs.org/@electron/get/-/get-1.14.1.tgz",@@ -182,6 +203,76 @@"semver": "bin/semver.js"}},+ "node_modules/@electron/notarize": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.3.tgz",+ "integrity": "sha512-9oRzT56rKh5bspk3KpAVF8lPKHYQrBnRwcgiOeR0hdilVEQmszDaAu0IPCPrwwzJN0ugNs0rRboTreHMt/6mBQ==",+ "dev": true,+ "dependencies": {+ "debug": "^4.1.1",+ "fs-extra": "^9.0.1"+ },+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/@electron/notarize/node_modules/fs-extra": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",+ "dev": true,+ "dependencies": {+ "at-least-node": "^1.0.0",+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/@electron/notarize/node_modules/jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "dependencies": {+ "universalify": "^2.0.0"+ },+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/@electron/notarize/node_modules/universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true,+ "engines": {+ "node": ">= 10.0.0"+ }+ },+ "node_modules/@electron/osx-sign": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.1.tgz",+ "integrity": "sha512-WkUcva+qkt809bI6uxxEG/uOWfl8HAw0m8aPijpKmGMIpZ1CWWB808YG6aY3wckUO86xZdmiOsUJTM4keLhY8A==",+ "dev": true,+ "dependencies": {+ "compare-version": "^0.1.2",+ "debug": "^4.3.4",+ "fs-extra": "^10.0.0",+ "isbinaryfile": "^4.0.8",+ "minimist": "^1.2.6",+ "plist": "^3.0.5"+ },+ "bin": {+ "electron-osx-flat": "bin/electron-osx-flat.js",+ "electron-osx-sign": "bin/electron-osx-sign.js"+ },+ "engines": {+ "node": ">=12.0.0"+ }+ },"node_modules/@electron/remote": {"version": "2.0.8","resolved": "https://registry.npmjs.org/@electron/remote/-/remote-2.0.8.tgz",@@ -683,6 +774,18 @@"regenerator-runtime": "^0.13.3"}},+ "node_modules/@jsdoc/salty": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.1.tgz",+ "integrity": "sha512-JXwylDNSHa549N9uceDYu8D4GMXwSo3H8CCPYEQqxhhHpxD28+lRl2b3bS/caaPj5w1YD3SWtrficJNTnUjGpg==",+ "dev": true,+ "dependencies": {+ "lodash": "^4.17.21"+ },+ "engines": {+ "node": ">=v12.0.0"+ }+ },"node_modules/@malept/cross-spawn-promise": {"version": "1.1.0","resolved": "https://registry.npmjs.org/@malept/cross-spawn-promise/-/cross-spawn-promise-1.1.0.tgz",@@ -1698,9 +1801,9 @@"integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="},"node_modules/axios": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.2.tgz",- "integrity": "sha512-bznQyETwElsXl2RK7HLLwb5GPpOLlycxHCtrpDR/4RqqBzjARaOTo3jz4IgtntWUYee7Ne4S8UHd92VCuzPaWA==",+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz",+ "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==","dependencies": {"follow-redirects": "^1.15.0","form-data": "^4.0.0",@@ -2945,9 +3048,9 @@}},"node_modules/dayjs": {- "version": "1.11.5",- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.5.tgz",- "integrity": "sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA=="+ "version": "1.11.6",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.6.tgz",+ "integrity": "sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ=="},"node_modules/dayjs-plugin-utc": {"version": "0.1.2",@@ -3368,9 +3471,9 @@}},"node_modules/electron-dl": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.4.0.tgz",- "integrity": "sha512-7Oa4J+bmmm14FcIlPc3XyjVrzOLd3HqiSRO3gjzhaoEW4+8C+6gfG/KQX8GBsoQomNa7d8i1e47xCwx4fDCt7g==",+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.4.1.tgz",+ "integrity": "sha512-NUrjWTlFW7n/+0ECxQ1AkjikNxdeRDpaprLY7YhmOg6pkFcPHwdEfpkTK+CIhyGMAlZOuto1clB1z5HAwgZcaA==","dependencies": {"ext-name": "^5.0.0","pupa": "^2.0.1",@@ -3569,110 +3672,19 @@"keyboardevents-areequal": "^0.2.1"}},- "node_modules/electron-notarize": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.1.1.tgz",- "integrity": "sha512-kufsnqh86CTX89AYNG3NCPoboqnku/+32RxeJ2+7A4Rbm4bbOx0Nc7XTy3/gAlBfpj9xPAxHfhZLOHgfi6cJVw==",- "dev": true,- "dependencies": {- "debug": "^4.1.1",- "fs-extra": "^9.0.1"- },- "engines": {- "node": ">= 10.0.0"- }- },- "node_modules/electron-notarize/node_modules/fs-extra": {- "version": "9.1.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",- "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",- "dev": true,- "dependencies": {- "at-least-node": "^1.0.0",- "graceful-fs": "^4.2.0",- "jsonfile": "^6.0.1",- "universalify": "^2.0.0"- },- "engines": {- "node": ">=10"- }- },- "node_modules/electron-notarize/node_modules/jsonfile": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",- "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",- "dev": true,- "dependencies": {- "universalify": "^2.0.0"- },- "optionalDependencies": {- "graceful-fs": "^4.1.6"- }- },- "node_modules/electron-notarize/node_modules/universalify": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",- "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",- "dev": true,- "engines": {- "node": ">= 10.0.0"- }- },- "node_modules/electron-osx-sign": {- "version": "0.5.0",- "resolved": "https://registry.npmjs.org/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz",- "integrity": "sha512-icoRLHzFz/qxzDh/N4Pi2z4yVHurlsCAYQvsCSG7fCedJ4UJXBS6PoQyGH71IfcqKupcKeK7HX/NkyfG+v6vlQ==",- "dev": true,- "dependencies": {- "bluebird": "^3.5.0",- "compare-version": "^0.1.2",- "debug": "^2.6.8",- "isbinaryfile": "^3.0.2",- "minimist": "^1.2.0",- "plist": "^3.0.1"- },- "bin": {- "electron-osx-flat": "bin/electron-osx-flat.js",- "electron-osx-sign": "bin/electron-osx-sign.js"- },- "engines": {- "node": ">=4.0.0"- }- },- "node_modules/electron-osx-sign/node_modules/debug": {- "version": "2.6.9",- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",- "dev": true,- "dependencies": {- "ms": "2.0.0"- }- },- "node_modules/electron-osx-sign/node_modules/isbinaryfile": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz",- "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==",- "dev": true,- "dependencies": {- "buffer-alloc": "^1.2.0"- },- "engines": {- "node": ">=0.6.0"- }- },"node_modules/electron-packager": {- "version": "16.0.0",- "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-16.0.0.tgz",- "integrity": "sha512-7Ey4UUaHg3FYhA7ktsAvCWP8srp9+iPljGdeJBsNaZBakU6HWhvRC+Pc7LWXGCgAVIN5BQsUwR3xrCbFno91VA==",+ "version": "17.1.1",+ "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-17.1.1.tgz",+ "integrity": "sha512-r1NDtlajsq7gf2EXgjRfblCVPquvD2yeg+6XGErOKblvxOpDi0iulZLVhgYDP4AEF1P5/HgbX/vwjlkEv7PEIQ==","dev": true,"dependencies": {+ "@electron/asar": "^3.2.1","@electron/get": "^2.0.0",- "@electron/universal": "^1.2.1",- "asar": "^3.1.0",+ "@electron/notarize": "^1.2.3",+ "@electron/osx-sign": "^1.0.1",+ "@electron/universal": "^1.3.2","cross-spawn-windows-exe": "^1.2.0","debug": "^4.0.1",- "electron-notarize": "^1.1.1",- "electron-osx-sign": "^0.5.0","extract-zip": "^2.0.0","filenamify": "^4.1.0","fs-extra": "^10.1.0",@@ -3741,6 +3753,60 @@"semver": "bin/semver.js"}},+ "node_modules/electron-packager/node_modules/@electron/universal": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.3.tgz",+ "integrity": "sha512-79yc61D5QWaQpia+sLQbIIi5iVoV4y9HtgOTlE0fYT0xoyg+ChwndBl4a0Q7yJfDsqq+/nLEPE655F0bTpDiCg==",+ "dev": true,+ "dependencies": {+ "@electron/asar": "^3.2.1",+ "@malept/cross-spawn-promise": "^1.1.0",+ "debug": "^4.3.1",+ "dir-compare": "^2.4.0",+ "fs-extra": "^9.0.1",+ "minimatch": "^3.0.4",+ "plist": "^3.0.4"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/electron-packager/node_modules/@electron/universal/node_modules/fs-extra": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",+ "dev": true,+ "dependencies": {+ "at-least-node": "^1.0.0",+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/electron-packager/node_modules/@electron/universal/node_modules/jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "dependencies": {+ "universalify": "^2.0.0"+ },+ "optionalDependencies": {+ "graceful-fs": "^4.1.6"+ }+ },+ "node_modules/electron-packager/node_modules/@electron/universal/node_modules/universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true,+ "engines": {+ "node": ">= 10.0.0"+ }+ },"node_modules/electron-packager/node_modules/@sindresorhus/is": {"version": "4.6.0","resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",@@ -6009,22 +6075,22 @@"integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="},"node_modules/jasmine": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.4.0.tgz",- "integrity": "sha512-xrbOyYkkCvgduNw7CKktDtNb+BwwBv/zvQeHpTkbxqQ37AJL5V4sY3jHoMIJPP/hTc3QxLVwOyxc87AqA+kw5g==",+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.5.0.tgz",+ "integrity": "sha512-9olGRvNZyADIwYL9XBNBst5BTU/YaePzuddK+YRslc7rI9MdTIE4r3xaBKbv2GEmzYYUfMOdTR8/i6JfLZaxSQ==","dev": true,"dependencies": {"glob": "^7.1.6",- "jasmine-core": "^4.4.0"+ "jasmine-core": "^4.5.0"},"bin": {"jasmine": "bin/jasmine.js"}},"node_modules/jasmine-core": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.4.0.tgz",- "integrity": "sha512-+l482uImx5BVd6brJYlaHe2UwfKoZBqQfNp20ZmdNfsjGFTemGfqHLsXjKEW23w9R/m8WYeFc9JmIgjj6dUtAA==",+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.5.0.tgz",+ "integrity": "sha512-9PMzyvhtocxb3aXJVOPqBDswdgyAeSB81QnLop4npOpbqnheaTEwPc9ZloQeVswugPManznQBjD8kWDTjlnHuw==","dev": true},"node_modules/jest-worker": {@@ -6110,12 +6176,13 @@"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="},"node_modules/jsdoc": {- "version": "3.6.11",- "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.11.tgz",- "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.0.tgz",+ "integrity": "sha512-tzTgkklbWKrlaQL2+e3NNgLcZu3NaK2vsHRx7tyHQ+H5jcB9Gx0txSd2eJWlMC/xU1+7LQu4s58Ry0RkuaEQVg==","dev": true,"dependencies": {"@babel/parser": "^7.9.4",+ "@jsdoc/salty": "^0.2.1","@types/markdown-it": "^12.2.3","bluebird": "^3.7.2","catharsis": "^0.9.0",@@ -6128,7 +6195,6 @@"mkdirp": "^1.0.4","requizzle": "^0.2.3","strip-json-comments": "^3.1.0",- "taffydb": "2.6.2","underscore": "~1.13.2"},"bin": {@@ -6178,9 +6244,9 @@}},"node_modules/jsdom": {- "version": "20.0.1",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.1.tgz",- "integrity": "sha512-pksjj7Rqoa+wdpkKcLzQRHhJCEE42qQhl/xLMUKHgoSejaKOdaXEAnqs6uDNwMl/fciHTzKeR8Wm8cw7N+g98A==",+ "version": "20.0.2",+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.2.tgz",+ "integrity": "sha512-AHWa+QO/cgRg4N+DsmHg1Y7xnz+8KU3EflM0LVDTdmrYOc1WWTSkOjtpUveQH+1Bqd5rtcVnb/DuxV/UjDO4rA==","dependencies": {"abab": "^2.0.6","acorn": "^8.8.0",@@ -6824,9 +6890,12 @@}},"node_modules/minimist": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",+ "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==",+ "funding": {+ "url": "https://github.com/sponsors/ljharb"+ }},"node_modules/minipass": {"version": "3.3.4",@@ -6993,9 +7062,9 @@"dev": true},"node_modules/node-abi": {- "version": "3.26.0",- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.26.0.tgz",- "integrity": "sha512-jRVtMFTChbi2i/jqo/i2iP9634KMe+7K1v35mIdj3Mn59i5q27ZYhn+sW6npISM/PQg7HrP2kwtRBMmh5Uvzdg==",+ "version": "3.28.0",+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.28.0.tgz",+ "integrity": "sha512-fRlDb4I0eLcQeUvGq7IY3xHrSb0c9ummdvDSYWfT9+LKP+3jCKw/tKoqaM7r1BAoiAC6GtwyjaGnOz6B3OtF+A==","dependencies": {"semver": "^7.3.5"},@@ -8319,9 +8388,9 @@}},"node_modules/sanitize-html": {- "version": "2.7.2",- "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.7.2.tgz",- "integrity": "sha512-DggSTe7MviO+K4YTCwprG6W1vsG+IIX67yp/QY55yQqKCJYSWzCA1rZbaXzkjoKeL9+jqwm56wD6srYLtUNivg==",+ "version": "2.7.3",+ "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.7.3.tgz",+ "integrity": "sha512-jMaHG29ak4miiJ8wgqA1849iInqORgNv7SLfSw9LtfOhEUQ1C0YHKH73R+hgyufBW9ZFeJrb057k9hjlfBCVlw==","dependencies": {"deepmerge": "^4.2.2","escape-string-regexp": "^4.0.0",@@ -9053,12 +9122,6 @@"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz","integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="},- "node_modules/taffydb": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",- "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=",- "dev": true- },"node_modules/tapable": {"version": "2.2.1","resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",@@ -9893,9 +9956,9 @@}},"node_modules/ws": {- "version": "8.9.0",- "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz",- "integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==",+ "version": "8.11.0",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz",+ "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==","engines": {"node": ">=10.0.0"},@@ -10120,6 +10183,19 @@"integrity": "sha512-6nFkfkmSeV/rqSaS4oWHgmpnYw194f6hmWF5is6b0J1naJZoiD0NTc9AiUwPHvWsowkjuHErCZT1wa0jg+BLIA==","dev": true},+ "@electron/asar": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/@electron/asar/-/asar-3.2.2.tgz",+ "integrity": "sha512-32fMU68x8a6zvxtC1IC/BhPDKTh8rQjdmwEplj3CDpnkcwBzZVN9v/8cK0LJqQ0FOQQVZW8BWZ1S6UU53TYR4w==",+ "dev": true,+ "requires": {+ "@types/glob": "^7.1.1",+ "chromium-pickle-js": "^0.2.0",+ "commander": "^5.0.0",+ "glob": "^7.1.6",+ "minimatch": "^3.0.4"+ }+ },"@electron/get": {"version": "1.14.1","resolved": "https://registry.npmjs.org/@electron/get/-/get-1.14.1.tgz",@@ -10153,6 +10229,60 @@}}},+ "@electron/notarize": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@electron/notarize/-/notarize-1.2.3.tgz",+ "integrity": "sha512-9oRzT56rKh5bspk3KpAVF8lPKHYQrBnRwcgiOeR0hdilVEQmszDaAu0IPCPrwwzJN0ugNs0rRboTreHMt/6mBQ==",+ "dev": true,+ "requires": {+ "debug": "^4.1.1",+ "fs-extra": "^9.0.1"+ },+ "dependencies": {+ "fs-extra": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",+ "dev": true,+ "requires": {+ "at-least-node": "^1.0.0",+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ }+ },+ "jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "requires": {+ "graceful-fs": "^4.1.6",+ "universalify": "^2.0.0"+ }+ },+ "universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true+ }+ }+ },+ "@electron/osx-sign": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@electron/osx-sign/-/osx-sign-1.0.1.tgz",+ "integrity": "sha512-WkUcva+qkt809bI6uxxEG/uOWfl8HAw0m8aPijpKmGMIpZ1CWWB808YG6aY3wckUO86xZdmiOsUJTM4keLhY8A==",+ "dev": true,+ "requires": {+ "compare-version": "^0.1.2",+ "debug": "^4.3.4",+ "fs-extra": "^10.0.0",+ "isbinaryfile": "^4.0.8",+ "minimist": "^1.2.6",+ "plist": "^3.0.5"+ }+ },"@electron/remote": {"version": "2.0.8","resolved": "https://registry.npmjs.org/@electron/remote/-/remote-2.0.8.tgz",@@ -10539,6 +10669,15 @@"regenerator-runtime": "^0.13.3"}},+ "@jsdoc/salty": {+ "version": "0.2.1",+ "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.1.tgz",+ "integrity": "sha512-JXwylDNSHa549N9uceDYu8D4GMXwSo3H8CCPYEQqxhhHpxD28+lRl2b3bS/caaPj5w1YD3SWtrficJNTnUjGpg==",+ "dev": true,+ "requires": {+ "lodash": "^4.17.21"+ }+ },"@malept/cross-spawn-promise": {"version": "1.1.0","resolved": "https://registry.npmjs.org/@malept/cross-spawn-promise/-/cross-spawn-promise-1.1.0.tgz",@@ -11408,9 +11547,9 @@"integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="},"axios": {- "version": "1.1.2",- "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.2.tgz",- "integrity": "sha512-bznQyETwElsXl2RK7HLLwb5GPpOLlycxHCtrpDR/4RqqBzjARaOTo3jz4IgtntWUYee7Ne4S8UHd92VCuzPaWA==",+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.1.3.tgz",+ "integrity": "sha512-00tXVRwKx/FZr/IDVFt4C+f9FYairX517WoGCL6dpOntqLkZofjhu43F/Xl44UOpqa+9sLFDrG/XAnFsUYgkDA==","requires": {"follow-redirects": "^1.15.0","form-data": "^4.0.0",@@ -12382,9 +12521,9 @@}},"dayjs": {- "version": "1.11.5",- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.5.tgz",- "integrity": "sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA=="+ "version": "1.11.6",+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.6.tgz",+ "integrity": "sha512-zZbY5giJAinCG+7AGaw0wIhNZ6J8AhWuSXKvuc1KAyMiRsvGQWqh4L+MomvhdAYjN+lqvVCMq1I41e3YHvXkyQ=="},"dayjs-plugin-utc": {"version": "0.1.2",@@ -12723,9 +12862,9 @@}},"electron-dl": {- "version": "3.4.0",- "resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.4.0.tgz",- "integrity": "sha512-7Oa4J+bmmm14FcIlPc3XyjVrzOLd3HqiSRO3gjzhaoEW4+8C+6gfG/KQX8GBsoQomNa7d8i1e47xCwx4fDCt7g==",+ "version": "3.4.1",+ "resolved": "https://registry.npmjs.org/electron-dl/-/electron-dl-3.4.1.tgz",+ "integrity": "sha512-NUrjWTlFW7n/+0ECxQ1AkjikNxdeRDpaprLY7YhmOg6pkFcPHwdEfpkTK+CIhyGMAlZOuto1clB1z5HAwgZcaA==","requires": {"ext-name": "^5.0.0","pupa": "^2.0.1",@@ -12882,93 +13021,19 @@"keyboardevents-areequal": "^0.2.1"}},- "electron-notarize": {- "version": "1.1.1",- "resolved": "https://registry.npmjs.org/electron-notarize/-/electron-notarize-1.1.1.tgz",- "integrity": "sha512-kufsnqh86CTX89AYNG3NCPoboqnku/+32RxeJ2+7A4Rbm4bbOx0Nc7XTy3/gAlBfpj9xPAxHfhZLOHgfi6cJVw==",- "dev": true,- "requires": {- "debug": "^4.1.1",- "fs-extra": "^9.0.1"- },- "dependencies": {- "fs-extra": {- "version": "9.1.0",- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",- "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",- "dev": true,- "requires": {- "at-least-node": "^1.0.0",- "graceful-fs": "^4.2.0",- "jsonfile": "^6.0.1",- "universalify": "^2.0.0"- }- },- "jsonfile": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",- "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",- "dev": true,- "requires": {- "graceful-fs": "^4.1.6",- "universalify": "^2.0.0"- }- },- "universalify": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",- "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",- "dev": true- }- }- },- "electron-osx-sign": {- "version": "0.5.0",- "resolved": "https://registry.npmjs.org/electron-osx-sign/-/electron-osx-sign-0.5.0.tgz",- "integrity": "sha512-icoRLHzFz/qxzDh/N4Pi2z4yVHurlsCAYQvsCSG7fCedJ4UJXBS6PoQyGH71IfcqKupcKeK7HX/NkyfG+v6vlQ==",- "dev": true,- "requires": {- "bluebird": "^3.5.0",- "compare-version": "^0.1.2",- "debug": "^2.6.8",- "isbinaryfile": "^3.0.2",- "minimist": "^1.2.0",- "plist": "^3.0.1"- },- "dependencies": {- "debug": {- "version": "2.6.9",- "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",- "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",- "dev": true,- "requires": {- "ms": "2.0.0"- }- },- "isbinaryfile": {- "version": "3.0.3",- "resolved": "https://registry.npmjs.org/isbinaryfile/-/isbinaryfile-3.0.3.tgz",- "integrity": "sha512-8cJBL5tTd2OS0dM4jz07wQd5g0dCCqIhUxPIGtZfa5L6hWlvV5MHTITy/DBAsF+Oe2LS1X3krBUhNwaGUWpWxw==",- "dev": true,- "requires": {- "buffer-alloc": "^1.2.0"- }- }- }- },"electron-packager": {- "version": "16.0.0",- "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-16.0.0.tgz",- "integrity": "sha512-7Ey4UUaHg3FYhA7ktsAvCWP8srp9+iPljGdeJBsNaZBakU6HWhvRC+Pc7LWXGCgAVIN5BQsUwR3xrCbFno91VA==",+ "version": "17.1.1",+ "resolved": "https://registry.npmjs.org/electron-packager/-/electron-packager-17.1.1.tgz",+ "integrity": "sha512-r1NDtlajsq7gf2EXgjRfblCVPquvD2yeg+6XGErOKblvxOpDi0iulZLVhgYDP4AEF1P5/HgbX/vwjlkEv7PEIQ==","dev": true,"requires": {+ "@electron/asar": "^3.2.1","@electron/get": "^2.0.0",- "@electron/universal": "^1.2.1",- "asar": "^3.1.0",+ "@electron/notarize": "^1.2.3",+ "@electron/osx-sign": "^1.0.1",+ "@electron/universal": "^1.3.2","cross-spawn-windows-exe": "^1.2.0","debug": "^4.0.1",- "electron-notarize": "^1.1.1",- "electron-osx-sign": "^0.5.0","extract-zip": "^2.0.0","filenamify": "^4.1.0","fs-extra": "^10.1.0",@@ -13019,6 +13084,51 @@}}},+ "@electron/universal": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@electron/universal/-/universal-1.3.3.tgz",+ "integrity": "sha512-79yc61D5QWaQpia+sLQbIIi5iVoV4y9HtgOTlE0fYT0xoyg+ChwndBl4a0Q7yJfDsqq+/nLEPE655F0bTpDiCg==",+ "dev": true,+ "requires": {+ "@electron/asar": "^3.2.1",+ "@malept/cross-spawn-promise": "^1.1.0",+ "debug": "^4.3.1",+ "dir-compare": "^2.4.0",+ "fs-extra": "^9.0.1",+ "minimatch": "^3.0.4",+ "plist": "^3.0.4"+ },+ "dependencies": {+ "fs-extra": {+ "version": "9.1.0",+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz",+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",+ "dev": true,+ "requires": {+ "at-least-node": "^1.0.0",+ "graceful-fs": "^4.2.0",+ "jsonfile": "^6.0.1",+ "universalify": "^2.0.0"+ }+ },+ "jsonfile": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",+ "dev": true,+ "requires": {+ "graceful-fs": "^4.1.6",+ "universalify": "^2.0.0"+ }+ },+ "universalify": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz",+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",+ "dev": true+ }+ }+ },"@sindresorhus/is": {"version": "4.6.0","resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",@@ -14696,19 +14806,19 @@}},"jasmine": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.4.0.tgz",- "integrity": "sha512-xrbOyYkkCvgduNw7CKktDtNb+BwwBv/zvQeHpTkbxqQ37AJL5V4sY3jHoMIJPP/hTc3QxLVwOyxc87AqA+kw5g==",+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-4.5.0.tgz",+ "integrity": "sha512-9olGRvNZyADIwYL9XBNBst5BTU/YaePzuddK+YRslc7rI9MdTIE4r3xaBKbv2GEmzYYUfMOdTR8/i6JfLZaxSQ==","dev": true,"requires": {"glob": "^7.1.6",- "jasmine-core": "^4.4.0"+ "jasmine-core": "^4.5.0"}},"jasmine-core": {- "version": "4.4.0",- "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.4.0.tgz",- "integrity": "sha512-+l482uImx5BVd6brJYlaHe2UwfKoZBqQfNp20ZmdNfsjGFTemGfqHLsXjKEW23w9R/m8WYeFc9JmIgjj6dUtAA==",+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-4.5.0.tgz",+ "integrity": "sha512-9PMzyvhtocxb3aXJVOPqBDswdgyAeSB81QnLop4npOpbqnheaTEwPc9ZloQeVswugPManznQBjD8kWDTjlnHuw==","dev": true},"jest-worker": {@@ -14784,12 +14894,13 @@"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="},"jsdoc": {- "version": "3.6.11",- "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-3.6.11.tgz",- "integrity": "sha512-8UCU0TYeIYD9KeLzEcAu2q8N/mx9O3phAGl32nmHlE0LpaJL71mMkP4d+QE5zWfNt50qheHtOZ0qoxVrsX5TUg==",+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.0.tgz",+ "integrity": "sha512-tzTgkklbWKrlaQL2+e3NNgLcZu3NaK2vsHRx7tyHQ+H5jcB9Gx0txSd2eJWlMC/xU1+7LQu4s58Ry0RkuaEQVg==","dev": true,"requires": {"@babel/parser": "^7.9.4",+ "@jsdoc/salty": "^0.2.1","@types/markdown-it": "^12.2.3","bluebird": "^3.7.2","catharsis": "^0.9.0",@@ -14802,7 +14913,6 @@"mkdirp": "^1.0.4","requizzle": "^0.2.3","strip-json-comments": "^3.1.0",- "taffydb": "2.6.2","underscore": "~1.13.2"},"dependencies": {@@ -14833,9 +14943,9 @@}},"jsdom": {- "version": "20.0.1",- "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.1.tgz",- "integrity": "sha512-pksjj7Rqoa+wdpkKcLzQRHhJCEE42qQhl/xLMUKHgoSejaKOdaXEAnqs6uDNwMl/fciHTzKeR8Wm8cw7N+g98A==",+ "version": "20.0.2",+ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-20.0.2.tgz",+ "integrity": "sha512-AHWa+QO/cgRg4N+DsmHg1Y7xnz+8KU3EflM0LVDTdmrYOc1WWTSkOjtpUveQH+1Bqd5rtcVnb/DuxV/UjDO4rA==","requires": {"abab": "^2.0.6","acorn": "^8.8.0",@@ -15343,9 +15453,9 @@}},"minimist": {- "version": "1.2.5",- "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",- "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw=="+ "version": "1.2.7",+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz",+ "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g=="},"minipass": {"version": "3.3.4",@@ -15471,9 +15581,9 @@"dev": true},"node-abi": {- "version": "3.26.0",- "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.26.0.tgz",- "integrity": "sha512-jRVtMFTChbi2i/jqo/i2iP9634KMe+7K1v35mIdj3Mn59i5q27ZYhn+sW6npISM/PQg7HrP2kwtRBMmh5Uvzdg==",+ "version": "3.28.0",+ "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.28.0.tgz",+ "integrity": "sha512-fRlDb4I0eLcQeUvGq7IY3xHrSb0c9ummdvDSYWfT9+LKP+3jCKw/tKoqaM7r1BAoiAC6GtwyjaGnOz6B3OtF+A==","requires": {"semver": "^7.3.5"}@@ -16515,9 +16625,9 @@}},"sanitize-html": {- "version": "2.7.2",- "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.7.2.tgz",- "integrity": "sha512-DggSTe7MviO+K4YTCwprG6W1vsG+IIX67yp/QY55yQqKCJYSWzCA1rZbaXzkjoKeL9+jqwm56wD6srYLtUNivg==",+ "version": "2.7.3",+ "resolved": "https://registry.npmjs.org/sanitize-html/-/sanitize-html-2.7.3.tgz",+ "integrity": "sha512-jMaHG29ak4miiJ8wgqA1849iInqORgNv7SLfSw9LtfOhEUQ1C0YHKH73R+hgyufBW9ZFeJrb057k9hjlfBCVlw==","requires": {"deepmerge": "^4.2.2","escape-string-regexp": "^4.0.0",@@ -17079,12 +17189,6 @@"resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz","integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw=="},- "taffydb": {- "version": "2.6.2",- "resolved": "https://registry.npmjs.org/taffydb/-/taffydb-2.6.2.tgz",- "integrity": "sha1-fLy2S1oUG2ou/CxdLGe04VCyomg=",- "dev": true- },"tapable": {"version": "2.2.1","resolved": "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz",@@ -17709,9 +17813,9 @@}},"ws": {- "version": "8.9.0",- "resolved": "https://registry.npmjs.org/ws/-/ws-8.9.0.tgz",- "integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg==",+ "version": "8.11.0",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz",+ "integrity": "sha512-HPG3wQd9sNQoT9xHyNCXoDUa+Xw/VevmY9FoHyQ+g+rrMn4j6FB4np7Z0OhdTgjx6MgQLK7jwSy1YecU1+4Asg==","requires": {}},"xhr": {diff --git a/package.json b/package.jsonindex 76ac8cdac9..9179aa5e37 100644--- a/package.json+++ b/package.json@@ -31,7 +31,7 @@"@excalidraw/excalidraw": "0.12.0","archiver": "5.3.1","async-mutex": "0.4.0",- "axios": "1.1.2",+ "axios": "1.1.3","better-sqlite3": "7.4.5","chokidar": "3.5.3","cls-hooked": "4.2.2",@@ -39,11 +39,11 @@"compression": "1.7.4","cookie-parser": "1.4.6","csurf": "1.11.0",- "dayjs": "1.11.5",+ "dayjs": "1.11.6","dayjs-plugin-utc": "^0.1.2","ejs": "3.1.8","electron-debug": "3.2.0",- "electron-dl": "3.4.0",+ "electron-dl": "3.4.1","electron-window-state": "5.0.3","express": "4.18.2","express-partial-content": "1.0.2",@@ -61,10 +61,10 @@"is-svg": "4.3.2","jimp": "0.16.2","joplin-turndown-plugin-gfm": "1.0.12",- "jsdom": "20.0.1",+ "jsdom": "20.0.2","mime-types": "2.1.35","multer": "1.4.5-lts.1",- "node-abi": "3.26.0",+ "node-abi": "3.28.0","normalize-strings": "1.1.1","open": "8.4.0","rand-token": "1.0.1",@@ -74,7 +74,7 @@"rimraf": "3.0.2","safe-compare": "1.1.4","sanitize-filename": "1.6.3",- "sanitize-html": "2.7.2",+ "sanitize-html": "2.7.3","sax": "1.2.4","semver": "7.3.8","serve-favicon": "2.5.0",@@ -84,18 +84,18 @@"tmp": "0.2.1","turndown": "7.1.1","unescape": "1.0.1",- "ws": "8.9.0",+ "ws": "8.11.0","yauzl": "2.10.0"},"devDependencies": {"cross-env": "7.0.3","electron": "16.2.8","electron-builder": "23.6.0",- "electron-packager": "16.0.0",+ "electron-packager": "17.1.1","electron-rebuild": "3.2.9","esm": "3.2.25",- "jasmine": "4.4.0",- "jsdoc": "3.6.11",+ "jasmine": "4.5.0",+ "jsdoc": "4.0.0","lorem-ipsum": "2.0.8","rcedit": "3.0.1","webpack": "5.74.0",diff --git a/src/becca/entities/note.js b/src/becca/entities/note.jsindex a64e6f6721..1f3d208bef 100644--- a/src/becca/entities/note.js+++ b/src/becca/entities/note.js@@ -840,7 +840,7 @@ class Note extends AbstractEntity {}/**- * @returns {{notes: Note[], relationships: {parentNoteId, childNoteId}[]}}+ * @returns {{notes: Note[], relationships: Array.<{parentNoteId: string, childNoteId: string}>}}*/getSubtree({includeArchived = true, resolveSearch = false} = {}) {const noteSet = new Set();