@fireproof/core 0.20.0-dev-preview-63 → 0.20.1-dev-preview-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno/index.d.ts +7 -0
- package/deno/index.js +66 -0
- package/deno/index.js.map +1 -0
- package/deno/metafile-esm.json +1 -0
- package/deno.json +2 -2
- package/index.cjs +7268 -0
- package/index.cjs.map +1 -0
- package/index.d.cts +2742 -0
- package/index.d.ts +2742 -15
- package/index.js +7267 -14
- package/index.js.map +1 -1
- package/indexeddb/index.cjs +218 -0
- package/indexeddb/index.cjs.map +1 -0
- package/indexeddb/index.d.cts +30 -0
- package/indexeddb/index.d.ts +30 -0
- package/indexeddb/index.js +195 -0
- package/indexeddb/index.js.map +1 -0
- package/indexeddb/metafile-cjs.json +1 -0
- package/indexeddb/metafile-esm.json +1 -0
- package/metafile-cjs.json +1 -0
- package/metafile-esm.json +1 -0
- package/node/index.cjs +97 -0
- package/node/index.cjs.map +1 -0
- package/node/index.d.cts +7 -0
- package/node/index.d.ts +7 -0
- package/node/index.js +64 -0
- package/node/index.js.map +1 -0
- package/node/metafile-cjs.json +1 -0
- package/node/metafile-esm.json +1 -0
- package/package.json +17 -20
- package/react/index.cjs +298 -0
- package/react/index.cjs.map +1 -0
- package/react/{img-file.d.ts → index.d.cts} +53 -6
- package/react/index.d.ts +336 -4
- package/react/index.js +264 -3
- package/react/index.js.map +1 -1
- package/react/metafile-cjs.json +1 -0
- package/react/metafile-esm.json +1 -0
- package/tests/blockstore/loader.test.ts +1 -1
- package/tests/blockstore/store.test.ts +4 -9
- package/tests/fireproof/attachable.test.ts +3 -3
- package/tests/react/use-fireproof-db-switch.test.tsx +91 -0
- package/tests/react/use-fireproof-stability.test.tsx +145 -0
- package/tests/www/gallery.html +132 -0
- package/tests/www/iife.html +42 -0
- package/tests/www/todo-aws.html +232 -0
- package/tests/www/todo-ipfs.html +213 -0
- package/tests/www/todo-local.html +214 -0
- package/tests/www/todo-netlify.html +227 -0
- package/tests/www/todo.html +254 -0
- package/apply-head-queue.d.ts +0 -18
- package/apply-head-queue.d.ts.map +0 -1
- package/apply-head-queue.js +0 -47
- package/apply-head-queue.js.map +0 -1
- package/blockstore/attachable-store.d.ts +0 -17
- package/blockstore/attachable-store.d.ts.map +0 -1
- package/blockstore/attachable-store.js +0 -295
- package/blockstore/attachable-store.js.map +0 -1
- package/blockstore/commit-queue.d.ts +0 -12
- package/blockstore/commit-queue.d.ts.map +0 -1
- package/blockstore/commit-queue.js +0 -52
- package/blockstore/commit-queue.js.map +0 -1
- package/blockstore/commitor.d.ts +0 -21
- package/blockstore/commitor.d.ts.map +0 -1
- package/blockstore/commitor.js +0 -104
- package/blockstore/commitor.js.map +0 -1
- package/blockstore/connect-raw.d.ts +0 -2
- package/blockstore/connect-raw.d.ts.map +0 -1
- package/blockstore/connect-raw.js +0 -2
- package/blockstore/connect-raw.js.map +0 -1
- package/blockstore/connection-base.d.ts +0 -2
- package/blockstore/connection-base.d.ts.map +0 -1
- package/blockstore/connection-base.js +0 -2
- package/blockstore/connection-base.js.map +0 -1
- package/blockstore/encrypt-helpers.d.ts +0 -2
- package/blockstore/encrypt-helpers.d.ts.map +0 -1
- package/blockstore/encrypt-helpers.js +0 -2
- package/blockstore/encrypt-helpers.js.map +0 -1
- package/blockstore/fp-envelope.d.ts +0 -32
- package/blockstore/fp-envelope.d.ts.map +0 -1
- package/blockstore/fp-envelope.js +0 -14
- package/blockstore/fp-envelope.js.map +0 -1
- package/blockstore/gateway.d.ts +0 -20
- package/blockstore/gateway.d.ts.map +0 -1
- package/blockstore/gateway.js +0 -2
- package/blockstore/gateway.js.map +0 -1
- package/blockstore/index.d.ts +0 -16
- package/blockstore/index.d.ts.map +0 -1
- package/blockstore/index.js +0 -16
- package/blockstore/index.js.map +0 -1
- package/blockstore/interceptor-gateway.d.ts +0 -29
- package/blockstore/interceptor-gateway.d.ts.map +0 -1
- package/blockstore/interceptor-gateway.js +0 -137
- package/blockstore/interceptor-gateway.js.map +0 -1
- package/blockstore/loader-helpers.d.ts +0 -4
- package/blockstore/loader-helpers.d.ts.map +0 -1
- package/blockstore/loader-helpers.js +0 -16
- package/blockstore/loader-helpers.js.map +0 -1
- package/blockstore/loader.d.ts +0 -45
- package/blockstore/loader.d.ts.map +0 -1
- package/blockstore/loader.js +0 -352
- package/blockstore/loader.js.map +0 -1
- package/blockstore/register-store-protocol.d.ts +0 -22
- package/blockstore/register-store-protocol.d.ts.map +0 -1
- package/blockstore/register-store-protocol.js +0 -114
- package/blockstore/register-store-protocol.js.map +0 -1
- package/blockstore/serde-gateway.d.ts +0 -78
- package/blockstore/serde-gateway.d.ts.map +0 -1
- package/blockstore/serde-gateway.js +0 -2
- package/blockstore/serde-gateway.js.map +0 -1
- package/blockstore/store-factory.d.ts +0 -11
- package/blockstore/store-factory.d.ts.map +0 -1
- package/blockstore/store-factory.js +0 -105
- package/blockstore/store-factory.js.map +0 -1
- package/blockstore/store-remote.d.ts +0 -2
- package/blockstore/store-remote.d.ts.map +0 -1
- package/blockstore/store-remote.js +0 -2
- package/blockstore/store-remote.js.map +0 -1
- package/blockstore/store.d.ts +0 -82
- package/blockstore/store.d.ts.map +0 -1
- package/blockstore/store.js +0 -438
- package/blockstore/store.js.map +0 -1
- package/blockstore/task-manager.d.ts +0 -19
- package/blockstore/task-manager.d.ts.map +0 -1
- package/blockstore/task-manager.js +0 -50
- package/blockstore/task-manager.js.map +0 -1
- package/blockstore/transaction.d.ts +0 -64
- package/blockstore/transaction.d.ts.map +0 -1
- package/blockstore/transaction.js +0 -249
- package/blockstore/transaction.js.map +0 -1
- package/blockstore/types.d.ts +0 -400
- package/blockstore/types.d.ts.map +0 -1
- package/blockstore/types.js +0 -55
- package/blockstore/types.js.map +0 -1
- package/blockstore/uri-interceptor.d.ts +0 -19
- package/blockstore/uri-interceptor.d.ts.map +0 -1
- package/blockstore/uri-interceptor.js +0 -61
- package/blockstore/uri-interceptor.js.map +0 -1
- package/bundle-not-impl.d.ts +0 -2
- package/bundle-not-impl.d.ts.map +0 -1
- package/bundle-not-impl.js +0 -4
- package/bundle-not-impl.js.map +0 -1
- package/cli/main.js +0 -26114
- package/context.d.ts +0 -7
- package/context.d.ts.map +0 -1
- package/context.js +0 -15
- package/context.js.map +0 -1
- package/crdt-clock.d.ts +0 -27
- package/crdt-clock.d.ts.map +0 -1
- package/crdt-clock.js +0 -140
- package/crdt-clock.js.map +0 -1
- package/crdt-helpers.d.ts +0 -16
- package/crdt-helpers.d.ts.map +0 -1
- package/crdt-helpers.js +0 -316
- package/crdt-helpers.js.map +0 -1
- package/crdt.d.ts +0 -34
- package/crdt.d.ts.map +0 -1
- package/crdt.js +0 -131
- package/crdt.js.map +0 -1
- package/database.d.ts +0 -34
- package/database.d.ts.map +0 -1
- package/database.js +0 -121
- package/database.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/indexer-helpers.d.ts +0 -69
- package/indexer-helpers.d.ts.map +0 -1
- package/indexer-helpers.js +0 -135
- package/indexer-helpers.js.map +0 -1
- package/indexer.d.ts +0 -25
- package/indexer.d.ts.map +0 -1
- package/indexer.js +0 -231
- package/indexer.js.map +0 -1
- package/ledger.d.ts +0 -56
- package/ledger.d.ts.map +0 -1
- package/ledger.js +0 -224
- package/ledger.js.map +0 -1
- package/protocols/cloud/http-connection.d.ts +0 -25
- package/protocols/cloud/http-connection.d.ts.map +0 -1
- package/protocols/cloud/http-connection.js +0 -153
- package/protocols/cloud/http-connection.js.map +0 -1
- package/protocols/cloud/index.d.ts +0 -10
- package/protocols/cloud/index.d.ts.map +0 -1
- package/protocols/cloud/index.js +0 -10
- package/protocols/cloud/index.js.map +0 -1
- package/protocols/cloud/msg-raw-connection-base.d.ts +0 -16
- package/protocols/cloud/msg-raw-connection-base.d.ts.map +0 -1
- package/protocols/cloud/msg-raw-connection-base.js +0 -22
- package/protocols/cloud/msg-raw-connection-base.js.map +0 -1
- package/protocols/cloud/msg-types-data.d.ts +0 -36
- package/protocols/cloud/msg-types-data.d.ts.map +0 -1
- package/protocols/cloud/msg-types-data.js +0 -38
- package/protocols/cloud/msg-types-data.js.map +0 -1
- package/protocols/cloud/msg-types-meta.d.ts +0 -41
- package/protocols/cloud/msg-types-meta.d.ts.map +0 -1
- package/protocols/cloud/msg-types-meta.js +0 -98
- package/protocols/cloud/msg-types-meta.js.map +0 -1
- package/protocols/cloud/msg-types-wal.d.ts +0 -33
- package/protocols/cloud/msg-types-wal.d.ts.map +0 -1
- package/protocols/cloud/msg-types-wal.js +0 -38
- package/protocols/cloud/msg-types-wal.js.map +0 -1
- package/protocols/cloud/msg-types.d.ts +0 -279
- package/protocols/cloud/msg-types.d.ts.map +0 -1
- package/protocols/cloud/msg-types.js +0 -278
- package/protocols/cloud/msg-types.js.map +0 -1
- package/protocols/cloud/msger.d.ts +0 -79
- package/protocols/cloud/msger.d.ts.map +0 -1
- package/protocols/cloud/msger.js +0 -198
- package/protocols/cloud/msger.js.map +0 -1
- package/protocols/cloud/ws-connection.d.ts +0 -29
- package/protocols/cloud/ws-connection.d.ts.map +0 -1
- package/protocols/cloud/ws-connection.js +0 -163
- package/protocols/cloud/ws-connection.js.map +0 -1
- package/protocols/index.d.ts +0 -2
- package/protocols/index.d.ts.map +0 -1
- package/protocols/index.js +0 -2
- package/protocols/index.js.map +0 -1
- package/react/img-file.d.ts.map +0 -1
- package/react/img-file.js +0 -58
- package/react/img-file.js.map +0 -1
- package/react/index.d.ts.map +0 -1
- package/react/types.d.ts +0 -43
- package/react/types.d.ts.map +0 -1
- package/react/types.js +0 -2
- package/react/types.js.map +0 -1
- package/react/use-all-docs.d.ts +0 -4
- package/react/use-all-docs.d.ts.map +0 -1
- package/react/use-all-docs.js +0 -19
- package/react/use-all-docs.js.map +0 -1
- package/react/use-changes.d.ts +0 -4
- package/react/use-changes.d.ts.map +0 -1
- package/react/use-changes.js +0 -19
- package/react/use-changes.js.map +0 -1
- package/react/use-document.d.ts +0 -4
- package/react/use-document.d.ts.map +0 -1
- package/react/use-document.js +0 -99
- package/react/use-document.js.map +0 -1
- package/react/use-fireproof.d.ts +0 -6
- package/react/use-fireproof.d.ts.map +0 -1
- package/react/use-fireproof.js +0 -15
- package/react/use-fireproof.js.map +0 -1
- package/react/use-live-query.d.ts +0 -4
- package/react/use-live-query.d.ts.map +0 -1
- package/react/use-live-query.js +0 -38
- package/react/use-live-query.js.map +0 -1
- package/react/utils.d.ts +0 -2
- package/react/utils.d.ts.map +0 -1
- package/react/utils.js +0 -4
- package/react/utils.js.map +0 -1
- package/runtime/files.d.ts +0 -12
- package/runtime/files.d.ts.map +0 -1
- package/runtime/files.js +0 -29
- package/runtime/files.js.map +0 -1
- package/runtime/gateways/cloud/gateway.d.ts +0 -44
- package/runtime/gateways/cloud/gateway.d.ts.map +0 -1
- package/runtime/gateways/cloud/gateway.js +0 -496
- package/runtime/gateways/cloud/gateway.js.map +0 -1
- package/runtime/gateways/def-serde-gateway.d.ts +0 -19
- package/runtime/gateways/def-serde-gateway.d.ts.map +0 -1
- package/runtime/gateways/def-serde-gateway.js +0 -73
- package/runtime/gateways/def-serde-gateway.js.map +0 -1
- package/runtime/gateways/file/deno/deno-filesystem.d.ts +0 -27
- package/runtime/gateways/file/deno/deno-filesystem.d.ts.map +0 -1
- package/runtime/gateways/file/deno/deno-filesystem.js +0 -51
- package/runtime/gateways/file/deno/deno-filesystem.js.map +0 -1
- package/runtime/gateways/file/deno/get-sys-file-system.d.ts +0 -4
- package/runtime/gateways/file/deno/get-sys-file-system.d.ts.map +0 -1
- package/runtime/gateways/file/deno/get-sys-file-system.js +0 -11
- package/runtime/gateways/file/deno/get-sys-file-system.js.map +0 -1
- package/runtime/gateways/file/deno/index.d.ts +0 -2
- package/runtime/gateways/file/deno/index.d.ts.map +0 -1
- package/runtime/gateways/file/deno/index.js +0 -2
- package/runtime/gateways/file/deno/index.js.map +0 -1
- package/runtime/gateways/file/gateway-impl.d.ts +0 -18
- package/runtime/gateways/file/gateway-impl.d.ts.map +0 -1
- package/runtime/gateways/file/gateway-impl.js +0 -121
- package/runtime/gateways/file/gateway-impl.js.map +0 -1
- package/runtime/gateways/file/index.d.ts +0 -3
- package/runtime/gateways/file/index.d.ts.map +0 -1
- package/runtime/gateways/file/index.js +0 -3
- package/runtime/gateways/file/index.js.map +0 -1
- package/runtime/gateways/file/key-bag-file.d.ts +0 -19
- package/runtime/gateways/file/key-bag-file.d.ts.map +0 -1
- package/runtime/gateways/file/key-bag-file.js +0 -40
- package/runtime/gateways/file/key-bag-file.js.map +0 -1
- package/runtime/gateways/file/node/get-sys-file-system.d.ts +0 -4
- package/runtime/gateways/file/node/get-sys-file-system.d.ts.map +0 -1
- package/runtime/gateways/file/node/get-sys-file-system.js +0 -11
- package/runtime/gateways/file/node/get-sys-file-system.js.map +0 -1
- package/runtime/gateways/file/node/index.d.ts +0 -2
- package/runtime/gateways/file/node/index.d.ts.map +0 -1
- package/runtime/gateways/file/node/index.js +0 -2
- package/runtime/gateways/file/node/index.js.map +0 -1
- package/runtime/gateways/file/node/node-filesystem.d.ts +0 -32
- package/runtime/gateways/file/node/node-filesystem.d.ts.map +0 -1
- package/runtime/gateways/file/node/node-filesystem.js +0 -37
- package/runtime/gateways/file/node/node-filesystem.js.map +0 -1
- package/runtime/gateways/file/node/to-array-buffer.d.ts +0 -2
- package/runtime/gateways/file/node/to-array-buffer.d.ts.map +0 -1
- package/runtime/gateways/file/node/to-array-buffer.js +0 -12
- package/runtime/gateways/file/node/to-array-buffer.js.map +0 -1
- package/runtime/gateways/file/sys-file-system-factory.d.ts +0 -4
- package/runtime/gateways/file/sys-file-system-factory.d.ts.map +0 -1
- package/runtime/gateways/file/sys-file-system-factory.js +0 -13
- package/runtime/gateways/file/sys-file-system-factory.js.map +0 -1
- package/runtime/gateways/file/utils.d.ts +0 -5
- package/runtime/gateways/file/utils.d.ts.map +0 -1
- package/runtime/gateways/file/utils.js +0 -27
- package/runtime/gateways/file/utils.js.map +0 -1
- package/runtime/gateways/file/version.d.ts +0 -2
- package/runtime/gateways/file/version.d.ts.map +0 -1
- package/runtime/gateways/file/version.js +0 -2
- package/runtime/gateways/file/version.js.map +0 -1
- package/runtime/gateways/fp-envelope-serialize.d.ts +0 -50
- package/runtime/gateways/fp-envelope-serialize.d.ts.map +0 -1
- package/runtime/gateways/fp-envelope-serialize.js +0 -141
- package/runtime/gateways/fp-envelope-serialize.js.map +0 -1
- package/runtime/gateways/index.d.ts +0 -6
- package/runtime/gateways/index.d.ts.map +0 -1
- package/runtime/gateways/index.js +0 -6
- package/runtime/gateways/index.js.map +0 -1
- package/runtime/gateways/indexeddb/gateway-impl.d.ts +0 -22
- package/runtime/gateways/indexeddb/gateway-impl.d.ts.map +0 -1
- package/runtime/gateways/indexeddb/gateway-impl.js +0 -147
- package/runtime/gateways/indexeddb/gateway-impl.js.map +0 -1
- package/runtime/gateways/indexeddb/index.d.ts +0 -6
- package/runtime/gateways/indexeddb/index.d.ts.map +0 -1
- package/runtime/gateways/indexeddb/index.js +0 -6
- package/runtime/gateways/indexeddb/index.js.map +0 -1
- package/runtime/gateways/indexeddb/key-bag-indexeddb.d.ts +0 -15
- package/runtime/gateways/indexeddb/key-bag-indexeddb.d.ts.map +0 -1
- package/runtime/gateways/indexeddb/key-bag-indexeddb.js +0 -42
- package/runtime/gateways/indexeddb/key-bag-indexeddb.js.map +0 -1
- package/runtime/gateways/indexeddb-version.d.ts +0 -2
- package/runtime/gateways/indexeddb-version.d.ts.map +0 -1
- package/runtime/gateways/indexeddb-version.js +0 -2
- package/runtime/gateways/indexeddb-version.js.map +0 -1
- package/runtime/gateways/memory/gateway.d.ts +0 -18
- package/runtime/gateways/memory/gateway.d.ts.map +0 -1
- package/runtime/gateways/memory/gateway.js +0 -58
- package/runtime/gateways/memory/gateway.js.map +0 -1
- package/runtime/gateways/memory/version.d.ts +0 -2
- package/runtime/gateways/memory/version.d.ts.map +0 -1
- package/runtime/gateways/memory/version.js +0 -2
- package/runtime/gateways/memory/version.js.map +0 -1
- package/runtime/index.d.ts +0 -13
- package/runtime/index.d.ts.map +0 -1
- package/runtime/index.js +0 -13
- package/runtime/index.js.map +0 -1
- package/runtime/key-bag-memory.d.ts +0 -12
- package/runtime/key-bag-memory.d.ts.map +0 -1
- package/runtime/key-bag-memory.js +0 -23
- package/runtime/key-bag-memory.js.map +0 -1
- package/runtime/key-bag.d.ts +0 -85
- package/runtime/key-bag.d.ts.map +0 -1
- package/runtime/key-bag.js +0 -415
- package/runtime/key-bag.js.map +0 -1
- package/runtime/keyed-crypto.d.ts +0 -19
- package/runtime/keyed-crypto.d.ts.map +0 -1
- package/runtime/keyed-crypto.js +0 -192
- package/runtime/keyed-crypto.js.map +0 -1
- package/runtime/memory-sys-container.d.ts +0 -2
- package/runtime/memory-sys-container.d.ts.map +0 -1
- package/runtime/memory-sys-container.js +0 -2
- package/runtime/memory-sys-container.js.map +0 -1
- package/runtime/meta-key-hack.d.ts +0 -42
- package/runtime/meta-key-hack.d.ts.map +0 -1
- package/runtime/meta-key-hack.js +0 -201
- package/runtime/meta-key-hack.js.map +0 -1
- package/runtime/sts-service/index.d.ts +0 -40
- package/runtime/sts-service/index.d.ts.map +0 -1
- package/runtime/sts-service/index.js +0 -102
- package/runtime/sts-service/index.js.map +0 -1
- package/runtime/sys-container.d.ts +0 -2
- package/runtime/sys-container.d.ts.map +0 -1
- package/runtime/sys-container.js +0 -2
- package/runtime/sys-container.js.map +0 -1
- package/runtime/wait-pr-multiformats/block.d.ts +0 -47
- package/runtime/wait-pr-multiformats/block.d.ts.map +0 -1
- package/runtime/wait-pr-multiformats/block.js +0 -64
- package/runtime/wait-pr-multiformats/block.js.map +0 -1
- package/runtime/wait-pr-multiformats/codec-interface.d.ts +0 -29
- package/runtime/wait-pr-multiformats/codec-interface.d.ts.map +0 -1
- package/runtime/wait-pr-multiformats/codec-interface.js +0 -2
- package/runtime/wait-pr-multiformats/codec-interface.js.map +0 -1
- package/runtime/wait-pr-multiformats/index.d.ts +0 -3
- package/runtime/wait-pr-multiformats/index.d.ts.map +0 -1
- package/runtime/wait-pr-multiformats/index.js +0 -3
- package/runtime/wait-pr-multiformats/index.js.map +0 -1
- package/types.d.ts +0 -427
- package/types.d.ts.map +0 -1
- package/types.js +0 -54
- package/types.js.map +0 -1
- package/use-fireproof/index.d.ts +0 -3
- package/use-fireproof/index.d.ts.map +0 -1
- package/use-fireproof/index.js +0 -3
- package/use-fireproof/index.js.map +0 -1
- package/utils.d.ts +0 -36
- package/utils.d.ts.map +0 -1
- package/utils.js +0 -379
- package/utils.js.map +0 -1
- package/version.d.ts +0 -2
- package/version.d.ts.map +0 -1
- package/version.js +0 -4
- package/version.js.map +0 -1
- package/write-queue.d.ts +0 -9
- package/write-queue.d.ts.map +0 -1
- package/write-queue.js +0 -70
- package/write-queue.js.map +0 -1
package/blockstore/gateway.d.ts
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
import { Result, URI } from "@adviser/cement";
|
2
|
-
import type { NotFoundError } from "../utils.js";
|
3
|
-
import type { UnsubscribeResult, VoidResult } from "./serde-gateway.js";
|
4
|
-
import type { SuperThis } from "../types.js";
|
5
|
-
export interface GatewayOpts {
|
6
|
-
readonly gateway: Gateway;
|
7
|
-
}
|
8
|
-
export type GetResult = Result<Uint8Array, NotFoundError | Error>;
|
9
|
-
export interface Gateway {
|
10
|
-
buildUrl(baseUrl: URI, key: string, sthis: SuperThis): Promise<Result<URI>>;
|
11
|
-
start(baseUrl: URI, sthis: SuperThis): Promise<Result<URI>>;
|
12
|
-
close(baseUrl: URI, sthis: SuperThis): Promise<VoidResult>;
|
13
|
-
destroy(baseUrl: URI, sthis: SuperThis): Promise<VoidResult>;
|
14
|
-
put(url: URI, body: Uint8Array, sthis: SuperThis): Promise<VoidResult>;
|
15
|
-
get(url: URI, sthis: SuperThis): Promise<GetResult>;
|
16
|
-
delete(url: URI, sthis: SuperThis): Promise<VoidResult>;
|
17
|
-
subscribe?(url: URI, callback: (meta: Uint8Array) => void, sthis: SuperThis): Promise<UnsubscribeResult>;
|
18
|
-
getPlain(url: URI, key: string, sthis: SuperThis): Promise<Result<Uint8Array>>;
|
19
|
-
}
|
20
|
-
//# sourceMappingURL=gateway.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"gateway.d.ts","sourceRoot":"","sources":["../../../../src/blockstore/gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACxE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,UAAU,EAAE,aAAa,GAAG,KAAK,CAAC,CAAC;AASlE,MAAM,WAAW,OAAO;IAGtB,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAE5E,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;IAC5D,KAAK,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC3D,OAAO,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAC7D,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAEvE,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACpD,MAAM,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;IAExD,SAAS,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAEzG,QAAQ,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;CAChF"}
|
package/blockstore/gateway.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"gateway.js","sourceRoot":"","sources":["../../../../src/blockstore/gateway.ts"],"names":[],"mappings":""}
|
package/blockstore/index.d.ts
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
export * from "./types.js";
|
2
|
-
export * from "./store-factory.js";
|
3
|
-
export * from "./serde-gateway.js";
|
4
|
-
export * from "./gateway.js";
|
5
|
-
export * from "./fp-envelope.js";
|
6
|
-
export * from "./store-factory.js";
|
7
|
-
export * from "./interceptor-gateway.js";
|
8
|
-
export { createDbMetaEvent } from "./store.js";
|
9
|
-
export * from "./register-store-protocol.js";
|
10
|
-
export * from "./attachable-store.js";
|
11
|
-
export * from "./task-manager.js";
|
12
|
-
export * from "./uri-interceptor.js";
|
13
|
-
export { EncryptedBlockstore, BaseBlockstoreImpl, CompactionFetcher, type BlockFetcher, CarTransactionImpl, type CarTransactionOpts, } from "./transaction.js";
|
14
|
-
export { Loader } from "./loader.js";
|
15
|
-
export { parseCarFile } from "./loader-helpers.js";
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/blockstore/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAE7B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,cAAc,8BAA8B,CAAC;AAE7C,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAElC,cAAc,sBAAsB,CAAC;AAErC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,KAAK,YAAY,EACjB,kBAAkB,EAClB,KAAK,kBAAkB,GACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
package/blockstore/index.js
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
export * from "./types.js";
|
2
|
-
export * from "./store-factory.js";
|
3
|
-
export * from "./serde-gateway.js";
|
4
|
-
export * from "./gateway.js";
|
5
|
-
export * from "./fp-envelope.js";
|
6
|
-
export * from "./store-factory.js";
|
7
|
-
export * from "./interceptor-gateway.js";
|
8
|
-
export { createDbMetaEvent } from "./store.js";
|
9
|
-
export * from "./register-store-protocol.js";
|
10
|
-
export * from "./attachable-store.js";
|
11
|
-
export * from "./task-manager.js";
|
12
|
-
export * from "./uri-interceptor.js";
|
13
|
-
export { EncryptedBlockstore, BaseBlockstoreImpl, CompactionFetcher, CarTransactionImpl, } from "./transaction.js";
|
14
|
-
export { Loader } from "./loader.js";
|
15
|
-
export { parseCarFile } from "./loader-helpers.js";
|
16
|
-
//# sourceMappingURL=index.js.map
|
package/blockstore/index.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/blockstore/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAE3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAE7B,cAAc,kBAAkB,CAAC;AAEjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AAEzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE/C,cAAc,8BAA8B,CAAC;AAE7C,cAAc,uBAAuB,CAAC;AAEtC,cAAc,mBAAmB,CAAC;AAElC,cAAc,sBAAsB,CAAC;AAErC,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,kBAAkB,GAEnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC"}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { Result, URI } from "@adviser/cement";
|
2
|
-
import type { SerdeGateway, SerdeGatewayBuildUrlReturn, SerdeGatewayCloseReturn, SerdeGatewayCtx, SerdeGatewayDeleteReturn, SerdeGatewayDestroyReturn, SerdeGatewayGetReturn, SerdeGatewayInterceptor, SerdeGatewayPutReturn, SerdeGatewayStartReturn, SerdeGatewaySubscribeReturn, SerdeGetResult, UnsubscribeResult, VoidResult } from "./serde-gateway.js";
|
3
|
-
import type { SuperThis } from "../types.js";
|
4
|
-
import { FPEnvelope, FPEnvelopeMeta } from "./fp-envelope.js";
|
5
|
-
export declare class PassThroughGateway implements SerdeGatewayInterceptor {
|
6
|
-
buildUrl(ctx: SerdeGatewayCtx, url: URI, key: string): Promise<Result<SerdeGatewayBuildUrlReturn>>;
|
7
|
-
start(ctx: SerdeGatewayCtx, url: URI): Promise<Result<SerdeGatewayStartReturn>>;
|
8
|
-
close(ctx: SerdeGatewayCtx, url: URI): Promise<Result<SerdeGatewayCloseReturn>>;
|
9
|
-
delete(ctx: SerdeGatewayCtx, url: URI): Promise<Result<SerdeGatewayDeleteReturn>>;
|
10
|
-
destroy(ctx: SerdeGatewayCtx, url: URI): Promise<Result<SerdeGatewayDestroyReturn>>;
|
11
|
-
put<T>(ctx: SerdeGatewayCtx, url: URI, body: FPEnvelope<T>): Promise<Result<SerdeGatewayPutReturn<T>>>;
|
12
|
-
get<S>(ctx: SerdeGatewayCtx, url: URI): Promise<Result<SerdeGatewayGetReturn<S>>>;
|
13
|
-
subscribe(ctx: SerdeGatewayCtx, url: URI, callback: (meta: FPEnvelopeMeta) => Promise<void>): Promise<Result<SerdeGatewaySubscribeReturn>>;
|
14
|
-
}
|
15
|
-
export declare class InterceptorGateway implements SerdeGateway {
|
16
|
-
readonly innerGW: SerdeGateway;
|
17
|
-
readonly interceptor: SerdeGatewayInterceptor;
|
18
|
-
constructor(sthis: SuperThis, innerGW: SerdeGateway, interceptor: SerdeGatewayInterceptor | undefined);
|
19
|
-
buildUrl(ctx: SerdeGatewayCtx, baseUrl: URI, key: string): Promise<Result<URI>>;
|
20
|
-
destroy(ctx: SerdeGatewayCtx, iurl: URI): Promise<Result<void>>;
|
21
|
-
start(ctx: SerdeGatewayCtx, url: URI): Promise<Result<URI>>;
|
22
|
-
close(ctx: SerdeGatewayCtx, url: URI): Promise<VoidResult>;
|
23
|
-
put<T>(ctx: SerdeGatewayCtx, url: URI, fpEnv: FPEnvelope<T>): Promise<VoidResult>;
|
24
|
-
get<S>(ctx: SerdeGatewayCtx, url: URI): Promise<SerdeGetResult<S>>;
|
25
|
-
subscribe(ctx: SerdeGatewayCtx, url: URI, callback: (msg: FPEnvelopeMeta) => Promise<void>): Promise<UnsubscribeResult>;
|
26
|
-
delete(ctx: SerdeGatewayCtx, url: URI): Promise<VoidResult>;
|
27
|
-
getPlain(ctx: SerdeGatewayCtx, url: URI, key: string): Promise<Result<Uint8Array>>;
|
28
|
-
}
|
29
|
-
//# sourceMappingURL=interceptor-gateway.d.ts.map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AU,CAAC;IAYjF,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAYlE,SAAS,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAevH,MAAM,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,UAAU,CAAC;IAY3D,QAAQ,CAAC,GAAG,EAAE,eAAe,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;CAGzF"}
|
@@ -1,137 +0,0 @@
|
|
1
|
-
import { Result } from "@adviser/cement";
|
2
|
-
export class PassThroughGateway {
|
3
|
-
async buildUrl(ctx, url, key) {
|
4
|
-
const op = { url, key };
|
5
|
-
return Result.Ok({ op });
|
6
|
-
}
|
7
|
-
async start(ctx, url) {
|
8
|
-
const op = { url };
|
9
|
-
return Result.Ok({ op });
|
10
|
-
}
|
11
|
-
async close(ctx, url) {
|
12
|
-
const op = { url };
|
13
|
-
return Result.Ok({ op });
|
14
|
-
}
|
15
|
-
async delete(ctx, url) {
|
16
|
-
const op = { url };
|
17
|
-
return Result.Ok({ op });
|
18
|
-
}
|
19
|
-
async destroy(ctx, url) {
|
20
|
-
const op = { url };
|
21
|
-
return Result.Ok({ op });
|
22
|
-
}
|
23
|
-
async put(ctx, url, body) {
|
24
|
-
const op = { url, body };
|
25
|
-
return Result.Ok({ op });
|
26
|
-
}
|
27
|
-
async get(ctx, url) {
|
28
|
-
const op = { url };
|
29
|
-
return Result.Ok({ op });
|
30
|
-
}
|
31
|
-
async subscribe(ctx, url, callback) {
|
32
|
-
const op = { url, callback };
|
33
|
-
return Result.Ok({ op });
|
34
|
-
}
|
35
|
-
}
|
36
|
-
const passThrougthGateway = new PassThroughGateway();
|
37
|
-
export class InterceptorGateway {
|
38
|
-
constructor(sthis, innerGW, interceptor) {
|
39
|
-
this.innerGW = innerGW;
|
40
|
-
this.interceptor = interceptor || passThrougthGateway;
|
41
|
-
}
|
42
|
-
async buildUrl(ctx, baseUrl, key) {
|
43
|
-
const rret = await this.interceptor.buildUrl(ctx, baseUrl, key);
|
44
|
-
if (rret.isErr()) {
|
45
|
-
return Result.Err(rret.Err());
|
46
|
-
}
|
47
|
-
const ret = rret.unwrap();
|
48
|
-
if (ret.stop && ret.value) {
|
49
|
-
return ret.value;
|
50
|
-
}
|
51
|
-
return this.innerGW.buildUrl(ctx, ret.op.url, ret.op.key);
|
52
|
-
}
|
53
|
-
async destroy(ctx, iurl) {
|
54
|
-
const rret = await this.interceptor.destroy(ctx, iurl);
|
55
|
-
if (rret.isErr()) {
|
56
|
-
return Result.Err(rret.Err());
|
57
|
-
}
|
58
|
-
const ret = rret.unwrap();
|
59
|
-
if (ret.stop && ret.value) {
|
60
|
-
return ret.value;
|
61
|
-
}
|
62
|
-
return this.innerGW.destroy(ctx, ret.op.url);
|
63
|
-
}
|
64
|
-
async start(ctx, url) {
|
65
|
-
const rret = await this.interceptor.start(ctx, url);
|
66
|
-
if (rret.isErr()) {
|
67
|
-
return Result.Err(rret.Err());
|
68
|
-
}
|
69
|
-
const ret = rret.unwrap();
|
70
|
-
if (ret.stop && ret.value) {
|
71
|
-
return ret.value;
|
72
|
-
}
|
73
|
-
return await this.innerGW.start(ctx, ret.op.url);
|
74
|
-
}
|
75
|
-
async close(ctx, url) {
|
76
|
-
const rret = await this.interceptor.close(ctx, url);
|
77
|
-
if (rret.isErr()) {
|
78
|
-
return Result.Err(rret.Err());
|
79
|
-
}
|
80
|
-
const ret = rret.unwrap();
|
81
|
-
if (ret.stop && ret.value) {
|
82
|
-
return ret.value;
|
83
|
-
}
|
84
|
-
return await this.innerGW.close(ctx, ret.op.url);
|
85
|
-
}
|
86
|
-
async put(ctx, url, fpEnv) {
|
87
|
-
const rret = await this.interceptor.put(ctx, url, fpEnv);
|
88
|
-
if (rret.isErr()) {
|
89
|
-
return Result.Err(rret.Err());
|
90
|
-
}
|
91
|
-
const ret = rret.unwrap();
|
92
|
-
if (ret.stop && ret.value) {
|
93
|
-
return ret.value;
|
94
|
-
}
|
95
|
-
return this.innerGW.put(ctx, ret.op.url, ret.op.body);
|
96
|
-
}
|
97
|
-
async get(ctx, url) {
|
98
|
-
const rret = await this.interceptor.get(ctx, url);
|
99
|
-
if (rret.isErr()) {
|
100
|
-
return Result.Err(rret.Err());
|
101
|
-
}
|
102
|
-
const ret = rret.unwrap();
|
103
|
-
if (ret.stop && ret.value) {
|
104
|
-
return ret.value;
|
105
|
-
}
|
106
|
-
return this.innerGW.get(ctx, ret.op.url);
|
107
|
-
}
|
108
|
-
async subscribe(ctx, url, callback) {
|
109
|
-
if (!this.innerGW.subscribe) {
|
110
|
-
return Result.Err(ctx.loader.sthis.logger.Error().Url(url).Msg("subscribe not supported").AsError());
|
111
|
-
}
|
112
|
-
const rret = await this.interceptor.subscribe(ctx, url, callback);
|
113
|
-
if (rret.isErr()) {
|
114
|
-
return Result.Err(rret.Err());
|
115
|
-
}
|
116
|
-
const ret = rret.unwrap();
|
117
|
-
if (ret.stop && ret.value) {
|
118
|
-
return ret.value;
|
119
|
-
}
|
120
|
-
return this.innerGW.subscribe(ctx, ret.op.url, ret.op.callback);
|
121
|
-
}
|
122
|
-
async delete(ctx, url) {
|
123
|
-
const rret = await this.interceptor.delete(ctx, url);
|
124
|
-
if (rret.isErr()) {
|
125
|
-
return Result.Err(rret.Err());
|
126
|
-
}
|
127
|
-
const ret = rret.unwrap();
|
128
|
-
if (ret.stop && ret.value) {
|
129
|
-
return ret.value;
|
130
|
-
}
|
131
|
-
return this.innerGW.delete(ctx, url);
|
132
|
-
}
|
133
|
-
async getPlain(ctx, url, key) {
|
134
|
-
return this.innerGW.getPlain(ctx, url, key);
|
135
|
-
}
|
136
|
-
}
|
137
|
-
//# sourceMappingURL=interceptor-gateway.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"interceptor-gateway.js","sourceRoot":"","sources":["../../../../src/blockstore/interceptor-gateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAO,MAAM,iBAAiB,CAAC;AAoB9C,MAAM,OAAO,kBAAkB;IAC7B,KAAK,CAAC,QAAQ,CAAC,GAAoB,EAAE,GAAQ,EAAE,GAAW;QACxD,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QACxB,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,GAAoB,EAAE,GAAQ;QACxC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,GAAoB,EAAE,GAAQ;QACxC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,GAAoB,EAAE,GAAQ;QACzC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,GAAoB,EAAE,GAAQ;QAC1C,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC3B,CAAC;IACD,KAAK,CAAC,GAAG,CAAI,GAAoB,EAAE,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AM,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CA2BjG"}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { decode } from "../runtime/wait-pr-multiformats/block.js";
|
2
|
-
import { sha256 as hasher } from "multiformats/hashes/sha2";
|
3
|
-
import * as dagCodec from "@ipld/dag-cbor";
|
4
|
-
export async function parseCarFile(reader, logger) {
|
5
|
-
const roots = await reader.roots;
|
6
|
-
const header = reader.blocks.find((i) => i.cid.equals(roots[0]));
|
7
|
-
if (!header)
|
8
|
-
throw logger.Error().Msg("missing header block").AsError();
|
9
|
-
const dec = await decode({ bytes: header.bytes, hasher, codec: dagCodec });
|
10
|
-
const fpvalue = dec.value;
|
11
|
-
if (fpvalue && !fpvalue.fp) {
|
12
|
-
throw logger.Error().Msg("missing fp").AsError();
|
13
|
-
}
|
14
|
-
return fpvalue.fp;
|
15
|
-
}
|
16
|
-
//# sourceMappingURL=loader-helpers.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"loader-helpers.js","sourceRoot":"","sources":["../../../../src/blockstore/loader-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,0CAA0C,CAAC;AAClE,OAAO,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AA2B3C,MAAM,CAAC,KAAK,UAAU,YAAY,CAAI,MAAoB,EAAE,MAAc;IACxE,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC;IACjC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACjE,IAAI,CAAC,MAAM;QAAE,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC,OAAO,EAAE,CAAC;IACxE,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;IAiB3E,MAAM,OAAO,GAAG,GAAG,CAAC,KAAsB,CAAC;IAE3C,IAAI,OAAO,IAAI,CAAC,OAAO,CAAC,EAAE,EAAE,CAAC;QAC3B,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,OAAO,EAAE,CAAC;IACnD,CAAC;IACD,OAAO,OAAO,CAAC,EAAE,CAAC;AACpB,CAAC"}
|
package/blockstore/loader.d.ts
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { Logger, LRUSet } from "@adviser/cement";
|
2
|
-
import { type AnyBlock, type AnyLink, type CarHeader, type CommitOpts, type TransactionMeta, type CarGroup, type Loadable, BlockstoreRuntime, BlockstoreOpts, AttachedStores, ActiveStore, CIDActiveStore, CarCacheItem, CarLog, FroozenCarLog } from "./types.js";
|
3
|
-
import { CommitQueue } from "./commit-queue.js";
|
4
|
-
import { type Attachable, type Attached, type CarTransaction, type DbMeta, type Falsy, type SuperThis } from "../types.js";
|
5
|
-
import { KeyBag } from "../runtime/key-bag.js";
|
6
|
-
import { TaskManager } from "./task-manager.js";
|
7
|
-
export declare function carLogIncludesGroup(list: FroozenCarLog, cids: CarGroup): boolean;
|
8
|
-
export declare class Loader implements Loadable {
|
9
|
-
readonly ebOpts: BlockstoreRuntime;
|
10
|
-
readonly logger: Logger;
|
11
|
-
readonly commitQueue: CommitQueue<CarGroup>;
|
12
|
-
isCompacting: boolean;
|
13
|
-
private readonly cidCache;
|
14
|
-
private readonly maxConcurrentCarReader;
|
15
|
-
private readonly maxConcurrentWrite;
|
16
|
-
readonly seenCompacted: LRUSet<string>;
|
17
|
-
readonly sthis: SuperThis;
|
18
|
-
readonly taskManager: TaskManager;
|
19
|
-
readonly carLog: CarLog;
|
20
|
-
readonly attachedStores: AttachedStores;
|
21
|
-
attach(attached: Attachable): Promise<Attached>;
|
22
|
-
private seenMeta;
|
23
|
-
keyBag(): Promise<KeyBag>;
|
24
|
-
private readonly onceReady;
|
25
|
-
ready(): Promise<void>;
|
26
|
-
close(): Promise<void>;
|
27
|
-
destroy(): Promise<void>;
|
28
|
-
constructor(sthis: SuperThis, ebOpts: BlockstoreOpts);
|
29
|
-
handleDbMetasFromStore(metas: DbMeta[], activeStore: ActiveStore): Promise<void>;
|
30
|
-
mergeDbMetaIntoClock(meta: DbMeta, activeStore: ActiveStore): Promise<void>;
|
31
|
-
loadCarHeaderFromMeta<T>(dbm: DbMeta, astore: ActiveStore): Promise<CarHeader<T>>;
|
32
|
-
commitFiles(t: CarTransaction, done: TransactionMeta): Promise<CarGroup>;
|
33
|
-
loadFileCar(cid: AnyLink, store: ActiveStore): Promise<CarCacheItem>;
|
34
|
-
commit<T = TransactionMeta>(t: CarTransaction, done: T, opts?: CommitOpts): Promise<CarGroup>;
|
35
|
-
updateCarLog<T>(cids: CarGroup, cHeader: CarHeader<T>, compact: boolean): Promise<void>;
|
36
|
-
cacheTransaction(t: CarTransaction): Promise<void>;
|
37
|
-
removeCidsForCompact(cid: AnyLink, store: ActiveStore): Promise<void>;
|
38
|
-
entries(): AsyncIterableIterator<AnyBlock>;
|
39
|
-
getBlock(cid: AnyLink, store: ActiveStore): Promise<AnyBlock | Falsy>;
|
40
|
-
loadCar(cid: AnyLink, store: ActiveStore): Promise<CarCacheItem>;
|
41
|
-
private makeDecoderAndCarReader;
|
42
|
-
protected storesLoadCar(carCid: AnyLink, store: CIDActiveStore): Promise<CarCacheItem>;
|
43
|
-
protected getMoreReaders(cids: AnyLink[], store: ActiveStore): Promise<void>;
|
44
|
-
}
|
45
|
-
//# sourceMappingURL=loader.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":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