diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-20 13:50:38 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-01-20 13:50:38 -0800 |
commit | 08d7de10f4a163eb8db43be4ce92dc8bb3fa4efd (patch) | |
tree | e454d5520ff11d243922e242b93a839ac955cf79 /docs/modules/_database_.html | |
parent | 638ff4686f557a2f9c31c521d849360fc906ca52 (diff) |
Update docs for release 1.3.01.3.0
Diffstat (limited to 'docs/modules/_database_.html')
-rw-r--r-- | docs/modules/_database_.html | 56 |
1 files changed, 48 insertions, 8 deletions
diff --git a/docs/modules/_database_.html b/docs/modules/_database_.html index 5b0ed26..1364c5b 100644 --- a/docs/modules/_database_.html +++ b/docs/modules/_database_.html @@ -86,6 +86,7 @@ <section class="tsd-index-section tsd-is-not-exported"> <h3>Functions</h3> <ul class="tsd-index-list"> + <li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_database_.html#ischildormatch" class="tsd-kind-icon">is<wbr>Child<wbr>OrMatch</a></li> <li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_database_.html#isrootnode" class="tsd-kind-icon">is<wbr>Root<wbr>Node</a></li> <li class="tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"><a href="_database_.html#splitpath" class="tsd-kind-icon">split<wbr>Path</a></li> </ul> @@ -107,7 +108,7 @@ <div class="tsd-signature tsd-kind-icon">read<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__promisify__</span><span class="tsd-signature-symbol"> = promisify(readFile)</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L21">database.ts:21</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L35">database.ts:35</a></li> </ul> </aside> </section> @@ -117,7 +118,7 @@ <div class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">__promisify__</span><span class="tsd-signature-symbol"> = promisify(writeFile)</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L20">database.ts:20</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L34">database.ts:34</a></li> </ul> </aside> </section> @@ -125,6 +126,39 @@ <section class="tsd-panel-group tsd-member-group tsd-is-not-exported"> <h2>Functions</h2> <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> + <a name="ischildormatch" class="tsd-anchor"></a> + <h3><span class="tsd-flag ts-flagConst">Const</span> is<wbr>Child<wbr>OrMatch</h3> + <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> + <li class="tsd-signature tsd-kind-icon">is<wbr>Child<wbr>OrMatch<span class="tsd-signature-symbol">(</span>child<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, parent<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li> + </ul> + <ul class="tsd-descriptions"> + <li class="tsd-description"> + <aside class="tsd-sources"> + <ul> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L27">database.ts:27</a></li> + </ul> + </aside> + <div class="tsd-comment tsd-typography"> + <div class="lead"> + <p>Check if path1 matches path2, + if not, check if its a subpath</p> + </div> + <p><a href="https://stackoverflow.com/questions/37521893/determine-if-a-path-is-subdirectory-of-another-in-node-js">https://stackoverflow.com/questions/37521893/determine-if-a-path-is-subdirectory-of-another-in-node-js</a></p> + </div> + <h4 class="tsd-parameters-title">Parameters</h4> + <ul class="tsd-parameters"> + <li> + <h5>child: <span class="tsd-signature-type">string</span></h5> + </li> + <li> + <h5>parent: <span class="tsd-signature-type">string</span></h5> + </li> + </ul> + <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4> + </li> + </ul> + </section> + <section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> <a name="isrootnode" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagConst">Const</span> is<wbr>Root<wbr>Node</h3> <ul class="tsd-signatures tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> @@ -134,7 +168,7 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L18">database.ts:18</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L19">database.ts:19</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> @@ -162,7 +196,7 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L13">database.ts:13</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L14">database.ts:14</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> @@ -189,7 +223,7 @@ <div class="tsd-signature tsd-kind-icon">DEFAULT_<wbr>CTX<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L23">database.ts:23</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L37">database.ts:37</a></li> </ul> </aside> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> @@ -198,7 +232,7 @@ <div class="tsd-signature tsd-kind-icon">cache<wbr>Path<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = `${__dirname}/db.json`</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L25">database.ts:25</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L39">database.ts:39</a></li> </ul> </aside> </section> @@ -208,7 +242,7 @@ <div class="tsd-signature tsd-kind-icon">logger<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">log</span><span class="tsd-signature-symbol"> = console.log</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L24">database.ts:24</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L38">database.ts:38</a></li> </ul> </aside> </section> @@ -218,7 +252,7 @@ <div class="tsd-signature tsd-kind-icon">max<wbr>DbSizeMB<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 6</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L26">database.ts:26</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.ts#L40">database.ts:40</a></li> </ul> </aside> </section> @@ -232,6 +266,9 @@ <a href="../globals.html"><em>Globals</em></a> </li> <li class=" tsd-kind-external-module"> + <a href="_change_handlers_model_.html">"change-<wbr>handlers.model"</a> + </li> + <li class=" tsd-kind-external-module"> <a href="_context_model_.html">"context.model"</a> </li> <li class="current tsd-kind-external-module"> @@ -263,6 +300,9 @@ <a href="_database_.html#write" class="tsd-kind-icon">write</a> </li> <li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> + <a href="_database_.html#ischildormatch" class="tsd-kind-icon">is<wbr>Child<wbr>OrMatch</a> + </li> + <li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> <a href="_database_.html#isrootnode" class="tsd-kind-icon">is<wbr>Root<wbr>Node</a> </li> <li class=" tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported"> |