diff --git a/docs/classes/Database.html b/docs/classes/Database.html
index 82e5f18a..367be653 100644
--- a/docs/classes/Database.html
+++ b/docs/classes/Database.html
@@ -1,4 +1,4 @@
-
Database | @fireproof/monorepo Type Parameters DT extends DocTypes = NonNullable < unknown > IndexConstructors constructor
+
Database | @fireproof/monorepo Type Parameters DT extends DocTypes = NonNullable < unknown > Constructorsconstructor new Database < DT extends {} = {} > ( name ?: string , opts ?: ConfigOpts ) : Database < DT > Parameters Optional
name : string Optional
opts : ConfigOpts PropertiesReadonly
_listeners _listeners : Set < ListenerFn < DT > > = ... _listening _listening : boolean = false
Readonly
_noupdate_ listeners _noupdate_listeners : Set < ListenerFn < DT > > = ... Readonly
_ready _ready : ResolveOnce < void , void > = ...
Readonly
_write Queue _writeQueue : WriteQueue < DT > Readonly
blockstore blockstore : BaseBlockstore
Readonly
logger logger : Logger
Optional
Readonly
name name ?: string
Readonly
opts opts : ConfigOpts = {}
Readonly
sthis sthis : SuperThis
Static
databases databases : Map < string , Database < {} > > = ... Methods_no_ update_ notify _no_update_notify () : Promise < void > Returns Promise < void > _notify _notify ( updates : DocUpdate < {} > [] ) : Promise < void > Returns Promise < void > all Docs allDocs < T extends {} > ( opts ?: AllDocsQueryOpts ) : Promise < AllDocsResponse < T > > Parameters opts : AllDocsQueryOpts = {} Returns Promise < AllDocsResponse < T > > all Documents allDocuments < T extends {} > () : Promise < { clock : ClockHead ; rows : { key : string ; value : DocWithId < T > } [] } , > Returns Promise < { clock : ClockHead ; rows : { key : string ; value : DocWithId < T > } [] } > changes changes < T extends {} > ( since ?: ClockHead , opts ?: ChangesOptions , ) : Promise < ChangesResponse < T > > Parameters since : ClockHead = [] opts : ChangesOptions = {} Returns Promise < ChangesResponse < T > > close close () : Promise < void > Returns Promise < void > compact compact () : Promise < void > Returns Promise < void > del del ( id : string ) : Promise < DocResponse > Returns Promise < DocResponse > destroy destroy () : Promise < void > Returns Promise < void > get get < T extends {} > ( id : string ) : Promise < DocWithId < T > > Returns Promise < DocWithId < T > > put put < T extends {} > ( doc : DocSet < T > ) : Promise < DocResponse > Returns Promise < DocResponse > query query < K extends IndexKeyType , T extends {} , R extends DocFragment = T > ( field : string | MapFn < T > , opts ?: QueryOpts < K > , ) : Promise < IndexRows < K , T , R > > Type Parameters K extends IndexKeyType T extends {} R extends DocFragment = T Parameters field : string | MapFn < T > opts : QueryOpts < K > = {} Returns Promise < IndexRows < K , T , R > > ready ready () : Promise < void > Returns Promise < void > subscribe subscribe < T extends {} > ( listener : ListenerFn < T > , updates ?: boolean ) : () => void Parameters listener : ListenerFn < T > Optional
updates : boolean Returns () => void
+
Constructorsconstructor new Database < DT extends {} = {} > ( name ?: string , opts ?: ConfigOpts ) : Database < DT > Parameters Optional
name : string Optional
opts : ConfigOpts PropertiesReadonly
_listeners _listeners : Set < ListenerFn < DT > > = ... _listening _listening : boolean = false
Readonly
_noupdate_ listeners _noupdate_listeners : Set < ListenerFn < DT > > = ... Readonly
_ready _ready : ResolveOnce < void , void > = ...
Readonly
_write Queue _writeQueue : WriteQueue < DT > Readonly
blockstore blockstore : BaseBlockstore
Readonly
logger logger : Logger
Optional
Readonly
name name ?: string
Readonly
opts opts : ConfigOpts = {}
Readonly
sthis sthis : SuperThis
Static
databases databases : Map < string , Database < {} > > = ... Methods_no_ update_ notify _no_update_notify () : Promise < void > Returns Promise < void > _notify _notify ( updates : DocUpdate < {} > [] ) : Promise < void > Returns Promise < void > all Docs allDocs < T extends {} > ( opts ?: AllDocsQueryOpts ) : Promise < AllDocsResponse < T > > Parameters opts : AllDocsQueryOpts = {} Returns Promise < AllDocsResponse < T > > all Documents allDocuments < T extends {} > () : Promise < { clock : ClockHead ; rows : { key : string ; value : DocWithId < T > } [] } , > Returns Promise < { clock : ClockHead ; rows : { key : string ; value : DocWithId < T > } [] } > changes changes < T extends {} > ( since ?: ClockHead , opts ?: ChangesOptions , ) : Promise < ChangesResponse < T > > Parameters since : ClockHead = [] opts : ChangesOptions = {} Returns Promise < ChangesResponse < T > > close close () : Promise < void > Returns Promise < void > compact compact () : Promise < void > Returns Promise < void > del del ( id : string ) : Promise < DocResponse > Returns Promise < DocResponse > destroy destroy () : Promise < void > Returns Promise < void > put put < T extends {} > ( doc : DocSet < T > ) : Promise < DocResponse > Returns Promise < DocResponse > query query < K extends IndexKeyType , T extends {} , R extends DocFragment = T > ( field : string | MapFn < T > , opts ?: QueryOpts < K > , ) : Promise < IndexRows < K , T , R > > Type Parameters K extends IndexKeyType T extends {} R extends DocFragment = T Parameters field : string | MapFn < T > opts : QueryOpts < K > = {} Returns Promise < IndexRows < K , T , R > > ready ready () : Promise < void > Returns Promise < void > subscribe subscribe < T extends {} > ( listener : ListenerFn < T > , updates ?: boolean ) : () => void Parameters listener : ListenerFn < T > Optional
updates : boolean Returns () => void
diff --git a/docs/functions/fireproof.html b/docs/functions/fireproof.html
index 7489556c..e06c496c 100644
--- a/docs/functions/fireproof.html
+++ b/docs/functions/fireproof.html
@@ -1 +1 @@
-fireproof | @fireproof/monorepo fireproof ( name : string , opts ?: ConfigOpts ) : Database Parameters name : string Optional
opts : ConfigOpts
+fireproof | @fireproof/monorepo fireproof ( name : string , opts ?: ConfigOpts ) : Database Parameters name : string Optional
opts : ConfigOpts
diff --git a/docs/index.html b/docs/index.html
index 51de3c31..fde4a149 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -81,8 +81,12 @@
deno run --config node_modules/@fireproof/core/deno.json --allow-read --allow-write --allow-env --unstable-sloppy-imports ./node-test.ts
Copy
+Create Docs Caution it will be pushed directly
+pnpm run build:doc
+
Copy
+
Thanks 🙏 Fireproof is a synthesis of work done by people in the web community over the years. I couldn't even begin to name all the folks who made pivotal contributions. Without npm, React, and VS Code all this would have taken so much longer. Thanks to everyone who supported me getting into database development via Apache CouchDB, one of the original document databases. The distinguishing work on immutable data-structures comes from the years of consideration IPFS , IPLD , and the Filecoin APIs have enjoyed.
Thanks to Alan Shaw and Mikeal Rogers without whom this project would have never got started. The core Merkle hash-tree clock is based on Alan's Pail , and you can see the repository history goes all the way back to work begun as a branch of that repo. Mikeal wrote the prolly trees implementation .
Contributing We love contributions. Feel free to join in the conversation on Discord. All welcome.
License Dual-licensed under MIT or Apache 2.0
-
Close the database and release resources
+