@dxos/echo-pipeline 0.1.30-next.a4f4fa5 → 0.1.30
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/dist/lib/browser/{chunk-L44NG4N6.mjs → chunk-QMDRF3NL.mjs} +72 -37
- package/dist/lib/browser/{chunk-L44NG4N6.mjs.map → chunk-QMDRF3NL.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +23 -14
- package/dist/lib/browser/testing/index.mjs.map +3 -3
- package/dist/lib/node/index.cjs +68 -33
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +49 -43
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/dbhost/data-service-host.d.ts.map +1 -1
- package/dist/types/src/dbhost/database-backend.d.ts +2 -2
- package/dist/types/src/dbhost/database-backend.d.ts.map +1 -1
- package/dist/types/src/space/genesis.d.ts.map +1 -1
- package/dist/types/src/testing/test-agent-builder.d.ts +4 -3
- package/dist/types/src/testing/test-agent-builder.d.ts.map +1 -1
- package/dist/types/src/testing/util.d.ts.map +1 -1
- package/package.json +29 -29
- package/src/dbhost/data-service-host.ts +19 -25
- package/src/dbhost/database-backend.ts +1 -1
- package/src/pipeline/pipeline.test.ts +12 -4
- package/src/space/data-pipeline-controller.ts +1 -1
- package/src/space/genesis.ts +47 -7
- package/src/space/space-protocol.browser.test.ts +8 -6
- package/src/space/space-protocol.test.ts +8 -6
- package/src/testing/database-test-rig.ts +1 -1
- package/src/testing/test-agent-builder.ts +13 -7
- package/src/testing/util.ts +11 -7
- package/src/tests/database-unit.test.ts +25 -0
- package/src/tests/database.test.ts +5 -5
package/dist/lib/node/meta.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytes":5163,"imports":[]},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytes":370,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/errors.ts","kind":"import-statement","original":"./errors"}]},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":17497,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":394,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}]},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1539,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":1616,"imports":[{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":450,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/core/echo/echo-pipeline/src/common/feeds.ts","kind":"import-statement","original":"./feeds"}]},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3445,"imports":[{"path":"debug","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":7134,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":24434,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts","kind":"import-statement","original":"./message-selector"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}]},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":620,"imports":[{"path":"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}]},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":9584,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":12494,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":20255,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":21654,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}]},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":9009,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"}]},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytes":3658,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":10886,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytes":5569,"imports":[{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytes":6969,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":4640,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytes":6382,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytes":823,"imports":[{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts","kind":"import-statement","original":"./database-backend"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts","kind":"import-statement","original":"./data-service"}]},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytes":25424,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":867,"imports":[{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-manager.ts","kind":"import-statement","original":"./space-manager"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/space/genesis.ts","kind":"import-statement","original":"./genesis"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts","kind":"import-statement","original":"./data-pipeline-controller"}]},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":795,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/index.ts","kind":"import-statement","original":"./errors"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"./metadata"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"./dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1362,"imports":[{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}]},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":22766,"imports":[{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-presence","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts","kind":"import-statement","original":"../space/data-pipeline-controller"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"}]},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytes":8588,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":591,"imports":[{"path":"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts","kind":"import-statement","original":"./test-agent-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/util.ts","kind":"import-statement","original":"./util"}]}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":97042},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1589},"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytesInOutput":1196},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5278},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":5914},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2794},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5857},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3566},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2359},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":924},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytesInOutput":7180},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2655},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2213},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1099},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1741}},"bytes":58716},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":110548},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/messaging","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-presence","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":551},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":5485},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2648},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2205},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1097},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1733},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5298},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5857},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":5916},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3568},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2361},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":182},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytesInOutput":7086},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2239}},"bytes":63232}}}
|
|
1
|
+
{"inputs":{"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytes":5163,"imports":[]},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytes":370,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/errors.ts","kind":"import-statement","original":"./errors"}]},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytes":17497,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytes":394,"imports":[{"path":"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts","kind":"import-statement","original":"./metadata-store"}]},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytes":1539,"imports":[{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytes":1616,"imports":[{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytes":450,"imports":[{"path":"packages/core/echo/echo-pipeline/src/common/codec.ts","kind":"import-statement","original":"./codec"},{"path":"packages/core/echo/echo-pipeline/src/common/feeds.ts","kind":"import-statement","original":"./feeds"}]},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytes":3445,"imports":[{"path":"debug","kind":"import-statement","external":true},{"path":"node:assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":7134,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytes":24434,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/feed-store","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts","kind":"import-statement","original":"./message-selector"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}]},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytes":620,"imports":[{"path":"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts","kind":"import-statement","original":"./timeframe-clock"}]},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytes":9584,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytes":12494,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytes":20255,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"../pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts","kind":"import-statement","original":"./control-pipeline"}]},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytes":21654,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/teleport","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"}]},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytes":9009,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"}]},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytes":7356,"imports":[{"path":"@dxos/credentials","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytes":10295,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/codec-protobuf","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytes":5565,"imports":[{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytes":6969,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytes":4640,"imports":[{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytes":6382,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytes":823,"imports":[{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts","kind":"import-statement","original":"./data-service-host"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts","kind":"import-statement","original":"./database-backend"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts","kind":"import-statement","original":"./snapshot-manager"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts","kind":"import-statement","original":"./snapshot-store"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts","kind":"import-statement","original":"./data-service"}]},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytes":25424,"imports":[{"path":"node:assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/debug","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytes":867,"imports":[{"path":"packages/core/echo/echo-pipeline/src/space/auth.ts","kind":"import-statement","original":"./auth"},{"path":"packages/core/echo/echo-pipeline/src/space/space.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/space/space-manager.ts","kind":"import-statement","original":"./space-manager"},{"path":"packages/core/echo/echo-pipeline/src/space/space-protocol.ts","kind":"import-statement","original":"./space-protocol"},{"path":"packages/core/echo/echo-pipeline/src/space/genesis.ts","kind":"import-statement","original":"./genesis"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts","kind":"import-statement","original":"./data-pipeline-controller"}]},"packages/core/echo/echo-pipeline/src/index.ts":{"bytes":795,"imports":[{"path":"packages/core/echo/echo-pipeline/src/errors/index.ts","kind":"import-statement","original":"./errors"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"./metadata"},{"path":"packages/core/echo/echo-pipeline/src/pipeline/index.ts","kind":"import-statement","original":"./pipeline"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"./space"},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"./common"},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"./dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytes":1362,"imports":[{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/common/index.ts","kind":"import-statement","original":"../common"}]},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytes":23207,"imports":[{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/messaging","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/network-manager","kind":"import-statement","external":true},{"path":"@dxos/random-access-storage","kind":"import-statement","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"},{"path":"packages/core/echo/echo-pipeline/src/metadata/index.ts","kind":"import-statement","original":"../metadata"},{"path":"packages/core/echo/echo-pipeline/src/space/index.ts","kind":"import-statement","original":"../space"},{"path":"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts","kind":"import-statement","original":"../space/data-pipeline-controller"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"}]},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytes":8914,"imports":[{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/document-model","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/model-factory","kind":"import-statement","external":true},{"path":"@dxos/timeframe","kind":"import-statement","external":true},{"path":"packages/core/echo/echo-pipeline/src/dbhost/index.ts","kind":"import-statement","original":"../dbhost"}]},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytes":591,"imports":[{"path":"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts","kind":"import-statement","original":"./test-agent-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts","kind":"import-statement","original":"./test-feed-builder"},{"path":"packages/core/echo/echo-pipeline/src/testing/util.ts","kind":"import-statement","original":"./util"}]}},"outputs":{"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":98518},"packages/core/echo/echo-pipeline/dist/lib/node/index.cjs":{"imports":[{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/index.ts":{"bytesInOutput":1589},"packages/core/echo/echo-pipeline/src/errors/errors.ts":{"bytesInOutput":1196},"packages/core/echo/echo-pipeline/src/errors/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5278},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":5914},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":514},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2794},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5857},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3566},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2359},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":2052},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytesInOutput":7180},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2492},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2213},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1099},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1741}},"bytes":59681},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":111787},"packages/core/echo/echo-pipeline/dist/lib/node/testing/index.cjs":{"imports":[{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/messaging","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/random-access-storage","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-gossip","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/codec-protobuf","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-object-sync","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/feed-store","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/hypercore","kind":"require-call","external":true},{"path":"@dxos/protocols","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"debug","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/crypto","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/network-manager","kind":"require-call","external":true},{"path":"@dxos/teleport","kind":"require-call","external":true},{"path":"@dxos/teleport-extension-replicator","kind":"require-call","external":true},{"path":"@dxos/util","kind":"require-call","external":true},{"path":"@dxos/credentials","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/protocols/proto/dxos/halo/credentials","kind":"require-call","external":true},{"path":"node:assert","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/context","kind":"require-call","external":true},{"path":"@dxos/debug","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/log","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/async","kind":"require-call","external":true},{"path":"@dxos/document-model","kind":"require-call","external":true},{"path":"@dxos/echo-db","kind":"require-call","external":true},{"path":"@dxos/feed-store/testing","kind":"require-call","external":true},{"path":"@dxos/keys","kind":"require-call","external":true},{"path":"@dxos/model-factory","kind":"require-call","external":true},{"path":"@dxos/timeframe","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":551},"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":5623},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2486},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":1002},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2205},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1097},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1733},"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5298},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2796},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5857},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":5916},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":257},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":283},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":516},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2421},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3568},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2361},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":6148},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":182},"packages/core/echo/echo-pipeline/src/space/data-pipeline-controller.ts":{"bytesInOutput":7086},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":188},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2317}},"bytes":63286}}}
|
|
@@ -48,7 +48,7 @@ var import_messaging = require("@dxos/messaging");
|
|
|
48
48
|
var import_model_factory = require("@dxos/model-factory");
|
|
49
49
|
var import_network_manager2 = require("@dxos/network-manager");
|
|
50
50
|
var import_random_access_storage = require("@dxos/random-access-storage");
|
|
51
|
-
var
|
|
51
|
+
var import_teleport_extension_gossip = require("@dxos/teleport-extension-gossip");
|
|
52
52
|
var import_util7 = require("@dxos/util");
|
|
53
53
|
|
|
54
54
|
// packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts
|
|
@@ -75,56 +75,53 @@ var DataServiceHost = class {
|
|
|
75
75
|
objects
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
this._itemDemuxer.mutation.on(ctx, (
|
|
78
|
+
this._itemDemuxer.mutation.on(ctx, (message) => {
|
|
79
79
|
var _a;
|
|
80
|
+
const { batch, meta } = message;
|
|
80
81
|
(0, import_log.log)("Object update", {
|
|
81
|
-
|
|
82
|
+
batch,
|
|
83
|
+
meta
|
|
82
84
|
}, {
|
|
83
85
|
file: "data-service-host.ts",
|
|
84
|
-
line:
|
|
86
|
+
line: 50,
|
|
85
87
|
scope: this,
|
|
86
88
|
callSite: (f, a) => f(...a)
|
|
87
89
|
});
|
|
88
90
|
const clientTag = this._clientTagMap.get([
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
message.meta.feedKey,
|
|
92
|
+
message.meta.seq
|
|
91
93
|
]);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
...mutation.data,
|
|
96
|
-
mutations: (_a = mutation.data.mutations) == null ? void 0 : _a.map((m, mutationIdx) => ({
|
|
97
|
-
...m,
|
|
98
|
-
meta: mutation.meta
|
|
99
|
-
})),
|
|
100
|
-
meta: mutation.meta
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
};
|
|
94
|
+
(_a = batch.objects) == null ? void 0 : _a.forEach((object) => {
|
|
95
|
+
(0, import_echo_db.setMetadataOnObject)(object, meta);
|
|
96
|
+
});
|
|
104
97
|
if (clientTag) {
|
|
105
98
|
(0, import_echo_db.tagMutationsInBatch)(batch, clientTag);
|
|
106
99
|
}
|
|
107
100
|
next({
|
|
108
101
|
clientTag,
|
|
109
|
-
feedKey:
|
|
110
|
-
seq:
|
|
102
|
+
feedKey: message.meta.feedKey,
|
|
103
|
+
seq: message.meta.seq,
|
|
111
104
|
batch
|
|
112
105
|
});
|
|
113
106
|
});
|
|
114
107
|
});
|
|
115
108
|
}
|
|
116
109
|
async write(request) {
|
|
117
|
-
var _a
|
|
110
|
+
var _a;
|
|
118
111
|
(0, import_node_assert.default)(this._writeStream, "Cannot write mutations in readonly mode");
|
|
119
|
-
(0, import_node_assert.default)(((_a = request.batch.objects) == null ? void 0 : _a.length) === 1, "Only single object mutations are supported");
|
|
120
112
|
const receipt = await this._writeStream.write({
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
113
|
+
batch: {
|
|
114
|
+
objects: (_a = request.batch.objects) == null ? void 0 : _a.map((object) => {
|
|
115
|
+
var _a2;
|
|
116
|
+
return {
|
|
117
|
+
...object,
|
|
118
|
+
mutations: (_a2 = object.mutations) == null ? void 0 : _a2.map((m) => ({
|
|
119
|
+
...m,
|
|
120
|
+
meta: void 0
|
|
121
|
+
})),
|
|
122
|
+
meta: void 0
|
|
123
|
+
};
|
|
124
|
+
})
|
|
128
125
|
}
|
|
129
126
|
});
|
|
130
127
|
if (request.clientTag) {
|
|
@@ -1582,7 +1579,7 @@ var DataPipelineControllerImpl = class DataPipelineControllerImpl2 {
|
|
|
1582
1579
|
continue;
|
|
1583
1580
|
}
|
|
1584
1581
|
await this.databaseBackend.echoProcessor({
|
|
1585
|
-
|
|
1582
|
+
batch: data.payload.data.batch,
|
|
1586
1583
|
meta: {
|
|
1587
1584
|
feedKey,
|
|
1588
1585
|
seq,
|
|
@@ -1732,7 +1729,7 @@ var TestAgent = class {
|
|
|
1732
1729
|
dataPipelineController
|
|
1733
1730
|
];
|
|
1734
1731
|
}
|
|
1735
|
-
createSpaceProtocol(topic,
|
|
1732
|
+
createSpaceProtocol(topic, gossip) {
|
|
1736
1733
|
return new SpaceProtocol({
|
|
1737
1734
|
topic,
|
|
1738
1735
|
swarmIdentity: {
|
|
@@ -1742,18 +1739,23 @@ var TestAgent = class {
|
|
|
1742
1739
|
},
|
|
1743
1740
|
networkManager: this._networkManagerProvider(),
|
|
1744
1741
|
onSessionAuth: (session) => {
|
|
1745
|
-
session.addExtension("dxos.mesh.teleport.
|
|
1742
|
+
session.addExtension("dxos.mesh.teleport.gossip", (gossip != null ? gossip : this.createGossip()).createExtension({
|
|
1746
1743
|
remotePeerId: session.remotePeerId
|
|
1747
1744
|
}));
|
|
1748
1745
|
}
|
|
1749
1746
|
});
|
|
1750
1747
|
}
|
|
1751
|
-
|
|
1752
|
-
return new
|
|
1753
|
-
localPeerId: this.deviceKey
|
|
1748
|
+
createGossip() {
|
|
1749
|
+
return new import_teleport_extension_gossip.Gossip({
|
|
1750
|
+
localPeerId: this.deviceKey
|
|
1751
|
+
});
|
|
1752
|
+
}
|
|
1753
|
+
createPresence(gossip) {
|
|
1754
|
+
return new import_teleport_extension_gossip.Presence({
|
|
1754
1755
|
announceInterval: 30,
|
|
1755
1756
|
offlineTimeout: 200,
|
|
1756
|
-
identityKey: this.identityKey
|
|
1757
|
+
identityKey: this.identityKey,
|
|
1758
|
+
gossip: gossip != null ? gossip : this.createGossip()
|
|
1757
1759
|
});
|
|
1758
1760
|
}
|
|
1759
1761
|
};
|
|
@@ -1770,7 +1772,7 @@ var createMemoryDatabase = async (modelFactory) => {
|
|
|
1770
1772
|
const feed = new import_testing2.MockFeedWriter();
|
|
1771
1773
|
const backend = new DatabaseBackendHost(feed, void 0);
|
|
1772
1774
|
feed.written.on(([data, meta]) => backend.echoProcessor({
|
|
1773
|
-
|
|
1775
|
+
batch: data.batch,
|
|
1774
1776
|
meta: {
|
|
1775
1777
|
...meta,
|
|
1776
1778
|
memberKey: import_keys7.PublicKey.random(),
|
|
@@ -1806,14 +1808,18 @@ var testLocalDatabase = async (create, check = create) => {
|
|
|
1806
1808
|
var _a;
|
|
1807
1809
|
const objectId = import_keys7.PublicKey.random().toHex();
|
|
1808
1810
|
await ((_a = create.databaseBackend.getWriteStream()) == null ? void 0 : _a.write({
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1811
|
+
batch: {
|
|
1812
|
+
objects: [
|
|
1813
|
+
{
|
|
1814
|
+
objectId,
|
|
1815
|
+
genesis: {
|
|
1816
|
+
modelType: import_document_model2.DocumentModel.meta.type
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
]
|
|
1814
1820
|
}
|
|
1815
1821
|
}));
|
|
1816
|
-
await (0, import_async9.asyncTimeout)(check.
|
|
1822
|
+
await (0, import_async9.asyncTimeout)(check.databaseBackend._itemDemuxer.mutation.waitForCondition(() => check._itemManager.entities.has(objectId)), 500);
|
|
1817
1823
|
};
|
|
1818
1824
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1819
1825
|
0 && (module.exports = {
|