@adobe/data 0.9.4 → 0.9.6
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-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/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/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 +11 -8
- package/ecs/database/combine-plugins.js +3 -23
- package/ecs/database/combine-plugins.js.map +1 -1
- package/ecs/database/create-plugin-cryos-pattern.test.d.ts +3 -0
- package/ecs/database/create-plugin-cryos-pattern.test.js +83 -0
- package/ecs/database/create-plugin-cryos-pattern.test.js.map +1 -0
- package/ecs/database/create-plugin-graphics.test.d.ts +93 -0
- package/ecs/database/create-plugin-graphics.test.js +135 -0
- package/ecs/database/create-plugin-graphics.test.js.map +1 -0
- package/ecs/database/create-plugin-type.type-test.js +563 -0
- package/ecs/database/create-plugin-type.type-test.js.map +1 -0
- package/ecs/database/create-plugin-type.type.test.js +563 -0
- package/ecs/database/create-plugin-type.type.test.js.map +1 -0
- package/ecs/database/create-plugin.d.ts +34 -2
- package/ecs/database/create-plugin.js +54 -23
- package/ecs/database/create-plugin.js.map +1 -1
- package/ecs/database/create-plugin.test.js +64 -39
- package/ecs/database/create-plugin.test.js.map +1 -1
- package/ecs/database/create-plugin.type-test.js +27 -31
- package/ecs/database/create-plugin.type-test.js.map +1 -1
- 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.js +1 -21
- package/ecs/database/database-schema/create-database-schema.js.map +1 -1
- 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 +11 -6
- package/ecs/database/database.js +4 -21
- package/ecs/database/database.js.map +1 -1
- package/ecs/database/database.test.js +6 -27
- package/ecs/database/database.test.js.map +1 -1
- package/ecs/database/experimental-action-types.js +275 -0
- package/ecs/database/experimental-action-types.js.map +1 -0
- package/ecs/database/from-plugin.type-test.js +180 -0
- package/ecs/database/from-plugin.type-test.js.map +1 -0
- 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 +1 -0
- 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/plugin-types.js +5 -0
- package/ecs/database/plugin-types.js.map +1 -0
- 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.js +8 -23
- package/ecs/database/public/create-database-scheduler.test.js.map +1 -1
- package/ecs/database/public/create-database.d.ts +4 -5
- package/ecs/database/public/create-database.js +39 -183
- package/ecs/database/public/create-database.js.map +1 -1
- package/ecs/database/public/create-database.test.js +34 -21
- package/ecs/database/public/create-database.test.js.map +1 -1
- 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.js +1 -20
- package/ecs/database/reconciling/create-reconciling-database.js.map +1 -1
- package/ecs/database/reconciling/create-reconciling-database.test.js +1 -0
- package/ecs/database/reconciling/create-reconciling-database.test.js.map +1 -1
- 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/type-investigation.test.js +54 -0
- package/ecs/database/type-investigation.test.js.map +1 -0
- 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.js +1 -21
- package/ecs/index.js.map +1 -1
- 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 +1 -2
- package/ecs/plugins/scheduler/scheduler.js +1 -21
- 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.js +1 -21
- package/ecs/store/action-functions.js.map +1 -1
- 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 +22 -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.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.js.map +1 -1
- package/ecs/store/store.test.js +1 -21
- package/ecs/store/store.test.js.map +1 -1
- 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/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.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.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/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/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/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/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 +3 -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/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/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.d.ts +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/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/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/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 +10 -0
- package/typed-buffer/create-array-buffer.js.map +1 -1
- package/typed-buffer/create-array-buffer.test.js +51 -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 +3 -0
- package/typed-buffer/create-const-buffer.js.map +1 -1
- package/typed-buffer/create-const-buffer.test.js +25 -21
- package/typed-buffer/create-const-buffer.test.js.map +1 -1
- package/typed-buffer/create-number-buffer.js +5 -21
- package/typed-buffer/create-number-buffer.js.map +1 -1
- package/typed-buffer/create-number-buffer.test.js +39 -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 +12 -21
- package/typed-buffer/create-struct-buffer.js.map +1 -1
- package/typed-buffer/create-struct-buffer.test.js +61 -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/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.d.ts +2 -0
- 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/replace.js.map +1 -1
- package/types/typed-array.js +1 -21
- package/types/typed-array.js.map +1 -1
- package/types/types.js +1 -21
- package/types/types.js.map +1 -1
- package/assembly/package.json +0 -1
- package/blob/package.json +0 -1
- package/cache/package.json +0 -1
- package/debug-type-test.js +0 -12
- package/debug-type-test.js.map +0 -1
- package/ecs/database/archetype-type-safety-test.d.ts +0 -21
- package/ecs/database/archetype-type-safety-test.js +0 -36
- package/ecs/database/archetype-type-safety-test.js.map +0 -1
- package/ecs/database/create-database-schema-test.js +0 -150
- package/ecs/database/create-database-schema-test.js.map +0 -1
- package/ecs/database/create-plugin-v2.d.ts +0 -79
- package/ecs/database/create-plugin-v2.js +0 -68
- package/ecs/database/create-plugin-v2.js.map +0 -1
- package/ecs/database/create-plugin-v2.test.js +0 -362
- package/ecs/database/create-plugin-v2.test.js.map +0 -1
- package/ecs/database/create-plugin.OLD.d.ts +0 -138
- package/ecs/database/create-plugin.OLD.js +0 -59
- package/ecs/database/create-plugin.OLD.js.map +0 -1
- package/ecs/database/database-with-systems.test.js +0 -292
- package/ecs/database/database-with-systems.test.js.map +0 -1
- package/ecs/database/database.plugin.create.test.OLD.js +0 -601
- package/ecs/database/database.plugin.create.test.OLD.js.map +0 -1
- package/ecs/database/database.plugin.create.test.js +0 -321
- package/ecs/database/database.plugin.create.test.js.map +0 -1
- package/ecs/database/database.plugin.test.js +0 -90
- package/ecs/database/database.plugin.test.js.map +0 -1
- package/ecs/database/database.test copy.d.ts +0 -1
- package/ecs/database/database.test copy.js +0 -199
- package/ecs/database/database.test copy.js.map +0 -1
- package/ecs/database/multi-param-inference-poc.test.d.ts +0 -1
- package/ecs/database/multi-param-inference-poc.test.js +0 -96
- package/ecs/database/multi-param-inference-poc.test.js.map +0 -1
- package/ecs/database/old-plugin-create-with-dependencies-array.d.ts +0 -61
- package/ecs/database/old-plugin-create-with-dependencies-array.js +0 -76
- package/ecs/database/old-plugin-create-with-dependencies-array.js.map +0 -1
- package/ecs/database/overload-inference-poc.test.d.ts +0 -1
- package/ecs/database/overload-inference-poc.test.js +0 -109
- package/ecs/database/overload-inference-poc.test.js.map +0 -1
- package/ecs/database/schedule-type-check-demo.d.ts +0 -10
- package/ecs/database/schedule-type-check-demo.js +0 -71
- package/ecs/database/schedule-type-check-demo.js.map +0 -1
- package/ecs/database/test-archetype-validation.d.ts +0 -9
- package/ecs/database/test-archetype-validation.js +0 -14
- package/ecs/database/test-archetype-validation.js.map +0 -1
- package/ecs/database/test-exactkeys.d.ts +0 -1
- package/ecs/database/test-exactkeys.js +0 -17
- package/ecs/database/test-exactkeys.js.map +0 -1
- package/ecs/database/transactional-store/coalesce-transactions.test.js +0 -433
- package/ecs/database/transactional-store/coalesce-transactions.test.js.map +0 -1
- package/ecs/database/type-inference-demo.d.ts +0 -75
- package/ecs/database/type-inference-demo.js +0 -73
- package/ecs/database/type-inference-demo.js.map +0 -1
- package/ecs/database/type-inference-poc.test.d.ts +0 -1
- package/ecs/database/type-inference-poc.test.js +0 -73
- package/ecs/database/type-inference-poc.test.js.map +0 -1
- package/ecs/package.json +0 -1
- package/ecs/plugins/scheduler/create-scheduler-plugin.d.ts +0 -8
- package/ecs/plugins/scheduler/create-scheduler-plugin.js +0 -54
- package/ecs/plugins/scheduler/create-scheduler-plugin.js.map +0 -1
- package/ecs/plugins/scheduler/create-scheduler-plugin.test.d.ts +0 -1
- package/ecs/plugins/scheduler/create-scheduler-plugin.test.js +0 -198
- package/ecs/plugins/scheduler/create-scheduler-plugin.test.js.map +0 -1
- package/ecs/plugins/scheduler/type-inference-test.d.ts +0 -1
- package/ecs/plugins/scheduler/type-inference-test.js +0 -2
- package/ecs/plugins/scheduler/type-inference-test.js.map +0 -1
- package/ecs/store/entity-functions.d.ts +0 -7
- package/ecs/store/entity-functions.js +0 -2
- package/ecs/store/entity-functions.js.map +0 -1
- package/ecs/store/functions.d.ts +0 -2
- package/ecs/store/functions.js +0 -2
- package/ecs/store/functions.js.map +0 -1
- package/ecs/system/system-declaration.d.ts +0 -7
- package/ecs/system/system-declaration.js +0 -23
- package/ecs/system/system-declaration.js.map +0 -1
- package/ecs/system/system-declarations.d.ts +0 -4
- package/ecs/system/system-declarations.js +0 -23
- package/ecs/system/system-declarations.js.map +0 -1
- package/ecs/system/system-factory/public/create copy.d.ts +0 -12
- package/ecs/system/system-factory/public/create copy.js +0 -8
- package/ecs/system/system-factory/public/create copy.js.map +0 -1
- package/ecs/system/system-factory/public/create.d.ts +0 -12
- package/ecs/system/system-factory/public/create.js +0 -8
- package/ecs/system/system-factory/public/create.js.map +0 -1
- package/ecs/system/system-factory/public/create.test.d.ts +0 -1
- package/ecs/system/system-factory/public/create.test.js +0 -42
- package/ecs/system/system-factory/public/create.test.js.map +0 -1
- package/ecs/system/system-factory/public/index.d.ts +0 -1
- package/ecs/system/system-factory/public/index.js +0 -2
- package/ecs/system/system-factory/public/index.js.map +0 -1
- package/ecs/system/system-factory/system-factory.d.ts +0 -17
- package/ecs/system/system-factory/system-factory.js +0 -23
- package/ecs/system/system-factory/system-factory.js.map +0 -1
- package/ecs/system/system-factory.d.ts +0 -9
- package/ecs/system/system-factory.js +0 -23
- package/ecs/system/system-factory.js.map +0 -1
- package/ecs/system/system-interface.d.ts +0 -5
- package/ecs/system/system-interface.js +0 -2
- package/ecs/system/system-interface.js.map +0 -1
- package/ecs/system/system.d.ts +0 -4
- package/ecs/system/system.js +0 -23
- package/ecs/system/system.js.map +0 -1
- package/ecs/system/systems-type.d.ts +0 -2
- package/ecs/system/systems-type.js +0 -2
- package/ecs/system/systems-type.js.map +0 -1
- package/ecs/system/systems.d.ts +0 -2
- package/ecs/system/systems.js +0 -23
- package/ecs/system/systems.js.map +0 -1
- package/ecs/system/world-schema/public/create.d.ts +0 -12
- package/ecs/system/world-schema/public/create.js +0 -8
- package/ecs/system/world-schema/public/create.js.map +0 -1
- package/ecs/system/world-schema/public/create.test.d.ts +0 -1
- package/ecs/system/world-schema/public/create.test.js +0 -42
- package/ecs/system/world-schema/public/create.test.js.map +0 -1
- package/ecs/system/world-schema/public/index.d.ts +0 -1
- package/ecs/system/world-schema/public/index.js +0 -2
- package/ecs/system/world-schema/public/index.js.map +0 -1
- package/ecs/system/world-schema/system-factory.d.ts +0 -17
- package/ecs/system/world-schema/system-factory.js +0 -23
- package/ecs/system/world-schema/system-factory.js.map +0 -1
- package/ecs/world/calculate-system-order.d.ts +0 -18
- package/ecs/world/calculate-system-order.js +0 -113
- package/ecs/world/calculate-system-order.js.map +0 -1
- package/ecs/world/calculate-system-order.test.d.ts +0 -1
- package/ecs/world/calculate-system-order.test.js +0 -168
- package/ecs/world/calculate-system-order.test.js.map +0 -1
- package/ecs/world/create-world-schema-test.d.ts +0 -1
- package/ecs/world/create-world-schema-test.js +0 -294
- package/ecs/world/create-world-schema-test.js.map +0 -1
- package/ecs/world/create-world-type-test.d.ts +0 -1
- package/ecs/world/create-world-type-test.js +0 -129
- package/ecs/world/create-world-type-test.js.map +0 -1
- package/ecs/world/create-world.d.ts +0 -19
- package/ecs/world/create-world.js +0 -80
- package/ecs/world/create-world.js.map +0 -1
- package/ecs/world/create-world.test.d.ts +0 -1
- package/ecs/world/create-world.test.js +0 -292
- package/ecs/world/create-world.test.js.map +0 -1
- package/ecs/world/public/world-schema/public/create.d.ts +0 -12
- package/ecs/world/public/world-schema/public/create.js +0 -8
- package/ecs/world/public/world-schema/public/create.js.map +0 -1
- package/ecs/world/public/world-schema/public/create.test.d.ts +0 -1
- package/ecs/world/public/world-schema/public/create.test.js +0 -42
- package/ecs/world/public/world-schema/public/create.test.js.map +0 -1
- package/ecs/world/public/world-schema/public/index.d.ts +0 -1
- package/ecs/world/public/world-schema/public/index.js +0 -2
- package/ecs/world/public/world-schema/public/index.js.map +0 -1
- package/ecs/world/public/world-schema/world-schema.d.ts +0 -17
- package/ecs/world/public/world-schema/world-schema.js +0 -23
- package/ecs/world/public/world-schema/world-schema.js.map +0 -1
- package/ecs/world/system-declaration.d.ts +0 -1
- package/ecs/world/system-declaration.js +0 -23
- package/ecs/world/system-declaration.js.map +0 -1
- package/ecs/world/system-schedule-typing-test.d.ts +0 -1
- package/ecs/world/system-schedule-typing-test.js +0 -83
- package/ecs/world/system-schedule-typing-test.js.map +0 -1
- package/ecs/world/world-schema/public/create.d.ts +0 -12
- package/ecs/world/world-schema/public/create.js +0 -10
- package/ecs/world/world-schema/public/create.js.map +0 -1
- package/ecs/world/world-schema/public/create.test.d.ts +0 -1
- package/ecs/world/world-schema/public/create.test.js +0 -41
- package/ecs/world/world-schema/public/create.test.js.map +0 -1
- package/ecs/world/world-schema/public/index.d.ts +0 -1
- package/ecs/world/world-schema/public/index.js +0 -2
- package/ecs/world/world-schema/public/index.js.map +0 -1
- package/ecs/world/world-schema/system-factory.d.ts +0 -17
- package/ecs/world/world-schema/system-factory.js +0 -23
- package/ecs/world/world-schema/system-factory.js.map +0 -1
- package/ecs/world/world-schema/world-schema.d.ts +0 -19
- package/ecs/world/world-schema/world-schema.js +0 -23
- package/ecs/world/world-schema/world-schema.js.map +0 -1
- package/ecs/world/world.d.ts +0 -86
- package/ecs/world/world.js +0 -81
- package/ecs/world/world.js.map +0 -1
- package/ecs/world/world.test.d.ts +0 -1
- package/ecs/world/world.test.js +0 -176
- package/ecs/world/world.test.js.map +0 -1
- package/functions/package.json +0 -1
- package/lit/package.json +0 -1
- package/math/package.json +0 -1
- package/observe/package.json +0 -1
- package/old-ecs/package.json +0 -1
- package/perftest/package.json +0 -1
- package/samples/package.json +0 -1
- package/schema/package.json +0 -1
- package/service/package.json +0 -1
- package/table/package.json +0 -1
- package/typed-buffer/package.json +0 -1
- package/types/package.json +0 -1
- /package/{debug-type-test.d.ts → ecs/database/create-plugin-type.type-test.d.ts} +0 -0
- /package/ecs/database/{create-database-schema-test.d.ts → create-plugin-type.type.test.d.ts} +0 -0
- /package/ecs/database/{create-plugin-v2.test.d.ts → experimental-action-types.d.ts} +0 -0
- /package/ecs/database/{database-with-systems.test.d.ts → from-plugin.type-test.d.ts} +0 -0
- /package/ecs/database/{database.plugin.create.test.OLD.d.ts → plugin-types.d.ts} +0 -0
- /package/ecs/database/{database.plugin.create.test.d.ts → public/create-database.type-test.d.ts} +0 -0
- /package/ecs/database/{database.plugin.test.d.ts → type-investigation.test.d.ts} +0 -0
|
@@ -1,24 +1,4 @@
|
|
|
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 whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
22
2
|
import { Store } from "../../index.js";
|
|
23
3
|
import { Database } from "../database.js";
|
|
24
4
|
export function createDatabaseSchema(components, resources, archetypes, transactions) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"create-database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/create-database-schema.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAKvD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAI1C,MAAM,UAAU,oBAAoB,CAMhC,UAAc,EACd,SAAa,EACb,UAAa,EACb,YAAgB;IAEhB,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,YAAY,EAAmD,CAAC;AAChH,CAAC;AAED,MAAM,UAAU,wBAAwB,CAMpC,MAAqC;IAErC,OAAO,QAAQ,CAAC,MAAM,CAClB,KAAK,CAAC,MAAM,CAAY;QACpB,UAAU,EAAE,MAAM,CAAC,UAAU;QAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;QAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;KAChC,CAAC,EACF,MAAM,CAAC,YAAmB,CACtB,CAAC;AACb,CAAC"}
|
|
@@ -1,23 +1,3 @@
|
|
|
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 whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
22
2
|
export {};
|
|
23
3
|
//# sourceMappingURL=database-schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/database-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"database-schema.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/database-schema.ts"],"names":[],"mappings":"AAAA,uDAAuD"}
|
|
@@ -1,24 +1,4 @@
|
|
|
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 whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
22
2
|
export * from "./create-database-schema.js";
|
|
23
3
|
export * from "./database-schema.js";
|
|
24
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/database/database-schema/index.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC"}
|
|
@@ -21,7 +21,9 @@ import { createPlugin } from "./create-plugin.js";
|
|
|
21
21
|
import { combinePlugins } from "./combine-plugins.js";
|
|
22
22
|
export type SystemFunction = () => void | Promise<void>;
|
|
23
23
|
export type SystemDeclaration = {
|
|
24
|
-
readonly create: (db: Database<any, any, any, any, any, any>
|
|
24
|
+
readonly create: (db: Database<any, any, any, any, any, any> & {
|
|
25
|
+
store: Store<any, any, any>;
|
|
26
|
+
}) => SystemFunction | void;
|
|
25
27
|
/**
|
|
26
28
|
* Scheduling constraints for system execution order.
|
|
27
29
|
* - `before`: Hard constraint - this system must run before the listed systems
|
|
@@ -37,13 +39,9 @@ export type SystemDeclaration = {
|
|
|
37
39
|
export type SystemDeclarations<S extends string> = {
|
|
38
40
|
readonly [K in S]: SystemDeclaration;
|
|
39
41
|
};
|
|
40
|
-
export interface Database<C extends Components, R extends ResourceComponents, A extends ArchetypeComponents<StringKeyof<C
|
|
42
|
+
export interface Database<C extends Components = {}, R extends ResourceComponents = {}, A extends ArchetypeComponents<StringKeyof<C>> = {}, F extends TransactionFunctions = {}, S extends string = never, AF extends ActionFunctions = {}> extends ReadonlyStore<C, R, A>, Service {
|
|
41
43
|
readonly transactions: F & Service;
|
|
42
44
|
readonly actions: AF & Service;
|
|
43
|
-
/**
|
|
44
|
-
* Provides direct mutable access to the underlying store.
|
|
45
|
-
*/
|
|
46
|
-
readonly store: Store<C, R, A>;
|
|
47
45
|
readonly observe: {
|
|
48
46
|
readonly components: {
|
|
49
47
|
readonly [K in StringKeyof<C>]: Observe<void>;
|
|
@@ -70,7 +68,9 @@ export interface Database<C extends Components, R extends ResourceComponents, A
|
|
|
70
68
|
extend<P extends Database.Plugin<any, any, any, any, any, any>>(plugin: P): Database<C & (P extends Database.Plugin<infer XC, any, any, any, any, any> ? FromSchemas<XC> : never), R & (P extends Database.Plugin<any, infer XR, any, any, any, any> ? FromSchemas<XR> : never), A & (P extends Database.Plugin<any, any, infer XA, any, any, any> ? XA : never), F & (P extends Database.Plugin<any, any, any, infer XTD, any, any> ? ToTransactionFunctions<XTD> : never), S | (P extends Database.Plugin<any, any, any, any, infer XS, any> ? XS : never), AF & (P extends Database.Plugin<any, any, any, any, any, infer XAD> ? ToActionFunctions<XAD> : never)>;
|
|
71
69
|
}
|
|
72
70
|
export declare namespace Database {
|
|
71
|
+
type FromPlugin<P extends Database.Plugin> = P extends Database.Plugin<infer CS, infer RS, infer A, infer TD, infer S, infer AD> ? Database<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S, ToActionFunctions<AD>> : never;
|
|
73
72
|
const create: typeof createDatabase;
|
|
73
|
+
const is: (value: unknown) => value is Database;
|
|
74
74
|
type Plugin<CS extends ComponentSchemas = any, RS extends ResourceSchemas = any, A extends ArchetypeComponents<StringKeyof<CS>> = any, TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, any> = any, S extends string = any, AD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S> = any> = {
|
|
75
75
|
readonly components: CS;
|
|
76
76
|
readonly resources: RS;
|
|
@@ -82,5 +82,10 @@ export declare namespace Database {
|
|
|
82
82
|
namespace Plugin {
|
|
83
83
|
const create: typeof createPlugin;
|
|
84
84
|
const combine: typeof combinePlugins;
|
|
85
|
+
type ToDatabase<P extends Database.Plugin> = Database.FromPlugin<P>;
|
|
86
|
+
type ToStore<P extends Database.Plugin> = Store<FromSchemas<P['components']>, FromSchemas<P['resources']>, P['archetypes']>;
|
|
87
|
+
type ToSystemDatabase<P extends Database.Plugin> = Database.FromPlugin<P> & {
|
|
88
|
+
readonly store: Database.Plugin.ToStore<P>;
|
|
89
|
+
};
|
|
85
90
|
}
|
|
86
91
|
}
|
package/ecs/database/database.js
CHANGED
|
@@ -1,30 +1,13 @@
|
|
|
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 whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
22
2
|
import { createDatabase } from "./public/create-database.js";
|
|
23
3
|
import { createPlugin } from "./create-plugin.js";
|
|
24
4
|
import { combinePlugins } from "./combine-plugins.js";
|
|
25
5
|
export var Database;
|
|
26
6
|
(function (Database) {
|
|
27
7
|
Database.create = createDatabase;
|
|
8
|
+
Database.is = (value) => {
|
|
9
|
+
return value !== null && typeof value === "object" && "transactions" in value && "actions" in value && "store" in value && "observe" in value && "system" in value && "extend" in value;
|
|
10
|
+
};
|
|
28
11
|
let Plugin;
|
|
29
12
|
(function (Plugin) {
|
|
30
13
|
Plugin.create = createPlugin;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/ecs/database/database.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"database.js","sourceRoot":"","sources":["../../../src/ecs/database/database.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAevD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAc7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AA4DtD,MAAM,KAAW,QAAQ,CAiCxB;AAjCD,WAAiB,QAAQ;IAGV,eAAM,GAAG,cAAc,CAAC;IAExB,WAAE,GAAG,CAAC,KAAc,EAAqB,EAAE;QACtD,OAAO,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,cAAc,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,OAAO,IAAI,KAAK,IAAI,SAAS,IAAI,KAAK,IAAI,QAAQ,IAAI,KAAK,IAAI,QAAQ,IAAI,KAAK,CAAC;IAC1L,CAAC,CAAA;IAkBD,IAAiB,MAAM,CAMtB;IAND,WAAiB,MAAM;QACR,aAAM,GAAG,YAAY,CAAC;QACtB,cAAO,GAAG,cAAc,CAAC;IAIxC,CAAC,EANgB,MAAM,GAAN,eAAM,KAAN,eAAM,QAMtB;AAEH,CAAC,EAjCgB,QAAQ,KAAR,QAAQ,QAiCxB"}
|
|
@@ -1,31 +1,10 @@
|
|
|
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 whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.*/
|
|
1
|
+
// © 2026 Adobe. MIT License. See /LICENSE for details.
|
|
22
2
|
import { describe, it, expect } from "vitest";
|
|
23
3
|
import { Database } from "./database.js";
|
|
24
4
|
describe("Database.create", () => {
|
|
25
5
|
it("should create an empty database without errors when called with no arguments", () => {
|
|
26
6
|
const db = Database.create();
|
|
27
7
|
expect(db).toBeDefined();
|
|
28
|
-
expect(db.store).toBeDefined();
|
|
29
8
|
expect(db.transactions).toBeDefined();
|
|
30
9
|
});
|
|
31
10
|
});
|
|
@@ -93,10 +72,10 @@ describe("Database.Plugin.create", () => {
|
|
|
93
72
|
}
|
|
94
73
|
});
|
|
95
74
|
const extendedSchema = Database.Plugin.create({
|
|
75
|
+
extends: baseSchema,
|
|
96
76
|
components: {
|
|
97
77
|
velocity: { type: "number" }
|
|
98
78
|
},
|
|
99
|
-
extends: baseSchema
|
|
100
79
|
});
|
|
101
80
|
expect(extendedSchema.components).toHaveProperty("position");
|
|
102
81
|
expect(extendedSchema.components).toHaveProperty("velocity");
|
|
@@ -131,8 +110,8 @@ describe("Database.Plugin.create", () => {
|
|
|
131
110
|
});
|
|
132
111
|
const combinedBase = Database.Plugin.combine(pluginA, pluginB, pluginC);
|
|
133
112
|
const merged = Database.Plugin.create({
|
|
113
|
+
extends: combinedBase,
|
|
134
114
|
components: { d: { type: "number" } },
|
|
135
|
-
extends: combinedBase
|
|
136
115
|
});
|
|
137
116
|
expect(merged.components).toHaveProperty("a");
|
|
138
117
|
expect(merged.components).toHaveProperty("b");
|
|
@@ -147,10 +126,10 @@ describe("Database.Plugin.create", () => {
|
|
|
147
126
|
}
|
|
148
127
|
});
|
|
149
128
|
const extendedSchema = Database.Plugin.create({
|
|
129
|
+
extends: baseSchema,
|
|
150
130
|
transactions: {
|
|
151
131
|
extendedAction: () => { }
|
|
152
132
|
},
|
|
153
|
-
extends: baseSchema
|
|
154
133
|
});
|
|
155
134
|
expect(extendedSchema.transactions).toHaveProperty("baseAction");
|
|
156
135
|
expect(extendedSchema.transactions).toHaveProperty("extendedAction");
|
|
@@ -167,11 +146,11 @@ describe("Database.Plugin.create", () => {
|
|
|
167
146
|
}
|
|
168
147
|
});
|
|
169
148
|
const extendedSchema = Database.Plugin.create({
|
|
149
|
+
extends: baseSchema,
|
|
170
150
|
components: {
|
|
171
151
|
position: positionComponent, // Must use same reference
|
|
172
152
|
mass: { type: "number" }
|
|
173
153
|
},
|
|
174
|
-
extends: baseSchema
|
|
175
154
|
});
|
|
176
155
|
// All components should be present
|
|
177
156
|
expect(extendedSchema.components).toHaveProperty("position");
|
|
@@ -187,6 +166,7 @@ describe("Database.Plugin.create", () => {
|
|
|
187
166
|
}
|
|
188
167
|
});
|
|
189
168
|
const extendedSchema = Database.Plugin.create({
|
|
169
|
+
extends: baseSchema,
|
|
190
170
|
components: {
|
|
191
171
|
velocity: { type: "number" }
|
|
192
172
|
},
|
|
@@ -194,7 +174,6 @@ describe("Database.Plugin.create", () => {
|
|
|
194
174
|
DynamicEntity: ["position", "velocity"],
|
|
195
175
|
LivingEntity: ["position", "health"]
|
|
196
176
|
},
|
|
197
|
-
extends: baseSchema
|
|
198
177
|
});
|
|
199
178
|
expect(extendedSchema.archetypes).toHaveProperty("DynamicEntity");
|
|
200
179
|
expect(extendedSchema.archetypes).toHaveProperty("LivingEntity");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"database.test.js","sourceRoot":"","sources":["../../../src/ecs/database/database.test.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"database.test.js","sourceRoot":"","sources":["../../../src/ecs/database/database.test.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAEvD,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,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AAC;YAClF,MAAM,CAAC,cAAc,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;QACnF,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
// /*MIT License
|
|
2
|
+
export {};
|
|
3
|
+
// © Copyright 2025 Adobe. All rights reserved.
|
|
4
|
+
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
|
+
// of this software and associated documentation files (the "Software"), to deal
|
|
6
|
+
// in the Software without restriction, including without limitation the rights
|
|
7
|
+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
8
|
+
// copies of the Software, and to permit persons to whom the Software is
|
|
9
|
+
// furnished to do so, subject to the following conditions:
|
|
10
|
+
// The above copyright notice and this permission notice shall be included in all
|
|
11
|
+
// copies or substantial portions of the Software.
|
|
12
|
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
13
|
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
14
|
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
15
|
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
16
|
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
17
|
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
18
|
+
// SOFTWARE.*/
|
|
19
|
+
// /**
|
|
20
|
+
// * EXPERIMENTAL: Testing type inference patterns for actions
|
|
21
|
+
// * This file is for experimentation only - not part of the actual implementation
|
|
22
|
+
// */
|
|
23
|
+
// import type { Database } from "./database.js";
|
|
24
|
+
// import type { ComponentSchemas } from "../component-schemas.js";
|
|
25
|
+
// import type { ResourceSchemas } from "../resource-schemas.js";
|
|
26
|
+
// import type { ArchetypeComponents } from "../store/archetype-components.js";
|
|
27
|
+
// import type { TransactionDeclarations, ToTransactionFunctions } from "../store/transaction-functions.js";
|
|
28
|
+
// import type { ActionDeclarations, ToActionFunctions } from "../store/action-functions.js";
|
|
29
|
+
// import type { FromSchemas } from "../../schema/index.js";
|
|
30
|
+
// import type { StringKeyof, Simplify } from "../../types/types.js";
|
|
31
|
+
// type RemoveIndex<T> = Simplify<{
|
|
32
|
+
// [K in keyof T as
|
|
33
|
+
// string extends K ? never :
|
|
34
|
+
// number extends K ? never :
|
|
35
|
+
// symbol extends K ? never :
|
|
36
|
+
// K
|
|
37
|
+
// ]: T[K]
|
|
38
|
+
// }>;
|
|
39
|
+
// // Test 1: Current approach - using ActionDeclarations constraint
|
|
40
|
+
// function testCurrentApproach<
|
|
41
|
+
// const CS extends ComponentSchemas,
|
|
42
|
+
// const RS extends ResourceSchemas,
|
|
43
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
44
|
+
// const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>,
|
|
45
|
+
// const S extends string,
|
|
46
|
+
// const AD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S> = {}
|
|
47
|
+
// >(
|
|
48
|
+
// plugins: {
|
|
49
|
+
// components?: CS,
|
|
50
|
+
// resources?: RS,
|
|
51
|
+
// archetypes?: A,
|
|
52
|
+
// transactions?: TD,
|
|
53
|
+
// systems?: { readonly [K in S]: {
|
|
54
|
+
// readonly create: (db: Database<
|
|
55
|
+
// FromSchemas<CS>,
|
|
56
|
+
// FromSchemas<RS>,
|
|
57
|
+
// A,
|
|
58
|
+
// ToTransactionFunctions<TD>,
|
|
59
|
+
// S,
|
|
60
|
+
// ToActionFunctions<AD>
|
|
61
|
+
// >) => (() => void) | void;
|
|
62
|
+
// } },
|
|
63
|
+
// actions?: AD
|
|
64
|
+
// }
|
|
65
|
+
// ) {
|
|
66
|
+
// // This should work if AD is properly constrained
|
|
67
|
+
// const testActions = plugins.actions;
|
|
68
|
+
// return testActions;
|
|
69
|
+
// }
|
|
70
|
+
// // Test 2: Inline explicit Database type (EXACTLY like systems pattern)
|
|
71
|
+
// // Key insight: Systems use 'string' not 'S' for the system name in Database type!
|
|
72
|
+
// // This breaks the circular dependency while still providing correct types
|
|
73
|
+
// function testInlineExplicitType<
|
|
74
|
+
// const CS extends ComponentSchemas,
|
|
75
|
+
// const RS extends ResourceSchemas,
|
|
76
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
77
|
+
// const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>,
|
|
78
|
+
// const S extends string,
|
|
79
|
+
// const AD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S> = {}
|
|
80
|
+
// >(
|
|
81
|
+
// plugins: {
|
|
82
|
+
// components?: CS,
|
|
83
|
+
// resources?: RS,
|
|
84
|
+
// archetypes?: A,
|
|
85
|
+
// transactions?: TD,
|
|
86
|
+
// systems?: { readonly [K in S]: {
|
|
87
|
+
// readonly create: (db: Database<
|
|
88
|
+
// FromSchemas<CS>,
|
|
89
|
+
// FromSchemas<RS>,
|
|
90
|
+
// A,
|
|
91
|
+
// ToTransactionFunctions<TD>,
|
|
92
|
+
// string, // Note: 'string' not 'S' - this is the key!
|
|
93
|
+
// ToActionFunctions<AD>
|
|
94
|
+
// >) => (() => void) | void;
|
|
95
|
+
// } },
|
|
96
|
+
// actions?: {
|
|
97
|
+
// readonly [K in string]: (db: Database<
|
|
98
|
+
// FromSchemas<CS>,
|
|
99
|
+
// FromSchemas<RS>,
|
|
100
|
+
// A,
|
|
101
|
+
// ToTransactionFunctions<TD>,
|
|
102
|
+
// string, // Use 'string' not 'S' to match systems pattern
|
|
103
|
+
// ToActionFunctions<AD>
|
|
104
|
+
// >, input?: any) => any
|
|
105
|
+
// }
|
|
106
|
+
// }
|
|
107
|
+
// ) {
|
|
108
|
+
// const testActions = plugins.actions;
|
|
109
|
+
// return testActions;
|
|
110
|
+
// }
|
|
111
|
+
// // Test 2b: Inline explicit Database type without AD in Database (to break circular dependency)
|
|
112
|
+
// function testInlineExplicitTypeNoCircular<
|
|
113
|
+
// const CS extends ComponentSchemas,
|
|
114
|
+
// const RS extends ResourceSchemas,
|
|
115
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
116
|
+
// const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>,
|
|
117
|
+
// const S extends string
|
|
118
|
+
// >(
|
|
119
|
+
// plugins: {
|
|
120
|
+
// components?: CS,
|
|
121
|
+
// resources?: RS,
|
|
122
|
+
// archetypes?: A,
|
|
123
|
+
// transactions?: TD,
|
|
124
|
+
// systems?: { readonly [K in S]: {
|
|
125
|
+
// readonly create: (db: Database<
|
|
126
|
+
// FromSchemas<CS>,
|
|
127
|
+
// FromSchemas<RS>,
|
|
128
|
+
// A,
|
|
129
|
+
// ToTransactionFunctions<TD>,
|
|
130
|
+
// S,
|
|
131
|
+
// {} // Empty actions in Database type to break circular dependency
|
|
132
|
+
// >) => (() => void) | void;
|
|
133
|
+
// } },
|
|
134
|
+
// actions?: {
|
|
135
|
+
// readonly [K in string]: (db: Database<
|
|
136
|
+
// FromSchemas<CS>,
|
|
137
|
+
// FromSchemas<RS>,
|
|
138
|
+
// A,
|
|
139
|
+
// ToTransactionFunctions<TD>,
|
|
140
|
+
// S,
|
|
141
|
+
// {} // Empty actions - but this means actions can't call other actions
|
|
142
|
+
// >, input?: any) => any
|
|
143
|
+
// }
|
|
144
|
+
// }
|
|
145
|
+
// ) {
|
|
146
|
+
// const testActions = plugins.actions;
|
|
147
|
+
// return testActions;
|
|
148
|
+
// }
|
|
149
|
+
// // Test 3: Using satisfies to help inference
|
|
150
|
+
// function testSatisfiesApproach<
|
|
151
|
+
// const CS extends ComponentSchemas,
|
|
152
|
+
// const RS extends ResourceSchemas,
|
|
153
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
154
|
+
// const TD extends TransactionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A>,
|
|
155
|
+
// const S extends string,
|
|
156
|
+
// const AD extends ActionDeclarations<FromSchemas<CS>, FromSchemas<RS>, A, ToTransactionFunctions<TD>, S> = {}
|
|
157
|
+
// >(
|
|
158
|
+
// plugins: {
|
|
159
|
+
// components?: CS,
|
|
160
|
+
// resources?: RS,
|
|
161
|
+
// archetypes?: A,
|
|
162
|
+
// transactions?: TD,
|
|
163
|
+
// systems?: { readonly [K in S]: {
|
|
164
|
+
// readonly create: (db: Database<
|
|
165
|
+
// FromSchemas<CS>,
|
|
166
|
+
// FromSchemas<RS>,
|
|
167
|
+
// A,
|
|
168
|
+
// ToTransactionFunctions<TD>,
|
|
169
|
+
// S,
|
|
170
|
+
// ToActionFunctions<AD>
|
|
171
|
+
// >) => (() => void) | void;
|
|
172
|
+
// } },
|
|
173
|
+
// actions?: AD
|
|
174
|
+
// }
|
|
175
|
+
// ) {
|
|
176
|
+
// const testActions = plugins.actions;
|
|
177
|
+
// return testActions;
|
|
178
|
+
// }
|
|
179
|
+
// // Test cases to verify inference
|
|
180
|
+
// function testTypeInference() {
|
|
181
|
+
// // Test Case 1: Current approach - using ActionDeclarations constraint
|
|
182
|
+
// const test1 = testCurrentApproach({
|
|
183
|
+
// components: {
|
|
184
|
+
// a: { type: "number" },
|
|
185
|
+
// b: { type: "string" }
|
|
186
|
+
// },
|
|
187
|
+
// resources: {
|
|
188
|
+
// c: { default: false as boolean }
|
|
189
|
+
// },
|
|
190
|
+
// transactions: {
|
|
191
|
+
// testTx: (store) => {
|
|
192
|
+
// // store should be typed - verify this works
|
|
193
|
+
// store.resources.c = true;
|
|
194
|
+
// }
|
|
195
|
+
// },
|
|
196
|
+
// actions: {
|
|
197
|
+
// testAction: (db) => {
|
|
198
|
+
// // QUESTION: Is db typed here? Or does it need 'any'?
|
|
199
|
+
// // db should be typed - does it work?
|
|
200
|
+
// db.transactions.testTx();
|
|
201
|
+
// return db.resources.c;
|
|
202
|
+
// }
|
|
203
|
+
// }
|
|
204
|
+
// });
|
|
205
|
+
// // Test Case 2: Inline explicit type (like systems pattern)
|
|
206
|
+
// const test2 = testInlineExplicitType({
|
|
207
|
+
// components: {
|
|
208
|
+
// a: { type: "number" },
|
|
209
|
+
// b: { type: "string" }
|
|
210
|
+
// },
|
|
211
|
+
// resources: {
|
|
212
|
+
// c: { default: false as boolean }
|
|
213
|
+
// },
|
|
214
|
+
// transactions: {
|
|
215
|
+
// testTx: (store) => {
|
|
216
|
+
// store.resources.c = true;
|
|
217
|
+
// }
|
|
218
|
+
// },
|
|
219
|
+
// actions: {
|
|
220
|
+
// testAction: (db) => {
|
|
221
|
+
// // QUESTION: Is db typed here with inline explicit type?
|
|
222
|
+
// // db should be typed with inline explicit type
|
|
223
|
+
// db.transactions.testTx();
|
|
224
|
+
// return db.resources.c;
|
|
225
|
+
// }
|
|
226
|
+
// }
|
|
227
|
+
// });
|
|
228
|
+
// // Test Case 3: With satisfies helper
|
|
229
|
+
// const test3 = testSatisfiesApproach({
|
|
230
|
+
// components: {
|
|
231
|
+
// a: { type: "number" },
|
|
232
|
+
// b: { type: "string" }
|
|
233
|
+
// },
|
|
234
|
+
// resources: {
|
|
235
|
+
// c: { default: false as boolean }
|
|
236
|
+
// },
|
|
237
|
+
// transactions: {
|
|
238
|
+
// testTx: (store) => {
|
|
239
|
+
// store.resources.c = true;
|
|
240
|
+
// }
|
|
241
|
+
// },
|
|
242
|
+
// actions: {
|
|
243
|
+
// testAction: (db) => {
|
|
244
|
+
// // QUESTION: Does satisfies help with inference?
|
|
245
|
+
// // db should be typed
|
|
246
|
+
// db.transactions.testTx();
|
|
247
|
+
// return db.resources.c;
|
|
248
|
+
// }
|
|
249
|
+
// } satisfies ActionDeclarations<any, any, any, any, any>
|
|
250
|
+
// });
|
|
251
|
+
// // Test Case 4: Actions without circular dependency (can't call other actions, but can call transactions)
|
|
252
|
+
// const test4 = testActionsWithoutCircularDependency({
|
|
253
|
+
// components: {
|
|
254
|
+
// a: { type: "number" },
|
|
255
|
+
// b: { type: "string" }
|
|
256
|
+
// },
|
|
257
|
+
// resources: {
|
|
258
|
+
// c: { default: false as boolean }
|
|
259
|
+
// },
|
|
260
|
+
// transactions: {
|
|
261
|
+
// testTx: (store) => {
|
|
262
|
+
// store.resources.c = true;
|
|
263
|
+
// }
|
|
264
|
+
// },
|
|
265
|
+
// actions: {
|
|
266
|
+
// testAction: (db) => {
|
|
267
|
+
// // QUESTION: Is db typed here? This should work since no circular dependency
|
|
268
|
+
// // db should be typed - can call transactions but not other actions
|
|
269
|
+
// db.transactions.testTx();
|
|
270
|
+
// return db.resources.c;
|
|
271
|
+
// }
|
|
272
|
+
// }
|
|
273
|
+
// });
|
|
274
|
+
// }
|
|
275
|
+
//# sourceMappingURL=experimental-action-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"experimental-action-types.js","sourceRoot":"","sources":["../../../src/ecs/database/experimental-action-types.ts"],"names":[],"mappings":"AAAA,gBAAgB;;AAEhB,+CAA+C;AAE/C,+EAA+E;AAC/E,gFAAgF;AAChF,+EAA+E;AAC/E,4EAA4E;AAC5E,wEAAwE;AACxE,2DAA2D;AAE3D,iFAAiF;AACjF,kDAAkD;AAElD,6EAA6E;AAC7E,2EAA2E;AAC3E,8EAA8E;AAC9E,yEAAyE;AACzE,gFAAgF;AAChF,gFAAgF;AAChF,cAAc;AAEd,MAAM;AACN,+DAA+D;AAC/D,mFAAmF;AACnF,MAAM;AAEN,iDAAiD;AACjD,mEAAmE;AACnE,iEAAiE;AACjE,+EAA+E;AAC/E,4GAA4G;AAC5G,6FAA6F;AAC7F,4DAA4D;AAC5D,qEAAqE;AAErE,mCAAmC;AACnC,uBAAuB;AACvB,mCAAmC;AACnC,mCAAmC;AAC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