This commit is contained in:
zadam 2023-01-03 15:02:01 +01:00
parent c5ab6fa2fa
commit 5d4a2f2064
2 changed files with 50 additions and 8 deletions

View file

@ -126,7 +126,7 @@
<h4 class="name" id="__private"><span class="type-signature"></span>__private<span class="type-signature"> :Object</span></h4>
<h4 class="name" id="__private"><span class="type-signature"></span>__private<span class="type-signature"></span></h4>
@ -137,17 +137,59 @@
<h5>Type:</h5>
<ul>
<li>
<span class="param-type">Object</span>
</li>
</ul>
<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>becca</code></td>
<td class="type">
<span class="param-type">Becca</span>
</td>
<td class="description last">provides access to the backend in-memory object graph, see <a href="https://github.com/zadam/trilium/blob/master/src/becca/becca.js">https://github.com/zadam/trilium/blob/master/src/becca/becca.js</a></td>
</tr>
</tbody>
</table>

View file

@ -551,7 +551,7 @@ function BackendScriptApi(currentNote, apiParams) {
/**
* This object contains "at your risk" and "no BC guarantees" objects for advanced use cases.
*
* @type {{becca: Becca}}
* @property {Becca} becca - provides access to the backend in-memory object graph, see {@link https://github.com/zadam/trilium/blob/master/src/becca/becca.js}
*/
this.__private = {
becca