trilium/docs/backend_api/BackendScriptApi.html

5323 lines
57 KiB
HTML
Raw Normal View History

2018-08-30 02:44:35 +08:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>JSDoc: Class: BackendScriptApi</title>
<script src="scripts/prettify/prettify.js"> </script>
<script src="scripts/prettify/lang-css.js"> </script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>
<body>
<div id="main">
<h1 class="page-title">Class: BackendScriptApi</h1>
<section>
<header>
<h2><span class="attribs"><span class="type-signature"></span></span>BackendScriptApi</h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
<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#line23">line 23</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
</div>
<h3 class="subsection-title">Members</h3>
<h4 class="name" id="currentNote"><span class="type-signature"></span>currentNote<span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>note</code></td>
<td class="type">
<span class="param-type"><a href="Note.html">Note</a></span>
</td>
<td class="description last">where script is currently executing. Don't mix this up with concept of active note</td>
2018-08-30 02:44:35 +08:00
</tr>
</tbody>
</table>
<dl class="details">
<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#line27">line 27</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
<h4 class="name" id="originEntity"><span class="type-signature"></span>originEntity<span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>entity</code></td>
<td class="type">
<span class="param-type"><a href="Entity.html">Entity</a></span>
</td>
<td class="description last">whose event triggered this executions</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line29">line 29</a>
2019-02-21 05:24:51 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h4 class="name" id="startNote"><span class="type-signature"></span>startNote<span class="type-signature"></span></h4>
<h5 class="subsection-title">Properties:</h5>
<table class="props">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>note</code></td>
<td class="type">
<span class="param-type"><a href="Note.html">Note</a></span>
</td>
<td class="description last">where script started executing</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line25">line 25</a>
2019-02-21 05:24:51 +08:00
</li></ul></dd>
</dl>
<h3 class="subsection-title">Methods</h3>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="createDataNote"><span class="type-signature"></span>createDataNote<span class="signature">(parentNoteId, title, content)</span><span class="type-signature"> &rarr; {Object}</span></h4>
2019-02-21 05:24:51 +08:00
2019-11-26 05:45:09 +08:00
<div class="description">
Create data note - data in this context means object serializable to JSON. Created note will be of type 'code' and
JSON MIME type. See also createNewNote() for more options.
2019-11-26 05:45:09 +08:00
</div>
2019-02-21 05:24:51 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
2019-11-26 05:45:09 +08:00
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>title</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>content</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line207">line 207</a>
2019-11-26 05:45:09 +08:00
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Object</span>
2019-11-26 05:45:09 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="createNewNote"><span class="type-signature"></span>createNewNote<span class="signature">(params<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Object}</span></h4>
2019-11-26 05:45:09 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
2019-02-21 05:24:51 +08:00
2019-11-26 05:45:09 +08:00
<th>Type</th>
2019-02-21 05:24:51 +08:00
2019-11-26 05:45:09 +08:00
<th>Attributes</th>
2019-02-21 05:24:51 +08:00
<th class="last">Description</th>
</tr>
</thead>
<tbody>
2018-08-30 02:44:35 +08:00
<tr>
2019-11-26 05:45:09 +08:00
<td class="name"><code>params</code></td>
2018-08-30 02:44:35 +08:00
<td class="type">
<span class="param-type"><a href="global.html#CreateNewNoteParams">CreateNewNoteParams</a></span>
2018-08-30 02:44:35 +08:00
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line234">line 234</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2019-12-05 05:40:20 +08:00
<h5>Returns:</h5>
<div class="param-desc">
object contains newly created entities note and branch
</div>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Object</span>
2019-12-05 05:40:20 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="createNote"><span class="type-signature"></span>createNote<span class="signature">(parentNoteId, title, content<span class="signature-attributes">opt</span>, extraOptions<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Object}</span></h4>
2019-12-05 05:40:20 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th>Default</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last">create new note under this parent</td>
</tr>
<tr>
<td class="name"><code>title</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="default">
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>content</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
""
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>extraOptions</code></td>
<td class="type">
<span class="param-type"><a href="global.html#CreateNoteExtraOptions">CreateNoteExtraOptions</a></span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="default">
{}
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
2020-10-01 04:48:52 +08:00
<dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>please use createTextNote() with similar API for simpler use cases or createNewNote() for more complex needs</li></ul></dd>
2020-03-08 18:41:42 +08:00
2019-12-05 05:40:20 +08:00
<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#line262">line 262</a>
2019-12-05 05:40:20 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<div class="param-desc">
object contains newly created entities note and branch
</div>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Object</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="createTextNote"><span class="type-signature"></span>createTextNote<span class="signature">(parentNoteId, title, content)</span><span class="type-signature"> &rarr; {Object}</span></h4>
2019-11-26 05:45:09 +08:00
<div class="description">
Create text note. See also createNewNote() for more options.
2019-11-26 05:45:09 +08:00
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>title</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>content</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line191">line 191</a>
2019-11-26 05:45:09 +08:00
</li></ul></dd>
</dl>
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Object</span>
2019-11-26 05:45:09 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="ensureNoteIsAbsentFromParent"><span class="type-signature"></span>ensureNoteIsAbsentFromParent<span class="signature">(noteId, parentNoteId)</span><span class="type-signature"> &rarr; {void}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
If there's a branch between note and parent note, remove it. Otherwise do nothing.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>noteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line162">line 162</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">void</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="ensureNoteIsPresentInParent"><span class="type-signature"></span>ensureNoteIsPresentInParent<span class="signature">(noteId, parentNoteId, prefix)</span><span class="type-signature"> &rarr; {void}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
If there's no branch between note and parent note, create one. Otherwise do nothing.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>noteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>prefix</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">if branch will be create between note and parent note, set this prefix</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line152">line 152</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">void</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2019-02-21 05:24:51 +08:00
<h4 class="name" id="getAppInfo"><span class="type-signature"></span>getAppInfo<span class="signature">()</span><span class="type-signature"> &rarr; {Object|*}</span></h4>
<dl class="details">
<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#line399">line 399</a>
2019-02-21 05:24:51 +08:00
</li></ul></dd>
</dl>
2019-02-21 05:24:51 +08:00
<h5>Returns:</h5>
<div class="param-desc">
- object representing basic info about running Trilium version
</div>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">Object</span>
|
<span class="param-type">*</span>
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getAttribute"><span class="type-signature"></span>getAttribute<span class="signature">(attributeId)</span><span class="type-signature"> &rarr; {<a href="Attribute.html">Attribute</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>attributeId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2019-02-21 05:24:51 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line69">line 69</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Attribute.html">Attribute</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getBranch"><span class="type-signature"></span>getBranch<span class="signature">(branchId)</span><span class="type-signature"> &rarr; {<a href="Branch.html">Branch</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>branchId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2019-02-21 05:24:51 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line62">line 62</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Branch.html">Branch</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getDateNote"><span class="type-signature"></span>getDateNote<span class="signature">(date)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
2019-02-21 05:24:51 +08:00
Returns day note for given date. If such note doesn't exist, it is created.
2018-08-30 02:44:35 +08:00
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>date</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
2019-02-21 05:24:51 +08:00
<td class="description last">in YYYY-MM-DD format</td>
2018-08-30 02:44:35 +08:00
</tr>
</tbody>
</table>
<dl class="details">
<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#line320">line 320</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getEntities"><span class="type-signature"></span>getEntities<span class="signature">(SQL, array)</span><span class="type-signature"> &rarr; {Array.&lt;<a href="Entity.html">Entity</a>>}</span></h4>
2018-08-30 02:44:35 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>SQL</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">query</td>
</tr>
<tr>
<td class="name"><code>array</code></td>
<td class="type">
<span class="param-type">Array.&lt;?></span>
</td>
<td class="description last">of params</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2020-10-01 04:48:30 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line87">line 87</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Array.&lt;<a href="Entity.html">Entity</a>></span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getEntity"><span class="type-signature"></span>getEntity<span class="signature">(SQL, array)</span><span class="type-signature"> &rarr; {<a href="Entity.html">Entity</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
Retrieves first entity from the SQL's result set.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>SQL</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">query</td>
</tr>
<tr>
<td class="name"><code>array</code></td>
<td class="type">
<span class="param-type">Array.&lt;?></span>
</td>
<td class="description last">of params</td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2020-10-01 04:48:30 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line79">line 79</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Entity.html">Entity</a></span>
|
2018-08-30 02:44:35 +08:00
2020-10-01 04:48:30 +08:00
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
<h4 class="name" id="getInstanceName"><span class="type-signature"></span>getInstanceName<span class="signature">()</span><span class="type-signature"> &rarr; {string|null}</span></h4>
2019-02-21 05:24:51 +08:00
<div class="description">
Instance name identifies particular Trilium instance. It can be useful for scripts
if some action needs to happen on only one specific instance.
</div>
<dl class="details">
<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#line48">line 48</a>
</li></ul></dd>
</dl>
2019-02-21 05:24:51 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
<span class="param-type">string</span>
|
<span class="param-type">null</span>
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getMonthNote"><span class="type-signature"></span>getMonthNote<span class="signature">(date)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2019-02-21 05:24:51 +08:00
<div class="description">
Returns month note for given date. If such note doesn't exist, it is created.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>date</code></td>
<td class="type">
<span class="param-type">string</span>
2018-08-30 02:44:35 +08:00
2019-02-21 05:24:51 +08:00
</td>
2018-08-30 02:44:35 +08:00
2019-02-21 05:24:51 +08:00
2018-08-30 02:44:35 +08:00
2019-02-21 05:24:51 +08:00
2018-08-30 02:44:35 +08:00
2019-02-21 05:24:51 +08:00
<td class="description last">in YYYY-MM format</td>
</tr>
2018-08-30 02:44:35 +08:00
2019-02-21 05:24:51 +08:00
</tbody>
</table>
2018-08-30 02:44:35 +08:00
<dl class="details">
<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#line347">line 347</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getNote"><span class="type-signature"></span>getNote<span class="signature">(noteId)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>noteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2019-02-21 05:24:51 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line55">line 55</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<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"> &rarr; {Array.&lt;<a href="Note.html">Note</a>>}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
Retrieves notes with given label name & value
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">attribute name</td>
</tr>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="description last">attribute value</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line131">line 131</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Array.&lt;<a href="Note.html">Note</a>></span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<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"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
Retrieves first note with given label name & value
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>name</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
</td>
<td class="description last">attribute name</td>
</tr>
<tr>
<td class="name"><code>value</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="attributes">
&lt;optional><br>
</td>
<td class="description last">attribute value</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line141">line 141</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getRootCalendarNote"><span class="type-signature"></span>getRootCalendarNote<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
Returns root note of the calendar.
</div>
<dl class="details">
<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#line311">line 311</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2019-11-28 06:07:10 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2019-11-28 06:07:10 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getTodayNote"><span class="type-signature"></span>getTodayNote<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2019-11-28 06:07:10 +08:00
<div class="description">
Returns today's day note. If such note doesn't exist, it is created.
</div>
<dl class="details">
<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#line328">line 328</a>
2019-11-28 06:07:10 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getWeekNote"><span class="type-signature"></span>getWeekNote<span class="signature">(date, options)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
2019-02-21 05:24:51 +08:00
Returns note for the first date of the week of the given date.
2018-08-30 02:44:35 +08:00
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
2019-02-21 05:24:51 +08:00
<td class="name"><code>date</code></td>
2018-08-30 02:44:35 +08:00
<td class="type">
2019-02-21 05:24:51 +08:00
<span class="param-type">string</span>
2018-08-30 02:44:35 +08:00
</td>
2019-02-21 05:24:51 +08:00
<td class="description last">in YYYY-MM-DD format</td>
</tr>
<tr>
<td class="name"><code>options</code></td>
<td class="type">
<span class="param-type">object</span>
</td>
<td class="description last">"startOfTheWeek" - either "monday" (default) or "sunday"</td>
2018-08-30 02:44:35 +08:00
</tr>
</tbody>
</table>
<dl class="details">
<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#line338">line 338</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2019-02-21 05:24:51 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2019-02-21 05:24:51 +08:00
</dd>
</dl>
2018-08-30 02:44:35 +08:00
2020-10-01 04:48:30 +08:00
<h4 class="name" id="getYearNote"><span class="type-signature"></span>getYearNote<span class="signature">(year)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
2019-02-21 05:24:51 +08:00
Returns year note for given year. If such note doesn't exist, it is created.
2018-08-30 02:44:35 +08:00
</div>
2019-02-21 05:24:51 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>year</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">in YYYY format</td>
</tr>
</tbody>
</table>
2018-08-30 02:44:35 +08:00
<dl class="details">
<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#line356">line 356</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2019-02-21 05:24:51 +08:00
<h4 class="name" id="log"><span class="type-signature"></span>log<span class="signature">(message)</span><span class="type-signature"></span></h4>
<div class="description">
Log given message to trilium logs.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>message</code></td>
<td class="type">
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line303">line 303</a>
</li></ul></dd>
</dl>
2020-04-08 01:19:20 +08:00
<h4 class="name" id="refreshTree"><span class="type-signature"></span>refreshTree<span class="signature">()</span><span class="type-signature"></span></h4>
<dl class="details">
<dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>- this is now no-op since all the changes should be gracefully handled per widget</li></ul></dd>
<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#line394">line 394</a>
2020-04-08 01:19:20 +08:00
</li></ul></dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="searchForNote"><span class="type-signature"></span>searchForNote<span class="signature">(searchString)</span><span class="type-signature"> &rarr; {<a href="Note.html">Note</a>|null}</span></h4>
<div class="description">
This is a powerful search method - you can search by attributes and their values, e.g.:
2020-10-01 04:48:30 +08:00
"#dateModified =* MONTH AND #log". See full documentation for all options at: https://github.com/zadam/trilium/wiki/Search
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>searchString</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line117">line 117</a>
2019-02-21 05:24:51 +08:00
</li></ul></dd>
</dl>
<h5>Returns:</h5>
2019-04-23 00:08:33 +08:00
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type"><a href="Note.html">Note</a></span>
|
<span class="param-type">null</span>
2019-04-23 00:08:33 +08:00
</dd>
</dl>
<h4 class="name" id="searchForNotes"><span class="type-signature"></span>searchForNotes<span class="signature">(query, searchParams<span class="signature-attributes">opt</span>)</span><span class="type-signature"> &rarr; {Array.&lt;<a href="Note.html">Note</a>>}</span></h4>
2019-04-23 00:08:33 +08:00
<div class="description">
This is a powerful search method - you can search by attributes and their values, e.g.:
2020-10-01 04:48:30 +08:00
"#dateModified =* MONTH AND #log". See full documentation for all options at: https://github.com/zadam/trilium/wiki/Search
</div>
2019-04-23 00:08:33 +08:00
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
2020-10-01 04:48:30 +08:00
<th>Attributes</th>
2019-04-23 00:08:33 +08:00
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
2020-10-01 04:48:30 +08:00
<td class="name"><code>query</code></td>
2019-04-23 00:08:33 +08:00
<td class="type">
<span class="param-type">string</span>
</td>
2020-10-01 04:48:30 +08:00
<td class="attributes">
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>searchParams</code></td>
2020-10-01 04:48:30 +08:00
<td class="type">
<span class="param-type">Object</span>
2020-10-01 04:48:30 +08:00
</td>
<td class="attributes">
&lt;optional><br>
</td>
2019-04-23 00:08:33 +08:00
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
2020-10-01 04:48:30 +08:00
<a href="services_backend_script_api.js.html">services/backend_script_api.js</a>, <a href="services_backend_script_api.js.html#line98">line 98</a>
2019-04-23 00:08:33 +08:00
</li></ul></dd>
</dl>
2019-04-23 00:08:33 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">Array.&lt;<a href="Note.html">Note</a>></span>
</dd>
</dl>
2019-02-21 05:24:51 +08:00
2018-08-30 02:44:35 +08:00
<h4 class="name" id="setNoteToParent"><span class="type-signature"></span>setNoteToParent<span class="signature">(noteId, prefix, parentNoteId)</span><span class="type-signature"></span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
This method finds note by its noteId and prefix and either sets it to the given parentNoteId
or removes the branch (if parentNoteId is not given).
This method looks similar to toggleNoteInParent() but differs because we're looking up branch by prefix.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>noteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>prefix</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
|
2018-08-30 02:44:35 +08:00
<span class="param-type">null</span>
2018-08-30 02:44:35 +08:00
</td>
2018-08-30 02:44:35 +08:00
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<dt class="important tag-deprecated">Deprecated:</dt><dd><ul class="dummy"><li>- this method is pretty confusing and serves specialized purpose only</li></ul></dd>
2018-08-30 02:44:35 +08:00
<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#line376">line 376</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h4 class="name" id="sortNotesAlphabetically"><span class="type-signature"></span>sortNotesAlphabetically<span class="signature">(parentNoteId)</span><span class="type-signature"></span></h4>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">this note's child notes will be sorted</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line362">line 362</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
2020-10-01 04:48:30 +08:00
<h4 class="name" id="toggleNoteInParent"><span class="type-signature"></span>toggleNoteInParent<span class="signature">(present, noteId, parentNoteId, prefix)</span><span class="type-signature"> &rarr; {void}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
Based on the value, either create or remove branch between note and parent note.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>present</code></td>
<td class="type">
<span class="param-type">boolean</span>
</td>
<td class="description last">true if we want the branch to exist, false if we want it gone</td>
</tr>
<tr>
<td class="name"><code>noteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>parentNoteId</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last"></td>
</tr>
<tr>
<td class="name"><code>prefix</code></td>
<td class="type">
<span class="param-type">string</span>
</td>
<td class="description last">if branch will be create between note and parent note, set this prefix</td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line174">line 174</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">void</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
2020-10-01 04:48:30 +08:00
<h4 class="name" id="transactional"><span class="type-signature"></span>transactional<span class="signature">(func)</span><span class="type-signature"> &rarr; {?}</span></h4>
2018-08-30 02:44:35 +08:00
<div class="description">
This functions wraps code which is supposed to be running in transaction. If transaction already
exists, then we'll use that transaction.
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>func</code></td>
<td class="type">
<span class="param-type">function</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
<dl class="details">
<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#line386">line 386</a>
2018-08-30 02:44:35 +08:00
</li></ul></dd>
</dl>
2018-08-30 02:44:35 +08:00
<h5>Returns:</h5>
<div class="param-desc">
result of func callback
</div>
<dl>
<dt>
Type
</dt>
<dd>
2020-10-01 04:48:30 +08:00
<span class="param-type">?</span>
2018-08-30 02:44:35 +08:00
</dd>
</dl>
</article>
</section>
</div>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="ApiToken.html">ApiToken</a></li><li><a href="Attribute.html">Attribute</a></li><li><a href="BackendScriptApi.html">BackendScriptApi</a></li><li><a href="Branch.html">Branch</a></li><li><a href="Entity.html">Entity</a></li><li><a href="Note.html">Note</a></li><li><a href="NoteRevision.html">NoteRevision</a></li><li><a href="Option.html">Option</a></li><li><a href="RecentNote.html">RecentNote</a></li></ul><h3><a href="global.html">Global</a></h3>
2018-08-30 02:44:35 +08:00
</nav>
<br class="clear">
<footer>
2020-10-01 04:48:30 +08:00
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 3.6.6</a>
2018-08-30 02:44:35 +08:00
</footer>
<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>