summaryrefslogtreecommitdiff
path: root/docs/interfaces/_database_model_.databaseinterface.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/interfaces/_database_model_.databaseinterface.html')
-rw-r--r--docs/interfaces/_database_model_.databaseinterface.html80
1 files changed, 74 insertions, 6 deletions
diff --git a/docs/interfaces/_database_model_.databaseinterface.html b/docs/interfaces/_database_model_.databaseinterface.html
index 031c8ab..fe0cc31 100644
--- a/docs/interfaces/_database_model_.databaseinterface.html
+++ b/docs/interfaces/_database_model_.databaseinterface.html
@@ -94,6 +94,7 @@
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#init" class="tsd-kind-icon">init</a></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#read" class="tsd-kind-icon">read</a></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#remove" class="tsd-kind-icon">remove</a></li>
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#subscribe" class="tsd-kind-icon">subscribe</a></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#tostring" class="tsd-kind-icon">to<wbr>String</a></li>
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="_database_model_.databaseinterface.html#write" class="tsd-kind-icon">write</a></li>
</ul>
@@ -113,7 +114,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L40">database.model.ts:40</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L45">database.model.ts:45</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -135,7 +136,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L10">database.model.ts:10</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L10">database.model.ts:10</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -161,7 +162,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L19">database.model.ts:19</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L19">database.model.ts:19</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -192,7 +193,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L35">database.model.ts:35</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L40">database.model.ts:40</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -211,6 +212,67 @@
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
+ <a name="subscribe" class="tsd-anchor"></a>
+ <h3>subscribe</h3>
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
+ <li class="tsd-signature tsd-kind-icon">subscribe<span class="tsd-signature-symbol">(</span>path<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</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.model.ts#L24">database.model.ts:24</a></li>
+ </ul>
+ </aside>
+ <div class="tsd-comment tsd-typography">
+ <div class="lead">
+ <p>Subscribe to all data changes at path</p>
+ </div>
+ </div>
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>path: <span class="tsd-signature-type">string</span></h5>
+ </li>
+ <li>
+ <h5>callback: <span class="tsd-signature-type">function</span></h5>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-siganture">
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>e<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">any</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-parameters-title">Parameters</h4>
+ <ul class="tsd-parameters">
+ <li>
+ <h5>e: <span class="tsd-signature-type">any</span></h5>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">function</span></h4>
+ <ul class="tsd-parameters">
+ <li class="tsd-parameter-siganture">
+ <ul class="tsd-signatures tsd-kind-type-literal tsd-is-not-exported">
+ <li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li>
+ </ul>
+ <ul class="tsd-descriptions">
+ <li class="tsd-description">
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ </section>
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
<a name="tostring" class="tsd-anchor"></a>
<h3>to<wbr>String</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
@@ -220,7 +282,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L45">database.model.ts:45</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L50">database.model.ts:50</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -242,7 +304,7 @@
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
- <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/d590774/src/database.model.ts#L30">database.model.ts:30</a></li>
+ <li>Defined in <a href="https://github.com/nvandoorn/naive/blob/638ff46/src/database.model.ts#L35">database.model.ts:35</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
@@ -276,6 +338,9 @@
<a href="../globals.html"><em>Globals</em></a>
</li>
<li class=" tsd-kind-external-module">
+ <a href="../modules/_change_handlers_model_.html">"change-<wbr>handlers.model"</a>
+ </li>
+ <li class=" tsd-kind-external-module">
<a href="../modules/_context_model_.html">"context.model"</a>
</li>
<li class=" tsd-kind-external-module">
@@ -315,6 +380,9 @@
<a href="_database_model_.databaseinterface.html#remove" class="tsd-kind-icon">remove</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-interface">
+ <a href="_database_model_.databaseinterface.html#subscribe" class="tsd-kind-icon">subscribe</a>
+ </li>
+ <li class=" tsd-kind-method tsd-parent-kind-interface">
<a href="_database_model_.databaseinterface.html#tostring" class="tsd-kind-icon">to<wbr>String</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-interface">