@dxos/echo-pipeline 0.1.34 → 0.1.36-next.ef27157
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-6CRSMR4G.mjs → chunk-LIPDNX3G.mjs} +73 -46
- package/dist/lib/browser/chunk-LIPDNX3G.mjs.map +7 -0
- package/dist/lib/browser/index.mjs +3 -1
- package/dist/lib/browser/index.mjs.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/testing/index.mjs +1 -1
- package/dist/lib/node/index.cjs +63 -35
- package/dist/lib/node/index.cjs.map +3 -3
- package/dist/lib/node/meta.json +1 -1
- package/dist/lib/node/testing/index.cjs +59 -37
- package/dist/lib/node/testing/index.cjs.map +3 -3
- package/dist/types/src/pipeline/pipeline.d.ts +1 -0
- package/dist/types/src/pipeline/pipeline.d.ts.map +1 -1
- package/dist/types/src/pipeline/timeframe-clock.d.ts +1 -0
- package/dist/types/src/pipeline/timeframe-clock.d.ts.map +1 -1
- package/package.json +30 -29
- package/src/pipeline/pipeline.test.ts +214 -0
- package/src/pipeline/pipeline.ts +14 -5
- package/src/pipeline/timeframe-clock.ts +4 -1
- package/src/space/data-pipeline.ts +2 -2
- package/dist/lib/browser/chunk-6CRSMR4G.mjs.map +0 -7
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/errors/errors.ts"],
|
|
4
4
|
"sourcesContent": ["//\n// Copyright 2021 DXOS.org\n//\n\nimport { PublicKey } from '@dxos/keys';\nimport { ItemID } from '@dxos/protocols';\n\n// TODO(burdon): Reconcile with @dxos/errors.\n\nexport class DBError extends Error {\n constructor(readonly code: string, message?: string, readonly context?: any) {\n super(message ? `${code}: ${message}` : code.toString());\n // NOTE: Restores prototype chain (https://stackoverflow.com/a/48342359).\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\n\nexport class IdentityNotInitializedError extends DBError {\n constructor() {\n super('IDENTITY_NOT_INITIALIZED', 'Identity not initialized.');\n }\n}\n\nexport class InvalidInvitationError extends DBError {\n constructor() {\n super('INVALID_INVITATION', 'Invitation is invalid.');\n }\n}\n\nexport class InvalidStorageVersionError extends DBError {\n constructor(expected: number, actual: number) {\n super('INVALID_STORAGE_VERSION', 'Invalid storage version.', { expected, actual });\n }\n}\n\nexport class SpaceNotFoundError extends DBError {\n constructor(spaceKey: PublicKey) {\n super('SPACE_NOT_FOUND', 'Space not found.', { spaceKey });\n }\n}\n\nexport class EntityNotFoundError extends DBError {\n constructor(entityId: ItemID) {\n super('ITEM_NOT_FOUND', 'Item not found.', { entityId });\n }\n}\n\nexport class UnknownModelError extends DBError {\n constructor(model: string) {\n super('UNKNOWN_MODEL', 'Unknown model.', { model });\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASO,IAAMA,UAAN,cAAsBC,MAAAA;EAC3BC,YAAqBC,MAAcC,SAA2BC,SAAe;AAC3E,UAAMD,UAAU,GAAGD,SAASC,YAAYD,KAAKG,SAAQ,CAAE;gBADpCH;mBAAyCE;AAG5DE,WAAOC,eAAe,MAAM,WAAWC,SAAS;EAClD;AACF;AAEO,IAAMC,8BAAN,cAA0CV,QAAAA;EAC/CE,cAAc;AACZ,UAAM,4BAA4B,2BAAA;EACpC;AACF;AAEO,IAAMS,yBAAN,cAAqCX,QAAAA;EAC1CE,cAAc;AACZ,UAAM,sBAAsB,wBAAA;EAC9B;AACF;AAEO,IAAMU,6BAAN,cAAyCZ,QAAAA;EAC9CE,YAAYW,UAAkBC,QAAgB;AAC5C,UAAM,2BAA2B,4BAA4B;MAAED;MAAUC;IAAO,CAAA;EAClF;AACF;AAEO,IAAMC,qBAAN,cAAiCf,QAAAA;EACtCE,YAAYc,UAAqB;AAC/B,UAAM,mBAAmB,oBAAoB;MAAEA;IAAS,CAAA;EAC1D;AACF;AAEO,IAAMC,sBAAN,cAAkCjB,QAAAA;EACvCE,YAAYgB,UAAkB;AAC5B,UAAM,kBAAkB,mBAAmB;MAAEA;IAAS,CAAA;EACxD;AACF;AAEO,IAAMC,oBAAN,cAAgCnB,QAAAA;EACrCE,YAAYkB,OAAe;AACzB,UAAM,iBAAiB,kBAAkB;MAAEA;IAAM,CAAA;EACnD;AACF;",
|
|
6
6
|
"names": ["DBError", "Error", "constructor", "code", "message", "context", "toString", "Object", "setPrototypeOf", "prototype", "IdentityNotInitializedError", "InvalidInvitationError", "InvalidStorageVersionError", "expected", "actual", "SpaceNotFoundError", "spaceKey", "EntityNotFoundError", "entityId", "UnknownModelError", "model"]
|
|
7
7
|
}
|
|
@@ -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":17413,"imports":[{"path":"@dxos/node-std/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":"@dxos/node-std/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":"@dxos/node-std/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":25429,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","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":"@dxos/node-std/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":20272,"imports":[{"path":"@dxos/node-std/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":10345,"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/protocols","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":"@dxos/node-std/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":"@dxos/node-std/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.ts":{"bytes":28358,"imports":[{"path":"@dxos/node-std/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":844,"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.ts","kind":"import-statement","original":"./data-pipeline"}]},"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":23724,"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.ts","kind":"import-statement","original":"../space/data-pipeline"},{"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":8846,"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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2709},"packages/core/echo/echo-pipeline/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-6CRSMR4G.mjs","kind":"import-statement"}],"exports":["AuthExtension","AuthStatus","DBError","DataPipeline","DataServiceHost","DataServiceImpl","DataServiceSubscriptions","DatabaseBackendHost","EntityNotFoundError","IdentityNotInitializedError","InvalidInvitationError","InvalidStorageVersionError","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MetadataStore","Pipeline","PipelineAccessor","STORAGE_VERSION","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceNotFoundError","SpaceProtocol","SpaceProtocolSession","TimeframeClock","UnknownModelError","codec","createMappedFeedWriter","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","spaceGenesis","valueEncoding"],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"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/index.ts":{"bytesInOutput":0}},"bytes":2483},"packages/core/echo/echo-pipeline/dist/lib/browser/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17967},"packages/core/echo/echo-pipeline/dist/lib/browser/testing/index.mjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-6CRSMR4G.mjs","kind":"import-statement"},{"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":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"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}],"exports":["MemoryNetworkManagerProvider","TestAgent","TestAgentBuilder","TestFeedBuilder","WebsocketNetworkManagerProvider","createMemoryDatabase","createRemoteDatabaseFromDataServiceHost","testLocalDatabase"],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":5414},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":171},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2115}},"bytes":8536},"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-6CRSMR4G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":97993},"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-6CRSMR4G.mjs":{"imports":[{"path":"@dxos/node-std/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},{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"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},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","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":"debug","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/node-std/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},{"path":"@dxos/node-std/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":"@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":"@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":"@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/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"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},{"path":"@dxos/node-std/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},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"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},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/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},{"path":"@dxos/node-std/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}],"exports":["AuthExtension","AuthStatus","DataPipeline","DataServiceHost","DataServiceImpl","DataServiceSubscriptions","DatabaseBackendHost","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MetadataStore","Pipeline","STORAGE_VERSION","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createMappedFeedWriter","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","spaceGenesis","valueEncoding"],"inputs":{"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5006},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":223},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":219},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2223},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":5784},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":436},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2595},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5423},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3379},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":5851},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2823},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":1931},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2393},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":983},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2094},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1050},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1578},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8090},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0}},"bytes":53908}}}
|
|
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":17413,"imports":[{"path":"@dxos/node-std/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":"@dxos/node-std/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":"@dxos/node-std/assert","kind":"import-statement","external":true}]},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytes":7673,"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":27000,"imports":[{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","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":"@dxos/node-std/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":20272,"imports":[{"path":"@dxos/node-std/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":10345,"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/protocols","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":"@dxos/node-std/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":"@dxos/node-std/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.ts":{"bytes":28436,"imports":[{"path":"@dxos/node-std/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":844,"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.ts","kind":"import-statement","original":"./data-pipeline"}]},"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":23724,"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.ts","kind":"import-statement","original":"../space/data-pipeline"},{"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":8846,"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/browser/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":2710},"packages/core/echo/echo-pipeline/dist/lib/browser/index.mjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-LIPDNX3G.mjs","kind":"import-statement"}],"exports":["AuthExtension","AuthStatus","DBError","DataPipeline","DataServiceHost","DataServiceImpl","DataServiceSubscriptions","DatabaseBackendHost","EntityNotFoundError","IdentityNotInitializedError","InvalidInvitationError","InvalidStorageVersionError","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MetadataStore","Pipeline","PipelineAccessor","STORAGE_VERSION","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceNotFoundError","SpaceProtocol","SpaceProtocolSession","TimeframeClock","UnknownModelError","codec","createMappedFeedWriter","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","spaceGenesis","startAfter","valueEncoding"],"entryPoint":"packages/core/echo/echo-pipeline/src/index.ts","inputs":{"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/index.ts":{"bytesInOutput":0}},"bytes":2511},"packages/core/echo/echo-pipeline/dist/lib/browser/testing/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":17967},"packages/core/echo/echo-pipeline/dist/lib/browser/testing/index.mjs":{"imports":[{"path":"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-LIPDNX3G.mjs","kind":"import-statement"},{"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":"@dxos/feed-store/testing","kind":"import-statement","external":true},{"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}],"exports":["MemoryNetworkManagerProvider","TestAgent","TestAgentBuilder","TestFeedBuilder","WebsocketNetworkManagerProvider","createMemoryDatabase","createRemoteDatabaseFromDataServiceHost","testLocalDatabase"],"entryPoint":"packages/core/echo/echo-pipeline/src/testing/index.ts","inputs":{"packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts":{"bytesInOutput":5414},"packages/core/echo/echo-pipeline/src/testing/test-feed-builder.ts":{"bytesInOutput":171},"packages/core/echo/echo-pipeline/src/testing/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/testing/util.ts":{"bytesInOutput":2115}},"bytes":8536},"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-LIPDNX3G.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":98831},"packages/core/echo/echo-pipeline/dist/lib/browser/chunk-LIPDNX3G.mjs":{"imports":[{"path":"@dxos/node-std/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},{"path":"@dxos/hypercore","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"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},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/async","kind":"import-statement","external":true},{"path":"@dxos/context","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":"debug","kind":"import-statement","external":true},{"path":"@dxos/node-std/assert","kind":"import-statement","external":true},{"path":"@dxos/node-std/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},{"path":"@dxos/node-std/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":"@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":"@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":"@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/protocols","kind":"import-statement","external":true},{"path":"@dxos/util","kind":"import-statement","external":true},{"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},{"path":"@dxos/node-std/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},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"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},{"path":"@dxos/crypto","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true},{"path":"@dxos/node-std/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},{"path":"@dxos/node-std/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}],"exports":["AuthExtension","AuthStatus","DataPipeline","DataServiceHost","DataServiceImpl","DataServiceSubscriptions","DatabaseBackendHost","MOCK_AUTH_PROVIDER","MOCK_AUTH_VERIFIER","MetadataStore","Pipeline","STORAGE_VERSION","SnapshotManager","SnapshotStore","Space","SpaceManager","SpaceProtocol","SpaceProtocolSession","TimeframeClock","codec","createMappedFeedWriter","mapFeedIndexesToTimeframe","mapTimeframeToFeedIndexes","spaceGenesis","startAfter","valueEncoding"],"inputs":{"packages/core/echo/echo-pipeline/src/metadata/metadata-store.ts":{"bytesInOutput":5006},"packages/core/echo/echo-pipeline/src/metadata/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/common/codec.ts":{"bytesInOutput":223},"packages/core/echo/echo-pipeline/src/common/feeds.ts":{"bytesInOutput":219},"packages/core/echo/echo-pipeline/src/common/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/pipeline/timeframe-clock.ts":{"bytesInOutput":2337},"packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts":{"bytesInOutput":6779},"packages/core/echo/echo-pipeline/src/pipeline/message-selector.ts":{"bytesInOutput":436},"packages/core/echo/echo-pipeline/src/pipeline/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/auth.ts":{"bytesInOutput":2595},"packages/core/echo/echo-pipeline/src/space/space.ts":{"bytesInOutput":5423},"packages/core/echo/echo-pipeline/src/space/control-pipeline.ts":{"bytesInOutput":3379},"packages/core/echo/echo-pipeline/src/space/space-protocol.ts":{"bytesInOutput":5851},"packages/core/echo/echo-pipeline/src/space/space-manager.ts":{"bytesInOutput":2823},"packages/core/echo/echo-pipeline/src/space/genesis.ts":{"bytesInOutput":1931},"packages/core/echo/echo-pipeline/src/dbhost/data-service-host.ts":{"bytesInOutput":2393},"packages/core/echo/echo-pipeline/src/dbhost/database-backend.ts":{"bytesInOutput":983},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-manager.ts":{"bytesInOutput":2094},"packages/core/echo/echo-pipeline/src/dbhost/snapshot-store.ts":{"bytesInOutput":1050},"packages/core/echo/echo-pipeline/src/dbhost/data-service.ts":{"bytesInOutput":1578},"packages/core/echo/echo-pipeline/src/dbhost/index.ts":{"bytesInOutput":0},"packages/core/echo/echo-pipeline/src/space/data-pipeline.ts":{"bytesInOutput":8116},"packages/core/echo/echo-pipeline/src/space/index.ts":{"bytesInOutput":0}},"bytes":55057}}}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
SpaceManager,
|
|
14
14
|
SpaceProtocol,
|
|
15
15
|
valueEncoding
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-LIPDNX3G.mjs";
|
|
17
17
|
|
|
18
18
|
// packages/core/echo/echo-pipeline/src/testing/test-agent-builder.ts
|
|
19
19
|
import { DocumentModel } from "@dxos/document-model";
|
package/dist/lib/node/index.cjs
CHANGED
|
@@ -61,6 +61,7 @@ __export(src_exports, {
|
|
|
61
61
|
mapFeedIndexesToTimeframe: () => mapFeedIndexesToTimeframe,
|
|
62
62
|
mapTimeframeToFeedIndexes: () => mapTimeframeToFeedIndexes,
|
|
63
63
|
spaceGenesis: () => spaceGenesis,
|
|
64
|
+
startAfter: () => startAfter,
|
|
64
65
|
valueEncoding: () => valueEncoding
|
|
65
66
|
});
|
|
66
67
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -343,6 +344,10 @@ var mapFeedIndexesToTimeframe = (indexes) => new import_timeframe.Timeframe(inde
|
|
|
343
344
|
feedKey,
|
|
344
345
|
index
|
|
345
346
|
]));
|
|
347
|
+
var startAfter = (timeframe) => timeframe.frames().map(([feedKey, index]) => ({
|
|
348
|
+
feedKey,
|
|
349
|
+
index: index + 1
|
|
350
|
+
}));
|
|
346
351
|
var TimeframeClock = class {
|
|
347
352
|
// prettier-ignore
|
|
348
353
|
constructor(_timeframe = new import_timeframe.Timeframe()) {
|
|
@@ -366,12 +371,12 @@ var TimeframeClock = class {
|
|
|
366
371
|
return !gaps.isEmpty();
|
|
367
372
|
}
|
|
368
373
|
async waitUntilReached(target) {
|
|
369
|
-
import_log2.log.
|
|
374
|
+
import_log2.log.info("waitUntilReached", {
|
|
370
375
|
target,
|
|
371
376
|
current: this._timeframe
|
|
372
377
|
}, {
|
|
373
378
|
file: "timeframe-clock.ts",
|
|
374
|
-
line:
|
|
379
|
+
line: 48,
|
|
375
380
|
scope: this,
|
|
376
381
|
callSite: (f, a) => f(...a)
|
|
377
382
|
});
|
|
@@ -382,7 +387,7 @@ var TimeframeClock = class {
|
|
|
382
387
|
deps: import_timeframe.Timeframe.dependencies(target, this._timeframe)
|
|
383
388
|
}, {
|
|
384
389
|
file: "timeframe-clock.ts",
|
|
385
|
-
line:
|
|
390
|
+
line: 50,
|
|
386
391
|
scope: this,
|
|
387
392
|
callSite: (f, a) => f(...a)
|
|
388
393
|
});
|
|
@@ -395,6 +400,16 @@ __decorate2([
|
|
|
395
400
|
], TimeframeClock.prototype, "waitUntilReached", null);
|
|
396
401
|
|
|
397
402
|
// packages/core/echo/echo-pipeline/src/pipeline/pipeline.ts
|
|
403
|
+
var __decorate3 = function(decorators, target, key, desc) {
|
|
404
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
405
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
406
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
407
|
+
else
|
|
408
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
409
|
+
if (d = decorators[i])
|
|
410
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
411
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
412
|
+
};
|
|
398
413
|
var PipelineState = class {
|
|
399
414
|
// prettier-ignore
|
|
400
415
|
constructor(_iterator, _timeframeClock) {
|
|
@@ -406,10 +421,11 @@ var PipelineState = class {
|
|
|
406
421
|
* Latest theoretical timeframe based on the last mutation in each feed.
|
|
407
422
|
* NOTE: This might never be reached if the mutation dependencies
|
|
408
423
|
*/
|
|
424
|
+
// TODO(dmaretskyi): Rename `totalTimeframe`? or `lastTimeframe`.
|
|
409
425
|
get endTimeframe() {
|
|
410
|
-
return mapFeedIndexesToTimeframe(this._iterator.feeds.filter((feed) => feed.
|
|
426
|
+
return mapFeedIndexesToTimeframe(this._iterator.feeds.filter((feed) => feed.length > 0).map((feed) => ({
|
|
411
427
|
feedKey: feed.key,
|
|
412
|
-
index: feed.
|
|
428
|
+
index: feed.length - 1
|
|
413
429
|
})));
|
|
414
430
|
}
|
|
415
431
|
get timeframe() {
|
|
@@ -418,6 +434,9 @@ var PipelineState = class {
|
|
|
418
434
|
get targetTimeframe() {
|
|
419
435
|
return this._targetTimeframe ? this._targetTimeframe : new import_timeframe2.Timeframe();
|
|
420
436
|
}
|
|
437
|
+
get feeds() {
|
|
438
|
+
return this._iterator.feeds;
|
|
439
|
+
}
|
|
421
440
|
async waitUntilTimeframe(target) {
|
|
422
441
|
await this._timeframeClock.waitUntilReached(target);
|
|
423
442
|
}
|
|
@@ -439,7 +458,7 @@ var PipelineState = class {
|
|
|
439
458
|
target: this.targetTimeframe
|
|
440
459
|
}, {
|
|
441
460
|
file: "pipeline.ts",
|
|
442
|
-
line:
|
|
461
|
+
line: 101,
|
|
443
462
|
scope: this,
|
|
444
463
|
callSite: (f, a) => f(...a)
|
|
445
464
|
});
|
|
@@ -469,7 +488,7 @@ var PipelineState = class {
|
|
|
469
488
|
dependencies: import_timeframe2.Timeframe.dependencies(this.targetTimeframe, this.timeframe)
|
|
470
489
|
}, {
|
|
471
490
|
file: "pipeline.ts",
|
|
472
|
-
line:
|
|
491
|
+
line: 127,
|
|
473
492
|
scope: this,
|
|
474
493
|
callSite: (f, a) => f(...a)
|
|
475
494
|
});
|
|
@@ -486,7 +505,7 @@ var Pipeline = class {
|
|
|
486
505
|
this._initialTimeframe = _initialTimeframe;
|
|
487
506
|
this._timeframeClock = new TimeframeClock(this._initialTimeframe);
|
|
488
507
|
this._feedSetIterator = new import_feed_store.FeedSetIterator(createMessageSelector(this._timeframeClock), {
|
|
489
|
-
start:
|
|
508
|
+
start: startAfter(this._initialTimeframe),
|
|
490
509
|
stallTimeout: 1e3
|
|
491
510
|
});
|
|
492
511
|
this._state = new PipelineState(this._feedSetIterator, this._timeframeClock);
|
|
@@ -495,7 +514,7 @@ var Pipeline = class {
|
|
|
495
514
|
this._feedSetIterator.stalled.on((iterator) => {
|
|
496
515
|
import_log3.log.warn(`Stalled after ${iterator.options.stallTimeout}ms with ${iterator.size} feeds.`, {}, {
|
|
497
516
|
file: "pipeline.ts",
|
|
498
|
-
line:
|
|
517
|
+
line: 203,
|
|
499
518
|
scope: this,
|
|
500
519
|
callSite: (f, a) => f(...a)
|
|
501
520
|
});
|
|
@@ -511,6 +530,8 @@ var Pipeline = class {
|
|
|
511
530
|
getFeeds() {
|
|
512
531
|
return this._feedSetIterator.feeds;
|
|
513
532
|
}
|
|
533
|
+
// NOTE: This cannot be synchronized with `stop` because stop waits for the mutation processing to complete,
|
|
534
|
+
// which might be opening feeds during the mutation processing, which w
|
|
514
535
|
async addFeed(feed) {
|
|
515
536
|
await this._feedSetIterator.addFeed(feed);
|
|
516
537
|
}
|
|
@@ -528,14 +549,14 @@ var Pipeline = class {
|
|
|
528
549
|
async start() {
|
|
529
550
|
(0, import_log3.log)("starting...", {}, {
|
|
530
551
|
file: "pipeline.ts",
|
|
531
|
-
line:
|
|
552
|
+
line: 245,
|
|
532
553
|
scope: this,
|
|
533
554
|
callSite: (f, a) => f(...a)
|
|
534
555
|
});
|
|
535
556
|
await this._feedSetIterator.open();
|
|
536
557
|
(0, import_log3.log)("started", {}, {
|
|
537
558
|
file: "pipeline.ts",
|
|
538
|
-
line:
|
|
559
|
+
line: 247,
|
|
539
560
|
scope: this,
|
|
540
561
|
callSite: (f, a) => f(...a)
|
|
541
562
|
});
|
|
@@ -543,7 +564,7 @@ var Pipeline = class {
|
|
|
543
564
|
async stop() {
|
|
544
565
|
(0, import_log3.log)("stopping...", {}, {
|
|
545
566
|
file: "pipeline.ts",
|
|
546
|
-
line:
|
|
567
|
+
line: 252,
|
|
547
568
|
scope: this,
|
|
548
569
|
callSite: (f, a) => f(...a)
|
|
549
570
|
});
|
|
@@ -551,7 +572,7 @@ var Pipeline = class {
|
|
|
551
572
|
await this._processingTrigger.wait();
|
|
552
573
|
(0, import_log3.log)("stopped", {}, {
|
|
553
574
|
file: "pipeline.ts",
|
|
554
|
-
line:
|
|
575
|
+
line: 255,
|
|
555
576
|
scope: this,
|
|
556
577
|
callSite: (f, a) => f(...a)
|
|
557
578
|
});
|
|
@@ -572,6 +593,12 @@ var Pipeline = class {
|
|
|
572
593
|
this._isOpen = false;
|
|
573
594
|
}
|
|
574
595
|
};
|
|
596
|
+
__decorate3([
|
|
597
|
+
import_async3.synchronized
|
|
598
|
+
], Pipeline.prototype, "start", null);
|
|
599
|
+
__decorate3([
|
|
600
|
+
import_async3.synchronized
|
|
601
|
+
], Pipeline.prototype, "stop", null);
|
|
575
602
|
|
|
576
603
|
// packages/core/echo/echo-pipeline/src/space/auth.ts
|
|
577
604
|
var import_node_assert5 = __toESM(require("node:assert"));
|
|
@@ -783,7 +810,7 @@ var ControlPipeline = class {
|
|
|
783
810
|
};
|
|
784
811
|
|
|
785
812
|
// packages/core/echo/echo-pipeline/src/space/space.ts
|
|
786
|
-
var
|
|
813
|
+
var __decorate4 = function(decorators, target, key, desc) {
|
|
787
814
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
788
815
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
789
816
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -949,16 +976,16 @@ var Space = class Space2 {
|
|
|
949
976
|
return pipeline;
|
|
950
977
|
}
|
|
951
978
|
};
|
|
952
|
-
|
|
979
|
+
__decorate4([
|
|
953
980
|
import_log6.logInfo
|
|
954
981
|
], Space.prototype, "key", null);
|
|
955
|
-
|
|
982
|
+
__decorate4([
|
|
956
983
|
import_async5.synchronized
|
|
957
984
|
], Space.prototype, "open", null);
|
|
958
|
-
|
|
985
|
+
__decorate4([
|
|
959
986
|
import_async5.synchronized
|
|
960
987
|
], Space.prototype, "close", null);
|
|
961
|
-
Space =
|
|
988
|
+
Space = __decorate4([
|
|
962
989
|
(0, import_async5.trackLeaks)("open", "close")
|
|
963
990
|
], Space);
|
|
964
991
|
|
|
@@ -978,7 +1005,7 @@ var import_network_manager = require("@dxos/network-manager");
|
|
|
978
1005
|
var import_teleport2 = require("@dxos/teleport");
|
|
979
1006
|
var import_teleport_extension_replicator = require("@dxos/teleport-extension-replicator");
|
|
980
1007
|
var import_util3 = require("@dxos/util");
|
|
981
|
-
var
|
|
1008
|
+
var __decorate5 = function(decorators, target, key, desc) {
|
|
982
1009
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
983
1010
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
984
1011
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1085,10 +1112,10 @@ var SpaceProtocol = class {
|
|
|
1085
1112
|
};
|
|
1086
1113
|
}
|
|
1087
1114
|
};
|
|
1088
|
-
|
|
1115
|
+
__decorate5([
|
|
1089
1116
|
import_log7.logInfo
|
|
1090
1117
|
], SpaceProtocol.prototype, "_topic", void 0);
|
|
1091
|
-
|
|
1118
|
+
__decorate5([
|
|
1092
1119
|
import_log7.logInfo
|
|
1093
1120
|
], SpaceProtocol.prototype, "_ownPeerKey", null);
|
|
1094
1121
|
var AuthStatus;
|
|
@@ -1148,15 +1175,15 @@ var SpaceProtocolSession = class {
|
|
|
1148
1175
|
await this._teleport.close();
|
|
1149
1176
|
}
|
|
1150
1177
|
};
|
|
1151
|
-
|
|
1178
|
+
__decorate5([
|
|
1152
1179
|
import_log7.logInfo
|
|
1153
1180
|
], SpaceProtocolSession.prototype, "_wireParams", void 0);
|
|
1154
|
-
|
|
1181
|
+
__decorate5([
|
|
1155
1182
|
import_log7.logInfo
|
|
1156
1183
|
], SpaceProtocolSession.prototype, "authStatus", null);
|
|
1157
1184
|
|
|
1158
1185
|
// packages/core/echo/echo-pipeline/src/space/space-manager.ts
|
|
1159
|
-
var
|
|
1186
|
+
var __decorate6 = function(decorators, target, key, desc) {
|
|
1160
1187
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1161
1188
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1162
1189
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1228,13 +1255,13 @@ var SpaceManager = class SpaceManager2 {
|
|
|
1228
1255
|
return space;
|
|
1229
1256
|
}
|
|
1230
1257
|
};
|
|
1231
|
-
|
|
1258
|
+
__decorate6([
|
|
1232
1259
|
import_async6.synchronized
|
|
1233
1260
|
], SpaceManager.prototype, "open", null);
|
|
1234
|
-
|
|
1261
|
+
__decorate6([
|
|
1235
1262
|
import_async6.synchronized
|
|
1236
1263
|
], SpaceManager.prototype, "close", null);
|
|
1237
|
-
SpaceManager =
|
|
1264
|
+
SpaceManager = __decorate6([
|
|
1238
1265
|
(0, import_async6.trackLeaks)("open", "close")
|
|
1239
1266
|
], SpaceManager);
|
|
1240
1267
|
|
|
@@ -1429,7 +1456,7 @@ var DatabaseBackendHost = class {
|
|
|
1429
1456
|
var import_async7 = require("@dxos/async");
|
|
1430
1457
|
var import_protocols5 = require("@dxos/protocols");
|
|
1431
1458
|
var import_teleport_extension_object_sync = require("@dxos/teleport-extension-object-sync");
|
|
1432
|
-
var
|
|
1459
|
+
var __decorate7 = function(decorators, target, key, desc) {
|
|
1433
1460
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1434
1461
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1435
1462
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1482,7 +1509,7 @@ var SnapshotManager = class SnapshotManager2 {
|
|
|
1482
1509
|
return id;
|
|
1483
1510
|
}
|
|
1484
1511
|
};
|
|
1485
|
-
SnapshotManager =
|
|
1512
|
+
SnapshotManager = __decorate7([
|
|
1486
1513
|
(0, import_async7.trackLeaks)("open", "close")
|
|
1487
1514
|
], SnapshotManager);
|
|
1488
1515
|
|
|
@@ -1580,7 +1607,7 @@ var DataServiceImpl = class {
|
|
|
1580
1607
|
};
|
|
1581
1608
|
|
|
1582
1609
|
// packages/core/echo/echo-pipeline/src/space/data-pipeline.ts
|
|
1583
|
-
var
|
|
1610
|
+
var __decorate8 = function(decorators, target, key, desc) {
|
|
1584
1611
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1585
1612
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1586
1613
|
r = Reflect.decorate(decorators, target, key, desc);
|
|
@@ -1593,7 +1620,7 @@ var __decorate7 = function(decorators, target, key, desc) {
|
|
|
1593
1620
|
var MESSAGES_PER_SNAPSHOT = 10;
|
|
1594
1621
|
var AUTOMATIC_SNAPSHOT_DEBOUNCE_INTERVAL = 5e3;
|
|
1595
1622
|
var TIMEFRAME_SAVE_DEBOUNCE_INTERVAL = 500;
|
|
1596
|
-
var DISABLE_SNAPSHOT_CACHE =
|
|
1623
|
+
var DISABLE_SNAPSHOT_CACHE = true;
|
|
1597
1624
|
var DataPipeline = class DataPipeline2 {
|
|
1598
1625
|
constructor(_params) {
|
|
1599
1626
|
this._params = _params;
|
|
@@ -1628,7 +1655,7 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1628
1655
|
return;
|
|
1629
1656
|
}
|
|
1630
1657
|
this._spaceContext = spaceContext;
|
|
1631
|
-
if (this._params.snapshotId) {
|
|
1658
|
+
if (this._params.snapshotId && !DISABLE_SNAPSHOT_CACHE) {
|
|
1632
1659
|
this._snapshot = await this._params.snapshotManager.load(this._params.snapshotId);
|
|
1633
1660
|
this._lastAutomaticSnapshotTimeframe = (_b = (_a = this._snapshot) == null ? void 0 : _a.timeframe) != null ? _b : new import_timeframe3.Timeframe();
|
|
1634
1661
|
}
|
|
@@ -1787,13 +1814,13 @@ var DataPipeline = class DataPipeline2 {
|
|
|
1787
1814
|
await this._pipeline.state.waitUntilTimeframe(timeframe);
|
|
1788
1815
|
}
|
|
1789
1816
|
};
|
|
1790
|
-
|
|
1817
|
+
__decorate8([
|
|
1791
1818
|
import_async8.synchronized
|
|
1792
1819
|
], DataPipeline.prototype, "open", null);
|
|
1793
|
-
|
|
1820
|
+
__decorate8([
|
|
1794
1821
|
import_async8.synchronized
|
|
1795
1822
|
], DataPipeline.prototype, "close", null);
|
|
1796
|
-
DataPipeline =
|
|
1823
|
+
DataPipeline = __decorate8([
|
|
1797
1824
|
(0, import_async8.trackLeaks)("open", "close")
|
|
1798
1825
|
], DataPipeline);
|
|
1799
1826
|
var snapshotTimeframeToStartingTimeframe = (snapshotTimeframe) => {
|
|
@@ -1835,6 +1862,7 @@ var snapshotTimeframeToStartingTimeframe = (snapshotTimeframe) => {
|
|
|
1835
1862
|
mapFeedIndexesToTimeframe,
|
|
1836
1863
|
mapTimeframeToFeedIndexes,
|
|
1837
1864
|
spaceGenesis,
|
|
1865
|
+
startAfter,
|
|
1838
1866
|
valueEncoding
|
|
1839
1867
|
});
|
|
1840
1868
|
//# sourceMappingURL=index.cjs.map
|