@adobe/data 0.9.2 → 0.9.5
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/LICENSE +1 -1
- package/assembly/index.wasm.map +1 -1
- package/assembly/package.json +1 -0
- package/assembly-test/assembly.test.js +1 -21
- package/assembly-test/assembly.test.js.map +1 -1
- package/blob/blob-handle.js +1 -21
- package/blob/blob-handle.js.map +1 -1
- package/blob/blob-meta.js.map +1 -1
- package/blob/index.js +1 -21
- package/blob/index.js.map +1 -1
- package/blob/package.json +1 -0
- package/cache/async-cache.js +1 -21
- package/cache/async-cache.js.map +1 -1
- package/cache/blob-store.js +1 -21
- package/cache/blob-store.js.map +1 -1
- package/cache/blob-store.test.js +1 -21
- package/cache/blob-store.test.js.map +1 -1
- package/cache/data-cache.js.map +1 -1
- package/cache/data-cache.test.js +1 -21
- package/cache/data-cache.test.js.map +1 -1
- package/cache/expiring-data-cache.js +1 -21
- package/cache/expiring-data-cache.js.map +1 -1
- package/cache/expiring-data-cache.test.js +1 -21
- package/cache/expiring-data-cache.test.js.map +1 -1
- package/cache/fallback-async-cache.js.map +1 -1
- package/cache/functions/async-data-function.js +1 -21
- package/cache/functions/async-data-function.js.map +1 -1
- package/cache/functions/functions.test.js +1 -21
- package/cache/functions/functions.test.js.map +1 -1
- package/cache/functions/get-cached.js +1 -21
- package/cache/functions/get-cached.js.map +1 -1
- package/cache/functions/get-cached.test.js +1 -21
- package/cache/functions/get-cached.test.js.map +1 -1
- package/cache/functions/hashing/array-buffer-to-hex.js +1 -21
- package/cache/functions/hashing/array-buffer-to-hex.js.map +1 -1
- package/cache/functions/hashing/blob-to-hash.js +1 -21
- package/cache/functions/hashing/blob-to-hash.js.map +1 -1
- package/cache/functions/hashing/buffer-to-hash.js +1 -21
- package/cache/functions/hashing/buffer-to-hash.js.map +1 -1
- package/cache/functions/hashing/hashing.test.js +1 -21
- package/cache/functions/hashing/hashing.test.js.map +1 -1
- package/cache/functions/hashing/index.js +1 -21
- package/cache/functions/hashing/index.js.map +1 -1
- package/cache/functions/hashing/json-to-hash.js +1 -21
- package/cache/functions/hashing/json-to-hash.js.map +1 -1
- package/cache/functions/hashing/string-to-hash.js +1 -21
- package/cache/functions/hashing/string-to-hash.js.map +1 -1
- package/cache/functions/index.js +1 -21
- package/cache/functions/index.js.map +1 -1
- package/cache/functions/memoize.js +1 -21
- package/cache/functions/memoize.js.map +1 -1
- package/cache/functions/prevent-parallel-execution.js.map +1 -1
- package/cache/get-persistent-cache.js.map +1 -1
- package/cache/index.js +1 -21
- package/cache/index.js.map +1 -1
- package/cache/managed-array.js.map +1 -1
- package/cache/managed-async-cache.browser.test.js +1 -21
- package/cache/managed-async-cache.browser.test.js.map +1 -1
- package/cache/managed-async-cache.js.map +1 -1
- package/cache/memory-allocator.js +1 -21
- package/cache/memory-allocator.js.map +1 -1
- package/cache/memory-async-cache.js.map +1 -1
- package/cache/package.json +1 -0
- package/data.js +1 -21
- package/data.js.map +1 -1
- package/ecs/archetype/archetype.js.map +1 -1
- package/ecs/archetype/create-archetype.js +1 -21
- package/ecs/archetype/create-archetype.js.map +1 -1
- package/ecs/archetype/create-archetype.test.js +1 -21
- package/ecs/archetype/create-archetype.test.js.map +1 -1
- package/ecs/archetype/delete-row.js +1 -21
- package/ecs/archetype/delete-row.js.map +1 -1
- package/ecs/archetype/delete-row.test.js +1 -21
- package/ecs/archetype/delete-row.test.js.map +1 -1
- package/ecs/archetype/index.js +1 -21
- package/ecs/archetype/index.js.map +1 -1
- package/ecs/database/calculate-system-order.js +1 -21
- package/ecs/database/calculate-system-order.js.map +1 -1
- package/ecs/database/calculate-system-order.test.js +1 -21
- package/ecs/database/calculate-system-order.test.js.map +1 -1
- package/ecs/database/combine-plugins-test.d.ts +39 -0
- package/ecs/database/combine-plugins-test.js +3 -0
- package/ecs/database/combine-plugins-test.js.map +1 -0
- package/ecs/database/combine-plugins.d.ts +24 -0
- package/ecs/database/combine-plugins.js +27 -0
- package/ecs/database/combine-plugins.js.map +1 -0
- package/ecs/database/create-plugin.d.ts +54 -55
- package/ecs/database/create-plugin.js +65 -43
- package/ecs/database/create-plugin.js.map +1 -1
- package/ecs/database/create-plugin.test.js +157 -86
- package/ecs/database/create-plugin.test.js.map +1 -1
- package/ecs/database/create-plugin.type-test.d.ts +1 -0
- package/ecs/database/create-plugin.type-test.js +667 -0
- package/ecs/database/create-plugin.type-test.js.map +1 -0
- package/ecs/database/database-schema/create-database-schema-test.js +1 -21
- package/ecs/database/database-schema/create-database-schema-test.js.map +1 -1
- package/ecs/database/database-schema/create-database-schema.d.ts +3 -3
- package/ecs/database/database-schema/create-database-schema.js +1 -21
- package/ecs/database/database-schema/create-database-schema.js.map +1 -1
- package/ecs/database/database-schema/database-schema.d.ts +3 -3
- package/ecs/database/database-schema/database-schema.js +1 -21
- package/ecs/database/database-schema/database-schema.js.map +1 -1
- package/ecs/database/database-schema/index.js +1 -21
- package/ecs/database/database-schema/index.js.map +1 -1
- package/ecs/database/database.d.ts +34 -46
- package/ecs/database/database.js +6 -37
- package/ecs/database/database.js.map +1 -1
- package/ecs/database/database.test.js +18 -33
- package/ecs/database/database.test.js.map +1 -1
- package/ecs/database/index.js +1 -21
- package/ecs/database/index.js.map +1 -1
- package/ecs/database/observe-dependent-value.js +1 -21
- package/ecs/database/observe-dependent-value.js.map +1 -1
- package/ecs/database/observe-dependent-value.test.js +1 -21
- package/ecs/database/observe-dependent-value.test.js.map +1 -1
- package/ecs/database/observe-select-entities.js +1 -21
- package/ecs/database/observe-select-entities.js.map +1 -1
- package/ecs/database/observe-select-entities.performance.test.js +1 -21
- package/ecs/database/observe-select-entities.performance.test.js.map +1 -1
- package/ecs/database/observe-select-entities.test.js +1 -21
- package/ecs/database/observe-select-entities.test.js.map +1 -1
- package/ecs/database/observed/create-observed-database.js +1 -17
- package/ecs/database/observed/create-observed-database.js.map +1 -1
- package/ecs/database/observed/create-observed-database.test.js +6 -6
- package/ecs/database/observed/create-observed-database.test.js.map +1 -1
- package/ecs/database/observed/observed-database.js +1 -17
- package/ecs/database/observed/observed-database.js.map +1 -1
- package/ecs/database/public/create-database-from-schema.test.js +1 -21
- package/ecs/database/public/create-database-from-schema.test.js.map +1 -1
- package/ecs/database/public/create-database-scheduler.test.d.ts +1 -0
- package/ecs/database/public/create-database-scheduler.test.js +67 -0
- package/ecs/database/public/create-database-scheduler.test.js.map +1 -0
- package/ecs/database/public/create-database.d.ts +19 -7
- package/ecs/database/public/create-database.js +76 -186
- package/ecs/database/public/create-database.js.map +1 -1
- package/ecs/database/public/create-database.test.js +190 -180
- package/ecs/database/public/create-database.test.js.map +1 -1
- package/ecs/database/public/create-database.type-test.d.ts +1 -0
- package/ecs/database/public/create-database.type-test.js +160 -0
- package/ecs/database/public/create-database.type-test.js.map +1 -0
- package/ecs/database/public/index.js +1 -20
- package/ecs/database/public/index.js.map +1 -1
- package/ecs/database/reconciling/create-reconciling-database.d.ts +2 -2
- package/ecs/database/reconciling/create-reconciling-database.js +1 -20
- package/ecs/database/reconciling/create-reconciling-database.js.map +1 -1
- package/ecs/database/reconciling/create-reconciling-database.test.js +5 -6
- package/ecs/database/reconciling/create-reconciling-database.test.js.map +1 -1
- package/ecs/database/reconciling/reconciling-database.d.ts +2 -2
- package/ecs/database/reconciling/reconciling-database.js +1 -20
- package/ecs/database/reconciling/reconciling-database.js.map +1 -1
- package/ecs/database/reconciling/reconciling-entry.js +1 -20
- package/ecs/database/reconciling/reconciling-entry.js.map +1 -1
- package/ecs/database/transactional-store/apply-operations.js.map +1 -1
- package/ecs/database/transactional-store/coalesce-actions.js +1 -21
- package/ecs/database/transactional-store/coalesce-actions.js.map +1 -1
- package/ecs/database/transactional-store/coalesce-actions.test.js +1 -21
- package/ecs/database/transactional-store/coalesce-actions.test.js.map +1 -1
- package/ecs/database/transactional-store/create-transactional-store.js.map +1 -1
- package/ecs/database/transactional-store/create-transactional-store.test.js +1 -21
- package/ecs/database/transactional-store/create-transactional-store.test.js.map +1 -1
- package/ecs/database/transactional-store/index.js +1 -21
- package/ecs/database/transactional-store/index.js.map +1 -1
- package/ecs/database/transactional-store/patch-entity-values.js.map +1 -1
- package/ecs/database/transactional-store/transaction-options.js +1 -21
- package/ecs/database/transactional-store/transaction-options.js.map +1 -1
- package/ecs/database/transactional-store/transactional-store.js +1 -21
- package/ecs/database/transactional-store/transactional-store.js.map +1 -1
- package/ecs/database/type-inference-example.js +1 -0
- package/ecs/database/type-inference-example.js.map +1 -1
- package/ecs/database/undoable.js +1 -21
- package/ecs/database/undoable.js.map +1 -1
- package/ecs/entity-location-table/create-entity-location-table.js +1 -21
- package/ecs/entity-location-table/create-entity-location-table.js.map +1 -1
- package/ecs/entity-location-table/create-entity-location-table.test.js +1 -21
- package/ecs/entity-location-table/create-entity-location-table.test.js.map +1 -1
- package/ecs/entity-location-table/entity-location.js.map +1 -1
- package/ecs/entity-location-table/index.js +1 -21
- package/ecs/entity-location-table/index.js.map +1 -1
- package/ecs/entity.js.map +1 -1
- package/ecs/index.d.ts +1 -2
- package/ecs/index.js +2 -22
- package/ecs/index.js.map +1 -1
- package/ecs/package.json +1 -0
- package/ecs/persistence-service/create-storage-persistence-service.js +1 -21
- package/ecs/persistence-service/create-storage-persistence-service.js.map +1 -1
- package/ecs/persistence-service/index.js +1 -21
- package/ecs/persistence-service/index.js.map +1 -1
- package/ecs/plugins/index.js +1 -21
- package/ecs/plugins/index.js.map +1 -1
- package/ecs/plugins/scheduler/index.js +1 -21
- package/ecs/plugins/scheduler/index.js.map +1 -1
- package/ecs/plugins/scheduler/scheduler.d.ts +7 -4
- package/ecs/plugins/scheduler/scheduler.js +18 -24
- package/ecs/plugins/scheduler/scheduler.js.map +1 -1
- package/ecs/resource-schemas.js +1 -21
- package/ecs/resource-schemas.js.map +1 -1
- package/ecs/store/action-functions.d.ts +9 -10
- package/ecs/store/action-functions.js +1 -0
- package/ecs/store/action-functions.js.map +1 -1
- package/ecs/store/archetype-components.d.ts +4 -2
- package/ecs/store/archetype-components.js +1 -21
- package/ecs/store/archetype-components.js.map +1 -1
- package/ecs/store/components.js +1 -21
- package/ecs/store/components.js.map +1 -1
- package/ecs/store/core/core.js +1 -21
- package/ecs/store/core/core.js.map +1 -1
- package/ecs/store/core/create-core.js +1 -21
- package/ecs/store/core/create-core.js.map +1 -1
- package/ecs/store/core/create-core.test.js +1 -21
- package/ecs/store/core/create-core.test.js.map +1 -1
- package/ecs/store/core/index.js +1 -21
- package/ecs/store/core/index.js.map +1 -1
- package/ecs/store/core/select-entities.js +1 -21
- package/ecs/store/core/select-entities.js.map +1 -1
- package/ecs/store/core/select-entities.test.js +1 -21
- package/ecs/store/core/select-entities.test.js.map +1 -1
- package/ecs/store/create-store-schema-test.js +1 -21
- package/ecs/store/create-store-schema-test.js.map +1 -1
- package/ecs/store/entity-select-options.js +1 -21
- package/ecs/store/entity-select-options.js.map +1 -1
- package/ecs/store/index.js +1 -21
- package/ecs/store/index.js.map +1 -1
- package/ecs/store/public/create-store.d.ts +1 -2
- package/ecs/store/public/create-store.js +1 -21
- package/ecs/store/public/create-store.js.map +1 -1
- package/ecs/store/public/create-store.test.js +1 -21
- package/ecs/store/public/create-store.test.js.map +1 -1
- package/ecs/store/resource-components.js +1 -21
- package/ecs/store/resource-components.js.map +1 -1
- package/ecs/store/store.d.ts +5 -5
- package/ecs/store/store.js.map +1 -1
- package/ecs/store/store.test.js +1 -21
- package/ecs/store/store.test.js.map +1 -1
- package/ecs/store/transaction-functions.d.ts +21 -0
- package/ecs/store/transaction-functions.js +2 -0
- package/ecs/store/transaction-functions.js.map +1 -0
- package/ecs/undo-redo-service/create-undo-redo-service.js +1 -21
- package/ecs/undo-redo-service/create-undo-redo-service.js.map +1 -1
- package/ecs/undo-redo-service/create-undo-redo-service.test.js +1 -21
- package/ecs/undo-redo-service/create-undo-redo-service.test.js.map +1 -1
- package/ecs/undo-redo-service/index.js +1 -21
- package/ecs/undo-redo-service/index.js.map +1 -1
- package/ecs/undo-redo-service/undo-redo-service.js +1 -21
- package/ecs/undo-redo-service/undo-redo-service.js.map +1 -1
- package/equals-shallow.js +1 -21
- package/equals-shallow.js.map +1 -1
- package/equals-shallow.test.js +1 -21
- package/equals-shallow.test.js.map +1 -1
- package/equals.js +1 -21
- package/equals.js.map +1 -1
- package/equals.test.js +1 -21
- package/equals.test.js.map +1 -1
- package/functions/apply-args.js +1 -21
- package/functions/apply-args.js.map +1 -1
- package/functions/blit.js +1 -21
- package/functions/blit.js.map +1 -1
- package/functions/copy-view-bytes.js +1 -21
- package/functions/copy-view-bytes.js.map +1 -1
- package/functions/index.js +1 -21
- package/functions/index.js.map +1 -1
- package/functions/merge-patch.js.map +1 -1
- package/functions/merge-patch.test.js +1 -21
- package/functions/merge-patch.test.js.map +1 -1
- package/functions/package.json +1 -0
- package/functions/serialization/codec.js +1 -21
- package/functions/serialization/codec.js.map +1 -1
- package/functions/serialization/index.js +1 -21
- package/functions/serialization/index.js.map +1 -1
- package/functions/serialization/register-blob-codecs.js.map +1 -1
- package/functions/serialization/register-typed-array-codecs.js.map +1 -1
- package/functions/serialization/serialization.test.js +1 -21
- package/functions/serialization/serialization.test.js.map +1 -1
- package/functions/serialization/serialize-to-blobs.js +1 -21
- package/functions/serialization/serialize-to-blobs.js.map +1 -1
- package/functions/serialization/serialize-to-blobs.test.js +1 -21
- package/functions/serialization/serialize-to-blobs.test.js.map +1 -1
- package/functions/serialization/serialize-to-json.js +1 -21
- package/functions/serialization/serialize-to-json.js.map +1 -1
- package/functions/serialization/serialize-to-json.test.js +1 -21
- package/functions/serialization/serialize-to-json.test.js.map +1 -1
- package/functions/serialization/serialize-to-storage.js +1 -21
- package/functions/serialization/serialize-to-storage.js.map +1 -1
- package/functions/serialization/serialize-to-storage.test.js +1 -21
- package/functions/serialization/serialize-to-storage.test.js.map +1 -1
- package/functions/serialization/serialize.js +1 -21
- package/functions/serialization/serialize.js.map +1 -1
- package/index.js +1 -21
- package/index.js.map +1 -1
- package/internal/array/index.js +1 -21
- package/internal/array/index.js.map +1 -1
- package/internal/array/topological-sort.js +1 -21
- package/internal/array/topological-sort.js.map +1 -1
- package/internal/array/topological-sort.test.js +1 -21
- package/internal/array/topological-sort.test.js.map +1 -1
- package/internal/array-buffer-like/copy.js +1 -21
- package/internal/array-buffer-like/copy.js.map +1 -1
- package/internal/array-buffer-like/index.js +1 -21
- package/internal/array-buffer-like/index.js.map +1 -1
- package/internal/array-buffer-like/is-array-buffer.js +1 -21
- package/internal/array-buffer-like/is-array-buffer.js.map +1 -1
- package/internal/array-buffer-like/is-shared-array-buffer.js +1 -21
- package/internal/array-buffer-like/is-shared-array-buffer.js.map +1 -1
- package/internal/array-buffer-like/resize.js +1 -21
- package/internal/array-buffer-like/resize.js.map +1 -1
- package/internal/async-generator/is-async-generator.js +1 -21
- package/internal/async-generator/is-async-generator.js.map +1 -1
- package/internal/data-view-32/create-data-view-32.js.map +1 -1
- package/internal/data-view-32/index.js +1 -21
- package/internal/data-view-32/index.js.map +1 -1
- package/internal/function/debounce.js +1 -21
- package/internal/function/debounce.js.map +1 -1
- package/internal/function/debounce.test.js +1 -21
- package/internal/function/debounce.test.js.map +1 -1
- package/internal/function/memoize-factory.js +1 -21
- package/internal/function/memoize-factory.js.map +1 -1
- package/internal/object/index.js +1 -21
- package/internal/object/index.js.map +1 -1
- package/internal/object/map-entries.js +1 -21
- package/internal/object/map-entries.js.map +1 -1
- package/internal/promise/is-promise.js +1 -21
- package/internal/promise/is-promise.js.map +1 -1
- package/internal/shared-array-buffer/create-shared-array-buffer.js +1 -21
- package/internal/shared-array-buffer/create-shared-array-buffer.js.map +1 -1
- package/internal/typed-array/get-byte-size.js.map +1 -1
- package/internal/typed-array/index.js +1 -21
- package/internal/typed-array/index.js.map +1 -1
- package/is-data.js +1 -21
- package/is-data.js.map +1 -1
- package/lit/decorators/apply-decorator.js +1 -21
- package/lit/decorators/apply-decorator.js.map +1 -1
- package/lit/decorators/apply-service-decorators.js +1 -21
- package/lit/decorators/apply-service-decorators.js.map +1 -1
- package/lit/decorators/index.js +1 -21
- package/lit/decorators/index.js.map +1 -1
- package/lit/decorators/require-service.js +1 -21
- package/lit/decorators/require-service.js.map +1 -1
- package/lit/elements/application-element copy.d.ts +9 -0
- package/lit/elements/application-element copy.js +62 -0
- package/lit/elements/application-element copy.js.map +1 -0
- package/lit/elements/application-element.js +1 -21
- package/lit/elements/application-element.js.map +1 -1
- package/lit/elements/application-host.js +1 -21
- package/lit/elements/application-host.js.map +1 -1
- package/lit/elements/database-element.d.ts +10 -0
- package/lit/elements/database-element.js +40 -0
- package/lit/elements/database-element.js.map +1 -0
- package/lit/elements/index.d.ts +1 -0
- package/lit/elements/index.js +2 -21
- package/lit/elements/index.js.map +1 -1
- package/lit/functions/index.js +1 -21
- package/lit/functions/index.js.map +1 -1
- package/lit/functions/iterate-self-and-ancestors.js +1 -21
- package/lit/functions/iterate-self-and-ancestors.js.map +1 -1
- package/lit/hooks/attach-decorator.js +1 -21
- package/lit/hooks/attach-decorator.js.map +1 -1
- package/lit/hooks/component/component.js +1 -21
- package/lit/hooks/component/component.js.map +1 -1
- package/lit/hooks/component/stack.js +1 -21
- package/lit/hooks/component/stack.js.map +1 -1
- package/lit/hooks/index.js +1 -21
- package/lit/hooks/index.js.map +1 -1
- package/lit/hooks/use-connected.js +1 -21
- package/lit/hooks/use-connected.js.map +1 -1
- package/lit/hooks/use-debounce.js +1 -21
- package/lit/hooks/use-debounce.js.map +1 -1
- package/lit/hooks/use-drag-observe.js +1 -21
- package/lit/hooks/use-drag-observe.js.map +1 -1
- package/lit/hooks/use-drag-transaction.d.ts +1 -1
- package/lit/hooks/use-drag-transaction.js +1 -21
- package/lit/hooks/use-drag-transaction.js.map +1 -1
- package/lit/hooks/use-draggable.js +1 -21
- package/lit/hooks/use-draggable.js.map +1 -1
- package/lit/hooks/use-effect.js +1 -21
- package/lit/hooks/use-effect.js.map +1 -1
- package/lit/hooks/use-element.js +1 -21
- package/lit/hooks/use-element.js.map +1 -1
- package/lit/hooks/use-memo.js +1 -21
- package/lit/hooks/use-memo.js.map +1 -1
- package/lit/hooks/use-observable-values.js +1 -21
- package/lit/hooks/use-observable-values.js.map +1 -1
- package/lit/hooks/use-observable.js +1 -21
- package/lit/hooks/use-observable.js.map +1 -1
- package/lit/hooks/use-ref.js +1 -21
- package/lit/hooks/use-ref.js.map +1 -1
- package/lit/hooks/use-resize-observer.js +1 -21
- package/lit/hooks/use-resize-observer.js.map +1 -1
- package/lit/hooks/use-state.js +1 -21
- package/lit/hooks/use-state.js.map +1 -1
- package/lit/hooks/use-updated.js +1 -21
- package/lit/hooks/use-updated.js.map +1 -1
- package/lit/hooks/use-window-event.js +1 -21
- package/lit/hooks/use-window-event.js.map +1 -1
- package/lit/hooks/with-hooks.js +1 -21
- package/lit/hooks/with-hooks.js.map +1 -1
- package/lit/index.js +1 -21
- package/lit/index.js.map +1 -1
- package/lit/package.json +1 -0
- package/math/aabb/center.js.map +1 -1
- package/math/aabb/face/aabb-face.test.js +1 -21
- package/math/aabb/face/aabb-face.test.js.map +1 -1
- package/math/aabb/face/functions.js +1 -21
- package/math/aabb/face/functions.js.map +1 -1
- package/math/aabb/face/index.js +1 -21
- package/math/aabb/face/index.js.map +1 -1
- package/math/aabb/face/public.js +1 -21
- package/math/aabb/face/public.js.map +1 -1
- package/math/aabb/face/schema.js +1 -21
- package/math/aabb/face/schema.js.map +1 -1
- package/math/aabb/index.js +1 -21
- package/math/aabb/index.js.map +1 -1
- package/math/aabb/layout.js +1 -21
- package/math/aabb/layout.js.map +1 -1
- package/math/aabb/line-intersection.js.map +1 -1
- package/math/aabb/line-intersection.test.js +1 -21
- package/math/aabb/line-intersection.test.js.map +1 -1
- package/math/aabb/public.js +1 -21
- package/math/aabb/public.js.map +1 -1
- package/math/aabb/schema.js +1 -21
- package/math/aabb/schema.js.map +1 -1
- package/math/aabb/unit.js.map +1 -1
- package/math/constants.js +1 -21
- package/math/constants.js.map +1 -1
- package/math/f32/index.js +1 -21
- package/math/f32/index.js.map +1 -1
- package/math/f32/public.js +1 -21
- package/math/f32/public.js.map +1 -1
- package/math/f32/schema.js +1 -21
- package/math/f32/schema.js.map +1 -1
- package/math/f64/index.js.map +1 -1
- package/math/f64/public.js +1 -21
- package/math/f64/public.js.map +1 -1
- package/math/f64/schema.js.map +1 -1
- package/math/i32/index.js +1 -21
- package/math/i32/index.js.map +1 -1
- package/math/i32/public.js +1 -21
- package/math/i32/public.js.map +1 -1
- package/math/i32/schema.js +1 -21
- package/math/i32/schema.js.map +1 -1
- package/math/index.js +1 -21
- package/math/index.js.map +1 -1
- package/math/line2/functions.js +1 -21
- package/math/line2/functions.js.map +1 -1
- package/math/line2/index.js +1 -21
- package/math/line2/index.js.map +1 -1
- package/math/line2/intersects.test.js +1 -21
- package/math/line2/intersects.test.js.map +1 -1
- package/math/line2/layout.js +1 -21
- package/math/line2/layout.js.map +1 -1
- package/math/line2/public.js +1 -21
- package/math/line2/public.js.map +1 -1
- package/math/line2/schema.js +1 -21
- package/math/line2/schema.js.map +1 -1
- package/math/line3/closest-point-on-line.test.js +1 -21
- package/math/line3/closest-point-on-line.test.js.map +1 -1
- package/math/line3/functions.js +1 -21
- package/math/line3/functions.js.map +1 -1
- package/math/line3/index.js +1 -21
- package/math/line3/index.js.map +1 -1
- package/math/line3/interpolate.test.js +1 -21
- package/math/line3/interpolate.test.js.map +1 -1
- package/math/line3/layout.js +1 -21
- package/math/line3/layout.js.map +1 -1
- package/math/line3/public.js +1 -21
- package/math/line3/public.js.map +1 -1
- package/math/line3/schema.js +1 -21
- package/math/line3/schema.js.map +1 -1
- package/math/line3/sub-line.test.js +1 -21
- package/math/line3/sub-line.test.js.map +1 -1
- package/math/mat4x4/functions.js +1 -21
- package/math/mat4x4/functions.js.map +1 -1
- package/math/mat4x4/index.js +1 -21
- package/math/mat4x4/index.js.map +1 -1
- package/math/mat4x4/layout.js +1 -21
- package/math/mat4x4/layout.js.map +1 -1
- package/math/mat4x4/public.js +1 -21
- package/math/mat4x4/public.js.map +1 -1
- package/math/mat4x4/schema.js +1 -21
- package/math/mat4x4/schema.js.map +1 -1
- package/math/package.json +1 -0
- package/math/plane/functions.js +1 -21
- package/math/plane/functions.js.map +1 -1
- package/math/plane/index.js +1 -21
- package/math/plane/index.js.map +1 -1
- package/math/plane/layout.js +1 -21
- package/math/plane/layout.js.map +1 -1
- package/math/plane/plane.test.js +1 -21
- package/math/plane/plane.test.js.map +1 -1
- package/math/plane/public.js +1 -21
- package/math/plane/public.js.map +1 -1
- package/math/plane/schema.js +1 -21
- package/math/plane/schema.js.map +1 -1
- package/math/quat/constants/functions.js +1 -21
- package/math/quat/constants/functions.js.map +1 -1
- package/math/quat/functions.js +1 -21
- package/math/quat/functions.js.map +1 -1
- package/math/quat/index.js +1 -21
- package/math/quat/index.js.map +1 -1
- package/math/quat/layout.js +1 -21
- package/math/quat/layout.js.map +1 -1
- package/math/quat/public.js +1 -21
- package/math/quat/public.js.map +1 -1
- package/math/quat/schema.js +1 -21
- package/math/quat/schema.js.map +1 -1
- package/math/u32/index.js +1 -21
- package/math/u32/index.js.map +1 -1
- package/math/u32/public.js +1 -21
- package/math/u32/public.js.map +1 -1
- package/math/u32/schema.js +1 -21
- package/math/u32/schema.js.map +1 -1
- package/math/vec2/functions.js +1 -21
- package/math/vec2/functions.js.map +1 -1
- package/math/vec2/index.js +1 -21
- package/math/vec2/index.js.map +1 -1
- package/math/vec2/layout.js +1 -21
- package/math/vec2/layout.js.map +1 -1
- package/math/vec2/public.js +1 -21
- package/math/vec2/public.js.map +1 -1
- package/math/vec2/schema.js +1 -21
- package/math/vec2/schema.js.map +1 -1
- package/math/vec3/functions.js +1 -21
- package/math/vec3/functions.js.map +1 -1
- package/math/vec3/index.js +1 -21
- package/math/vec3/index.js.map +1 -1
- package/math/vec3/layout.js +1 -21
- package/math/vec3/layout.js.map +1 -1
- package/math/vec3/public.js +1 -21
- package/math/vec3/public.js.map +1 -1
- package/math/vec3/schema.js +1 -21
- package/math/vec3/schema.js.map +1 -1
- package/math/vec4/functions.js +1 -21
- package/math/vec4/functions.js.map +1 -1
- package/math/vec4/index.js +1 -21
- package/math/vec4/index.js.map +1 -1
- package/math/vec4/layout.js +1 -21
- package/math/vec4/layout.js.map +1 -1
- package/math/vec4/public.js +1 -21
- package/math/vec4/public.js.map +1 -1
- package/math/vec4/schema.js +1 -21
- package/math/vec4/schema.js.map +1 -1
- package/mutable-clone.js +1 -21
- package/mutable-clone.js.map +1 -1
- package/mutable.js +1 -21
- package/mutable.js.map +1 -1
- package/normalize.js +1 -21
- package/normalize.js.map +1 -1
- package/normalize.test.js +1 -21
- package/normalize.test.js.map +1 -1
- package/observe/create-event.js.map +1 -1
- package/observe/create-persisted-state.js.map +1 -1
- package/observe/create-persisted-state.test.js +1 -21
- package/observe/create-persisted-state.test.js.map +1 -1
- package/observe/create-query-state.js +1 -21
- package/observe/create-query-state.js.map +1 -1
- package/observe/create-state.js.map +1 -1
- package/observe/from-array.js +1 -21
- package/observe/from-array.js.map +1 -1
- package/observe/from-constant.js.map +1 -1
- package/observe/from-element-id.js +1 -21
- package/observe/from-element-id.js.map +1 -1
- package/observe/from-element-properties-and-events.js.map +1 -1
- package/observe/from-element-property.js +1 -21
- package/observe/from-element-property.js.map +1 -1
- package/observe/from-promise-with-error.js.map +1 -1
- package/observe/from-promise.js.map +1 -1
- package/observe/from-properties.js.map +1 -1
- package/observe/index.js +1 -21
- package/observe/index.js.map +1 -1
- package/observe/observe.test.js +1 -21
- package/observe/observe.test.js.map +1 -1
- package/observe/package.json +1 -0
- package/observe/public.js +1 -21
- package/observe/public.js.map +1 -1
- package/observe/to-async-generator.js +1 -21
- package/observe/to-async-generator.js.map +1 -1
- package/observe/to-async-generator.test.js +1 -21
- package/observe/to-async-generator.test.js.map +1 -1
- package/observe/to-promise.js.map +1 -1
- package/observe/to-properties.js.map +1 -1
- package/observe/with-async-map.js.map +1 -1
- package/observe/with-batch.js.map +1 -1
- package/observe/with-batch.test.js +1 -21
- package/observe/with-batch.test.js.map +1 -1
- package/observe/with-cache.js.map +1 -1
- package/observe/with-copy.js.map +1 -1
- package/observe/with-deduplicate-data.js.map +1 -1
- package/observe/with-deduplicate.js.map +1 -1
- package/observe/with-default.js.map +1 -1
- package/observe/with-filter.js.map +1 -1
- package/observe/with-filter.test.js +1 -21
- package/observe/with-filter.test.js.map +1 -1
- package/observe/with-lazy.js.map +1 -1
- package/observe/with-lazy.test.js +1 -21
- package/observe/with-lazy.test.js.map +1 -1
- package/observe/with-map-data.js +1 -21
- package/observe/with-map-data.js.map +1 -1
- package/observe/with-map.js.map +1 -1
- package/observe/with-optional.js.map +1 -1
- package/observe/with-unwrap.js.map +1 -1
- package/old-ecs/action-ecs/action-ecs.js +1 -21
- package/old-ecs/action-ecs/action-ecs.js.map +1 -1
- package/old-ecs/action-ecs/action-ecs.test.js +1 -21
- package/old-ecs/action-ecs/action-ecs.test.js.map +1 -1
- package/old-ecs/action-ecs/action-types.js.map +1 -1
- package/old-ecs/action-ecs/index.js +1 -21
- package/old-ecs/action-ecs/index.js.map +1 -1
- package/old-ecs/action-ecs/sequential-action.js +1 -21
- package/old-ecs/action-ecs/sequential-action.js.map +1 -1
- package/old-ecs/core-ecs/core-ecs-serialization.test.js +1 -21
- package/old-ecs/core-ecs/core-ecs-serialization.test.js.map +1 -1
- package/old-ecs/core-ecs/core-ecs-types.js +1 -21
- package/old-ecs/core-ecs/core-ecs-types.js.map +1 -1
- package/old-ecs/core-ecs/core-ecs.js +1 -21
- package/old-ecs/core-ecs/core-ecs.js.map +1 -1
- package/old-ecs/core-ecs/core-ecs.test.js +1 -21
- package/old-ecs/core-ecs/core-ecs.test.js.map +1 -1
- package/old-ecs/ecs/ecs-types.js +1 -21
- package/old-ecs/ecs/ecs-types.js.map +1 -1
- package/old-ecs/ecs/ecs-where-functions.js +1 -21
- package/old-ecs/ecs/ecs-where-functions.js.map +1 -1
- package/old-ecs/ecs/ecs.js.map +1 -1
- package/old-ecs/ecs/ecs.test.js +1 -21
- package/old-ecs/ecs/ecs.test.js.map +1 -1
- package/old-ecs/ecs/index.js +1 -21
- package/old-ecs/ecs/index.js.map +1 -1
- package/old-ecs/entity.js.map +1 -1
- package/old-ecs/index.js +1 -21
- package/old-ecs/index.js.map +1 -1
- package/old-ecs/package.json +1 -0
- package/old-ecs/transaction-ecs/index.js +1 -21
- package/old-ecs/transaction-ecs/index.js.map +1 -1
- package/old-ecs/transaction-ecs/transaction-ecs.js.map +1 -1
- package/old-ecs/transaction-ecs/transaction-ecs.test.js +1 -21
- package/old-ecs/transaction-ecs/transaction-ecs.test.js.map +1 -1
- package/old-ecs/transaction-ecs/transactions.js +1 -21
- package/old-ecs/transaction-ecs/transactions.js.map +1 -1
- package/package.json +111 -3
- package/perftest/ecs-perf.js +1 -21
- package/perftest/ecs-perf.js.map +1 -1
- package/perftest/helper-functions.js +1 -21
- package/perftest/helper-functions.js.map +1 -1
- package/perftest/horizon-perf.js +1 -21
- package/perftest/horizon-perf.js.map +1 -1
- package/perftest/index.js +1 -21
- package/perftest/index.js.map +1 -1
- package/perftest/package.json +1 -0
- package/perftest/perf-test.js.map +1 -1
- package/perftest/vanilla-perf.js +1 -21
- package/perftest/vanilla-perf.js.map +1 -1
- package/samples/index.js +1 -21
- package/samples/index.js.map +1 -1
- package/samples/package.json +1 -0
- package/samples/todo/elements/todo-list/todo-list-presentation.js.map +1 -1
- package/samples/todo/elements/todo-list/todo-list.css.js +1 -21
- package/samples/todo/elements/todo-list/todo-list.css.js.map +1 -1
- package/samples/todo/elements/todo-list/todo-list.js +1 -21
- package/samples/todo/elements/todo-list/todo-list.js.map +1 -1
- package/samples/todo/elements/todo-row/index.js +1 -21
- package/samples/todo/elements/todo-row/index.js.map +1 -1
- package/samples/todo/elements/todo-row/todo-row-presentation.js +1 -21
- package/samples/todo/elements/todo-row/todo-row-presentation.js.map +1 -1
- package/samples/todo/elements/todo-row/todo-row.css.js +1 -21
- package/samples/todo/elements/todo-row/todo-row.css.js.map +1 -1
- package/samples/todo/elements/todo-row/todo-row.js +1 -21
- package/samples/todo/elements/todo-row/todo-row.js.map +1 -1
- package/samples/todo/elements/todo-toolbar/index.js +1 -21
- package/samples/todo/elements/todo-toolbar/index.js.map +1 -1
- package/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js +1 -21
- package/samples/todo/elements/todo-toolbar/todo-toolbar-presentation.js.map +1 -1
- package/samples/todo/elements/todo-toolbar/todo-toolbar.css.js +1 -21
- package/samples/todo/elements/todo-toolbar/todo-toolbar.css.js.map +1 -1
- package/samples/todo/elements/todo-toolbar/todo-toolbar.js +1 -21
- package/samples/todo/elements/todo-toolbar/todo-toolbar.js.map +1 -1
- package/samples/todo/elements/todo-undo-redo/index.js +1 -21
- package/samples/todo/elements/todo-undo-redo/index.js.map +1 -1
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js +1 -21
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo-presentation.js.map +1 -1
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js +1 -21
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo.css.js.map +1 -1
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo.js +1 -21
- package/samples/todo/elements/todo-undo-redo/todo-undo-redo.js.map +1 -1
- package/samples/todo/services/dependent-state-service/create-dependent-state-service.js +1 -21
- package/samples/todo/services/dependent-state-service/create-dependent-state-service.js.map +1 -1
- package/samples/todo/services/dependent-state-service/dependent-state/all-todos.js.map +1 -1
- package/samples/todo/services/dependent-state-service/dependent-state/complete-todos.js.map +1 -1
- package/samples/todo/services/dependent-state-service/dependent-state/incomplete-todos.js.map +1 -1
- package/samples/todo/services/dependent-state-service/dependent-state/index.js +1 -21
- package/samples/todo/services/dependent-state-service/dependent-state/index.js.map +1 -1
- package/samples/todo/services/main-service/create-main-service.js.map +1 -1
- package/samples/todo/services/state-service/create-todo-database.d.ts +1 -1
- package/samples/todo/services/state-service/create-todo-database.js +1 -21
- package/samples/todo/services/state-service/create-todo-database.js.map +1 -1
- package/samples/todo/services/state-service/create-todo-store.js +1 -21
- package/samples/todo/services/state-service/create-todo-store.js.map +1 -1
- package/samples/todo/services/state-service/transactions/create-bulk-todos.js +1 -21
- package/samples/todo/services/state-service/transactions/create-bulk-todos.js.map +1 -1
- package/samples/todo/services/state-service/transactions/create-todo.js.map +1 -1
- package/samples/todo/services/state-service/transactions/create-todo.test.js +1 -21
- package/samples/todo/services/state-service/transactions/create-todo.test.js.map +1 -1
- package/samples/todo/services/state-service/transactions/delete-all-todos.js.map +1 -1
- package/samples/todo/services/state-service/transactions/delete-todo.js +1 -21
- package/samples/todo/services/state-service/transactions/delete-todo.js.map +1 -1
- package/samples/todo/services/state-service/transactions/delete-todo.test.js +1 -21
- package/samples/todo/services/state-service/transactions/delete-todo.test.js.map +1 -1
- package/samples/todo/services/state-service/transactions/drag-todo.js +1 -21
- package/samples/todo/services/state-service/transactions/drag-todo.js.map +1 -1
- package/samples/todo/services/state-service/transactions/index.js +1 -21
- package/samples/todo/services/state-service/transactions/index.js.map +1 -1
- package/samples/todo/services/state-service/transactions/reorder-todos.js.map +1 -1
- package/samples/todo/services/state-service/transactions/toggle-complete.js.map +1 -1
- package/samples/todo/services/state-service/transactions/toggle-complete.test.js +1 -21
- package/samples/todo/services/state-service/transactions/toggle-complete.test.js.map +1 -1
- package/samples/todo/todo-element.js.map +1 -1
- package/samples/todo/todo-host.js +1 -21
- package/samples/todo/todo-host.js.map +1 -1
- package/samples/todo/todo-main-element.js +1 -21
- package/samples/todo/todo-main-element.js.map +1 -1
- package/samples/todo/todo-sample.js +1 -21
- package/samples/todo/todo-sample.js.map +1 -1
- package/schema/boolean/index.js +1 -21
- package/schema/boolean/index.js.map +1 -1
- package/schema/boolean/public.js +1 -21
- package/schema/boolean/public.js.map +1 -1
- package/schema/boolean/schema.js.map +1 -1
- package/schema/dynamic/deep-merge.js.map +1 -1
- package/schema/dynamic/deep-merge.test.js +1 -21
- package/schema/dynamic/deep-merge.test.js.map +1 -1
- package/schema/dynamic/enumerate-patches.js.map +1 -1
- package/schema/dynamic/enumerate-patches.test.js +1 -21
- package/schema/dynamic/enumerate-patches.test.js.map +1 -1
- package/schema/dynamic/get-dynamic-schema.js +1 -21
- package/schema/dynamic/get-dynamic-schema.js.map +1 -1
- package/schema/dynamic/get-dynamic-schema.test.js +1 -21
- package/schema/dynamic/get-dynamic-schema.test.js.map +1 -1
- package/schema/dynamic/index.js +1 -21
- package/schema/dynamic/index.js.map +1 -1
- package/schema/index.js +1 -21
- package/schema/index.js.map +1 -1
- package/schema/nullable.js.map +1 -1
- package/schema/package.json +1 -0
- package/schema/public.js +1 -21
- package/schema/public.js.map +1 -1
- package/schema/schema.js +1 -21
- package/schema/schema.js.map +1 -1
- package/schema/time/index.js +1 -21
- package/schema/time/index.js.map +1 -1
- package/schema/time/public.js +1 -21
- package/schema/time/public.js.map +1 -1
- package/schema/time/schema.js +1 -21
- package/schema/time/schema.js.map +1 -1
- package/schema/to-type.js +1 -21
- package/schema/to-type.js.map +1 -1
- package/schema/to-vertex-buffer-layout.js +1 -21
- package/schema/to-vertex-buffer-layout.js.map +1 -1
- package/schema/to-vertex-buffer-layout.test.js +1 -21
- package/schema/to-vertex-buffer-layout.test.js.map +1 -1
- package/schema/true/index.js +1 -21
- package/schema/true/index.js.map +1 -1
- package/schema/true/public.js +1 -21
- package/schema/true/public.js.map +1 -1
- package/schema/true/schema.js.map +1 -1
- package/schema/tuple.js +1 -21
- package/schema/tuple.js.map +1 -1
- package/schema/validation/index.js +1 -21
- package/schema/validation/index.js.map +1 -1
- package/schema/validation/is-valid.js.map +1 -1
- package/schema/validation/is-valid.test.js +1 -21
- package/schema/validation/is-valid.test.js.map +1 -1
- package/schema/validation/validate.js +1 -21
- package/schema/validation/validate.js.map +1 -1
- package/schema/validation/validate.test.js +1 -21
- package/schema/validation/validate.test.js.map +1 -1
- package/schema/validation/with-validation.js.map +1 -1
- package/schema/validation/with-validation.test.js +1 -21
- package/schema/validation/with-validation.test.js.map +1 -1
- package/schema.test.js.map +1 -1
- package/service/add-observable-actions.js +1 -21
- package/service/add-observable-actions.js.map +1 -1
- package/service/disposable.js +1 -21
- package/service/disposable.js.map +1 -1
- package/service/index.js +1 -21
- package/service/index.js.map +1 -1
- package/service/is-service.js +1 -21
- package/service/is-service.js.map +1 -1
- package/service/package.json +1 -0
- package/service/progressive-result.js +1 -21
- package/service/progressive-result.js.map +1 -1
- package/service/service.js +1 -21
- package/service/service.js.map +1 -1
- package/table/add-row.js +1 -21
- package/table/add-row.js.map +1 -1
- package/table/copy-column-to-gpu-buffer.js +1 -21
- package/table/copy-column-to-gpu-buffer.js.map +1 -1
- package/table/create-table.js +1 -21
- package/table/create-table.js.map +1 -1
- package/table/create-table.test.js +1 -21
- package/table/create-table.test.js.map +1 -1
- package/table/delete-row.js.map +1 -1
- package/table/ensure-capacity.js.map +1 -1
- package/table/get-row-data.js.map +1 -1
- package/table/index.js +1 -21
- package/table/index.js.map +1 -1
- package/table/package.json +1 -0
- package/table/row-index.js.map +1 -1
- package/table/select-rows.js.map +1 -1
- package/table/select-rows.test.js +1 -21
- package/table/select-rows.test.js.map +1 -1
- package/table/table-compact.test.js +1 -21
- package/table/table-compact.test.js.map +1 -1
- package/table/table.js.map +1 -1
- package/table/update-row.js.map +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/typed-buffer/copy-to-gpu-buffer.js +1 -21
- package/typed-buffer/copy-to-gpu-buffer.js.map +1 -1
- package/typed-buffer/create-array-buffer.js.map +1 -1
- package/typed-buffer/create-array-buffer.test.js +1 -21
- package/typed-buffer/create-array-buffer.test.js.map +1 -1
- package/typed-buffer/create-const-buffer.copy.test.js +1 -21
- package/typed-buffer/create-const-buffer.copy.test.js.map +1 -1
- package/typed-buffer/create-const-buffer.js.map +1 -1
- package/typed-buffer/create-const-buffer.test.js +1 -21
- package/typed-buffer/create-const-buffer.test.js.map +1 -1
- package/typed-buffer/create-number-buffer.js +1 -21
- package/typed-buffer/create-number-buffer.js.map +1 -1
- package/typed-buffer/create-number-buffer.test.js +1 -21
- package/typed-buffer/create-number-buffer.test.js.map +1 -1
- package/typed-buffer/create-struct-buffer.copy.test.js +1 -21
- package/typed-buffer/create-struct-buffer.copy.test.js.map +1 -1
- package/typed-buffer/create-struct-buffer.js +1 -21
- package/typed-buffer/create-struct-buffer.js.map +1 -1
- package/typed-buffer/create-struct-buffer.test.js +1 -21
- package/typed-buffer/create-struct-buffer.test.js.map +1 -1
- package/typed-buffer/create-typed-buffer.js.map +1 -1
- package/typed-buffer/create-typed-buffer.test.js +1 -21
- package/typed-buffer/create-typed-buffer.test.js.map +1 -1
- package/typed-buffer/index.js +1 -21
- package/typed-buffer/index.js.map +1 -1
- package/typed-buffer/is-typed-buffer.js +1 -21
- package/typed-buffer/is-typed-buffer.js.map +1 -1
- package/typed-buffer/is-typed-buffer.test.js +1 -21
- package/typed-buffer/is-typed-buffer.test.js.map +1 -1
- package/typed-buffer/package.json +1 -0
- package/typed-buffer/register-typed-buffer-codecs.js +1 -21
- package/typed-buffer/register-typed-buffer-codecs.js.map +1 -1
- package/typed-buffer/structs/assert-struct.js.map +1 -1
- package/typed-buffer/structs/create-read-struct.js +1 -21
- package/typed-buffer/structs/create-read-struct.js.map +1 -1
- package/typed-buffer/structs/create-read-struct.test.js +1 -21
- package/typed-buffer/structs/create-read-struct.test.js.map +1 -1
- package/typed-buffer/structs/create-write-struct.js +1 -21
- package/typed-buffer/structs/create-write-struct.js.map +1 -1
- package/typed-buffer/structs/get-field-offset.js.map +1 -1
- package/typed-buffer/structs/get-struct-layout.js +1 -21
- package/typed-buffer/structs/get-struct-layout.js.map +1 -1
- package/typed-buffer/structs/get-struct-layout.test.js +1 -21
- package/typed-buffer/structs/get-struct-layout.test.js.map +1 -1
- package/typed-buffer/structs/index.js +1 -21
- package/typed-buffer/structs/index.js.map +1 -1
- package/typed-buffer/structs/write-struct.test.js +1 -21
- package/typed-buffer/structs/write-struct.test.js.map +1 -1
- package/typed-buffer/typed-buffer-equals.js +1 -21
- package/typed-buffer/typed-buffer-equals.js.map +1 -1
- package/typed-buffer/typed-buffer-equals.test.js +1 -21
- package/typed-buffer/typed-buffer-equals.test.js.map +1 -1
- package/typed-buffer/typed-buffer.js.map +1 -1
- package/typed-buffer/typed-buffer.test.js +1 -21
- package/typed-buffer/typed-buffer.test.js.map +1 -1
- package/types/index.js +1 -21
- package/types/index.js.map +1 -1
- package/types/package.json +1 -0
- package/types/replace.js.map +1 -1
- package/types/typed-array.js +1 -21
- package/types/typed-array.js.map +1 -1
- package/types/types.d.ts +1 -0
- package/types/types.js +1 -21
- package/types/types.js.map +1 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
2
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
3
|
+
import { Database } from "../database.js";
|
|
4
|
+
import { scheduler } from "../../plugins/scheduler/scheduler.js";
|
|
5
|
+
describe("createDatabase with scheduler plugin extension", () => {
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
vi.useFakeTimers();
|
|
8
|
+
});
|
|
9
|
+
afterEach(() => {
|
|
10
|
+
vi.restoreAllMocks();
|
|
11
|
+
});
|
|
12
|
+
it("should have all systems in functions when scheduler executes", async () => {
|
|
13
|
+
// This test reproduces the bug: when a plugin extends scheduler,
|
|
14
|
+
// the scheduler's executeFrame is called immediately during system creation,
|
|
15
|
+
// but db.system.functions is still empty at that point because it's only
|
|
16
|
+
// populated after all systems are created. This causes the error:
|
|
17
|
+
// "db.system.functions[name] is not a function"
|
|
18
|
+
const basePlugin = scheduler;
|
|
19
|
+
const extendedPlugin = Database.Plugin.create({
|
|
20
|
+
extends: basePlugin,
|
|
21
|
+
transactions: {
|
|
22
|
+
stopScheduler(store) {
|
|
23
|
+
store.resources.schedulerState = "disposed";
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
systems: {
|
|
27
|
+
testSystem: {
|
|
28
|
+
create: (db) => () => {
|
|
29
|
+
// Test system
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
// The bug: Database.create should not throw even though scheduler
|
|
35
|
+
// executeFrame is called during system initialization
|
|
36
|
+
const db = Database.create(extendedPlugin);
|
|
37
|
+
// Verify all systems are in functions (this should pass after fix)
|
|
38
|
+
const allSystemNames = new Set();
|
|
39
|
+
for (const tier of db.system.order) {
|
|
40
|
+
for (const name of tier) {
|
|
41
|
+
allSystemNames.add(name);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
// Check that all systems in order exist in functions
|
|
45
|
+
for (const name of allSystemNames) {
|
|
46
|
+
expect(db.system.functions[name]).toBeDefined();
|
|
47
|
+
expect(typeof db.system.functions[name]).toBe("function");
|
|
48
|
+
}
|
|
49
|
+
// Also verify the reverse: all functions are in the order
|
|
50
|
+
const functionNames = new Set(Object.keys(db.system.functions));
|
|
51
|
+
const orderNames = new Set();
|
|
52
|
+
for (const tier of db.system.order) {
|
|
53
|
+
for (const name of tier) {
|
|
54
|
+
orderNames.add(name);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
// All functions should be in order
|
|
58
|
+
for (const name of functionNames) {
|
|
59
|
+
expect(orderNames.has(name)).toBe(true);
|
|
60
|
+
}
|
|
61
|
+
// Stop the scheduler
|
|
62
|
+
db.transactions.stopScheduler();
|
|
63
|
+
// Advance timers to let any pending RAF callbacks execute
|
|
64
|
+
await vi.runAllTimersAsync();
|
|
65
|
+
});
|
|
66
|
+
});
|
|
67
|
+
//# sourceMappingURL=create-database-scheduler.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-database-scheduler.test.js","sourceRoot":"","sources":["../../../../src/ecs/database/public/create-database-scheduler.test.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,QAAQ,EAA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AC;YAChC,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,IAAwC,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;YACpF,MAAM,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,IAAwC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClG,CAAC;QAED,0DAA0D;QAC1D,MAAM,aAAa,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,GAAG,EAAU,CAAC;QACrC,KAAK,MAAM,IAAI,IAAI,EAAE,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACjC,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;gBACtB,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YACzB,CAAC;QACL,CAAC;QAED,mCAAmC;QACnC,KAAK,MAAM,IAAI,IAAI,aAAa,EAAE,CAAC;YAC/B,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC5C,CAAC;QAED,qBAAqB;QACrB,EAAE,CAAC,YAAY,CAAC,aAAa,EAAE,CAAC;QAEhC,0DAA0D;QAC1D,MAAM,EAAE,CAAC,iBAAiB,EAAE,CAAC;IACjC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -1,23 +1,35 @@
|
|
|
1
1
|
import { ResourceComponents } from "../../store/resource-components.js";
|
|
2
2
|
import { Store } from "../../store/index.js";
|
|
3
3
|
import { Database } from "../database.js";
|
|
4
|
+
import type { ToTransactionFunctions, TransactionDeclarations } from "../../store/transaction-functions.js";
|
|
4
5
|
import type { ToActionFunctions, ActionDeclarations } from "../../store/action-functions.js";
|
|
5
6
|
import { StringKeyof } from "../../../types/types.js";
|
|
6
7
|
import { Components } from "../../store/components.js";
|
|
7
8
|
import { ArchetypeComponents } from "../../store/archetype-components.js";
|
|
8
|
-
import { ComponentSchemas } from "../../component-schemas.js";
|
|
9
|
-
import { ResourceSchemas } from "../../resource-schemas.js";
|
|
10
9
|
import { FromSchemas } from "../../../schema/from-schemas.js";
|
|
11
10
|
export declare function createDatabase(): Database<{}, {}, {}, {}, never>;
|
|
12
|
-
export declare function createDatabase<
|
|
13
|
-
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends
|
|
14
|
-
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends
|
|
11
|
+
export declare function createDatabase<P extends Database.Plugin<{}, {}, {}, {}, never, {}>>(plugin: P): Database<FromSchemas<P extends Database.Plugin<infer CS, any, any, any, any, any> ? CS : never>, FromSchemas<P extends Database.Plugin<any, infer RS, any, any, any, any> ? RS : never>, P extends Database.Plugin<any, any, infer A, any, any, any> ? A : never, ToTransactionFunctions<P extends Database.Plugin<any, any, any, infer TD, any, any> ? TD : never>, P extends Database.Plugin<any, any, any, any, infer S, any> ? S : never, ToActionFunctions<P extends Database.Plugin<any, any, any, any, any, infer AD> ? AD : never>>;
|
|
12
|
+
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends TransactionDeclarations<C, R, A>>(store: Store<C, R, A>, transactionDeclarations: TD): Database<C, R, A, ToTransactionFunctions<TD>, never, {}>;
|
|
13
|
+
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends TransactionDeclarations<C, R, A>, const AD extends ActionDeclarations<C, R, A, ToTransactionFunctions<TD>, never>>(store: Store<C, R, A>, transactionDeclarations: TD, actionDeclarations: AD): Database<C, R, A, ToTransactionFunctions<TD>, never, ToActionFunctions<AD>>;
|
|
14
|
+
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends TransactionDeclarations<C, R, A>, const S extends string>(store: Store<C, R, A>, transactionDeclarations: TD, systemDeclarations: {
|
|
15
15
|
readonly [K in S]: {
|
|
16
|
-
readonly create: (db: Database<C, R, A,
|
|
16
|
+
readonly create: (db: Database<C, R, A, ToTransactionFunctions<TD>, S, any>) => (() => void | Promise<void>) | void;
|
|
17
17
|
readonly schedule?: {
|
|
18
18
|
readonly before?: readonly S[];
|
|
19
19
|
readonly after?: readonly S[];
|
|
20
20
|
readonly during?: readonly S[];
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
|
-
}): Database<C, R, A,
|
|
23
|
+
}): Database<C, R, A, ToTransactionFunctions<TD>, S, {}>;
|
|
24
|
+
export declare function createDatabase<const C extends Components, const R extends ResourceComponents, const A extends ArchetypeComponents<StringKeyof<C>>, const TD extends TransactionDeclarations<C, R, A>, const S extends string, const AD extends ActionDeclarations<C, R, A, ToTransactionFunctions<TD>, S>>(store: Store<C, R, A>, transactionDeclarations: TD, systemDeclarations: {
|
|
25
|
+
readonly [K in S]: {
|
|
26
|
+
readonly create: (db: Database<C, R, A, ToTransactionFunctions<TD>, S, ToActionFunctions<AD>> & {
|
|
27
|
+
readonly store: Store<C, R, A>;
|
|
28
|
+
}) => (() => void | Promise<void>) | void;
|
|
29
|
+
readonly schedule?: {
|
|
30
|
+
readonly before?: readonly S[];
|
|
31
|
+
readonly after?: readonly S[];
|
|
32
|
+
readonly during?: readonly S[];
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, actionDeclarations: AD): Database<C, R, A, ToTransactionFunctions<TD>, S, ToActionFunctions<AD>>;
|
|
@@ -1,55 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
© Copyright 2025 Adobe. All rights reserved.
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to do so, subject to the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
16
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
17
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
18
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
19
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
21
2
|
import { Store } from "../../store/index.js";
|
|
22
3
|
import { Database } from "../database.js";
|
|
23
4
|
import { isPromise } from "../../../internal/promise/is-promise.js";
|
|
24
5
|
import { isAsyncGenerator } from "../../../internal/async-generator/is-async-generator.js";
|
|
25
6
|
import { createReconcilingDatabase } from "../reconciling/create-reconciling-database.js";
|
|
26
7
|
import { calculateSystemOrder } from "../calculate-system-order.js";
|
|
27
|
-
export function createDatabase(storeOrPlugin, transactionDeclarations,
|
|
8
|
+
export function createDatabase(storeOrPlugin, transactionDeclarations, systemDeclarationsOrActionDeclarations, actionDeclarations) {
|
|
28
9
|
if (!storeOrPlugin) {
|
|
29
10
|
return createDatabaseFromPlugin(Database.Plugin.create({}));
|
|
30
11
|
}
|
|
31
|
-
if (
|
|
32
|
-
|
|
12
|
+
// Check if it's a Plugin (has components, resources, archetypes, transactions, systems, or actions properties)
|
|
13
|
+
if (typeof storeOrPlugin === 'object' && 'components' in storeOrPlugin) {
|
|
14
|
+
return createDatabaseFromPlugin(storeOrPlugin);
|
|
15
|
+
}
|
|
16
|
+
// Check if systemDeclarationsOrActionDeclarations is systemDeclarations (has create property)
|
|
17
|
+
if (systemDeclarationsOrActionDeclarations && typeof systemDeclarationsOrActionDeclarations === 'object' && !Array.isArray(systemDeclarationsOrActionDeclarations)) {
|
|
18
|
+
const firstKey = Object.keys(systemDeclarationsOrActionDeclarations)[0];
|
|
19
|
+
if (firstKey && systemDeclarationsOrActionDeclarations[firstKey]?.create) {
|
|
20
|
+
// It's systemDeclarations
|
|
21
|
+
return createDatabaseFromStoreTransactionsAndSystems(storeOrPlugin, transactionDeclarations, systemDeclarationsOrActionDeclarations, actionDeclarations);
|
|
22
|
+
}
|
|
33
23
|
}
|
|
34
24
|
if (transactionDeclarations) {
|
|
25
|
+
// Check if systemDeclarationsOrActionDeclarations is actually actionDeclarations
|
|
26
|
+
if (systemDeclarationsOrActionDeclarations && !systemDeclarationsOrActionDeclarations[Object.keys(systemDeclarationsOrActionDeclarations)[0]]?.create) {
|
|
27
|
+
return createDatabaseFromStoreAndTransactions(storeOrPlugin, transactionDeclarations, systemDeclarationsOrActionDeclarations);
|
|
28
|
+
}
|
|
35
29
|
return createDatabaseFromStoreAndTransactions(storeOrPlugin, transactionDeclarations);
|
|
36
30
|
}
|
|
37
31
|
else {
|
|
38
|
-
// It's a Plugin
|
|
32
|
+
// It's a Plugin (fallback)
|
|
39
33
|
return createDatabaseFromPlugin(storeOrPlugin);
|
|
40
34
|
}
|
|
41
35
|
}
|
|
42
36
|
function createDatabaseFromPlugin(plugin) {
|
|
43
37
|
const systems = plugin.systems ?? {};
|
|
44
38
|
const transactions = plugin.transactions ?? {};
|
|
39
|
+
const actions = (plugin.actions ?? {});
|
|
45
40
|
const storeSchema = {
|
|
46
41
|
components: plugin.components ?? {},
|
|
47
42
|
resources: plugin.resources ?? {},
|
|
48
43
|
archetypes: plugin.archetypes ?? {},
|
|
49
44
|
};
|
|
50
|
-
return createDatabase(Store.create(storeSchema), transactions, systems);
|
|
45
|
+
return createDatabase(Store.create(storeSchema), transactions, systems, actions);
|
|
51
46
|
}
|
|
52
|
-
function createDatabaseFromStoreTransactionsAndSystems(store, transactionDeclarations, systemDeclarations) {
|
|
47
|
+
function createDatabaseFromStoreTransactionsAndSystems(store, transactionDeclarations, systemDeclarations, actionDeclarations) {
|
|
53
48
|
const reconcilingDatabase = createReconcilingDatabase(store, transactionDeclarations);
|
|
54
49
|
let nextTransactionId = 1;
|
|
55
50
|
const applyEnvelope = (envelope) => reconcilingDatabase.apply(envelope);
|
|
@@ -143,194 +138,89 @@ function createDatabaseFromStoreTransactionsAndSystems(store, transactionDeclara
|
|
|
143
138
|
const transactions = {
|
|
144
139
|
serviceName: "ecs-database-transactions-service",
|
|
145
140
|
};
|
|
146
|
-
// Create unwrapped actions that execute directly on the store
|
|
147
|
-
const actions = {};
|
|
148
|
-
for (const name of Object.keys(transactionDeclarations)) {
|
|
149
|
-
actions[name] = transactionDeclarations[name].bind(null, store);
|
|
150
|
-
}
|
|
151
|
-
// Assign unwrapped actions to store
|
|
152
|
-
store.actions = actions;
|
|
153
141
|
const addTransactionWrappers = (transactionDecls) => {
|
|
154
142
|
for (const name of Object.keys(transactionDecls)) {
|
|
155
143
|
transactions[name] = createTransactionWrapper(name);
|
|
156
144
|
}
|
|
157
145
|
};
|
|
158
146
|
addTransactionWrappers(transactionDeclarations);
|
|
147
|
+
const actions = {
|
|
148
|
+
serviceName: "ecs-database-actions-service",
|
|
149
|
+
};
|
|
150
|
+
const addActionWrappers = (actionDecls, db) => {
|
|
151
|
+
for (const name of Object.keys(actionDecls)) {
|
|
152
|
+
const actionDecl = actionDecls[name];
|
|
153
|
+
actions[name] = (args) => {
|
|
154
|
+
return actionDecl(db, args);
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
// Track all system declarations mutably for extension
|
|
159
|
+
const allSystemDeclarations = { ...systemDeclarations };
|
|
159
160
|
// Calculate system execution order
|
|
160
|
-
|
|
161
|
+
let systemOrder = calculateSystemOrder(allSystemDeclarations);
|
|
161
162
|
// Create partial database for system initialization (two-phase)
|
|
162
163
|
const partialDatabase = {
|
|
163
164
|
serviceName: "ecs-database-service",
|
|
164
165
|
...reconcilingDatabase,
|
|
165
|
-
store: store,
|
|
166
166
|
transactions,
|
|
167
|
+
actions, // Set actions before adding wrappers
|
|
168
|
+
store,
|
|
167
169
|
system: {
|
|
168
170
|
functions: {}, // Empty initially
|
|
169
171
|
order: systemOrder
|
|
170
172
|
},
|
|
171
173
|
extend: undefined // Will be set later
|
|
172
174
|
};
|
|
175
|
+
// Initialize actions if provided
|
|
176
|
+
if (actionDeclarations) {
|
|
177
|
+
addActionWrappers(actionDeclarations, partialDatabase);
|
|
178
|
+
}
|
|
173
179
|
// Instantiate system functions with partial database
|
|
174
180
|
const systemFunctions = {};
|
|
175
|
-
for (const name in
|
|
176
|
-
systemFunctions[name] =
|
|
181
|
+
for (const name in allSystemDeclarations) {
|
|
182
|
+
systemFunctions[name] = allSystemDeclarations[name].create(partialDatabase);
|
|
177
183
|
}
|
|
178
184
|
partialDatabase.system.functions = systemFunctions;
|
|
185
|
+
// Track extended plugins to avoid duplicate processing
|
|
186
|
+
const extendedPlugins = new Set();
|
|
179
187
|
const extend = (plugin) => {
|
|
180
|
-
//
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
//
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
188
|
+
// Early exit if plugin already extended
|
|
189
|
+
if (!extendedPlugins.has(plugin)) {
|
|
190
|
+
extendedPlugins.add(plugin);
|
|
191
|
+
// Delegate to reconcilingDatabase which handles store/transactionalStore extension
|
|
192
|
+
reconcilingDatabase.extend(plugin);
|
|
193
|
+
const pluginTransactions = plugin.transactions ?? {};
|
|
194
|
+
const pluginActions = plugin.actions ?? {};
|
|
195
|
+
// Add transaction wrappers for the new transactions
|
|
196
|
+
addTransactionWrappers(pluginTransactions);
|
|
197
|
+
// Add action wrappers for the new actions
|
|
198
|
+
addActionWrappers(pluginActions, partialDatabase);
|
|
199
|
+
// If plugin has new systems, extend in place rather than recreating
|
|
200
|
+
if (plugin.systems && Object.keys(plugin.systems).length > 0) {
|
|
201
|
+
// Merge new systems into tracked declarations
|
|
202
|
+
Object.assign(allSystemDeclarations, plugin.systems);
|
|
203
|
+
// Recalculate system order with all systems
|
|
204
|
+
systemOrder = calculateSystemOrder(allSystemDeclarations);
|
|
205
|
+
// Instantiate only the new systems
|
|
206
|
+
for (const name in plugin.systems) {
|
|
207
|
+
if (!systemFunctions[name]) {
|
|
208
|
+
systemFunctions[name] = plugin.systems[name].create(partialDatabase);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
// Update system order in place
|
|
212
|
+
partialDatabase.system.order = systemOrder;
|
|
213
|
+
partialDatabase.system.functions = systemFunctions;
|
|
214
|
+
}
|
|
198
215
|
}
|
|
199
|
-
//
|
|
216
|
+
// Always return the same database instance
|
|
200
217
|
return partialDatabase;
|
|
201
218
|
};
|
|
202
219
|
partialDatabase.extend = extend;
|
|
203
220
|
return partialDatabase;
|
|
204
221
|
}
|
|
205
|
-
function createDatabaseFromStoreAndTransactions(store, transactionDeclarations) {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
const applyEnvelope = (envelope) => reconcilingDatabase.apply(envelope);
|
|
209
|
-
const createTransactionWrapper = (name) => (args) => {
|
|
210
|
-
const transactionId = nextTransactionId;
|
|
211
|
-
nextTransactionId += 1;
|
|
212
|
-
let hasTransient = false;
|
|
213
|
-
const applyTransient = (payload) => {
|
|
214
|
-
hasTransient = true;
|
|
215
|
-
const timestamp = Date.now();
|
|
216
|
-
applyEnvelope({
|
|
217
|
-
id: transactionId,
|
|
218
|
-
name,
|
|
219
|
-
args: payload,
|
|
220
|
-
time: -timestamp,
|
|
221
|
-
});
|
|
222
|
-
};
|
|
223
|
-
const applyCommit = (payload) => {
|
|
224
|
-
const timestamp = Date.now();
|
|
225
|
-
const result = applyEnvelope({
|
|
226
|
-
id: transactionId,
|
|
227
|
-
name,
|
|
228
|
-
args: payload,
|
|
229
|
-
time: timestamp,
|
|
230
|
-
});
|
|
231
|
-
hasTransient = false;
|
|
232
|
-
return result;
|
|
233
|
-
};
|
|
234
|
-
const cancelPending = () => {
|
|
235
|
-
if (!hasTransient) {
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
applyEnvelope({
|
|
239
|
-
id: transactionId,
|
|
240
|
-
name,
|
|
241
|
-
args: undefined,
|
|
242
|
-
time: 0,
|
|
243
|
-
});
|
|
244
|
-
hasTransient = false;
|
|
245
|
-
};
|
|
246
|
-
if (typeof args === "function") {
|
|
247
|
-
const asyncArgsProvider = args;
|
|
248
|
-
const providerResult = asyncArgsProvider();
|
|
249
|
-
if (isAsyncGenerator(providerResult)) {
|
|
250
|
-
return new Promise((resolve, reject) => {
|
|
251
|
-
(async () => {
|
|
252
|
-
let lastArgs;
|
|
253
|
-
try {
|
|
254
|
-
let iteration = await providerResult.next();
|
|
255
|
-
while (!iteration.done) {
|
|
256
|
-
lastArgs = iteration.value;
|
|
257
|
-
applyTransient(iteration.value);
|
|
258
|
-
iteration = await providerResult.next();
|
|
259
|
-
}
|
|
260
|
-
const finalArgs = iteration.value !== undefined ? iteration.value : lastArgs;
|
|
261
|
-
if (finalArgs !== undefined) {
|
|
262
|
-
const commitResult = applyCommit(finalArgs);
|
|
263
|
-
resolve(commitResult?.value);
|
|
264
|
-
}
|
|
265
|
-
else {
|
|
266
|
-
cancelPending();
|
|
267
|
-
resolve(undefined);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
catch (error) {
|
|
271
|
-
cancelPending();
|
|
272
|
-
reject(error);
|
|
273
|
-
}
|
|
274
|
-
})();
|
|
275
|
-
});
|
|
276
|
-
}
|
|
277
|
-
if (isPromise(providerResult)) {
|
|
278
|
-
return (async () => {
|
|
279
|
-
try {
|
|
280
|
-
const resolved = await providerResult;
|
|
281
|
-
const commitResult = applyCommit(resolved);
|
|
282
|
-
return commitResult?.value;
|
|
283
|
-
}
|
|
284
|
-
catch (error) {
|
|
285
|
-
cancelPending();
|
|
286
|
-
throw error;
|
|
287
|
-
}
|
|
288
|
-
})();
|
|
289
|
-
}
|
|
290
|
-
const syncResult = applyCommit(providerResult);
|
|
291
|
-
return syncResult?.value;
|
|
292
|
-
}
|
|
293
|
-
const result = applyCommit(args);
|
|
294
|
-
return result?.value;
|
|
295
|
-
};
|
|
296
|
-
const transactions = {
|
|
297
|
-
serviceName: "ecs-database-transactions-service",
|
|
298
|
-
};
|
|
299
|
-
// Create unwrapped actions that execute directly on the store
|
|
300
|
-
const actions = {};
|
|
301
|
-
for (const name of Object.keys(transactionDeclarations)) {
|
|
302
|
-
actions[name] = transactionDeclarations[name].bind(null, store);
|
|
303
|
-
}
|
|
304
|
-
// Assign unwrapped actions to store
|
|
305
|
-
store.actions = actions;
|
|
306
|
-
const addTransactionWrappers = (transactionDecls) => {
|
|
307
|
-
for (const name of Object.keys(transactionDecls)) {
|
|
308
|
-
transactions[name] = createTransactionWrapper(name);
|
|
309
|
-
}
|
|
310
|
-
};
|
|
311
|
-
addTransactionWrappers(transactionDeclarations);
|
|
312
|
-
const extend = (schema) => {
|
|
313
|
-
// Delegate to reconcilingDatabase which handles store/transactionalStore extension
|
|
314
|
-
reconcilingDatabase.extend(schema);
|
|
315
|
-
// Add transaction wrappers for the new transactions
|
|
316
|
-
addTransactionWrappers(schema.transactions);
|
|
317
|
-
// Add unwrapped actions to store.actions
|
|
318
|
-
for (const name of Object.keys(schema.transactions)) {
|
|
319
|
-
store.actions[name] = schema.transactions[name].bind(null, store);
|
|
320
|
-
}
|
|
321
|
-
return database;
|
|
322
|
-
};
|
|
323
|
-
const database = {
|
|
324
|
-
serviceName: "ecs-database-service",
|
|
325
|
-
...reconcilingDatabase,
|
|
326
|
-
store: store,
|
|
327
|
-
transactions,
|
|
328
|
-
system: {
|
|
329
|
-
functions: {},
|
|
330
|
-
order: []
|
|
331
|
-
},
|
|
332
|
-
extend,
|
|
333
|
-
};
|
|
334
|
-
return database;
|
|
222
|
+
function createDatabaseFromStoreAndTransactions(store, transactionDeclarations, actionDeclarations) {
|
|
223
|
+
// Delegate to the systems-aware version with empty systems
|
|
224
|
+
return createDatabaseFromStoreTransactionsAndSystems(store, transactionDeclarations, {}, actionDeclarations);
|
|
335
225
|
}
|
|
336
226
|
//# sourceMappingURL=create-database.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database.js","sourceRoot":"","sources":["../../../../src/ecs/database/public/create-database.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"create-database.js","sourceRoot":"","sources":["../../../../src/ecs/database/public/create-database.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAGvD,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,yDAAyD,CAAC;AAI3F,OAAO,EAAE,yBAAyB,EAAE,MAAM,+CAA+C,CAAC;AAK1F,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AA+DpE,MAAM,UAAU,cAAc,CAC1B,aAAoF,EACpF,uBAA6B,EAC7B,sCAA4C,EAC5C,kBAAwB;IAExB,IAAI,CAAC,aAAa,EAAE,CAAC;QACjB,OAAO,wBAAwB,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;IAChE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