diff options
Diffstat (limited to 'docs/modules')
-rw-r--r-- | docs/modules/_database_.html | 26 | ||||
-rw-r--r-- | docs/modules/_database_test_.html | 4 | ||||
-rw-r--r-- | docs/modules/_error_model_.html | 4 | ||||
-rw-r--r-- | docs/modules/_util_.html | 7 |
4 files changed, 28 insertions, 13 deletions
diff --git a/docs/modules/_database_.html b/docs/modules/_database_.html index 7c81c91..5b0ed26 100644 --- a/docs/modules/_database_.html +++ b/docs/modules/_database_.html @@ -107,7 +107,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/d6111be/src/database.ts#L14">database.ts:14</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L21">database.ts:21</a></li> </ul> </aside> </section> @@ -117,7 +117,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/d6111be/src/database.ts#L13">database.ts:13</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L20">database.ts:20</a></li> </ul> </aside> </section> @@ -134,9 +134,14 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L11">database.ts:11</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L18">database.ts:18</a></li> </ul> </aside> + <div class="tsd-comment tsd-typography"> + <div class="lead"> + <p>Identify if a path is a root node</p> + </div> + </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> @@ -157,9 +162,14 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.ts#L10">database.ts:10</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L13">database.ts:13</a></li> </ul> </aside> + <div class="tsd-comment tsd-typography"> + <div class="lead"> + <p>Split path using "/" as a delimiter</p> + </div> + </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> @@ -179,7 +189,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/d6111be/src/database.ts#L16">database.ts:16</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L23">database.ts:23</a></li> </ul> </aside> <section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-object-literal"> @@ -188,7 +198,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/d6111be/src/database.ts#L18">database.ts:18</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L25">database.ts:25</a></li> </ul> </aside> </section> @@ -198,7 +208,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/d6111be/src/database.ts#L17">database.ts:17</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L24">database.ts:24</a></li> </ul> </aside> </section> @@ -208,7 +218,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/d6111be/src/database.ts#L19">database.ts:19</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.ts#L26">database.ts:26</a></li> </ul> </aside> </section> diff --git a/docs/modules/_database_test_.html b/docs/modules/_database_test_.html index bb375db..77a7bbe 100644 --- a/docs/modules/_database_test_.html +++ b/docs/modules/_database_test_.html @@ -93,7 +93,7 @@ <div class="tsd-signature tsd-kind-icon">max<wbr>DbSizeMB<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">0.1</span><span class="tsd-signature-symbol"> = 0.1</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.test.ts#L7">database.test.ts:7</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.test.ts#L7">database.test.ts:7</a></li> </ul> </aside> </section> @@ -110,7 +110,7 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/database.test.ts#L4">database.test.ts:4</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.test.ts#L4">database.test.ts:4</a></li> </ul> </aside> <h4 class="tsd-parameters-title">Parameters</h4> diff --git a/docs/modules/_error_model_.html b/docs/modules/_error_model_.html index a84cb4e..01b7a8d 100644 --- a/docs/modules/_error_model_.html +++ b/docs/modules/_error_model_.html @@ -105,7 +105,7 @@ <div class="tsd-signature tsd-kind-icon">e<span class="tsd-signature-symbol">:</span> <a href="../enums/_error_model_.naiveerrorcode.html" class="tsd-signature-type">NaiveErrorCode</a><span class="tsd-signature-symbol"> = NaiveErrorCode</span></div> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/error.model.ts#L6">error.model.ts:6</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/error.model.ts#L6">error.model.ts:6</a></li> </ul> </aside> </section> @@ -122,7 +122,7 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/error.model.ts#L8">error.model.ts:8</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/error.model.ts#L8">error.model.ts:8</a></li> </ul> </aside> <h4 class="tsd-parameters-title">Parameters</h4> diff --git a/docs/modules/_util_.html b/docs/modules/_util_.html index 2a14f68..6ca5f8a 100644 --- a/docs/modules/_util_.html +++ b/docs/modules/_util_.html @@ -91,9 +91,14 @@ <li class="tsd-description"> <aside class="tsd-sources"> <ul> - <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d6111be/src/util.ts#L1">util.ts:1</a></li> + <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/util.ts#L4">util.ts:4</a></li> </ul> </aside> + <div class="tsd-comment tsd-typography"> + <div class="lead"> + <p>Get the last item in t</p> + </div> + </div> <h4 class="tsd-type-parameters-title">Type parameters</h4> <ul class="tsd-type-parameters"> <li> |