summaryrefslogtreecommitdiff
path: root/docs/classes/_database_.database.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/classes/_database_.database.html')
-rw-r--r--docs/classes/_database_.database.html55
1 files changed, 41 insertions, 14 deletions
diff --git a/docs/classes/_database_.database.html b/docs/classes/_database_.database.html
index 08e696c..459daa2 100644
--- a/docs/classes/_database_.database.html
+++ b/docs/classes/_database_.database.html
@@ -119,6 +119,7 @@
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_database_.database.html#hasspace" class="tsd-kind-icon">has<wbr>Space</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_database_.database.html#init" class="tsd-kind-icon">init</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_database_.database.html#read" class="tsd-kind-icon">read</a></li>
+ <li class="tsd-kind-method tsd-parent-kind-class"><a href="_database_.database.html#remove" class="tsd-kind-icon">remove</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_database_.database.html#resolve" class="tsd-kind-icon">resolve</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="_database_.database.html#serialize" class="tsd-kind-icon">serialize</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="_database_.database.html#tostring" class="tsd-kind-icon">to<wbr>String</a></li>
@@ -140,7 +141,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L32">database.ts:32</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L32">database.ts:32</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -162,7 +163,7 @@
<div class="tsd-signature tsd-kind-icon">buff<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L32">database.ts:32</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L32">database.ts:32</a></li>
</ul>
</aside>
</section>
@@ -172,7 +173,7 @@
<div class="tsd-signature tsd-kind-icon">ctx<span class="tsd-signature-symbol">:</span> <a href="../interfaces/_context_model_.context.html" class="tsd-signature-type">Context</a></div>
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L33">database.ts:33</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L33">database.ts:33</a></li>
</ul>
</aside>
</section>
@@ -190,7 +191,7 @@
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#flush">flush</a></p>
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L60">database.ts:60</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L64">database.ts:64</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
@@ -207,7 +208,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L126">database.ts:126</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L130">database.ts:130</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
@@ -225,7 +226,7 @@
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#init">init</a></p>
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L35">database.ts:35</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L35">database.ts:35</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
@@ -243,7 +244,7 @@
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#read">read</a></p>
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L48">database.ts:48</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L48">database.ts:48</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -256,6 +257,30 @@
</li>
</ul>
</section>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
+ <a name="remove" class="tsd-anchor"></a>
+ <h3>remove</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
+ <li class="tsd-signature tsd-kind-icon">remove<span class="tsd-signature-symbol">(</span>path<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">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <aside class="tsd-sources">
+ <p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#remove">remove</a></p>
+ <ul>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L60">database.ts:60</a></li>
+ </ul>
+ </aside>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>path: <span class="tsd-signature-type">string</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
+ </li>
+ </ul>
+ </section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a name="resolve" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagPrivate">Private</span> resolve</h3>
@@ -266,7 +291,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L81">database.ts:81</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L85">database.ts:85</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -307,7 +332,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L121">database.ts:121</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L125">database.ts:125</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -334,7 +359,7 @@
<aside class="tsd-sources">
<p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#tostring">toString</a></p>
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L65">database.ts:65</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L69">database.ts:69</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
@@ -345,14 +370,13 @@
<a name="write" class="tsd-anchor"></a>
<h3>write</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
- <li class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, toWrite<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
+ <li class="tsd-signature tsd-kind-icon">write<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, toWrite<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
- <p>Implementation of <a href="../interfaces/_database_model_.databaseinterface.html">DatabaseInterface</a>.<a href="../interfaces/_database_model_.databaseinterface.html#write">write</a></p>
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/600aede/src/database.ts#L53">database.ts:53</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/f5c35a0/src/database.ts#L53">database.ts:53</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -361,7 +385,7 @@
<h5>path: <span class="tsd-signature-type">string</span></h5>
</li>
<li>
- <h5>toWrite: <span class="tsd-signature-type">Object</span></h5>
+ <h5>toWrite: <span class="tsd-signature-type">any</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4>
@@ -424,6 +448,9 @@
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="_database_.database.html#read" class="tsd-kind-icon">read</a>
</li>
+ <li class=" tsd-kind-method tsd-parent-kind-class">
+ <a href="_database_.database.html#remove" class="tsd-kind-icon">remove</a>
+ </li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
<a href="_database_.database.html#resolve" class="tsd-kind-icon">resolve</a>
</li>