@rocicorp/zero 0.12.2025012601 → 0.12.2025012800
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/out/advanced.js +2 -2
- package/out/{chunk-F5QR3K72.js → chunk-424PT5DM.js} +1 -1
- package/out/{chunk-JZD6FXRT.js → chunk-MJYDJPXG.js} +37 -43
- package/out/{chunk-JZD6FXRT.js.map → chunk-MJYDJPXG.js.map} +3 -3
- package/out/{chunk-I5GSZARI.js → chunk-QAAJZ32T.js} +1 -1
- package/out/{chunk-I5GSZARI.js.map → chunk-QAAJZ32T.js.map} +1 -1
- package/out/datadog/src/mod.d.ts +1 -1
- package/out/react.js +1 -1
- package/out/react.js.map +1 -1
- package/out/replicache/src/btree/diff.d.ts +2 -2
- package/out/replicache/src/btree/node.d.ts +8 -8
- package/out/replicache/src/btree/read.d.ts +6 -6
- package/out/replicache/src/btree/write.d.ts +7 -7
- package/out/replicache/src/call-default-fetch.d.ts +1 -1
- package/out/replicache/src/config.d.ts +1 -1
- package/out/replicache/src/connection-loop-delegates.d.ts +2 -2
- package/out/replicache/src/connection-loop.d.ts +1 -1
- package/out/replicache/src/cookies.d.ts +2 -2
- package/out/replicache/src/dag/chunk.d.ts +1 -1
- package/out/replicache/src/dag/gc.d.ts +2 -2
- package/out/replicache/src/dag/key.d.ts +2 -2
- package/out/replicache/src/dag/lazy-store.d.ts +5 -5
- package/out/replicache/src/dag/store-impl.d.ts +5 -5
- package/out/replicache/src/dag/store.d.ts +3 -3
- package/out/replicache/src/dag/visitor.d.ts +3 -3
- package/out/replicache/src/db/commit.d.ts +8 -8
- package/out/replicache/src/db/index.d.ts +7 -7
- package/out/replicache/src/db/read.d.ts +8 -8
- package/out/replicache/src/db/rebase.d.ts +7 -7
- package/out/replicache/src/db/scan.d.ts +1 -1
- package/out/replicache/src/db/write.d.ts +14 -14
- package/out/replicache/src/filter-async-iterable.d.ts +1 -1
- package/out/replicache/src/format-version.d.ts +2 -2
- package/out/replicache/src/frozen-json.d.ts +2 -2
- package/out/replicache/src/get-default-puller.d.ts +1 -1
- package/out/replicache/src/get-default-pusher.d.ts +1 -1
- package/out/replicache/src/hash.d.ts +1 -1
- package/out/replicache/src/impl.d.ts +3 -3
- package/out/replicache/src/index-defs.d.ts +1 -1
- package/out/replicache/src/kv/idb-store-with-mem-fallback.d.ts +1 -1
- package/out/replicache/src/kv/idb-store.d.ts +1 -1
- package/out/replicache/src/kv/idb-store.d.ts.map +1 -1
- package/out/replicache/src/kv/mem-store.d.ts +1 -1
- package/out/replicache/src/kv/read-impl.d.ts +2 -2
- package/out/replicache/src/kv/store.d.ts +1 -1
- package/out/replicache/src/kv/write-impl-base.d.ts +3 -3
- package/out/replicache/src/kv/write-impl.d.ts +3 -3
- package/out/replicache/src/merge-async-iterables.d.ts +1 -1
- package/out/replicache/src/mod.d.ts +36 -36
- package/out/replicache/src/mutation-recovery.d.ts +8 -8
- package/out/replicache/src/new-client-channel.d.ts +1 -1
- package/out/replicache/src/on-persist-channel.d.ts +1 -1
- package/out/replicache/src/patch-operation.d.ts +1 -1
- package/out/replicache/src/pending-mutations.d.ts +3 -3
- package/out/replicache/src/persist/client-gc.d.ts +3 -3
- package/out/replicache/src/persist/client-group-gc.d.ts +2 -2
- package/out/replicache/src/persist/client-groups.d.ts +5 -5
- package/out/replicache/src/persist/clients.d.ts +9 -9
- package/out/replicache/src/persist/collect-idb-databases.d.ts +3 -3
- package/out/replicache/src/persist/gather-mem-only-visitor.d.ts +4 -4
- package/out/replicache/src/persist/gather-not-cached-visitor.d.ts +5 -5
- package/out/replicache/src/persist/heartbeat.d.ts +3 -3
- package/out/replicache/src/persist/idb-databases-store.d.ts +1 -1
- package/out/replicache/src/persist/persist.d.ts +6 -6
- package/out/replicache/src/persist/refresh.d.ts +7 -7
- package/out/replicache/src/process-scheduler.d.ts +1 -1
- package/out/replicache/src/puller.d.ts +6 -6
- package/out/replicache/src/pusher.d.ts +3 -3
- package/out/replicache/src/replicache-impl.d.ts +12 -12
- package/out/replicache/src/replicache-options.d.ts +5 -5
- package/out/replicache/src/replicache.d.ts +10 -10
- package/out/replicache/src/scan-iterator.d.ts +6 -6
- package/out/replicache/src/scan-options.d.ts +2 -2
- package/out/replicache/src/subscriptions.d.ts +7 -7
- package/out/replicache/src/subscriptions.d.ts.map +1 -1
- package/out/replicache/src/sync/diff.d.ts +6 -6
- package/out/replicache/src/sync/ids.d.ts +1 -1
- package/out/replicache/src/sync/patch.d.ts +2 -2
- package/out/replicache/src/sync/pull.d.ts +11 -11
- package/out/replicache/src/sync/push.d.ts +4 -4
- package/out/replicache/src/sync/request-id.d.ts +1 -1
- package/out/replicache/src/transactions.d.ts +9 -9
- package/out/replicache/src/types.d.ts +5 -5
- package/out/shared/src/btree-set.js +1 -1
- package/out/shared/src/deep-clone.d.ts +1 -1
- package/out/shared/src/iterables.js +1 -1
- package/out/shared/src/json-schema.d.ts +1 -1
- package/out/shared/src/json-schema.js +3 -3
- package/out/shared/src/json.js +3 -3
- package/out/shared/src/options.d.ts +1 -1
- package/out/shared/src/options.js +3 -3
- package/out/shared/src/queue.js +1 -1
- package/out/shared/src/random-values.d.ts +1 -1
- package/out/shared/src/random-values.d.ts.map +1 -1
- package/out/shared/src/sleep.js +1 -1
- package/out/solid.js +3 -3
- package/out/solid.js.map +1 -1
- package/out/zero/src/advanced.d.ts +1 -1
- package/out/zero/src/build-schema.d.ts +1 -1
- package/out/zero/src/build-schema.js +1 -1
- package/out/zero/src/change-protocol.d.ts +1 -1
- package/out/zero/src/change-protocol.js +1 -1
- package/out/zero/src/cli.d.ts +1 -1
- package/out/zero/src/cli.js +1 -1
- package/out/zero/src/react.d.ts +1 -1
- package/out/zero/src/server/change-streamer.d.ts +1 -1
- package/out/zero/src/server/change-streamer.js +1 -1
- package/out/zero/src/server/main.d.ts +1 -1
- package/out/zero/src/server/main.js +1 -1
- package/out/zero/src/server/multi/main.d.ts +1 -1
- package/out/zero/src/server/multi/main.js +1 -1
- package/out/zero/src/server/replicator.d.ts +1 -1
- package/out/zero/src/server/replicator.js +1 -1
- package/out/zero/src/server/syncer.d.ts +1 -1
- package/out/zero/src/server/syncer.js +1 -1
- package/out/zero/src/solid.d.ts +1 -1
- package/out/zero/src/zero-cache-dev.js +3 -3
- package/out/zero/src/zero.d.ts +1 -1
- package/out/zero-advanced/src/mod.d.ts +8 -8
- package/out/zero-advanced/src/mod.d.ts.map +1 -1
- package/out/zero-cache/src/auth/jwt.d.ts +1 -1
- package/out/zero-cache/src/auth/load-schema.d.ts +3 -3
- package/out/zero-cache/src/auth/load-schema.d.ts.map +1 -1
- package/out/zero-cache/src/auth/load-schema.js +3 -3
- package/out/zero-cache/src/auth/load-schema.js.map +1 -1
- package/out/zero-cache/src/auth/read-authorizer.d.ts +2 -2
- package/out/zero-cache/src/auth/read-authorizer.d.ts.map +1 -1
- package/out/zero-cache/src/auth/read-authorizer.js +3 -3
- package/out/zero-cache/src/auth/read-authorizer.js.map +1 -1
- package/out/zero-cache/src/auth/write-authorizer.d.ts +5 -5
- package/out/zero-cache/src/auth/write-authorizer.js +14 -14
- package/out/zero-cache/src/config/zero-config.d.ts +2 -2
- package/out/zero-cache/src/config/zero-config.js +6 -6
- package/out/zero-cache/src/db/create.d.ts +1 -1
- package/out/zero-cache/src/db/create.js +1 -1
- package/out/zero-cache/src/db/lite-tables.d.ts +2 -2
- package/out/zero-cache/src/db/lite-tables.js +5 -5
- package/out/zero-cache/src/db/migration-lite.d.ts +2 -2
- package/out/zero-cache/src/db/migration-lite.js +4 -4
- package/out/zero-cache/src/db/migration.d.ts +2 -2
- package/out/zero-cache/src/db/migration.js +3 -3
- package/out/zero-cache/src/db/pg-to-lite.d.ts +2 -2
- package/out/zero-cache/src/db/pg-to-lite.js +5 -5
- package/out/zero-cache/src/db/short-lived-client.d.ts +1 -1
- package/out/zero-cache/src/db/short-lived-client.js +1 -1
- package/out/zero-cache/src/db/specs.d.ts +4 -4
- package/out/zero-cache/src/db/specs.js +3 -3
- package/out/zero-cache/src/db/statements.d.ts +2 -2
- package/out/zero-cache/src/db/statements.js +2 -2
- package/out/zero-cache/src/db/transaction-pool.d.ts +4 -4
- package/out/zero-cache/src/db/transaction-pool.js +3 -3
- package/out/zero-cache/src/server/change-streamer.d.ts +1 -1
- package/out/zero-cache/src/server/change-streamer.js +13 -13
- package/out/zero-cache/src/server/logging.d.ts +1 -1
- package/out/zero-cache/src/server/logging.js +2 -2
- package/out/zero-cache/src/server/main.d.ts +1 -1
- package/out/zero-cache/src/server/main.js +13 -13
- package/out/zero-cache/src/server/multi/config.d.ts +2 -2
- package/out/zero-cache/src/server/multi/config.js +3 -3
- package/out/zero-cache/src/server/multi/main.d.ts +1 -1
- package/out/zero-cache/src/server/multi/main.js +8 -8
- package/out/zero-cache/src/server/multi/runtime.js +1 -1
- package/out/zero-cache/src/server/multi/tenant-dispatcher.d.ts +2 -2
- package/out/zero-cache/src/server/multi/tenant-dispatcher.js +2 -2
- package/out/zero-cache/src/server/replicator.d.ts +1 -1
- package/out/zero-cache/src/server/replicator.js +10 -10
- package/out/zero-cache/src/server/syncer.d.ts +1 -1
- package/out/zero-cache/src/server/syncer.js +21 -21
- package/out/zero-cache/src/services/change-source/pg/change-source.d.ts +8 -8
- package/out/zero-cache/src/services/change-source/pg/change-source.js +24 -24
- package/out/zero-cache/src/services/change-source/pg/initial-sync.d.ts +2 -2
- package/out/zero-cache/src/services/change-source/pg/initial-sync.js +15 -15
- package/out/zero-cache/src/services/change-source/pg/lsn.d.ts +2 -2
- package/out/zero-cache/src/services/change-source/pg/lsn.js +2 -2
- package/out/zero-cache/src/services/change-source/pg/schema/ddl.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/pg/schema/ddl.js +3 -3
- package/out/zero-cache/src/services/change-source/pg/schema/init.d.ts +2 -2
- package/out/zero-cache/src/services/change-source/pg/schema/init.js +3 -3
- package/out/zero-cache/src/services/change-source/pg/schema/published.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/pg/schema/published.js +3 -3
- package/out/zero-cache/src/services/change-source/pg/schema/shard.d.ts +4 -4
- package/out/zero-cache/src/services/change-source/pg/schema/shard.js +7 -7
- package/out/zero-cache/src/services/change-source/pg/schema/validation.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/pg/schema/validation.js +4 -4
- package/out/zero-cache/src/services/change-source/pg/sync-schema.d.ts +2 -2
- package/out/zero-cache/src/services/change-source/pg/sync-schema.js +3 -3
- package/out/zero-cache/src/services/change-source/protocol/current/control.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/control.js +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/data.d.ts +14 -14
- package/out/zero-cache/src/services/change-source/protocol/current/data.js +3 -3
- package/out/zero-cache/src/services/change-source/protocol/current/downstream.d.ts +16 -16
- package/out/zero-cache/src/services/change-source/protocol/current/downstream.js +4 -4
- package/out/zero-cache/src/services/change-source/protocol/current/mod.d.ts +6 -6
- package/out/zero-cache/src/services/change-source/protocol/current/mod.js +6 -6
- package/out/zero-cache/src/services/change-source/protocol/current/status.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/status.js +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/upstream.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/upstream.js +2 -2
- package/out/zero-cache/src/services/change-source/protocol/mod.d.ts +1 -1
- package/out/zero-cache/src/services/change-source/protocol/mod.js +1 -1
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.d.ts +4 -4
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.js +7 -7
- package/out/zero-cache/src/services/change-streamer/change-streamer-service.d.ts +6 -6
- package/out/zero-cache/src/services/change-streamer/change-streamer-service.js +13 -13
- package/out/zero-cache/src/services/change-streamer/change-streamer.d.ts +10 -10
- package/out/zero-cache/src/services/change-streamer/change-streamer.js +3 -3
- package/out/zero-cache/src/services/change-streamer/forwarder.d.ts +2 -2
- package/out/zero-cache/src/services/change-streamer/forwarder.js +2 -2
- package/out/zero-cache/src/services/change-streamer/schema/init.d.ts +1 -1
- package/out/zero-cache/src/services/change-streamer/schema/init.js +2 -2
- package/out/zero-cache/src/services/change-streamer/schema/tables.d.ts +3 -3
- package/out/zero-cache/src/services/change-streamer/schema/tables.js +2 -2
- package/out/zero-cache/src/services/change-streamer/storer.d.ts +6 -6
- package/out/zero-cache/src/services/change-streamer/storer.js +9 -9
- package/out/zero-cache/src/services/change-streamer/subscriber.d.ts +5 -5
- package/out/zero-cache/src/services/change-streamer/subscriber.js +5 -5
- package/out/zero-cache/src/services/dispatcher/connect-params.d.ts +1 -1
- package/out/zero-cache/src/services/dispatcher/connect-params.js +3 -3
- package/out/zero-cache/src/services/dispatcher/sync-dispatcher.d.ts +2 -2
- package/out/zero-cache/src/services/dispatcher/sync-dispatcher.js +4 -4
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.d.ts +2 -2
- package/out/zero-cache/src/services/dispatcher/websocket-handoff.js +3 -3
- package/out/zero-cache/src/services/http-service.d.ts +1 -1
- package/out/zero-cache/src/services/http-service.js +2 -2
- package/out/zero-cache/src/services/life-cycle.d.ts +2 -2
- package/out/zero-cache/src/services/life-cycle.js +2 -2
- package/out/zero-cache/src/services/limiter/sliding-window-limiter.js +1 -1
- package/out/zero-cache/src/services/litestream/commands.d.ts +1 -1
- package/out/zero-cache/src/services/litestream/commands.js +2 -2
- package/out/zero-cache/src/services/mutagen/mutagen.d.ts +8 -8
- package/out/zero-cache/src/services/mutagen/mutagen.d.ts.map +1 -1
- package/out/zero-cache/src/services/mutagen/mutagen.js +14 -14
- package/out/zero-cache/src/services/replicator/change-processor.d.ts +23 -0
- package/out/zero-cache/src/services/replicator/change-processor.d.ts.map +1 -0
- package/out/zero-cache/src/services/replicator/change-processor.js +415 -0
- package/out/zero-cache/src/services/replicator/change-processor.js.map +1 -0
- package/out/zero-cache/src/services/replicator/incremental-sync.d.ts +5 -27
- package/out/zero-cache/src/services/replicator/incremental-sync.d.ts.map +1 -1
- package/out/zero-cache/src/services/replicator/incremental-sync.js +9 -421
- package/out/zero-cache/src/services/replicator/incremental-sync.js.map +1 -1
- package/out/zero-cache/src/services/replicator/notifier.d.ts +2 -2
- package/out/zero-cache/src/services/replicator/notifier.js +1 -1
- package/out/zero-cache/src/services/replicator/replicator.d.ts +5 -5
- package/out/zero-cache/src/services/replicator/replicator.js +3 -3
- package/out/zero-cache/src/services/replicator/schema/change-log.d.ts +6 -6
- package/out/zero-cache/src/services/replicator/schema/change-log.js +4 -4
- package/out/zero-cache/src/services/replicator/schema/replication-state.d.ts +3 -3
- package/out/zero-cache/src/services/replicator/schema/replication-state.js +3 -3
- package/out/zero-cache/src/services/runner.d.ts +1 -1
- package/out/zero-cache/src/services/running-state.d.ts +1 -1
- package/out/zero-cache/src/services/running-state.js +2 -2
- package/out/zero-cache/src/services/view-syncer/client-handler.d.ts +7 -7
- package/out/zero-cache/src/services/view-syncer/client-handler.js +9 -9
- package/out/zero-cache/src/services/view-syncer/cvr-store.d.ts +6 -6
- package/out/zero-cache/src/services/view-syncer/cvr-store.js +17 -17
- package/out/zero-cache/src/services/view-syncer/cvr.d.ts +6 -6
- package/out/zero-cache/src/services/view-syncer/cvr.js +8 -8
- package/out/zero-cache/src/services/view-syncer/database-storage.d.ts +2 -2
- package/out/zero-cache/src/services/view-syncer/database-storage.js +1 -1
- package/out/zero-cache/src/services/view-syncer/drain-coordinator.js +1 -1
- package/out/zero-cache/src/services/view-syncer/key-columns.d.ts +2 -2
- package/out/zero-cache/src/services/view-syncer/key-columns.js +3 -3
- package/out/zero-cache/src/services/view-syncer/pipeline-driver.d.ts +6 -6
- package/out/zero-cache/src/services/view-syncer/pipeline-driver.js +8 -8
- package/out/zero-cache/src/services/view-syncer/schema/cvr.d.ts +2 -2
- package/out/zero-cache/src/services/view-syncer/schema/cvr.js +4 -4
- package/out/zero-cache/src/services/view-syncer/schema/init.d.ts +1 -1
- package/out/zero-cache/src/services/view-syncer/schema/init.js +2 -2
- package/out/zero-cache/src/services/view-syncer/schema/types.d.ts +12 -12
- package/out/zero-cache/src/services/view-syncer/schema/types.js +4 -4
- package/out/zero-cache/src/services/view-syncer/snapshotter.d.ts +5 -5
- package/out/zero-cache/src/services/view-syncer/snapshotter.js +12 -12
- package/out/zero-cache/src/services/view-syncer/view-syncer.d.ts +9 -9
- package/out/zero-cache/src/services/view-syncer/view-syncer.js +20 -20
- package/out/zero-cache/src/types/bigint-json.d.ts +1 -1
- package/out/zero-cache/src/types/bigint-json.js +1 -1
- package/out/zero-cache/src/types/error-for-client.d.ts +1 -1
- package/out/zero-cache/src/types/lexi-version.js +2 -2
- package/out/zero-cache/src/types/lite.d.ts +4 -4
- package/out/zero-cache/src/types/lite.js +2 -2
- package/out/zero-cache/src/types/pg.d.ts +3 -3
- package/out/zero-cache/src/types/pg.js +2 -2
- package/out/zero-cache/src/types/row-key.d.ts +1 -1
- package/out/zero-cache/src/types/row-key.js +3 -3
- package/out/zero-cache/src/types/schema-versions.d.ts +1 -1
- package/out/zero-cache/src/types/schema-versions.js +2 -2
- package/out/zero-cache/src/types/streams.d.ts +2 -2
- package/out/zero-cache/src/types/streams.js +4 -4
- package/out/zero-cache/src/types/subscription.d.ts +1 -1
- package/out/zero-cache/src/types/timeout.js +1 -1
- package/out/zero-cache/src/workers/connection.d.ts +5 -5
- package/out/zero-cache/src/workers/connection.js +9 -9
- package/out/zero-cache/src/workers/replicator.d.ts +5 -5
- package/out/zero-cache/src/workers/replicator.js +4 -4
- package/out/zero-cache/src/workers/syncer.d.ts +8 -8
- package/out/zero-cache/src/workers/syncer.js +10 -10
- package/out/zero-client/src/client/context.d.ts +6 -6
- package/out/zero-client/src/client/crud.d.ts +6 -6
- package/out/zero-client/src/client/crud.d.ts.map +1 -1
- package/out/zero-client/src/client/keys.d.ts +2 -2
- package/out/zero-client/src/client/log-options.d.ts +2 -2
- package/out/zero-client/src/client/log-options.d.ts.map +1 -1
- package/out/zero-client/src/client/metrics.d.ts +2 -2
- package/out/zero-client/src/client/options.d.ts +3 -3
- package/out/zero-client/src/client/query-manager.d.ts +6 -6
- package/out/zero-client/src/client/reload-error-handler.d.ts +1 -1
- package/out/zero-client/src/client/replicache-types.d.ts +1 -1
- package/out/zero-client/src/client/server-error.d.ts +2 -2
- package/out/zero-client/src/client/server-option.d.ts +1 -1
- package/out/zero-client/src/client/zero-poke-handler.d.ts +4 -4
- package/out/zero-client/src/client/zero-poke-handler.d.ts.map +1 -1
- package/out/zero-client/src/client/zero.d.ts +12 -12
- package/out/zero-client/src/mod.d.ts +17 -17
- package/out/zero-client/src/mod.d.ts.map +1 -1
- package/out/zero-client/src/util/socket.d.ts +1 -1
- package/out/zero-protocol/src/ast-hash.d.ts +1 -1
- package/out/zero-protocol/src/ast-hash.js +2 -2
- package/out/zero-protocol/src/ast.d.ts +2 -2
- package/out/zero-protocol/src/ast.js +5 -5
- package/out/zero-protocol/src/change-desired-queries.d.ts +3 -3
- package/out/zero-protocol/src/change-desired-queries.js +2 -2
- package/out/zero-protocol/src/clients-patch.d.ts +1 -1
- package/out/zero-protocol/src/clients-patch.js +1 -1
- package/out/zero-protocol/src/connect.d.ts +3 -3
- package/out/zero-protocol/src/connect.js +2 -2
- package/out/zero-protocol/src/data.d.ts +3 -3
- package/out/zero-protocol/src/data.js +2 -2
- package/out/zero-protocol/src/delete-clients.d.ts +1 -1
- package/out/zero-protocol/src/delete-clients.js +1 -1
- package/out/zero-protocol/src/down.d.ts +6 -6
- package/out/zero-protocol/src/down.js +7 -7
- package/out/zero-protocol/src/error.d.ts +1 -1
- package/out/zero-protocol/src/error.js +2 -2
- package/out/zero-protocol/src/mod.d.ts +14 -14
- package/out/zero-protocol/src/mod.js +14 -14
- package/out/zero-protocol/src/ping.d.ts +1 -1
- package/out/zero-protocol/src/ping.js +1 -1
- package/out/zero-protocol/src/poke.d.ts +9 -9
- package/out/zero-protocol/src/poke.js +5 -5
- package/out/zero-protocol/src/pong.d.ts +1 -1
- package/out/zero-protocol/src/pong.js +1 -1
- package/out/zero-protocol/src/primary-key.d.ts +1 -1
- package/out/zero-protocol/src/primary-key.js +1 -1
- package/out/zero-protocol/src/protocol-version.js +1 -1
- package/out/zero-protocol/src/pull.d.ts +1 -1
- package/out/zero-protocol/src/pull.js +2 -2
- package/out/zero-protocol/src/push.d.ts +26 -26
- package/out/zero-protocol/src/push.js +5 -5
- package/out/zero-protocol/src/queries-patch.d.ts +4 -4
- package/out/zero-protocol/src/queries-patch.js +2 -2
- package/out/zero-protocol/src/row-patch.d.ts +5 -5
- package/out/zero-protocol/src/row-patch.js +4 -4
- package/out/zero-protocol/src/up.d.ts +7 -7
- package/out/zero-protocol/src/up.js +7 -7
- package/out/zero-protocol/src/up.js.map +1 -1
- package/out/zero-protocol/src/version.d.ts +1 -1
- package/out/zero-protocol/src/version.js +1 -1
- package/out/zero-protocol/src/warm.d.ts +1 -1
- package/out/zero-protocol/src/warm.js +1 -1
- package/out/zero-react/src/mod.d.ts +8 -8
- package/out/zero-react/src/use-query.d.ts +4 -4
- package/out/zero-react/src/use-zero.d.ts +2 -2
- package/out/zero-schema/src/build-schema-options.d.ts +1 -1
- package/out/zero-schema/src/build-schema-options.js +1 -1
- package/out/zero-schema/src/build-schema.js +5 -5
- package/out/zero-schema/src/build-schema.js.map +1 -1
- package/out/zero-schema/src/builder/relationship-builder.d.ts +2 -2
- package/out/zero-schema/src/builder/schema-builder.d.ts +3 -3
- package/out/zero-schema/src/builder/schema-builder.js +1 -1
- package/out/zero-schema/src/builder/table-builder.d.ts +3 -3
- package/out/zero-schema/src/compiled-permissions.d.ts +18 -18
- package/out/zero-schema/src/compiled-permissions.js +2 -2
- package/out/zero-schema/src/mod.d.ts +4 -4
- package/out/zero-schema/src/mod.d.ts.map +1 -1
- package/out/zero-schema/src/permissions.d.ts +5 -5
- package/out/zero-schema/src/schema-config.d.ts +4 -4
- package/out/zero-schema/src/schema-config.d.ts.map +1 -1
- package/out/zero-schema/src/schema-config.js +4 -4
- package/out/zero-schema/src/schema-config.js.map +1 -1
- package/out/zero-schema/src/table-schema.d.ts +1 -1
- package/out/zero-solid/src/create-zero.d.ts +2 -2
- package/out/zero-solid/src/create-zero.d.ts.map +1 -1
- package/out/zero-solid/src/mod.d.ts +2 -2
- package/out/zero-solid/src/solid-view.d.ts +3 -3
- package/out/zero-solid/src/use-query.d.ts +3 -3
- package/out/zero-solid/src/use-query.d.ts.map +1 -1
- package/out/zero.js +3 -3
- package/out/zql/src/builder/builder.d.ts +7 -7
- package/out/zql/src/builder/builder.js +10 -10
- package/out/zql/src/builder/filter.d.ts +2 -2
- package/out/zql/src/builder/filter.js +2 -2
- package/out/zql/src/builder/like.d.ts +1 -1
- package/out/zql/src/builder/like.js +1 -1
- package/out/zql/src/ivm/array-view.d.ts +4 -4
- package/out/zql/src/ivm/array-view.js +2 -2
- package/out/zql/src/ivm/change.d.ts +2 -2
- package/out/zql/src/ivm/constraint.d.ts +2 -2
- package/out/zql/src/ivm/constraint.js +3 -3
- package/out/zql/src/ivm/data.d.ts +3 -3
- package/out/zql/src/ivm/data.js +1 -1
- package/out/zql/src/ivm/exists.d.ts +6 -6
- package/out/zql/src/ivm/exists.js +7 -7
- package/out/zql/src/ivm/fan-in.d.ts +6 -6
- package/out/zql/src/ivm/fan-in.js +4 -4
- package/out/zql/src/ivm/fan-out.d.ts +5 -5
- package/out/zql/src/ivm/filter-push.d.ts +3 -3
- package/out/zql/src/ivm/filter-push.d.ts.map +1 -1
- package/out/zql/src/ivm/filter-push.js +2 -2
- package/out/zql/src/ivm/filter-push.js.map +1 -1
- package/out/zql/src/ivm/filter.d.ts +5 -5
- package/out/zql/src/ivm/filter.js +2 -2
- package/out/zql/src/ivm/join.d.ts +7 -7
- package/out/zql/src/ivm/join.js +4 -4
- package/out/zql/src/ivm/maybe-split-and-push-edit-change.d.ts +3 -3
- package/out/zql/src/ivm/memory-source.d.ts +11 -11
- package/out/zql/src/ivm/memory-source.js +9 -9
- package/out/zql/src/ivm/memory-storage.d.ts +3 -3
- package/out/zql/src/ivm/operator.d.ts +7 -7
- package/out/zql/src/ivm/operator.js +1 -1
- package/out/zql/src/ivm/schema.d.ts +4 -4
- package/out/zql/src/ivm/skip.d.ts +6 -6
- package/out/zql/src/ivm/skip.js +2 -2
- package/out/zql/src/ivm/source.d.ts +3 -3
- package/out/zql/src/ivm/take.d.ts +6 -6
- package/out/zql/src/ivm/take.js +8 -8
- package/out/zql/src/ivm/view-apply-change.d.ts +3 -3
- package/out/zql/src/ivm/view-apply-change.js +2 -2
- package/out/zql/src/ivm/view.d.ts +4 -4
- package/out/zql/src/query/auth-query.d.ts +7 -7
- package/out/zql/src/query/auth-query.js +2 -2
- package/out/zql/src/query/dnf.d.ts +1 -1
- package/out/zql/src/query/dnf.js +2 -2
- package/out/zql/src/query/expression.d.ts +3 -4
- package/out/zql/src/query/expression.d.ts.map +1 -1
- package/out/zql/src/query/expression.js +2 -2
- package/out/zql/src/query/query-impl.d.ts +8 -8
- package/out/zql/src/query/query-impl.d.ts.map +1 -1
- package/out/zql/src/query/query-impl.js +7 -7
- package/out/zql/src/query/query-impl.js.map +1 -1
- package/out/zql/src/query/query-internal.d.ts +4 -4
- package/out/zql/src/query/query.d.ts +7 -10
- package/out/zql/src/query/query.d.ts.map +1 -1
- package/out/zql/src/query/typed-view.d.ts +1 -1
- package/out/zqlite/src/db.js +2 -2
- package/out/zqlite/src/internal/statement-cache.d.ts +1 -1
- package/out/zqlite/src/internal/statement-cache.d.ts.map +1 -1
- package/out/zqlite/src/internal/statement-cache.js +1 -1
- package/out/zqlite/src/internal/statement-cache.js.map +1 -1
- package/out/zqlite/src/table-source.d.ts +6 -6
- package/out/zqlite/src/table-source.js +11 -11
- package/package.json +4 -4
- /package/out/{chunk-F5QR3K72.js.map → chunk-424PT5DM.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Listener, TypedView } from '../query/typed-view.
|
|
2
|
-
import type { Change } from './change.
|
|
3
|
-
import type { Input, Output } from './operator.
|
|
4
|
-
import type { Format, View } from './view.
|
|
1
|
+
import type { Listener, TypedView } from '../query/typed-view.ts';
|
|
2
|
+
import type { Change } from './change.ts';
|
|
3
|
+
import type { Input, Output } from './operator.ts';
|
|
4
|
+
import type { Format, View } from './view.ts';
|
|
5
5
|
/**
|
|
6
6
|
* Implements a materialized view of the output of an operator.
|
|
7
7
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assert } from
|
|
2
|
-
import { applyChange } from
|
|
1
|
+
import { assert } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { applyChange } from "./view-apply-change.js";
|
|
3
3
|
/**
|
|
4
4
|
* Implements a materialized view of the output of an operator.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { Node } from './data.
|
|
1
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { Node } from './data.ts';
|
|
3
3
|
export type Change = AddChange | RemoveChange | ChildChange | EditChange;
|
|
4
4
|
export type ChangeType = Change['type'];
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Row, Value } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.
|
|
1
|
+
import type { Row, Value } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.ts';
|
|
3
3
|
export type Constraint = {
|
|
4
4
|
readonly [key: string]: Value;
|
|
5
5
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { assert } from
|
|
2
|
-
import { stringCompare } from
|
|
3
|
-
import { valuesEqual } from
|
|
1
|
+
import { assert } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { stringCompare } from "../../../shared/src/string-compare.js";
|
|
3
|
+
import { valuesEqual } from "./data.js";
|
|
4
4
|
export function constraintMatchesRow(constraint, row) {
|
|
5
5
|
for (const key in constraint) {
|
|
6
6
|
if (!valuesEqual(row[key], constraint[key])) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Ordering } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Row, Value } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { Ordering } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Row, Value } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { Stream } from './stream.ts';
|
|
4
4
|
/**
|
|
5
5
|
* A row flowing through the pipeline, plus its relationships.
|
|
6
6
|
* Relationships are generated lazily as read.
|
package/out/zql/src/ivm/data.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { compareUTF8 } from 'compare-utf8';
|
|
2
|
-
import { assertBoolean, assertNumber, assertString, } from
|
|
2
|
+
import { assertBoolean, assertNumber, assertString, } from "../../../shared/src/asserts.js";
|
|
3
3
|
/**
|
|
4
4
|
* Compare two values. The values must be of the same type. This function
|
|
5
5
|
* throws at runtime if the types differ.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CompoundKey } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import { type Change } from './change.
|
|
3
|
-
import { type FetchRequest, type Input, type Operator, type Output, type Storage } from './operator.
|
|
4
|
-
import type { SourceSchema } from './schema.
|
|
1
|
+
import type { CompoundKey } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import { type Change } from './change.ts';
|
|
3
|
+
import { type FetchRequest, type Input, type Operator, type Output, type Storage } from './operator.ts';
|
|
4
|
+
import type { SourceSchema } from './schema.ts';
|
|
5
5
|
/**
|
|
6
6
|
* The Exists operator filters data based on whether or not a relationship is
|
|
7
7
|
* non-empty.
|
|
@@ -12,8 +12,8 @@ export declare class Exists implements Operator {
|
|
|
12
12
|
setOutput(output: Output): void;
|
|
13
13
|
destroy(): void;
|
|
14
14
|
getSchema(): SourceSchema;
|
|
15
|
-
fetch(req: FetchRequest): Generator<import("./data.
|
|
16
|
-
cleanup(req: FetchRequest): Generator<import("./data.
|
|
15
|
+
fetch(req: FetchRequest): Generator<import("./data.ts").Node, void, unknown>;
|
|
16
|
+
cleanup(req: FetchRequest): Generator<import("./data.ts").Node, void, unknown>;
|
|
17
17
|
push(change: Change): void;
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=exists.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { areEqual } from
|
|
2
|
-
import { assert, unreachable } from
|
|
3
|
-
import { must } from
|
|
4
|
-
import { rowForChange } from
|
|
5
|
-
import { normalizeUndefined } from
|
|
6
|
-
import { throwOutput, } from
|
|
7
|
-
import { first } from
|
|
1
|
+
import { areEqual } from "../../../shared/src/arrays.js";
|
|
2
|
+
import { assert, unreachable } from "../../../shared/src/asserts.js";
|
|
3
|
+
import { must } from "../../../shared/src/must.js";
|
|
4
|
+
import { rowForChange } from "./change.js";
|
|
5
|
+
import { normalizeUndefined } from "./data.js";
|
|
6
|
+
import { throwOutput, } from "./operator.js";
|
|
7
|
+
import { first } from "./stream.js";
|
|
8
8
|
/**
|
|
9
9
|
* The Exists operator filters data based on whether or not a relationship is
|
|
10
10
|
* non-empty.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Change } from './change.
|
|
2
|
-
import type { Node } from './data.
|
|
3
|
-
import type { FanOut } from './fan-out.
|
|
4
|
-
import { type FetchRequest, type Input, type Operator, type Output } from './operator.
|
|
5
|
-
import type { SourceSchema } from './schema.
|
|
6
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { Change } from './change.ts';
|
|
2
|
+
import type { Node } from './data.ts';
|
|
3
|
+
import type { FanOut } from './fan-out.ts';
|
|
4
|
+
import { type FetchRequest, type Input, type Operator, type Output } from './operator.ts';
|
|
5
|
+
import type { SourceSchema } from './schema.ts';
|
|
6
|
+
import type { Stream } from './stream.ts';
|
|
7
7
|
/**
|
|
8
8
|
* The FanIn operator merges multiple streams into one.
|
|
9
9
|
* It eliminates duplicates and must be paired with a fan-out operator
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { assert } from
|
|
2
|
-
import { mergeIterables } from
|
|
3
|
-
import { must } from
|
|
4
|
-
import { throwOutput, } from
|
|
1
|
+
import { assert } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { mergeIterables } from "../../../shared/src/iterables.js";
|
|
3
|
+
import { must } from "../../../shared/src/must.js";
|
|
4
|
+
import { throwOutput, } from "./operator.js";
|
|
5
5
|
/**
|
|
6
6
|
* The FanIn operator merges multiple streams into one.
|
|
7
7
|
* It eliminates duplicates and must be paired with a fan-out operator
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Change } from './change.
|
|
2
|
-
import type { FetchRequest, Input, Operator, Output } from './operator.
|
|
1
|
+
import type { Change } from './change.ts';
|
|
2
|
+
import type { FetchRequest, Input, Operator, Output } from './operator.ts';
|
|
3
3
|
/**
|
|
4
4
|
* Forks a stream into multiple streams.
|
|
5
5
|
* Is meant to be paired with a `FanIn` operator which will
|
|
@@ -10,9 +10,9 @@ export declare class FanOut implements Operator {
|
|
|
10
10
|
constructor(input: Input);
|
|
11
11
|
setOutput(output: Output): void;
|
|
12
12
|
destroy(): void;
|
|
13
|
-
getSchema(): import("./schema.
|
|
14
|
-
fetch(req: FetchRequest): import("./stream.
|
|
15
|
-
cleanup(req: FetchRequest): import("./stream.
|
|
13
|
+
getSchema(): import("./schema.ts").SourceSchema;
|
|
14
|
+
fetch(req: FetchRequest): import("./stream.ts").Stream<import("./data.ts").Node>;
|
|
15
|
+
cleanup(req: FetchRequest): import("./stream.ts").Stream<import("./data.ts").Node>;
|
|
16
16
|
onFanInReceivedPush(): void;
|
|
17
17
|
push(change: Change): void;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
1
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { Change } from './change.ts';
|
|
3
|
+
import type { Output } from './operator.ts';
|
|
4
4
|
export declare function filterPush(change: Change, output: Output, predicate?: ((row: Row) => boolean) | undefined): void;
|
|
5
5
|
//# sourceMappingURL=filter-push.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-push.d.ts","sourceRoot":"","sources":["../../../../../zql/src/ivm/filter-push.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,
|
|
1
|
+
{"version":3,"file":"filter-push.d.ts","sourceRoot":"","sources":["../../../../../zql/src/ivm/filter-push.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,oCAAoC,CAAC;AAC5D,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAExC,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,eAAe,CAAC;AAE1C,wBAAgB,UAAU,CACxB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,QAwBhD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { unreachable } from
|
|
2
|
-
import { maybeSplitAndPushEditChange } from
|
|
1
|
+
import { unreachable } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { maybeSplitAndPushEditChange } from "./maybe-split-and-push-edit-change.js";
|
|
3
3
|
export function filterPush(change, output, predicate) {
|
|
4
4
|
if (!predicate) {
|
|
5
5
|
output.push(change);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-push.js","sourceRoot":"","sources":["../../../../../zql/src/ivm/filter-push.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"filter-push.js","sourceRoot":"","sources":["../../../../../zql/src/ivm/filter-push.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gCAAgC,CAAC;AAG3D,OAAO,EAAC,2BAA2B,EAAC,MAAM,uCAAuC,CAAC;AAGlF,MAAM,UAAU,UAAU,CACxB,MAAc,EACd,MAAc,EACd,SAA+C;IAE/C,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACpB,OAAO;IACT,CAAC;IACD,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,KAAK,CAAC;QACX,KAAK,QAAQ;YACX,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC/B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACtB,CAAC;YACD,MAAM;QACR,KAAK,OAAO;YACV,IAAI,SAAS,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC1B,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACtB,CAAC;YACD,MAAM;QACR,KAAK,MAAM;YACT,2BAA2B,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;YACvD,MAAM;QACR;YACE,WAAW,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;AACH,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { Change } from './change.
|
|
3
|
-
import type { Node } from './data.
|
|
4
|
-
import { type FetchRequest, type Input, type Operator, type Output } from './operator.
|
|
5
|
-
import type { SourceSchema } from './schema.
|
|
1
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { Change } from './change.ts';
|
|
3
|
+
import type { Node } from './data.ts';
|
|
4
|
+
import { type FetchRequest, type Input, type Operator, type Output } from './operator.ts';
|
|
5
|
+
import type { SourceSchema } from './schema.ts';
|
|
6
6
|
/**
|
|
7
7
|
* The Filter operator filters data through a predicate. It is stateless.
|
|
8
8
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { filterPush } from
|
|
2
|
-
import { throwOutput, } from
|
|
1
|
+
import { filterPush } from "./filter-push.js";
|
|
2
|
+
import { throwOutput, } from "./operator.js";
|
|
3
3
|
/**
|
|
4
4
|
* The Filter operator filters data through a predicate. It is stateless.
|
|
5
5
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { CompoundKey, System } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Row, Value } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.
|
|
4
|
-
import { type Node } from './data.
|
|
5
|
-
import { type FetchRequest, type Input, type Output, type Storage } from './operator.
|
|
6
|
-
import type { SourceSchema } from './schema.
|
|
7
|
-
import { type Stream } from './stream.
|
|
1
|
+
import type { CompoundKey, System } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Row, Value } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.ts';
|
|
4
|
+
import { type Node } from './data.ts';
|
|
5
|
+
import { type FetchRequest, type Input, type Output, type Storage } from './operator.ts';
|
|
6
|
+
import type { SourceSchema } from './schema.ts';
|
|
7
|
+
import { type Stream } from './stream.ts';
|
|
8
8
|
type Args = {
|
|
9
9
|
parent: Input;
|
|
10
10
|
child: Input;
|
package/out/zql/src/ivm/join.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { assert, unreachable } from
|
|
2
|
-
import { valuesEqual } from
|
|
3
|
-
import { throwOutput, } from
|
|
4
|
-
import { take } from
|
|
1
|
+
import { assert, unreachable } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { valuesEqual } from "./data.js";
|
|
3
|
+
import { throwOutput, } from "./operator.js";
|
|
4
|
+
import { take } from "./stream.js";
|
|
5
5
|
/**
|
|
6
6
|
* The Join operator joins the output from two upstream inputs. Zero's join
|
|
7
7
|
* is a little different from SQL's join in that we output hierarchical data,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { EditChange } from './change.
|
|
3
|
-
import type { Output } from './operator.
|
|
1
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { EditChange } from './change.ts';
|
|
3
|
+
import type { Output } from './operator.ts';
|
|
4
4
|
/**
|
|
5
5
|
* This takes an {@linkcode EditChange} and a predicate that determines if a row
|
|
6
6
|
* should be present based on the row's data. It then splits the change and
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { Condition, Ordering } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.
|
|
4
|
-
import type { SchemaValue } from '../../../zero-schema/src/table-schema.
|
|
5
|
-
import { type Constraint } from './constraint.
|
|
6
|
-
import { type Comparator, type Node } from './data.
|
|
7
|
-
import { type Start } from './operator.
|
|
8
|
-
import type { Source, SourceChange, SourceInput } from './source.
|
|
9
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { Condition, Ordering } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.ts';
|
|
4
|
+
import type { SchemaValue } from '../../../zero-schema/src/table-schema.ts';
|
|
5
|
+
import { type Constraint } from './constraint.ts';
|
|
6
|
+
import { type Comparator, type Node } from './data.ts';
|
|
7
|
+
import { type Start } from './operator.ts';
|
|
8
|
+
import type { Source, SourceChange, SourceInput } from './source.ts';
|
|
9
|
+
import type { Stream } from './stream.ts';
|
|
10
10
|
export type Overlay = {
|
|
11
11
|
outputIndex: number;
|
|
12
12
|
change: SourceChange;
|
|
@@ -49,7 +49,7 @@ export declare function generateWithStart(nodes: Iterable<Node>, start: Start |
|
|
|
49
49
|
* @param compare - the comparator to use to find the position for the overlay
|
|
50
50
|
*/
|
|
51
51
|
export declare function generateWithOverlay(startAt: Row | undefined, rows: Iterable<Row>, constraint: Constraint | undefined, overlay: Overlay | undefined, compare: Comparator, filterPredicate?: (row: Row) => boolean | undefined): Generator<{
|
|
52
|
-
row: Readonly<Record<string, import("../../../shared/src/json.
|
|
52
|
+
row: Readonly<Record<string, import("../../../shared/src/json.ts").ReadonlyJSONValue | undefined>>;
|
|
53
53
|
relationships: {};
|
|
54
54
|
}, void, unknown>;
|
|
55
55
|
export { overlaysForStartAt as overlaysForStartAtForTest };
|
|
@@ -57,7 +57,7 @@ declare function overlaysForStartAt({ add, remove }: Overlays, startAt: Row, com
|
|
|
57
57
|
export { overlaysForConstraint as overlaysForConstraintForTest };
|
|
58
58
|
declare function overlaysForConstraint({ add, remove }: Overlays, constraint: Constraint): Overlays;
|
|
59
59
|
export declare function generateWithOverlayInner(rowIterator: Iterable<Row>, overlays: Overlays, compare: (r1: Row, r2: Row) => number): Generator<{
|
|
60
|
-
row: Readonly<Record<string, import("../../../shared/src/json.
|
|
60
|
+
row: Readonly<Record<string, import("../../../shared/src/json.ts").ReadonlyJSONValue | undefined>>;
|
|
61
61
|
relationships: {};
|
|
62
62
|
}, void, unknown>;
|
|
63
63
|
//# sourceMappingURL=memory-source.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { assert, unreachable } from
|
|
2
|
-
import { BTreeSet } from
|
|
3
|
-
import { hasOwn } from
|
|
4
|
-
import { assertOrderingIncludesPK } from
|
|
5
|
-
import { createPredicate, transformFilters, } from
|
|
6
|
-
import { constraintMatchesPrimaryKey, constraintMatchesRow, } from
|
|
7
|
-
import { compareValues, makeComparator, } from
|
|
8
|
-
import { filterPush } from
|
|
9
|
-
import {} from
|
|
1
|
+
import { assert, unreachable } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { BTreeSet } from "../../../shared/src/btree-set.js";
|
|
3
|
+
import { hasOwn } from "../../../shared/src/has-own.js";
|
|
4
|
+
import { assertOrderingIncludesPK } from "../builder/builder.js";
|
|
5
|
+
import { createPredicate, transformFilters, } from "../builder/filter.js";
|
|
6
|
+
import { constraintMatchesPrimaryKey, constraintMatchesRow, } from "./constraint.js";
|
|
7
|
+
import { compareValues, makeComparator, } from "./data.js";
|
|
8
|
+
import { filterPush } from "./filter-push.js";
|
|
9
|
+
import {} from "./operator.js";
|
|
10
10
|
/**
|
|
11
11
|
* A `MemorySource` is a source that provides data to the pipeline from an
|
|
12
12
|
* in-memory data source.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { JSONValue } from '../../../shared/src/json.
|
|
2
|
-
import type { Storage } from './operator.
|
|
3
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { JSONValue } from '../../../shared/src/json.ts';
|
|
2
|
+
import type { Storage } from './operator.ts';
|
|
3
|
+
import type { Stream } from './stream.ts';
|
|
4
4
|
/**
|
|
5
5
|
* MemoryStorage is a simple in-memory implementation of `Storage` for use
|
|
6
6
|
* on the client and in tests.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { JSONValue } from '../../../shared/src/json.
|
|
2
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { Change } from './change.
|
|
4
|
-
import type { Constraint } from './constraint.
|
|
5
|
-
import { type Node } from './data.
|
|
6
|
-
import type { SourceSchema } from './schema.
|
|
7
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { JSONValue } from '../../../shared/src/json.ts';
|
|
2
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { Change } from './change.ts';
|
|
4
|
+
import type { Constraint } from './constraint.ts';
|
|
5
|
+
import { type Node } from './data.ts';
|
|
6
|
+
import type { SourceSchema } from './schema.ts';
|
|
7
|
+
import type { Stream } from './stream.ts';
|
|
8
8
|
/**
|
|
9
9
|
* Input to an operator.
|
|
10
10
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Ordering, System } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.
|
|
4
|
-
import type { SchemaValue } from '../../../zero-schema/src/table-schema.
|
|
1
|
+
import type { Ordering, System } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.ts';
|
|
4
|
+
import type { SchemaValue } from '../../../zero-schema/src/table-schema.ts';
|
|
5
5
|
/**
|
|
6
6
|
* Information about the nodes output by an operator.
|
|
7
7
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { Change } from './change.
|
|
3
|
-
import type { Node } from './data.
|
|
4
|
-
import { type FetchRequest, type Input, type Operator, type Output } from './operator.
|
|
5
|
-
import type { SourceSchema } from './schema.
|
|
6
|
-
import type { Stream } from './stream.
|
|
1
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { Change } from './change.ts';
|
|
3
|
+
import type { Node } from './data.ts';
|
|
4
|
+
import { type FetchRequest, type Input, type Operator, type Output } from './operator.ts';
|
|
5
|
+
import type { SourceSchema } from './schema.ts';
|
|
6
|
+
import type { Stream } from './stream.ts';
|
|
7
7
|
export type Bound = {
|
|
8
8
|
row: Row;
|
|
9
9
|
exclusive: boolean;
|
package/out/zql/src/ivm/skip.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { maybeSplitAndPushEditChange } from
|
|
2
|
-
import { throwOutput, } from
|
|
1
|
+
import { maybeSplitAndPushEditChange } from "./maybe-split-and-push-edit-change.js";
|
|
2
|
+
import { throwOutput, } from "./operator.js";
|
|
3
3
|
/**
|
|
4
4
|
* Skip sets the start position for the pipeline. No rows before the bound will
|
|
5
5
|
* be output.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Condition, Ordering } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Row } from '../../../zero-protocol/src/data.
|
|
3
|
-
import type { Input } from './operator.
|
|
1
|
+
import type { Condition, Ordering } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Row } from '../../../zero-protocol/src/data.ts';
|
|
3
|
+
import type { Input } from './operator.ts';
|
|
4
4
|
export type SourceChangeAdd = {
|
|
5
5
|
type: 'add';
|
|
6
6
|
row: Row;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.
|
|
2
|
-
import { type Change } from './change.
|
|
3
|
-
import { type Node } from './data.
|
|
4
|
-
import { type FetchRequest, type Input, type Operator, type Output, type Storage } from './operator.
|
|
5
|
-
import type { SourceSchema } from './schema.
|
|
6
|
-
import { type Stream } from './stream.
|
|
1
|
+
import type { PrimaryKey } from '../../../zero-protocol/src/primary-key.ts';
|
|
2
|
+
import { type Change } from './change.ts';
|
|
3
|
+
import { type Node } from './data.ts';
|
|
4
|
+
import { type FetchRequest, type Input, type Operator, type Output, type Storage } from './operator.ts';
|
|
5
|
+
import type { SourceSchema } from './schema.ts';
|
|
6
|
+
import { type Stream } from './stream.ts';
|
|
7
7
|
export type PartitionKey = PrimaryKey;
|
|
8
8
|
/**
|
|
9
9
|
* The Take operator is for implementing limit queries. It takes the first n
|
package/out/zql/src/ivm/take.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { assert, unreachable } from
|
|
2
|
-
import { hasOwn } from
|
|
3
|
-
import { must } from
|
|
4
|
-
import { assertOrderingIncludesPK } from
|
|
5
|
-
import { rowForChange, } from
|
|
6
|
-
import { compareValues } from
|
|
7
|
-
import { throwOutput, } from
|
|
8
|
-
import { first, take } from
|
|
1
|
+
import { assert, unreachable } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { hasOwn } from "../../../shared/src/has-own.js";
|
|
3
|
+
import { must } from "../../../shared/src/must.js";
|
|
4
|
+
import { assertOrderingIncludesPK } from "../builder/builder.js";
|
|
5
|
+
import { rowForChange, } from "./change.js";
|
|
6
|
+
import { compareValues } from "./data.js";
|
|
7
|
+
import { throwOutput, } from "./operator.js";
|
|
8
|
+
import { first, take } from "./stream.js";
|
|
9
9
|
const MAX_BOUND_KEY = 'maxBound';
|
|
10
10
|
/**
|
|
11
11
|
* The Take operator is for implementing limit queries. It takes the first n
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Change } from './change.
|
|
2
|
-
import type { SourceSchema } from './schema.
|
|
3
|
-
import type { Entry, Format } from './view.
|
|
1
|
+
import type { Change } from './change.ts';
|
|
2
|
+
import type { SourceSchema } from './schema.ts';
|
|
3
|
+
import type { Entry, Format } from './view.ts';
|
|
4
4
|
export declare function applyChange(parentEntry: Entry, change: Change, schema: SourceSchema, relationship: string, format: Format): void;
|
|
5
5
|
//# sourceMappingURL=view-apply-change.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { assert, assertArray, assertObject, assertUndefined, unreachable, } from
|
|
2
|
-
import { must } from
|
|
1
|
+
import { assert, assertArray, assertObject, assertUndefined, unreachable, } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { must } from "../../../shared/src/must.js";
|
|
3
3
|
export function applyChange(parentEntry, change, schema, relationship, format) {
|
|
4
4
|
if (schema.isHidden) {
|
|
5
5
|
switch (change.type) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Value } from '../../../zero-protocol/src/data.
|
|
2
|
-
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.
|
|
3
|
-
import type { Query } from '../query/query.
|
|
4
|
-
import type { Input } from './operator.
|
|
1
|
+
import type { Value } from '../../../zero-protocol/src/data.ts';
|
|
2
|
+
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.ts';
|
|
3
|
+
import type { Query } from '../query/query.ts';
|
|
4
|
+
import type { Input } from './operator.ts';
|
|
5
5
|
export type View = EntryList | Entry | undefined;
|
|
6
6
|
export type EntryList = readonly Entry[];
|
|
7
7
|
export type Entry = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { AST } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.
|
|
3
|
-
import type { Format } from '../ivm/view.
|
|
4
|
-
import { ExpressionBuilder } from './expression.
|
|
5
|
-
import { AbstractQuery } from './query-impl.
|
|
6
|
-
import type { HumanReadable, PullRow, Query } from './query.
|
|
7
|
-
import type { TypedView } from './typed-view.
|
|
1
|
+
import type { AST } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.ts';
|
|
3
|
+
import type { Format } from '../ivm/view.ts';
|
|
4
|
+
import { ExpressionBuilder } from './expression.ts';
|
|
5
|
+
import { AbstractQuery } from './query-impl.ts';
|
|
6
|
+
import type { HumanReadable, PullRow, Query } from './query.ts';
|
|
7
|
+
import type { TypedView } from './typed-view.ts';
|
|
8
8
|
export declare function authQuery<TSchema extends Schema, TTable extends keyof TSchema['tables'] & string>(schema: TSchema, tableName: TTable): Query<TSchema, TTable>;
|
|
9
9
|
export declare class AuthQuery<TSchema extends Schema, TTable extends keyof TSchema['tables'] & string, TReturn = PullRow<TTable, TSchema>> extends AbstractQuery<TSchema, TTable, TReturn> {
|
|
10
10
|
constructor(schema: TSchema, tableName: TTable, ast?: AST, format?: Format | undefined);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExpressionBuilder } from
|
|
2
|
-
import { AbstractQuery } from
|
|
1
|
+
import { ExpressionBuilder } from "./expression.js";
|
|
2
|
+
import { AbstractQuery } from "./query-impl.js";
|
|
3
3
|
export function authQuery(schema, tableName) {
|
|
4
4
|
return new AuthQuery(schema, tableName);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Condition } from '../../../zero-protocol/src/ast.
|
|
1
|
+
import type { Condition } from '../../../zero-protocol/src/ast.ts';
|
|
2
2
|
/**
|
|
3
3
|
* DNF (Disjunctive Normal Form) is a way to represent a boolean expression as a
|
|
4
4
|
* series of `or` conditions where each `or` condition is a series of `and`
|
package/out/zql/src/query/dnf.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { unreachable } from
|
|
2
|
-
import { flatten, TRUE } from
|
|
1
|
+
import { unreachable } from "../../../shared/src/asserts.js";
|
|
2
|
+
import { flatten, TRUE } from "./expression.js";
|
|
3
3
|
/**
|
|
4
4
|
* DNF (Disjunctive Normal Form) is a way to represent a boolean expression as a
|
|
5
5
|
* series of `or` conditions where each `or` condition is a series of `and`
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { toStaticParam, type Condition, type LiteralValue, type Parameter } from '../../../zero-protocol/src/ast.
|
|
2
|
-
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.
|
|
3
|
-
import type { Operator } from './query.
|
|
4
|
-
import type { AvailableRelationships, DestTableName, GetFilterType, NoJsonSelector, PullTableSchema, Query } from './query.js';
|
|
1
|
+
import { toStaticParam, type Condition, type LiteralValue, type Parameter } from '../../../zero-protocol/src/ast.ts';
|
|
2
|
+
import type { Schema } from '../../../zero-schema/src/builder/schema-builder.ts';
|
|
3
|
+
import type { AvailableRelationships, DestTableName, GetFilterType, NoJsonSelector, Operator, PullTableSchema, Query } from './query.ts';
|
|
5
4
|
export type ParameterReference = {
|
|
6
5
|
[toStaticParam](): Parameter;
|
|
7
6
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expression.d.ts","sourceRoot":"","sources":["../../../../../zql/src/query/expression.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,oDAAoD,CAAC;AAC/E,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"expression.d.ts","sourceRoot":"","sources":["../../../../../zql/src/query/expression.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,aAAa,EACb,KAAK,SAAS,EACd,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAC,MAAM,EAAC,MAAM,oDAAoD,CAAC;AAC/E,OAAO,KAAK,EACV,sBAAsB,EACtB,aAAa,EACb,aAAa,EACb,cAAc,EACd,QAAQ,EACR,eAAe,EACf,KAAK,EACN,MAAM,YAAY,CAAC;AAEpB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,aAAa,CAAC,IAAI,SAAS,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,iBAAiB,CAChC,OAAO,SAAS,MAAM,EACtB,MAAM,SAAS,MAAM,OAAO,CAAC,QAAQ,CAAC,GAAG,MAAM;IAE/C,CAAC,EAAE,EAAE,iBAAiB,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG,SAAS,CAAC;CACrD;AAED,qBAAa,iBAAiB,CAC5B,OAAO,SAAS,MAAM,EACtB,MAAM,SAAS,MAAM,OAAO,CAAC,QAAQ,CAAC,GAAG,MAAM;;gBAQ7C,MAAM,EAAE,CACN,YAAY,EAAE,MAAM,EACpB,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,KACxD,SAAS;IAMhB,IAAI,EAAE,SAEL;IAED,GAAG,CACD,SAAS,SAAS,cAAc,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EAClE,SAAS,SAAS,QAAQ,EAE1B,KAAK,EAAE,SAAS,EAChB,EAAE,EAAE,SAAS,EACb,KAAK,EACD,aAAa,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,SAAS,CAAC,GACrE,kBAAkB,GACrB,SAAS;IACZ,GAAG,CAAC,SAAS,SAAS,cAAc,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,EACpE,KAAK,EAAE,SAAS,EAChB,KAAK,EACD,aAAa,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,CAAC,GAC/D,kBAAkB,GACrB,SAAS;IASZ,MAAM,CACJ,IAAI,EAAE,kBAAkB,GAAG,YAAY,EACvC,EAAE,EAAE,QAAQ,EACZ,KAAK,EAAE,kBAAkB,GAAG,YAAY,GACvC,SAAS;IAaZ,GAAG,aAAO;IACV,EAAE,YAAM;IACR,GAAG,aAAO;IAEV,MAAM,CAAC,aAAa,SAAS,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,EAClE,YAAY,EAAE,aAAa,EAC3B,EAAE,CAAC,EAAE,CACH,KAAK,EAAE,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,KACjE,KAAK,CAAC,OAAO,EAAE,GAAG,CAAC,GACvB,SAAS;CAGb;AAED,wBAAgB,GAAG,CAAC,GAAG,UAAU,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,GAAG,SAAS,CAYvE;AAED,wBAAgB,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,SAAS,GAAG,SAAS,CAAC,EAAE,GAAG,SAAS,CAYtE;AAED,wBAAgB,GAAG,CAAC,UAAU,EAAE,SAAS,GAAG,SAAS,CA0BpD;AAED,wBAAgB,GAAG,CACjB,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,QAAQ,GAAG,kBAAkB,GAAG,YAAY,EACvD,KAAK,CAAC,EAAE,kBAAkB,GAAG,YAAY,GACxC,SAAS,CAiBX;AAUD,eAAO,MAAM,IAAI,EAAE,SAGlB,CAAC;AAeF,wBAAgB,OAAO,CACrB,IAAI,EAAE,KAAK,GAAG,IAAI,EAClB,UAAU,EAAE,SAAS,EAAE,GACtB,SAAS,EAAE,CAWb"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
import { must } from
|
|
3
|
-
import { toStaticParam, } from
|
|
2
|
+
import { must } from "../../../shared/src/must.js";
|
|
3
|
+
import { toStaticParam, } from "../../../zero-protocol/src/ast.js";
|
|
4
4
|
export class ExpressionBuilder {
|
|
5
5
|
#exists;
|
|
6
6
|
constructor(exists) {
|