From c40fa02fccd04c63e58102ad0729dba2edd8397d Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Sat, 19 Jan 2019 21:46:28 -0800 Subject: Update docs for release 1.2.7 --- docs/assets/js/search.js | 2 +- docs/classes/_database_.database.html | 55 ++++++++++++++++------ docs/classes/_error_model_.naiveerror.html | 4 +- docs/enums/_error_model_.naiveerrorcode.html | 4 +- docs/interfaces/_context_model_.context.html | 6 +-- .../_database_model_.databaseinterface.html | 42 +++++++++++++++-- docs/modules/_database_.html | 14 +++--- docs/modules/_database_test_.html | 4 +- docs/modules/_error_model_.html | 4 +- docs/modules/_util_.html | 2 +- 10 files changed, 98 insertions(+), 39 deletions(-) (limited to 'docs') diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index 7d1c97c..b5e1ba8 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"1":"External module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","2097152":"Object literal"},"rows":[{"id":0,"kind":1,"name":"\"context.model\"","url":"modules/_context_model_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"Context","url":"interfaces/_context_model_.context.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"context.model\""},{"id":2,"kind":1024,"name":"logger","url":"interfaces/_context_model_.context.html#logger","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":3,"kind":65536,"name":"__type","url":"interfaces/_context_model_.context.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"context.model\".Context.logger"},{"id":4,"kind":1024,"name":"cachePath","url":"interfaces/_context_model_.context.html#cachepath","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":5,"kind":1024,"name":"maxDbSizeMB","url":"interfaces/_context_model_.context.html#maxdbsizemb","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":6,"kind":1,"name":"\"database.model\"","url":"modules/_database_model_.html","classes":"tsd-kind-external-module"},{"id":7,"kind":256,"name":"DatabaseInterface","url":"interfaces/_database_model_.databaseinterface.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"database.model\""},{"id":8,"kind":2048,"name":"init","url":"interfaces/_database_model_.databaseinterface.html#init","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":9,"kind":2048,"name":"read","url":"interfaces/_database_model_.databaseinterface.html#read","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":10,"kind":2048,"name":"write","url":"interfaces/_database_model_.databaseinterface.html#write","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":11,"kind":2048,"name":"flush","url":"interfaces/_database_model_.databaseinterface.html#flush","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":12,"kind":2048,"name":"toString","url":"interfaces/_database_model_.databaseinterface.html#tostring","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":13,"kind":1,"name":"\"error.model\"","url":"modules/_error_model_.html","classes":"tsd-kind-external-module"},{"id":14,"kind":4,"name":"NaiveErrorCode","url":"enums/_error_model_.naiveerrorcode.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":15,"kind":16,"name":"UNCAUGHT","url":"enums/_error_model_.naiveerrorcode.html#uncaught","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"error.model\".NaiveErrorCode"},{"id":16,"kind":16,"name":"OUT_OF_SPACE","url":"enums/_error_model_.naiveerrorcode.html#out_of_space","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"error.model\".NaiveErrorCode"},{"id":17,"kind":128,"name":"NaiveError","url":"classes/_error_model_.naiveerror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":18,"kind":512,"name":"constructor","url":"classes/_error_model_.naiveerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"error.model\".NaiveError"},{"id":19,"kind":1024,"name":"code","url":"classes/_error_model_.naiveerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error.model\".NaiveError"},{"id":20,"kind":1024,"name":"name","url":"classes/_error_model_.naiveerror.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":21,"kind":1024,"name":"message","url":"classes/_error_model_.naiveerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":22,"kind":1024,"name":"stack","url":"classes/_error_model_.naiveerror.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":23,"kind":1024,"name":"Error","url":"classes/_error_model_.naiveerror.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"error.model\".NaiveError"},{"id":24,"kind":32,"name":"e","url":"modules/_error_model_.html#e","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"error.model\""},{"id":25,"kind":64,"name":"lookupMsg","url":"modules/_error_model_.html#lookupmsg","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":26,"kind":1,"name":"\"util\"","url":"modules/_util_.html","classes":"tsd-kind-external-module"},{"id":27,"kind":64,"name":"last","url":"modules/_util_.html#last","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"util\""},{"id":28,"kind":1,"name":"\"database\"","url":"modules/_database_.html","classes":"tsd-kind-external-module"},{"id":29,"kind":128,"name":"Database","url":"classes/_database_.database.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"database\""},{"id":30,"kind":1024,"name":"buff","url":"classes/_database_.database.html#buff","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":31,"kind":512,"name":"constructor","url":"classes/_database_.database.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"database\".Database"},{"id":32,"kind":1024,"name":"ctx","url":"classes/_database_.database.html#ctx","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":33,"kind":2048,"name":"init","url":"classes/_database_.database.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":34,"kind":2048,"name":"read","url":"classes/_database_.database.html#read","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":35,"kind":2048,"name":"write","url":"classes/_database_.database.html#write","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":36,"kind":2048,"name":"flush","url":"classes/_database_.database.html#flush","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":37,"kind":2048,"name":"toString","url":"classes/_database_.database.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":38,"kind":2048,"name":"resolve","url":"classes/_database_.database.html#resolve","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":39,"kind":2048,"name":"serialize","url":"classes/_database_.database.html#serialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":40,"kind":2048,"name":"hasSpace","url":"classes/_database_.database.html#hasspace","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":41,"kind":64,"name":"splitPath","url":"modules/_database_.html#splitpath","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":42,"kind":32,"name":"write","url":"modules/_database_.html#write","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":43,"kind":32,"name":"read","url":"modules/_database_.html#read","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":44,"kind":2097152,"name":"DEFAULT_CTX","url":"modules/_database_.html#default_ctx","classes":"tsd-kind-object-literal tsd-parent-kind-external-module","parent":"\"database\""},{"id":45,"kind":32,"name":"logger","url":"modules/_database_.html#default_ctx.logger","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":46,"kind":32,"name":"cachePath","url":"modules/_database_.html#default_ctx.cachepath","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":47,"kind":32,"name":"maxDbSizeMB","url":"modules/_database_.html#default_ctx.maxdbsizemb","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":48,"kind":1,"name":"\"database.test\"","url":"modules/_database_test_.html","classes":"tsd-kind-external-module"},{"id":49,"kind":64,"name":"generateString","url":"modules/_database_test_.html#generatestring","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database.test\""},{"id":50,"kind":32,"name":"maxDbSizeMB","url":"modules/_database_test_.html#maxdbsizemb","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database.test\""}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"1":"External module","4":"Enumeration","16":"Enumeration member","32":"Variable","64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","65536":"Type literal","2097152":"Object literal"},"rows":[{"id":0,"kind":1,"name":"\"context.model\"","url":"modules/_context_model_.html","classes":"tsd-kind-external-module"},{"id":1,"kind":256,"name":"Context","url":"interfaces/_context_model_.context.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"context.model\""},{"id":2,"kind":1024,"name":"logger","url":"interfaces/_context_model_.context.html#logger","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":3,"kind":65536,"name":"__type","url":"interfaces/_context_model_.context.html#logger.__type","classes":"tsd-kind-type-literal tsd-parent-kind-property tsd-is-not-exported","parent":"\"context.model\".Context.logger"},{"id":4,"kind":1024,"name":"cachePath","url":"interfaces/_context_model_.context.html#cachepath","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":5,"kind":1024,"name":"maxDbSizeMB","url":"interfaces/_context_model_.context.html#maxdbsizemb","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"\"context.model\".Context"},{"id":6,"kind":1,"name":"\"database.model\"","url":"modules/_database_model_.html","classes":"tsd-kind-external-module"},{"id":7,"kind":256,"name":"DatabaseInterface","url":"interfaces/_database_model_.databaseinterface.html","classes":"tsd-kind-interface tsd-parent-kind-external-module","parent":"\"database.model\""},{"id":8,"kind":2048,"name":"init","url":"interfaces/_database_model_.databaseinterface.html#init","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":9,"kind":2048,"name":"read","url":"interfaces/_database_model_.databaseinterface.html#read","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":10,"kind":2048,"name":"write","url":"interfaces/_database_model_.databaseinterface.html#write","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":11,"kind":2048,"name":"remove","url":"interfaces/_database_model_.databaseinterface.html#remove","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":12,"kind":2048,"name":"flush","url":"interfaces/_database_model_.databaseinterface.html#flush","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":13,"kind":2048,"name":"toString","url":"interfaces/_database_model_.databaseinterface.html#tostring","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"\"database.model\".DatabaseInterface"},{"id":14,"kind":1,"name":"\"error.model\"","url":"modules/_error_model_.html","classes":"tsd-kind-external-module"},{"id":15,"kind":4,"name":"NaiveErrorCode","url":"enums/_error_model_.naiveerrorcode.html","classes":"tsd-kind-enum tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":16,"kind":16,"name":"UNCAUGHT","url":"enums/_error_model_.naiveerrorcode.html#uncaught","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"error.model\".NaiveErrorCode"},{"id":17,"kind":16,"name":"OUT_OF_SPACE","url":"enums/_error_model_.naiveerrorcode.html#out_of_space","classes":"tsd-kind-enum-member tsd-parent-kind-enum","parent":"\"error.model\".NaiveErrorCode"},{"id":18,"kind":128,"name":"NaiveError","url":"classes/_error_model_.naiveerror.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":19,"kind":512,"name":"constructor","url":"classes/_error_model_.naiveerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"error.model\".NaiveError"},{"id":20,"kind":1024,"name":"code","url":"classes/_error_model_.naiveerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"\"error.model\".NaiveError"},{"id":21,"kind":1024,"name":"name","url":"classes/_error_model_.naiveerror.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":22,"kind":1024,"name":"message","url":"classes/_error_model_.naiveerror.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":23,"kind":1024,"name":"stack","url":"classes/_error_model_.naiveerror.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"\"error.model\".NaiveError"},{"id":24,"kind":1024,"name":"Error","url":"classes/_error_model_.naiveerror.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"\"error.model\".NaiveError"},{"id":25,"kind":32,"name":"e","url":"modules/_error_model_.html#e","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"error.model\""},{"id":26,"kind":64,"name":"lookupMsg","url":"modules/_error_model_.html#lookupmsg","classes":"tsd-kind-function tsd-parent-kind-external-module","parent":"\"error.model\""},{"id":27,"kind":1,"name":"\"util\"","url":"modules/_util_.html","classes":"tsd-kind-external-module"},{"id":28,"kind":64,"name":"last","url":"modules/_util_.html#last","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-has-type-parameter","parent":"\"util\""},{"id":29,"kind":1,"name":"\"database\"","url":"modules/_database_.html","classes":"tsd-kind-external-module"},{"id":30,"kind":128,"name":"Database","url":"classes/_database_.database.html","classes":"tsd-kind-class tsd-parent-kind-external-module","parent":"\"database\""},{"id":31,"kind":1024,"name":"buff","url":"classes/_database_.database.html#buff","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":32,"kind":512,"name":"constructor","url":"classes/_database_.database.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"\"database\".Database"},{"id":33,"kind":1024,"name":"ctx","url":"classes/_database_.database.html#ctx","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":34,"kind":2048,"name":"init","url":"classes/_database_.database.html#init","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":35,"kind":2048,"name":"read","url":"classes/_database_.database.html#read","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":36,"kind":2048,"name":"write","url":"classes/_database_.database.html#write","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":37,"kind":2048,"name":"remove","url":"classes/_database_.database.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":38,"kind":2048,"name":"flush","url":"classes/_database_.database.html#flush","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":39,"kind":2048,"name":"toString","url":"classes/_database_.database.html#tostring","classes":"tsd-kind-method tsd-parent-kind-class","parent":"\"database\".Database"},{"id":40,"kind":2048,"name":"resolve","url":"classes/_database_.database.html#resolve","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":41,"kind":2048,"name":"serialize","url":"classes/_database_.database.html#serialize","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":42,"kind":2048,"name":"hasSpace","url":"classes/_database_.database.html#hasspace","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-private","parent":"\"database\".Database"},{"id":43,"kind":64,"name":"splitPath","url":"modules/_database_.html#splitpath","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":44,"kind":32,"name":"write","url":"modules/_database_.html#write","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":45,"kind":32,"name":"read","url":"modules/_database_.html#read","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database\""},{"id":46,"kind":2097152,"name":"DEFAULT_CTX","url":"modules/_database_.html#default_ctx","classes":"tsd-kind-object-literal tsd-parent-kind-external-module","parent":"\"database\""},{"id":47,"kind":32,"name":"logger","url":"modules/_database_.html#default_ctx.logger","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":48,"kind":32,"name":"cachePath","url":"modules/_database_.html#default_ctx.cachepath","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":49,"kind":32,"name":"maxDbSizeMB","url":"modules/_database_.html#default_ctx.maxdbsizemb","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"\"database\".DEFAULT_CTX"},{"id":50,"kind":1,"name":"\"database.test\"","url":"modules/_database_test_.html","classes":"tsd-kind-external-module"},{"id":51,"kind":64,"name":"generateString","url":"modules/_database_test_.html#generatestring","classes":"tsd-kind-function tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database.test\""},{"id":52,"kind":32,"name":"maxDbSizeMB","url":"modules/_database_test_.html#maxdbsizemb","classes":"tsd-kind-variable tsd-parent-kind-external-module tsd-is-not-exported","parent":"\"database.test\""}]}; \ No newline at end of file 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 @@
  • hasSpace
  • init
  • read
  • +
  • remove
  • resolve
  • serialize
  • toString
  • @@ -140,7 +141,7 @@
  • Parameters

    @@ -162,7 +163,7 @@
    buff: any
    @@ -172,7 +173,7 @@
    ctx: Context
    @@ -190,7 +191,7 @@

    Returns Promise<void>

    @@ -207,7 +208,7 @@
  • Returns boolean

    @@ -225,7 +226,7 @@

    Returns Promise<void>

    @@ -243,7 +244,7 @@

    Parameters

    @@ -256,6 +257,30 @@
  • +
    + +

    remove

    + + +

    Private resolve

    @@ -266,7 +291,7 @@
  • @@ -307,7 +332,7 @@
  • @@ -334,7 +359,7 @@

    Returns string

    @@ -345,14 +370,13 @@

    write

      -
    • write(path: string, toWrite: Object): Promise<void>
    • +
    • write(path: string, toWrite: any): Promise<void>

    Returns Promise<void>

    @@ -424,6 +448,9 @@
  • read
  • +
  • + remove +
  • resolve
  • diff --git a/docs/classes/_error_model_.naiveerror.html b/docs/classes/_error_model_.naiveerror.html index 100f760..21abc5d 100644 --- a/docs/classes/_error_model_.naiveerror.html +++ b/docs/classes/_error_model_.naiveerror.html @@ -117,7 +117,7 @@
  • Parameters

    @@ -139,7 +139,7 @@
  • diff --git a/docs/enums/_error_model_.naiveerrorcode.html b/docs/enums/_error_model_.naiveerrorcode.html index 6137d54..2352e90 100644 --- a/docs/enums/_error_model_.naiveerrorcode.html +++ b/docs/enums/_error_model_.naiveerrorcode.html @@ -91,7 +91,7 @@
    OUT_OF_SPACE:
    @@ -101,7 +101,7 @@
    UNCAUGHT: = 0
    diff --git a/docs/interfaces/_context_model_.context.html b/docs/interfaces/_context_model_.context.html index 9a46188..0b8c2fa 100644 --- a/docs/interfaces/_context_model_.context.html +++ b/docs/interfaces/_context_model_.context.html @@ -100,7 +100,7 @@
    cachePath: string
    @@ -110,7 +110,7 @@
    logger: function
    @@ -141,7 +141,7 @@
    maxDbSizeMB: number
    diff --git a/docs/interfaces/_database_model_.databaseinterface.html b/docs/interfaces/_database_model_.databaseinterface.html index 1bb263a..4b387d9 100644 --- a/docs/interfaces/_database_model_.databaseinterface.html +++ b/docs/interfaces/_database_model_.databaseinterface.html @@ -93,6 +93,7 @@
  • flush
  • init
  • read
  • +
  • remove
  • toString
  • write
  • @@ -112,7 +113,7 @@
  • @@ -134,7 +135,7 @@
  • @@ -160,7 +161,7 @@
  • @@ -181,6 +182,34 @@
  • +
    + +

    remove

    +
      +
    • remove(path: string): Promise<void>
    • +
    +
      +
    • + +
      +
      +

      Remove data at path

      +
      +
      +

      Parameters

      +
        +
      • +
        path: string
        +
      • +
      +

      Returns Promise<void>

      +
    • +
    +

    toString

    @@ -191,7 +220,7 @@
  • @@ -213,7 +242,7 @@
  • @@ -282,6 +311,9 @@
  • read
  • +
  • + remove +
  • toString
  • diff --git a/docs/modules/_database_.html b/docs/modules/_database_.html index 37eb568..6252a8e 100644 --- a/docs/modules/_database_.html +++ b/docs/modules/_database_.html @@ -106,7 +106,7 @@
    read: __promisify__ = promisify(readFile)
    @@ -116,7 +116,7 @@
    write: __promisify__ = promisify(writeFile)
    @@ -133,7 +133,7 @@
  • Parameters

    @@ -155,7 +155,7 @@
    DEFAULT_CTX: object
    @@ -164,7 +164,7 @@
    cachePath: string = `${__dirname}/db.json`
    @@ -174,7 +174,7 @@
    logger: log = console.log
    @@ -184,7 +184,7 @@
    maxDbSizeMB: number = 6
    diff --git a/docs/modules/_database_test_.html b/docs/modules/_database_test_.html index ecb001e..b6d4a99 100644 --- a/docs/modules/_database_test_.html +++ b/docs/modules/_database_test_.html @@ -93,7 +93,7 @@
    maxDbSizeMB: 0.1 = 0.1
    @@ -110,7 +110,7 @@
  • Parameters

    diff --git a/docs/modules/_error_model_.html b/docs/modules/_error_model_.html index 37ba94c..3a4450f 100644 --- a/docs/modules/_error_model_.html +++ b/docs/modules/_error_model_.html @@ -105,7 +105,7 @@
    e: NaiveErrorCode = NaiveErrorCode
    @@ -122,7 +122,7 @@
  • Parameters

    diff --git a/docs/modules/_util_.html b/docs/modules/_util_.html index ef47353..f8b0ada 100644 --- a/docs/modules/_util_.html +++ b/docs/modules/_util_.html @@ -91,7 +91,7 @@
  • Type parameters

    -- cgit v1.2.3