@adobe/data 0.2.5 → 0.2.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/dist/ecs/database/create-database.d.ts +3 -1
- package/dist/ecs/database/create-database.js +2 -2
- package/dist/ecs/database/create-database.js.map +1 -1
- package/dist/ecs/database/create-database.test.js +17 -17
- package/dist/ecs/database/create-database.test.js.map +1 -1
- package/dist/ecs/database/database-schema/create-database-from-schema.d.ts +12 -0
- package/dist/ecs/database/database-schema/create-database-from-schema.js +8 -0
- package/dist/ecs/database/database-schema/create-database-from-schema.js.map +1 -0
- package/dist/ecs/database/database-schema/create-database-schema-test.js +25 -0
- package/dist/ecs/database/database-schema/create-database-schema-test.js.map +1 -0
- package/dist/ecs/database/database-schema/create-database-schema.d.ts +11 -5
- package/dist/ecs/database/database-schema/create-database-schema.js +2 -2
- package/dist/ecs/database/database-schema/create-database-schema.js.map +1 -1
- package/dist/ecs/database/database-schema/database-schema.d.ts +7 -4
- package/dist/ecs/database/database-schema/index.d.ts +1 -2
- package/dist/ecs/database/database-schema/index.js +1 -1
- package/dist/ecs/database/database-schema/index.js.map +1 -1
- package/dist/ecs/database/database.d.ts +4 -3
- package/dist/ecs/database/observe-dependent-value.d.ts +1 -1
- package/dist/ecs/database/observe-dependent-value.js +1 -1
- package/dist/ecs/database/observe-dependent-value.js.map +1 -1
- package/dist/ecs/database/transactional-store/create-transactional-store.d.ts +3 -1
- package/dist/ecs/database/transactional-store/create-transactional-store.js.map +1 -1
- package/dist/ecs/database/transactional-store/transactional-store.d.ts +5 -3
- package/dist/ecs/store/archetype-components.d.ts +1 -0
- package/dist/ecs/{core-ecs/core-ecs-types.js → store/archetype-components.js} +1 -1
- package/dist/ecs/store/archetype-components.js.map +1 -0
- package/dist/ecs/store/create-store.d.ts +4 -4
- package/dist/ecs/store/create-store.js +6 -1
- package/dist/ecs/store/create-store.js.map +1 -1
- package/dist/ecs/store/create-store.test.js +17 -7
- package/dist/ecs/store/create-store.test.js.map +1 -1
- package/dist/ecs/store/index.d.ts +1 -0
- package/dist/ecs/store/index.js +1 -0
- package/dist/ecs/store/index.js.map +1 -1
- package/dist/ecs/store/store.d.ts +14 -2
- package/dist/internal/typed-array/get-byte-size.d.ts +1 -1
- package/dist/schema/schema.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/README.md +0 -310
- package/dist/_/data.d.ts +0 -11
- package/dist/_/data.js +0 -23
- package/dist/_/data.js.map +0 -1
- package/dist/_/equals.d.ts +0 -11
- package/dist/_/equals.js +0 -73
- package/dist/_/equals.js.map +0 -1
- package/dist/_/equals.test.js +0 -150
- package/dist/_/equals.test.js.map +0 -1
- package/dist/_/index.d.ts +0 -4
- package/dist/_/index.js +0 -24
- package/dist/_/index.js.map +0 -1
- package/dist/_/is-data.d.ts +0 -11
- package/dist/_/is-data.js +0 -2
- package/dist/_/is-data.js.map +0 -1
- package/dist/_/normalize.d.ts +0 -1
- package/dist/_/normalize.js +0 -34
- package/dist/_/normalize.js.map +0 -1
- package/dist/_/normalize.test.d.ts +0 -1
- package/dist/_/normalize.test.js +0 -48
- package/dist/_/normalize.test.js.map +0 -1
- package/dist/_/schema.test.d.ts +0 -1
- package/dist/_/schema.test.js +0 -16
- package/dist/_/schema.test.js.map +0 -1
- package/dist/blob-store/blob-store.d.ts +0 -94
- package/dist/blob-store/blob-store.js +0 -194
- package/dist/blob-store/blob-store.js.map +0 -1
- package/dist/blob-store/blob-store.test.d.ts +0 -1
- package/dist/blob-store/blob-store.test.js +0 -142
- package/dist/blob-store/blob-store.test.js.map +0 -1
- package/dist/cache/functions/bind-functions.d.ts +0 -6
- package/dist/cache/functions/bind-functions.js +0 -33
- package/dist/cache/functions/bind-functions.js.map +0 -1
- package/dist/cache/functions/omit.d.ts +0 -1
- package/dist/cache/functions/omit.js +0 -29
- package/dist/cache/functions/omit.js.map +0 -1
- package/dist/cache/functions/types.d.ts +0 -1
- package/dist/cache/functions/types.js +0 -23
- package/dist/cache/functions/types.js.map +0 -1
- package/dist/core/IsData.d.ts +0 -6
- package/dist/core/IsData.js +0 -2
- package/dist/core/IsData.js.map +0 -1
- package/dist/core/data.d.ts +0 -11
- package/dist/core/data.js +0 -23
- package/dist/core/data.js.map +0 -1
- package/dist/core/data.test.d.ts +0 -1
- package/dist/core/data.test.js +0 -48
- package/dist/core/data.test.js.map +0 -1
- package/dist/core/equals.d.ts +0 -11
- package/dist/core/equals.js +0 -73
- package/dist/core/equals.js.map +0 -1
- package/dist/core/equals.test.d.ts +0 -1
- package/dist/core/equals.test.js +0 -150
- package/dist/core/equals.test.js.map +0 -1
- package/dist/core/functions/array-equals-shallow.d.ts +0 -1
- package/dist/core/functions/array-equals-shallow.js +0 -34
- package/dist/core/functions/array-equals-shallow.js.map +0 -1
- package/dist/core/functions/deep-assign.d.ts +0 -11
- package/dist/core/functions/deep-assign.js +0 -61
- package/dist/core/functions/deep-assign.js.map +0 -1
- package/dist/core/functions/deep-assign.test.d.ts +0 -1
- package/dist/core/functions/deep-assign.test.js +0 -180
- package/dist/core/functions/deep-assign.test.js.map +0 -1
- package/dist/core/functions/deep-merge.d.ts +0 -32
- package/dist/core/functions/deep-merge.js +0 -54
- package/dist/core/functions/deep-merge.js.map +0 -1
- package/dist/core/functions/deep-merge.test.d.ts +0 -1
- package/dist/core/functions/deep-merge.test.js +0 -94
- package/dist/core/functions/deep-merge.test.js.map +0 -1
- package/dist/core/functions/index.d.ts +0 -1
- package/dist/core/functions/index.js +0 -23
- package/dist/core/functions/index.js.map +0 -1
- package/dist/core/functions/is-async-generator.d.ts +0 -1
- package/dist/core/functions/is-async-generator.js +0 -25
- package/dist/core/functions/is-async-generator.js.map +0 -1
- package/dist/core/functions/is-promise.d.ts +0 -1
- package/dist/core/functions/is-promise.js +0 -26
- package/dist/core/functions/is-promise.js.map +0 -1
- package/dist/core/functions/memoize-factory.d.ts +0 -1
- package/dist/core/functions/memoize-factory.js +0 -12
- package/dist/core/functions/memoize-factory.js.map +0 -1
- package/dist/core/index.d.ts +0 -4
- package/dist/core/index.js +0 -24
- package/dist/core/index.js.map +0 -1
- package/dist/core/is-data.d.ts +0 -11
- package/dist/core/is-data.js +0 -2
- package/dist/core/is-data.js.map +0 -1
- package/dist/core/normalize.d.ts +0 -1
- package/dist/core/normalize.js +0 -34
- package/dist/core/normalize.js.map +0 -1
- package/dist/core/normalize.test.d.ts +0 -1
- package/dist/core/normalize.test.js +0 -48
- package/dist/core/normalize.test.js.map +0 -1
- package/dist/core/schema.test.d.ts +0 -1
- package/dist/core/schema.test.js +0 -16
- package/dist/core/schema.test.js.map +0 -1
- package/dist/ecs/action-ecs/action-ecs.d.ts +0 -19
- package/dist/ecs/action-ecs/action-ecs.js +0 -203
- package/dist/ecs/action-ecs/action-ecs.js.map +0 -1
- package/dist/ecs/action-ecs/action-ecs.test.d.ts +0 -1
- package/dist/ecs/action-ecs/action-ecs.test.js +0 -363
- package/dist/ecs/action-ecs/action-ecs.test.js.map +0 -1
- package/dist/ecs/action-ecs/action-types.d.ts +0 -106
- package/dist/ecs/action-ecs/action-types.js +0 -19
- package/dist/ecs/action-ecs/action-types.js.map +0 -1
- package/dist/ecs/action-ecs/index.d.ts +0 -3
- package/dist/ecs/action-ecs/index.js +0 -24
- package/dist/ecs/action-ecs/index.js.map +0 -1
- package/dist/ecs/action-ecs/sequential-action.d.ts +0 -18
- package/dist/ecs/action-ecs/sequential-action.js +0 -45
- package/dist/ecs/action-ecs/sequential-action.js.map +0 -1
- package/dist/ecs/core-ecs/core-ecs-serialization.test.d.ts +0 -1
- package/dist/ecs/core-ecs/core-ecs-serialization.test.js +0 -231
- package/dist/ecs/core-ecs/core-ecs-serialization.test.js.map +0 -1
- package/dist/ecs/core-ecs/core-ecs-types.d.ts +0 -142
- package/dist/ecs/core-ecs/core-ecs-types.js.map +0 -1
- package/dist/ecs/core-ecs/core-ecs.d.ts +0 -7
- package/dist/ecs/core-ecs/core-ecs.js +0 -492
- package/dist/ecs/core-ecs/core-ecs.js.map +0 -1
- package/dist/ecs/core-ecs/core-ecs.test.d.ts +0 -1
- package/dist/ecs/core-ecs/core-ecs.test.js +0 -426
- package/dist/ecs/core-ecs/core-ecs.test.js.map +0 -1
- package/dist/ecs/core-ecs/index.d.ts +0 -1
- package/dist/ecs/core-ecs/index.js +0 -2
- package/dist/ecs/core-ecs/index.js.map +0 -1
- package/dist/ecs/database/database-schema/create-database-from-schemas.d.ts +0 -15
- package/dist/ecs/database/database-schema/create-database-from-schemas.js +0 -33
- package/dist/ecs/database/database-schema/create-database-from-schemas.js.map +0 -1
- package/dist/ecs/ecs/ecs-types.d.ts +0 -133
- package/dist/ecs/ecs/ecs-types.js +0 -23
- package/dist/ecs/ecs/ecs-types.js.map +0 -1
- package/dist/ecs/ecs/ecs-where-functions.d.ts +0 -6
- package/dist/ecs/ecs/ecs-where-functions.js +0 -91
- package/dist/ecs/ecs/ecs-where-functions.js.map +0 -1
- package/dist/ecs/ecs/ecs.d.ts +0 -13
- package/dist/ecs/ecs/ecs.js +0 -177
- package/dist/ecs/ecs/ecs.js.map +0 -1
- package/dist/ecs/ecs/ecs.test.d.ts +0 -1
- package/dist/ecs/ecs/ecs.test.js +0 -399
- package/dist/ecs/ecs/ecs.test.js.map +0 -1
- package/dist/ecs/ecs/index.d.ts +0 -2
- package/dist/ecs/ecs/index.js +0 -24
- package/dist/ecs/ecs/index.js.map +0 -1
- package/dist/ecs/store/resource-components copy.d.ts +0 -1
- package/dist/ecs/store/resource-components copy.js +0 -23
- package/dist/ecs/store/resource-components copy.js.map +0 -1
- package/dist/ecs/systems/index.d.ts +0 -2
- package/dist/ecs/systems/index.js +0 -2
- package/dist/ecs/systems/index.js.map +0 -1
- package/dist/ecs/systems/system-phase.d.ts +0 -5
- package/dist/ecs/systems/system-phase.js +0 -16
- package/dist/ecs/systems/system-phase.js.map +0 -1
- package/dist/ecs/systems/system.d.ts +0 -7
- package/dist/ecs/systems/system.js +0 -2
- package/dist/ecs/systems/system.js.map +0 -1
- package/dist/ecs/transaction-ecs/index.d.ts +0 -2
- package/dist/ecs/transaction-ecs/index.js +0 -24
- package/dist/ecs/transaction-ecs/index.js.map +0 -1
- package/dist/ecs/transaction-ecs/transaction-ecs.d.ts +0 -11
- package/dist/ecs/transaction-ecs/transaction-ecs.js +0 -184
- package/dist/ecs/transaction-ecs/transaction-ecs.js.map +0 -1
- package/dist/ecs/transaction-ecs/transaction-ecs.test.d.ts +0 -1
- package/dist/ecs/transaction-ecs/transaction-ecs.test.js +0 -599
- package/dist/ecs/transaction-ecs/transaction-ecs.test.js.map +0 -1
- package/dist/ecs/transaction-ecs/transaction-types.d.ts +0 -136
- package/dist/ecs/transaction-ecs/transaction-types.js +0 -2
- package/dist/ecs/transaction-ecs/transaction-types.js.map +0 -1
- package/dist/ecs/transaction-ecs/transactions.d.ts +0 -5
- package/dist/ecs/transaction-ecs/transactions.js +0 -158
- package/dist/ecs/transaction-ecs/transactions.js.map +0 -1
- package/dist/equalsShallow.d.ts +0 -1
- package/dist/equalsShallow.js +0 -37
- package/dist/equalsShallow.js.map +0 -1
- package/dist/equalsShallow.test.d.ts +0 -1
- package/dist/equalsShallow.test.js +0 -113
- package/dist/equalsShallow.test.js.map +0 -1
- package/dist/internal/object/mutable-clone.d.ts +0 -5
- package/dist/internal/object/mutable-clone.js +0 -4
- package/dist/internal/object/mutable-clone.js.map +0 -1
- package/dist/old-ecs/ecs/ecs-where-cache.test.d.ts +0 -1
- package/dist/old-ecs/ecs/ecs-where-cache.test.js +0 -164
- package/dist/old-ecs/ecs/ecs-where-cache.test.js.map +0 -1
- package/dist/package.json +0 -129
- package/dist/schema/FromSchema.d.ts +0 -25
- package/dist/schema/FromSchema.js +0 -2
- package/dist/schema/FromSchema.js.map +0 -1
- package/dist/service/isService.d.ts +0 -2
- package/dist/service/isService.js +0 -5
- package/dist/service/isService.js.map +0 -1
- package/dist/service/sequential-action.d.ts +0 -18
- package/dist/service/sequential-action.js +0 -45
- package/dist/service/sequential-action.js.map +0 -1
- package/dist/table/copy-to-gpu-buffer.d.ts +0 -2
- package/dist/table/copy-to-gpu-buffer.js +0 -16
- package/dist/table/copy-to-gpu-buffer.js.map +0 -1
- package/dist/table/create-composite-table.d.ts +0 -5
- package/dist/table/create-composite-table.js +0 -20
- package/dist/table/create-composite-table.js.map +0 -1
- package/dist/typed-buffer/create-composite-buffer.d.ts +0 -2
- package/dist/typed-buffer/create-composite-buffer.js +0 -85
- package/dist/typed-buffer/create-composite-buffer.js.map +0 -1
- package/dist/typed-buffer/create-composite-buffer.test.d.ts +0 -1
- package/dist/typed-buffer/create-composite-buffer.test.js +0 -291
- package/dist/typed-buffer/create-composite-buffer.test.js.map +0 -1
- package/dist/typed-buffer/create-mapped-buffer.d.ts +0 -6
- package/dist/typed-buffer/create-mapped-buffer.js +0 -32
- package/dist/typed-buffer/create-mapped-buffer.js.map +0 -1
- package/dist/typed-buffer/create-mapped-buffer.test.d.ts +0 -1
- package/dist/typed-buffer/create-mapped-buffer.test.js +0 -202
- package/dist/typed-buffer/create-mapped-buffer.test.js.map +0 -1
- package/dist/types/array/equalsShallow.d.ts +0 -1
- package/dist/types/array/equalsShallow.js +0 -37
- package/dist/types/array/equalsShallow.js.map +0 -1
- package/dist/types/array/equalsShallow.test.d.ts +0 -1
- package/dist/types/array/equalsShallow.test.js +0 -113
- package/dist/types/array/equalsShallow.test.js.map +0 -1
- package/dist/types/array/index.d.ts +0 -1
- package/dist/types/array/index.js +0 -2
- package/dist/types/array/index.js.map +0 -1
- package/dist/types/array-buffer-like/copy.d.ts +0 -1
- package/dist/types/array-buffer-like/copy.js +0 -469
- package/dist/types/array-buffer-like/copy.js.map +0 -1
- package/dist/types/array-buffer-like/grow.d.ts +0 -1
- package/dist/types/array-buffer-like/grow.js +0 -53
- package/dist/types/array-buffer-like/grow.js.map +0 -1
- package/dist/types/array-buffer-like/index.d.ts +0 -4
- package/dist/types/array-buffer-like/index.js +0 -26
- package/dist/types/array-buffer-like/index.js.map +0 -1
- package/dist/types/array-buffer-like/is-array-buffer.d.ts +0 -1
- package/dist/types/array-buffer-like/is-array-buffer.js +0 -445
- package/dist/types/array-buffer-like/is-array-buffer.js.map +0 -1
- package/dist/types/array-buffer-like/is-shared-array-buffer.d.ts +0 -1
- package/dist/types/array-buffer-like/is-shared-array-buffer.js +0 -445
- package/dist/types/array-buffer-like/is-shared-array-buffer.js.map +0 -1
- package/dist/types/data-view-32/create-data-view-32.d.ts +0 -2
- package/dist/types/data-view-32/create-data-view-32.js +0 -8
- package/dist/types/data-view-32/create-data-view-32.js.map +0 -1
- package/dist/types/data-view-32/data-view-32.d.ts +0 -5
- package/dist/types/data-view-32/data-view-32.js +0 -23
- package/dist/types/data-view-32/data-view-32.js.map +0 -1
- package/dist/types/data-view-32/index.d.ts +0 -2
- package/dist/types/data-view-32/index.js +0 -24
- package/dist/types/data-view-32/index.js.map +0 -1
- package/dist/types/object/index.d.ts +0 -2
- package/dist/types/object/index.js +0 -24
- package/dist/types/object/index.js.map +0 -1
- package/dist/types/object/map-entries.d.ts +0 -5
- package/dist/types/object/map-entries.js +0 -29
- package/dist/types/object/map-entries.js.map +0 -1
- package/dist/types/object/mutable-clone.d.ts +0 -5
- package/dist/types/object/mutable-clone.js +0 -4
- package/dist/types/object/mutable-clone.js.map +0 -1
- package/dist/types/remove-readonly.d.ts +0 -3
- package/dist/types/remove-readonly.js +0 -2
- package/dist/types/remove-readonly.js.map +0 -1
- package/dist/types/table/add-row.d.ts +0 -8
- package/dist/types/table/add-row.js +0 -40
- package/dist/types/table/add-row.js.map +0 -1
- package/dist/types/table/create-table.d.ts +0 -3
- package/dist/types/table/create-table.js +0 -33
- package/dist/types/table/create-table.js.map +0 -1
- package/dist/types/table/delete-row.d.ts +0 -9
- package/dist/types/table/delete-row.js +0 -18
- package/dist/types/table/delete-row.js.map +0 -1
- package/dist/types/table/ensure-capacity.d.ts +0 -2
- package/dist/types/table/ensure-capacity.js +0 -15
- package/dist/types/table/ensure-capacity.js.map +0 -1
- package/dist/types/table/get-row-data.d.ts +0 -3
- package/dist/types/table/get-row-data.js +0 -8
- package/dist/types/table/get-row-data.js.map +0 -1
- package/dist/types/table/index.d.ts +0 -8
- package/dist/types/table/index.js +0 -30
- package/dist/types/table/index.js.map +0 -1
- package/dist/types/table/row-index.d.ts +0 -8
- package/dist/types/table/row-index.js +0 -3
- package/dist/types/table/row-index.js.map +0 -1
- package/dist/types/table/table.d.ts +0 -13
- package/dist/types/table/table.js +0 -2
- package/dist/types/table/table.js.map +0 -1
- package/dist/types/table/update-row.d.ts +0 -8
- package/dist/types/table/update-row.js +0 -12
- package/dist/types/table/update-row.js.map +0 -1
- package/dist/types/typed-array/copy-to-gpu-buffer.d.ts +0 -2
- package/dist/types/typed-array/copy-to-gpu-buffer.js +0 -16
- package/dist/types/typed-array/copy-to-gpu-buffer.js.map +0 -1
- package/dist/types/typed-array/get-byte-size.d.ts +0 -2
- package/dist/types/typed-array/get-byte-size.js +0 -28
- package/dist/types/typed-array/get-byte-size.js.map +0 -1
- package/dist/types/typed-array/index.d.ts +0 -4
- package/dist/types/typed-array/index.js +0 -26
- package/dist/types/typed-array/index.js.map +0 -1
- package/dist/types/typed-array/typed-array-constructer.d.ts +0 -7
- package/dist/types/typed-array/typed-array-constructer.js +0 -2
- package/dist/types/typed-array/typed-array-constructer.js.map +0 -1
- package/dist/types/typed-array/typed-array.d.ts +0 -1
- package/dist/types/typed-array/typed-array.js +0 -23
- package/dist/types/typed-array/typed-array.js.map +0 -1
- package/dist/types/typed-buffer/copy-to-gpu-buffer.d.ts +0 -2
- package/dist/types/typed-buffer/copy-to-gpu-buffer.js +0 -16
- package/dist/types/typed-buffer/copy-to-gpu-buffer.js.map +0 -1
- package/dist/types/typed-buffer/create-array-buffer.d.ts +0 -4
- package/dist/types/typed-buffer/create-array-buffer.js +0 -29
- package/dist/types/typed-buffer/create-array-buffer.js.map +0 -1
- package/dist/types/typed-buffer/create-number-buffer.d.ts +0 -8
- package/dist/types/typed-buffer/create-number-buffer.js +0 -75
- package/dist/types/typed-buffer/create-number-buffer.js.map +0 -1
- package/dist/types/typed-buffer/create-struct-buffer.d.ts +0 -10
- package/dist/types/typed-buffer/create-struct-buffer.js +0 -78
- package/dist/types/typed-buffer/create-struct-buffer.js.map +0 -1
- package/dist/types/typed-buffer/create-typed-buffer.d.ts +0 -7
- package/dist/types/typed-buffer/create-typed-buffer.js +0 -17
- package/dist/types/typed-buffer/create-typed-buffer.js.map +0 -1
- package/dist/types/typed-buffer/index.d.ts +0 -6
- package/dist/types/typed-buffer/index.js +0 -28
- package/dist/types/typed-buffer/index.js.map +0 -1
- package/dist/types/typed-buffer/structs/assert-struct.d.ts +0 -8
- package/dist/types/typed-buffer/structs/assert-struct.js +0 -15
- package/dist/types/typed-buffer/structs/assert-struct.js.map +0 -1
- package/dist/types/typed-buffer/structs/create-read-struct.d.ts +0 -3
- package/dist/types/typed-buffer/structs/create-read-struct.js +0 -62
- package/dist/types/typed-buffer/structs/create-read-struct.js.map +0 -1
- package/dist/types/typed-buffer/structs/create-read-struct.test.d.ts +0 -1
- package/dist/types/typed-buffer/structs/create-read-struct.test.js +0 -189
- package/dist/types/typed-buffer/structs/create-read-struct.test.js.map +0 -1
- package/dist/types/typed-buffer/structs/create-write-struct.d.ts +0 -3
- package/dist/types/typed-buffer/structs/create-write-struct.js +0 -58
- package/dist/types/typed-buffer/structs/create-write-struct.js.map +0 -1
- package/dist/types/typed-buffer/structs/get-field-offset.d.ts +0 -2
- package/dist/types/typed-buffer/structs/get-field-offset.js +0 -14
- package/dist/types/typed-buffer/structs/get-field-offset.js.map +0 -1
- package/dist/types/typed-buffer/structs/get-struct-layout.d.ts +0 -5
- package/dist/types/typed-buffer/structs/get-struct-layout.js +0 -198
- package/dist/types/typed-buffer/structs/get-struct-layout.js.map +0 -1
- package/dist/types/typed-buffer/structs/get-struct-layout.test.d.ts +0 -1
- package/dist/types/typed-buffer/structs/get-struct-layout.test.js +0 -133
- package/dist/types/typed-buffer/structs/get-struct-layout.test.js.map +0 -1
- package/dist/types/typed-buffer/structs/index.d.ts +0 -1
- package/dist/types/typed-buffer/structs/index.js +0 -23
- package/dist/types/typed-buffer/structs/index.js.map +0 -1
- package/dist/types/typed-buffer/structs/read-struct.d.ts +0 -2
- package/dist/types/typed-buffer/structs/read-struct.js +0 -2
- package/dist/types/typed-buffer/structs/read-struct.js.map +0 -1
- package/dist/types/typed-buffer/structs/struct-layout.d.ts +0 -21
- package/dist/types/typed-buffer/structs/struct-layout.js +0 -23
- package/dist/types/typed-buffer/structs/struct-layout.js.map +0 -1
- package/dist/types/typed-buffer/structs/write-struct.d.ts +0 -2
- package/dist/types/typed-buffer/structs/write-struct.js +0 -2
- package/dist/types/typed-buffer/structs/write-struct.js.map +0 -1
- package/dist/types/typed-buffer/structs/write-struct.test.d.ts +0 -1
- package/dist/types/typed-buffer/structs/write-struct.test.js +0 -181
- package/dist/types/typed-buffer/structs/write-struct.test.js.map +0 -1
- package/dist/types/typed-buffer/typed-buffer.d.ts +0 -16
- package/dist/types/typed-buffer/typed-buffer.js +0 -2
- package/dist/types/typed-buffer/typed-buffer.js.map +0 -1
- package/dist/types/typed-buffer/typed-buffer.test.d.ts +0 -1
- package/dist/types/typed-buffer/typed-buffer.test.js +0 -223
- package/dist/types/typed-buffer/typed-buffer.test.js.map +0 -1
- package/dist/ui/decorators/apply-decorator.d.ts +0 -1
- package/dist/ui/decorators/apply-decorator.js +0 -18
- package/dist/ui/decorators/apply-decorator.js.map +0 -1
- package/dist/ui/decorators/apply-service-decorators.d.ts +0 -1
- package/dist/ui/decorators/apply-service-decorators.js +0 -12
- package/dist/ui/decorators/apply-service-decorators.js.map +0 -1
- package/dist/ui/decorators/require-service.d.ts +0 -1
- package/dist/ui/decorators/require-service.js +0 -13
- package/dist/ui/decorators/require-service.js.map +0 -1
- package/dist/ui/elements/index.d.ts +0 -3
- package/dist/ui/elements/index.js +0 -4
- package/dist/ui/elements/index.js.map +0 -1
- package/dist/ui/elements/service-application.d.ts +0 -8
- package/dist/ui/elements/service-application.js +0 -27
- package/dist/ui/elements/service-application.js.map +0 -1
- package/dist/ui/elements/service-context.d.ts +0 -1
- package/dist/ui/elements/service-context.js +0 -3
- package/dist/ui/elements/service-context.js.map +0 -1
- package/dist/ui/elements/service-element.d.ts +0 -6
- package/dist/ui/elements/service-element.js +0 -22
- package/dist/ui/elements/service-element.js.map +0 -1
- package/dist/ui/hooks/component/component.d.ts +0 -9
- package/dist/ui/hooks/component/component.js +0 -2
- package/dist/ui/hooks/component/component.js.map +0 -1
- package/dist/ui/hooks/component/stack.d.ts +0 -6
- package/dist/ui/hooks/component/stack.js +0 -15
- package/dist/ui/hooks/component/stack.js.map +0 -1
- package/dist/ui/hooks/index.d.ts +0 -7
- package/dist/ui/hooks/index.js +0 -9
- package/dist/ui/hooks/index.js.map +0 -1
- package/dist/ui/hooks/use-connected.d.ts +0 -2
- package/dist/ui/hooks/use-connected.js +0 -31
- package/dist/ui/hooks/use-connected.js.map +0 -1
- package/dist/ui/hooks/use-effect.d.ts +0 -3
- package/dist/ui/hooks/use-effect.js +0 -13
- package/dist/ui/hooks/use-effect.js.map +0 -1
- package/dist/ui/hooks/use-element.d.ts +0 -4
- package/dist/ui/hooks/use-element.js +0 -8
- package/dist/ui/hooks/use-element.js.map +0 -1
- package/dist/ui/hooks/use-memo.d.ts +0 -1
- package/dist/ui/hooks/use-memo.js +0 -12
- package/dist/ui/hooks/use-memo.js.map +0 -1
- package/dist/ui/hooks/use-observable-values.d.ts +0 -5
- package/dist/ui/hooks/use-observable-values.js +0 -8
- package/dist/ui/hooks/use-observable-values.js.map +0 -1
- package/dist/ui/hooks/use-observable.d.ts +0 -2
- package/dist/ui/hooks/use-observable.js +0 -12
- package/dist/ui/hooks/use-observable.js.map +0 -1
- package/dist/ui/hooks/use-ref.d.ts +0 -3
- package/dist/ui/hooks/use-ref.js +0 -6
- package/dist/ui/hooks/use-ref.js.map +0 -1
- package/dist/ui/hooks/use-resize-observer.d.ts +0 -10
- package/dist/ui/hooks/use-resize-observer.js +0 -20
- package/dist/ui/hooks/use-resize-observer.js.map +0 -1
- package/dist/ui/hooks/use-state.d.ts +0 -2
- package/dist/ui/hooks/use-state.js +0 -14
- package/dist/ui/hooks/use-state.js.map +0 -1
- package/dist/ui/hooks/use-window-event.d.ts +0 -1
- package/dist/ui/hooks/use-window-event.js +0 -10
- package/dist/ui/hooks/use-window-event.js.map +0 -1
- package/dist/ui/hooks/with-hooks.d.ts +0 -2
- package/dist/ui/hooks/with-hooks.js +0 -15
- package/dist/ui/hooks/with-hooks.js.map +0 -1
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.js +0 -2
- package/dist/ui/index.js.map +0 -1
- /package/dist/{_/equals.test.d.ts → ecs/database/database-schema/create-database-schema-test.d.ts} +0 -0
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import { createECS } from "../ecs/ecs.js";
|
|
2
|
-
import { createECSTransaction } from "./transactions.js";
|
|
3
|
-
import { equalsShallow } from "../../types/array/index.js";
|
|
4
|
-
// we want to cache this a well on each array.
|
|
5
|
-
function isASubsetOfB(a, b) {
|
|
6
|
-
if (a !== b) {
|
|
7
|
-
const bSet = new Set(b);
|
|
8
|
-
for (const value of a) {
|
|
9
|
-
if (!bSet.has(value)) {
|
|
10
|
-
return false;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Creates a new TransactionECS.
|
|
18
|
-
* Transactional ECS instances do not allow direct write access.
|
|
19
|
-
* Instead you use transactions to make changes to the ECS.
|
|
20
|
-
* They also provide observability for changes to the ECS.
|
|
21
|
-
*/
|
|
22
|
-
export function createTransactionECS(ecs = createECS()) {
|
|
23
|
-
const { components, archetypes, resources, ...rest } = ecs;
|
|
24
|
-
const withComponents = (newComponents) => {
|
|
25
|
-
ecs.withComponents(newComponents);
|
|
26
|
-
return tecs;
|
|
27
|
-
};
|
|
28
|
-
const withArchetypes = (newArchetypes) => {
|
|
29
|
-
ecs.withArchetypes(newArchetypes);
|
|
30
|
-
return tecs;
|
|
31
|
-
};
|
|
32
|
-
const withResources = (newResources) => {
|
|
33
|
-
ecs.withResources(newResources);
|
|
34
|
-
return tecs;
|
|
35
|
-
};
|
|
36
|
-
const transactionObservers = new Set();
|
|
37
|
-
const notifyTransactions = (transaction, changed) => {
|
|
38
|
-
// notify all transaction observers.
|
|
39
|
-
for (const observer of transactionObservers) {
|
|
40
|
-
observer(transaction);
|
|
41
|
-
}
|
|
42
|
-
// notify all observers of the entities and components that changed.
|
|
43
|
-
const observers = new Set();
|
|
44
|
-
const addObservers = (map, key) => {
|
|
45
|
-
const set = map.get(key);
|
|
46
|
-
if (set) {
|
|
47
|
-
for (const observer of set) {
|
|
48
|
-
observers.add(observer);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
for (const entity of changed.entities) {
|
|
53
|
-
addObservers(entityObservers, entity);
|
|
54
|
-
}
|
|
55
|
-
for (const name of changed.components) {
|
|
56
|
-
addObservers(componentObservers, name);
|
|
57
|
-
}
|
|
58
|
-
for (const archetype of changed.archetypes) {
|
|
59
|
-
for (const observedArchetype of archetypeObservers.keys()) {
|
|
60
|
-
const isSubset = isASubsetOfB(observedArchetype.components, archetype.components);
|
|
61
|
-
if (isSubset) {
|
|
62
|
-
addObservers(archetypeObservers, observedArchetype);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
for (const observer of observers) {
|
|
67
|
-
observer();
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
const transactions = (callback) => {
|
|
71
|
-
transactionObservers.add(callback);
|
|
72
|
-
return () => transactionObservers.delete(callback);
|
|
73
|
-
};
|
|
74
|
-
const createTransaction = (options) => {
|
|
75
|
-
return createECSTransaction(tecs, ecs, { undoable: true, createdTime: Date.now(), createdBy: "", ...options }, notifyTransactions);
|
|
76
|
-
};
|
|
77
|
-
const addToMapSet = (key, map, value) => {
|
|
78
|
-
let set = map.get(key);
|
|
79
|
-
if (set) {
|
|
80
|
-
set.add(value);
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
map.set(key, (set = new Set([value])));
|
|
84
|
-
}
|
|
85
|
-
return () => {
|
|
86
|
-
set.delete(value);
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
const entityObservers = new Map();
|
|
90
|
-
const observeEntityChanges = (entity) => (callback) => {
|
|
91
|
-
return addToMapSet(entity, entityObservers, callback);
|
|
92
|
-
};
|
|
93
|
-
function observeEntityValues(id, archetype) {
|
|
94
|
-
return (callback) => {
|
|
95
|
-
const notify = () => {
|
|
96
|
-
callback(ecs.getEntityValues(id, archetype));
|
|
97
|
-
};
|
|
98
|
-
// callback immediately to get the current value.
|
|
99
|
-
notify();
|
|
100
|
-
// callback again whenever the entity changes.
|
|
101
|
-
const entityChanges = observeEntityChanges(id);
|
|
102
|
-
return entityChanges(notify);
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
const componentObservers = new Map();
|
|
106
|
-
const resourceObservables = new Map();
|
|
107
|
-
const observeResource = (key) => {
|
|
108
|
-
// Return cached observable if it exists
|
|
109
|
-
const cached = resourceObservables.get(key);
|
|
110
|
-
if (cached) {
|
|
111
|
-
return cached;
|
|
112
|
-
}
|
|
113
|
-
// Create new observable
|
|
114
|
-
const observable = (callback) => {
|
|
115
|
-
const notify = () => {
|
|
116
|
-
callback(resources[key]);
|
|
117
|
-
};
|
|
118
|
-
// callback immediately to get the current value.
|
|
119
|
-
notify();
|
|
120
|
-
// callback again whenever the resource changes.
|
|
121
|
-
const resourceChanges = observeComponent(key);
|
|
122
|
-
return resourceChanges(notify);
|
|
123
|
-
};
|
|
124
|
-
// Cache the observable
|
|
125
|
-
resourceObservables.set(key, observable);
|
|
126
|
-
return observable;
|
|
127
|
-
};
|
|
128
|
-
const observeComponent = (component) => (callback) => {
|
|
129
|
-
return addToMapSet(component, componentObservers, callback);
|
|
130
|
-
};
|
|
131
|
-
const archetypeObservers = new Map();
|
|
132
|
-
const observeArchetypeChanges = (archetype) => (callback) => {
|
|
133
|
-
return addToMapSet(archetype, archetypeObservers, callback);
|
|
134
|
-
};
|
|
135
|
-
const observeArchetypeEntities = (archetype, options) => {
|
|
136
|
-
return (callback) => {
|
|
137
|
-
let lastValue;
|
|
138
|
-
const notify = () => {
|
|
139
|
-
const newValue = ecs.selectEntities(archetype, options);
|
|
140
|
-
if (!lastValue || !equalsShallow(lastValue, newValue)) {
|
|
141
|
-
lastValue = newValue;
|
|
142
|
-
callback(newValue);
|
|
143
|
-
}
|
|
144
|
-
};
|
|
145
|
-
notify();
|
|
146
|
-
return observeArchetypeChanges(archetype)(notify);
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
const createResourceObserver = () => {
|
|
150
|
-
const handler = {
|
|
151
|
-
get(target, prop) {
|
|
152
|
-
if (typeof prop === 'string' && prop in resources) {
|
|
153
|
-
return observeResource(prop);
|
|
154
|
-
}
|
|
155
|
-
return target[prop];
|
|
156
|
-
},
|
|
157
|
-
apply(target, thisArg, args) {
|
|
158
|
-
return target.apply(thisArg, args);
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
return new Proxy(observeResource, handler);
|
|
162
|
-
};
|
|
163
|
-
const tecs = {
|
|
164
|
-
...rest,
|
|
165
|
-
withComponents,
|
|
166
|
-
withArchetypes,
|
|
167
|
-
withResources,
|
|
168
|
-
createTransaction,
|
|
169
|
-
observe: {
|
|
170
|
-
transactions,
|
|
171
|
-
resource: createResourceObserver(),
|
|
172
|
-
entityValues: observeEntityValues,
|
|
173
|
-
entityChanges: observeEntityChanges,
|
|
174
|
-
componentChanges: observeComponent,
|
|
175
|
-
archetypeChanges: observeArchetypeChanges,
|
|
176
|
-
archetypeEntities: observeArchetypeEntities,
|
|
177
|
-
},
|
|
178
|
-
components,
|
|
179
|
-
archetypes,
|
|
180
|
-
resources,
|
|
181
|
-
};
|
|
182
|
-
return tecs;
|
|
183
|
-
}
|
|
184
|
-
//# sourceMappingURL=transaction-ecs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction-ecs.js","sourceRoot":"","sources":["../../../src/ecs/transaction-ecs/transaction-ecs.ts"],"names":[],"mappings":"AA+BA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAa1C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,+CAA+C;AAC/C,SAAS,YAAY,CAAC,CAAiB,EAAE,CAAiB;IACxD,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QACZ,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;QACxB,KAAK,MAAM,KAAK,IAAI,CAAC,EAAE,CAAC;YACtB,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;gBACrB,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,oBAAoB,CAIlC,MAAoB,SAAS,EAAE;IAC/B,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,GAAG,GAAG,CAAC;IAC3D,MAAM,cAAc,GAAG,CAIrB,aAAgB,EACX,EAAE;QACP,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAClC,OAAO,IAAW,CAAC;IACrB,CAAC,CAAC;IACF,MAAM,cAAc,GAAG,CACrB,aAAgB,EACX,EAAE;QACP,GAAG,CAAC,cAAc,CAAC,aAAa,CAAC,CAAC;QAClC,OAAO,IAAW,CAAC;IACrB,CAAC,CAAC;IACF,MAAM,aAAa,GAAG,CACpB,YAAe,EACV,EAAE;QACP,GAAG,CAAC,aAAa,CAAC,YAAY,CAA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