@adobe/data 0.4.4 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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.d.ts +4 -4
- package/dist/ecs/database/database-schema/create-database-schema.js.map +1 -1
- package/dist/ecs/database/database-schema/database-schema.d.ts +1 -1
- package/dist/ecs/database/database.d.ts +1 -1
- package/dist/ecs/undo-redo/create-undo-redo-actions.js +0 -21
- package/dist/ecs/undo-redo/create-undo-redo-actions.js.map +1 -1
- package/dist/ecs/undo-redo/create-undo-redo-actions.test.js.map +1 -1
- package/dist/functions/serialization/deserialize.d.ts +4 -1
- package/dist/functions/serialization/deserialize.js +14 -1
- package/dist/functions/serialization/deserialize.js.map +1 -1
- package/dist/functions/serialization/serialization.d.ts +23 -0
- package/dist/functions/serialization/serialization.js +58 -0
- package/dist/functions/serialization/serialization.js.map +1 -0
- package/dist/functions/serialization.d.ts +23 -0
- package/dist/functions/serialization.js +58 -0
- package/dist/functions/serialization.js.map +1 -0
- package/dist/{core/schema/validation/is-valid.test.js → functions/serialization.test.js} +20 -16
- package/dist/functions/serialization.test.js.map +1 -0
- package/dist/functions/serialize.d.ts +17 -0
- package/dist/functions/serialize.js +66 -0
- package/dist/functions/serialize.js.map +1 -0
- package/dist/observe/to-async-generator.js +14 -11
- package/dist/observe/to-async-generator.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/README.md +0 -310
- 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/hashing/arrayBufferToHex.d.ts +0 -1
- package/dist/cache/functions/hashing/arrayBufferToHex.js +0 -27
- package/dist/cache/functions/hashing/arrayBufferToHex.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/data.d.ts +0 -22
- package/dist/core/data.js +0 -52
- package/dist/core/data.js.map +0 -1
- package/dist/core/data.test.js +0 -48
- package/dist/core/data.test.js.map +0 -1
- package/dist/core/functions/array-equals.d.ts +0 -1
- package/dist/core/functions/array-equals.js +0 -34
- package/dist/core/functions/array-equals.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 -3
- package/dist/core/functions/index.js +0 -25
- 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/with-validation.d.ts +0 -5
- package/dist/core/functions/with-validation.js +0 -38
- package/dist/core/functions/with-validation.js.map +0 -1
- package/dist/core/functions/with-validation.test.d.ts +0 -1
- package/dist/core/functions/with-validation.test.js +0 -96
- package/dist/core/functions/with-validation.test.js.map +0 -1
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -25
- package/dist/core/index.js.map +0 -1
- package/dist/core/schema/dynamic/dynamic-schema.d.ts +0 -27
- package/dist/core/schema/dynamic/dynamic-schema.js +0 -2
- package/dist/core/schema/dynamic/dynamic-schema.js.map +0 -1
- package/dist/core/schema/dynamic/enumerate-patches.d.ts +0 -9
- package/dist/core/schema/dynamic/enumerate-patches.js +0 -50
- package/dist/core/schema/dynamic/enumerate-patches.js.map +0 -1
- package/dist/core/schema/dynamic/enumerate-patches.test.d.ts +0 -134
- package/dist/core/schema/dynamic/enumerate-patches.test.js +0 -209
- package/dist/core/schema/dynamic/enumerate-patches.test.js.map +0 -1
- package/dist/core/schema/dynamic/get-dynamic-schema.d.ts +0 -5
- package/dist/core/schema/dynamic/get-dynamic-schema.js +0 -26
- package/dist/core/schema/dynamic/get-dynamic-schema.js.map +0 -1
- package/dist/core/schema/dynamic/get-dynamic-schema.test.d.ts +0 -1
- package/dist/core/schema/dynamic/get-dynamic-schema.test.js +0 -94
- package/dist/core/schema/dynamic/get-dynamic-schema.test.js.map +0 -1
- package/dist/core/schema/dynamic/index.d.ts +0 -1
- package/dist/core/schema/dynamic/index.js +0 -2
- package/dist/core/schema/dynamic/index.js.map +0 -1
- package/dist/core/schema/dynamic/schema-path-value-path.d.ts +0 -5
- package/dist/core/schema/dynamic/schema-path-value-path.js +0 -12
- package/dist/core/schema/dynamic/schema-path-value-path.js.map +0 -1
- package/dist/core/schema/dynamic-schema.d.ts +0 -27
- package/dist/core/schema/dynamic-schema.js +0 -2
- package/dist/core/schema/dynamic-schema.js.map +0 -1
- package/dist/core/schema/index.d.ts +0 -4
- package/dist/core/schema/index.js +0 -26
- package/dist/core/schema/index.js.map +0 -1
- package/dist/core/schema/schema.d.ts +0 -122
- package/dist/core/schema/schema.js +0 -34
- package/dist/core/schema/schema.js.map +0 -1
- package/dist/core/schema/schemas.d.ts +0 -45
- package/dist/core/schema/schemas.js +0 -39
- package/dist/core/schema/schemas.js.map +0 -1
- package/dist/core/schema/ui-schema.d.ts +0 -25
- package/dist/core/schema/ui-schema.js +0 -2
- package/dist/core/schema/ui-schema.js.map +0 -1
- package/dist/core/schema/validation/is-valid.d.ts +0 -2
- package/dist/core/schema/validation/is-valid.js +0 -14
- package/dist/core/schema/validation/is-valid.js.map +0 -1
- package/dist/core/schema/validation/is-valid.test.d.ts +0 -1
- package/dist/core/schema/validation/is-valid.test.js.map +0 -1
- package/dist/core/schema/validation/validate.d.ts +0 -2
- package/dist/core/schema/validation/validate.js +0 -38
- package/dist/core/schema/validation/validate.js.map +0 -1
- package/dist/core/schema/validation/validate.test.d.ts +0 -1
- package/dist/core/schema/validation/validate.test.js +0 -106
- package/dist/core/schema/validation/validate.test.js.map +0 -1
- package/dist/core/schema/validation/with-validation.d.ts +0 -5
- package/dist/core/schema/validation/with-validation.js +0 -16
- package/dist/core/schema/validation/with-validation.js.map +0 -1
- package/dist/core/schema/validation/with-validation.test.d.ts +0 -1
- package/dist/core/schema/validation/with-validation.test.js +0 -96
- package/dist/core/schema/validation/with-validation.test.js.map +0 -1
- package/dist/core/schema.d.ts +0 -86
- package/dist/core/schema.js +0 -33
- package/dist/core/schema.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/core/schemas.d.ts +0 -45
- package/dist/core/schemas.js +0 -39
- package/dist/core/schemas.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 -362
- 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 -2
- package/dist/ecs/action-ecs/index.js +0 -23
- package/dist/ecs/action-ecs/index.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 -230
- package/dist/ecs/core-ecs/core-ecs-serialization.test.js.map +0 -1
- package/dist/ecs/core-ecs/core-ecs-types.d.ts +0 -141
- package/dist/ecs/core-ecs/core-ecs-types.js +0 -23
- 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 -425
- 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/register-database-codec.d.ts +0 -1
- package/dist/ecs/database/register-database-codec.js +0 -35
- package/dist/ecs/database/register-database-codec.js.map +0 -1
- package/dist/ecs/database/register-database-codecs.d.ts +0 -1
- package/dist/ecs/database/register-database-codecs.js +0 -35
- package/dist/ecs/database/register-database-codecs.js.map +0 -1
- package/dist/ecs/database/register-store-codec.d.ts +0 -1
- package/dist/ecs/database/register-store-codec.js +0 -35
- package/dist/ecs/database/register-store-codec.js.map +0 -1
- package/dist/ecs/database/register-typed-buffer-codecs.d.ts +0 -1
- package/dist/ecs/database/register-typed-buffer-codecs.js +0 -80
- package/dist/ecs/database/register-typed-buffer-codecs.js.map +0 -1
- package/dist/ecs/database/transactional-store/apply-write-operations.d.ts +0 -7
- package/dist/ecs/database/transactional-store/apply-write-operations.js +0 -20
- package/dist/ecs/database/transactional-store/apply-write-operations.js.map +0 -1
- package/dist/ecs/database/transactional-store/applyWriteOperations.d.ts +0 -7
- package/dist/ecs/database/transactional-store/applyWriteOperations.js +0 -20
- package/dist/ecs/database/transactional-store/applyWriteOperations.js.map +0 -1
- package/dist/ecs/database/transactional-store/patch.d.ts +0 -3
- package/dist/ecs/database/transactional-store/patch.js +0 -7
- package/dist/ecs/database/transactional-store/patch.js.map +0 -1
- package/dist/ecs/database/transactional-store/undoable.d.ts +0 -13
- package/dist/ecs/database/transactional-store/undoable.js +0 -23
- package/dist/ecs/database/transactional-store/undoable.js.map +0 -1
- package/dist/ecs/database/transactional-store/with-undoable.d.ts +0 -10
- package/dist/ecs/database/transactional-store/with-undoable.js +0 -13
- package/dist/ecs/database/transactional-store/with-undoable.js.map +0 -1
- package/dist/ecs/database/with-undoable.d.ts +0 -10
- package/dist/ecs/database/with-undoable.js +0 -13
- package/dist/ecs/database/with-undoable.js.map +0 -1
- package/dist/ecs/ecs/ecs-types.d.ts +0 -132
- 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 -3
- package/dist/ecs/ecs/index.js +0 -3
- package/dist/ecs/ecs/index.js.map +0 -1
- package/dist/ecs/entity-location-table/register-database-codec.d.ts +0 -1
- package/dist/ecs/entity-location-table/register-database-codec.js +0 -35
- package/dist/ecs/entity-location-table/register-database-codec.js.map +0 -1
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.d.ts +0 -1
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.js +0 -42
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.js.map +0 -1
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.test.d.ts +0 -1
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.test.js +0 -70
- package/dist/ecs/entity-location-table/register-entity-location-table-codec.test.js.map +0 -1
- package/dist/ecs/persistence-service/create-persistence-service.d.ts +0 -6
- package/dist/ecs/persistence-service/create-persistence-service.js +0 -24
- package/dist/ecs/persistence-service/create-persistence-service.js.map +0 -1
- package/dist/ecs/persistence-service/create-session-persistence-service.d.ts +0 -8
- package/dist/ecs/persistence-service/create-session-persistence-service.js +0 -49
- package/dist/ecs/persistence-service/create-session-persistence-service.js.map +0 -1
- package/dist/ecs/persistence-service/persistence-service copy.d.ts +0 -5
- package/dist/ecs/persistence-service/persistence-service copy.js +0 -2
- package/dist/ecs/persistence-service/persistence-service copy.js.map +0 -1
- package/dist/ecs/persistence-service/to-blob-refs.d.ts +0 -2
- package/dist/ecs/persistence-service/to-blob-refs.js +0 -3
- package/dist/ecs/persistence-service/to-blob-refs.js.map +0 -1
- package/dist/ecs/persistence-service/undo-redo-service.d.ts +0 -11
- package/dist/ecs/persistence-service/undo-redo-service.js +0 -23
- package/dist/ecs/persistence-service/undo-redo-service.js.map +0 -1
- package/dist/ecs/store/core/register-core-codec.d.ts +0 -1
- package/dist/ecs/store/core/register-core-codec.js +0 -45
- package/dist/ecs/store/core/register-core-codec.js.map +0 -1
- package/dist/ecs/store/core/register-core-codec.test.d.ts +0 -1
- package/dist/ecs/store/core/register-core-codec.test.js +0 -136
- package/dist/ecs/store/core/register-core-codec.test.js.map +0 -1
- package/dist/ecs/store/query.d.ts +0 -47
- package/dist/ecs/store/query.js +0 -2
- package/dist/ecs/store/query.js.map +0 -1
- package/dist/ecs/store/register-core-codec.d.ts +0 -1
- package/dist/ecs/store/register-core-codec.js +0 -38
- package/dist/ecs/store/register-core-codec.js.map +0 -1
- package/dist/ecs/store/register-store-codec.d.ts +0 -1
- package/dist/ecs/store/register-store-codec.js +0 -38
- package/dist/ecs/store/register-store-codec.js.map +0 -1
- package/dist/ecs/store/restore-store.d.ts +0 -12
- package/dist/ecs/store/restore-store.js +0 -91
- package/dist/ecs/store/restore-store.js.map +0 -1
- package/dist/ecs/store/select-options.d.ts +0 -1
- package/dist/ecs/store/select-options.js +0 -16
- package/dist/ecs/store/select-options.js.map +0 -1
- package/dist/ecs/store/select.d.ts +0 -44
- package/dist/ecs/store/select.js +0 -2
- package/dist/ecs/store/select.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 -135
- 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/ecs/undo-redo/do.d.ts +0 -3
- package/dist/ecs/undo-redo/do.js +0 -3
- package/dist/ecs/undo-redo/do.js.map +0 -1
- package/dist/ecs/undo-redo/index.d.ts +0 -1
- package/dist/ecs/undo-redo/index.js +0 -23
- package/dist/ecs/undo-redo/index.js.map +0 -1
- package/dist/functions/serialization/register-typed-array-codecs copy.d.ts +0 -1
- package/dist/functions/serialization/register-typed-array-codecs copy.js +0 -13
- package/dist/functions/serialization/register-typed-array-codecs copy.js.map +0 -1
- package/dist/functions/serialization/serialize-to-blobs copy.d.ts +0 -8
- package/dist/functions/serialization/serialize-to-blobs copy.js +0 -21
- package/dist/functions/serialization/serialize-to-blobs copy.js.map +0 -1
- package/dist/observe/with-map copy.d.ts +0 -5
- package/dist/observe/with-map copy.js +0 -14
- package/dist/observe/with-map copy.js.map +0 -1
- package/dist/package.json +0 -129
- package/dist/schema/f32 copy.d.ts +0 -6
- package/dist/schema/f32 copy.js +0 -6
- package/dist/schema/f32 copy.js.map +0 -1
- package/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.js +0 -23
- package/dist/schemas/index.js.map +0 -1
- package/dist/schemas/schemas.d.ts +0 -45
- package/dist/schemas/schemas.js +0 -39
- package/dist/schemas/schemas.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/ensure-capacity copy.d.ts +0 -2
- package/dist/table/ensure-capacity copy.js +0 -15
- package/dist/table/ensure-capacity copy.js.map +0 -1
- package/dist/table/filter-rows.d.ts +0 -2
- package/dist/table/filter-rows.js +0 -15
- package/dist/table/filter-rows.js.map +0 -1
- /package/dist/{core/data.test.d.ts → functions/serialization.test.d.ts} +0 -0
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { Data, FromSchema, Schema } from "../../core/index.js";
|
|
2
|
-
import { Observe } from "../../observe/types.js";
|
|
3
|
-
import { Simplify } from "../../types/types.js";
|
|
4
|
-
import { EntityCreateValues, Entity, EntityValues, EntityUpdateValues, CoreComponents } from "../core-ecs/core-ecs-types.js";
|
|
5
|
-
import { Archetype, ECS, ECSArchetypes, ECSComponents, ECSResources, ECSWrite, SelectOptions } from "../ecs/ecs-types.js";
|
|
6
|
-
export interface TransactionECS<C extends ECSComponents, // name => Component Value Type
|
|
7
|
-
A extends ECSArchetypes, // name => Entity Values Type
|
|
8
|
-
R extends ECSResources> extends Pick<ECS<C, A, R>, "components" | "archetypes" | "getComponentValue" | "getArchetype" | "getEntityValues" | "countEntities" | "selectEntities" | "selectEntityValues" | "toJSON">, TransactionProvider<C, A, R> {
|
|
9
|
-
resources: {
|
|
10
|
-
+readonly [K in keyof R]: R[K];
|
|
11
|
-
};
|
|
12
|
-
withComponents<S extends {
|
|
13
|
-
[K: string]: Schema;
|
|
14
|
-
}, T = {
|
|
15
|
-
-readonly [K in keyof S]: FromSchema<S[K]>;
|
|
16
|
-
}>(components: S): TransactionECS<Simplify<C & T>, A, R>;
|
|
17
|
-
withArchetypes<S extends {
|
|
18
|
-
[K: string]: ReadonlyArray<keyof C>;
|
|
19
|
-
}>(archetypes: S): TransactionECS<C, Simplify<A & {
|
|
20
|
-
[AN in keyof S]: Archetype<{
|
|
21
|
-
[PN in S[AN][number]]: C[PN];
|
|
22
|
-
}>;
|
|
23
|
-
}>, R>;
|
|
24
|
-
withResources<S extends {
|
|
25
|
-
[K: string]: Data;
|
|
26
|
-
}>(resources: S): TransactionECS<C, A, Simplify<R & S>>;
|
|
27
|
-
observe: TransactionObservables<C, A, R>;
|
|
28
|
-
}
|
|
29
|
-
export interface TransactionObservables<C extends ECSComponents = any, // name => Component Value Type
|
|
30
|
-
A extends ECSArchetypes = any, // name => Entity Values Type
|
|
31
|
-
R extends ECSResources = any> {
|
|
32
|
-
transactions: Observe<TransactionCommit<C>>;
|
|
33
|
-
resource: {
|
|
34
|
-
<K extends keyof R>(key: K): Observe<R[K]>;
|
|
35
|
-
} & {
|
|
36
|
-
[K in keyof R]: Observe<R[K]>;
|
|
37
|
-
};
|
|
38
|
-
entityValues<A extends Archetype>(id: Entity, archetype: A & Partial<EntityValues<C>>): Observe<EntityValuesFor<A> | null | undefined>;
|
|
39
|
-
entityValues(id: Entity): Observe<EntityValues<C> | undefined>;
|
|
40
|
-
entityChanges(entity: Entity): Observe<void>;
|
|
41
|
-
componentChanges<K extends keyof C>(component: K): Observe<void>;
|
|
42
|
-
archetypeChanges<A extends CoreComponents>(archetype: Archetype<A>): Observe<void>;
|
|
43
|
-
archetypeEntities<A extends CoreComponents>(archetype: Archetype<A>, options?: Omit<SelectOptions<C, A>, "components">): Observe<Entity[]>;
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Options when creating an ECSTransaction.
|
|
47
|
-
*/
|
|
48
|
-
export interface TransactionOptions {
|
|
49
|
-
/**
|
|
50
|
-
* Will this transaction be added to the undo stack?
|
|
51
|
-
* Defaults to true.
|
|
52
|
-
*/
|
|
53
|
-
undoable?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* When was this transactions created in UTC time.
|
|
56
|
-
*/
|
|
57
|
-
createdTime?: number;
|
|
58
|
-
/**
|
|
59
|
-
* The unique identifier for the user creating the transaction.
|
|
60
|
-
*/
|
|
61
|
-
createdBy?: string;
|
|
62
|
-
}
|
|
63
|
-
interface TransactionProvider<C extends ECSComponents, // name => Component Value Type
|
|
64
|
-
A extends ECSArchetypes, // name => Entity Values Type
|
|
65
|
-
R extends ECSResources> {
|
|
66
|
-
createTransaction(options?: TransactionOptions): Transaction<C, A, R>;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Type alias for a CreateOperation in the ECS (Entity Component System).
|
|
70
|
-
* Represents an operation to create a new entity with the specified components.
|
|
71
|
-
* @template C - Components used by the entity.
|
|
72
|
-
*/
|
|
73
|
-
export type TransactionCreateOperation<C> = {
|
|
74
|
-
type: "create";
|
|
75
|
-
values: EntityCreateValues<C>;
|
|
76
|
-
};
|
|
77
|
-
/**
|
|
78
|
-
* Type alias for an UpdateOperation in the ECS (Entity Component System).
|
|
79
|
-
* Represents an operation to update an existing entity with the specified components.
|
|
80
|
-
* @template C - Components used by the entity.
|
|
81
|
-
*/
|
|
82
|
-
export type TransactionUpdateOperation<C> = {
|
|
83
|
-
type: "update";
|
|
84
|
-
entity: Entity;
|
|
85
|
-
values: EntityUpdateValues<C>;
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Type alias for a DeleteOperation in the ECS (Entity Component System).
|
|
89
|
-
* Represents an operation to delete an existing entity.
|
|
90
|
-
*/
|
|
91
|
-
export type TransactionDeleteOperation = {
|
|
92
|
-
type: "delete";
|
|
93
|
-
entity: Entity;
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Type alias for a WriteOperation in the ECS (Entity Component System).
|
|
97
|
-
* Represents an operation to create, update, or delete an entity.
|
|
98
|
-
* @template C - Components used by the entity.
|
|
99
|
-
*/
|
|
100
|
-
export type TransactionWriteOperation<C> = TransactionCreateOperation<C> | TransactionUpdateOperation<C> | TransactionDeleteOperation;
|
|
101
|
-
/**
|
|
102
|
-
* Represents a completed transaction in the ECS, which can either be a commit or a cancel.
|
|
103
|
-
* @template C - Components used in the transaction.
|
|
104
|
-
*/
|
|
105
|
-
export type TransactionComplete<C> = TransactionCommit<C> | TransactionCancel;
|
|
106
|
-
/**
|
|
107
|
-
* Represents a committed transaction in the ECS.
|
|
108
|
-
* @template C - Components used in the transaction.
|
|
109
|
-
*/
|
|
110
|
-
export interface TransactionCommit<C> {
|
|
111
|
-
committed: true;
|
|
112
|
-
options: TransactionOptions;
|
|
113
|
-
redoOperations: TransactionWriteOperation<C>[];
|
|
114
|
-
undoOperations: TransactionWriteOperation<C>[];
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Represents a cancelled transaction in the ECS.
|
|
118
|
-
*/
|
|
119
|
-
export interface TransactionCancel {
|
|
120
|
-
committed: false;
|
|
121
|
-
options: TransactionOptions;
|
|
122
|
-
}
|
|
123
|
-
export interface Transaction<C extends ECSComponents, // name => Component Value Type
|
|
124
|
-
A extends ECSArchetypes, // name => Entity Values Type
|
|
125
|
-
R extends ECSResources> extends TransactionProvider<C, A, R>, ECSWrite<C> {
|
|
126
|
-
readonly ecs: TransactionECS<C, A, R>;
|
|
127
|
-
readonly options: Required<TransactionOptions>;
|
|
128
|
-
readonly resources: {
|
|
129
|
-
-readonly [K in keyof R]: R[K];
|
|
130
|
-
};
|
|
131
|
-
batch(operations: TransactionWriteOperation<C>[]): this;
|
|
132
|
-
commit(): TransactionCommit<C>;
|
|
133
|
-
cancel(): TransactionCancel;
|
|
134
|
-
}
|
|
135
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transaction-types.js","sourceRoot":"","sources":["../../../src/ecs/transaction-ecs/transaction-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ECS, ECSArchetypes, ECSComponents, ECSResources } from "../ecs/ecs-types.js";
|
|
2
|
-
import { Transaction, TransactionChanges, TransactionCommit, TransactionECS, TransactionOptions } from "./transaction-types.js";
|
|
3
|
-
export declare function createECSTransaction<C extends ECSComponents, // name => Component Value Type
|
|
4
|
-
A extends ECSArchetypes, // name => Entity Values Type
|
|
5
|
-
R extends ECSResources>(tecs: TransactionECS<C, A, R>, ecs: ECS<C, A, R>, options: Required<TransactionOptions>, transactionCommmitted: (value: TransactionCommit<C>, changes: TransactionChanges<C>) => void, parent?: Transaction<C, A, R>): Transaction<C, A, R>;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
/*MIT License
|
|
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.*/
|
|
22
|
-
import { DELETE } from "../core-ecs/core-ecs.js";
|
|
23
|
-
export function createECSTransaction(tecs, ecs, options, transactionCommmitted, parent) {
|
|
24
|
-
const write = parent ?? ecs;
|
|
25
|
-
const redoOperations = [];
|
|
26
|
-
const undoOperationsInReverseOrder = [];
|
|
27
|
-
const changed = {
|
|
28
|
-
entities: new Set(),
|
|
29
|
-
components: new Set(),
|
|
30
|
-
archetypes: new Set(),
|
|
31
|
-
};
|
|
32
|
-
function createEntity(archetype, values) {
|
|
33
|
-
const entity = archetype && values
|
|
34
|
-
? write.createEntity(archetype, values)
|
|
35
|
-
: write.createEntity();
|
|
36
|
-
redoOperations.push({
|
|
37
|
-
type: "create",
|
|
38
|
-
values: (values ?? {}),
|
|
39
|
-
});
|
|
40
|
-
undoOperationsInReverseOrder.push({ type: "delete", entity });
|
|
41
|
-
changed.entities.add(entity);
|
|
42
|
-
changed.archetypes.add(ecs.getEntityArchetype(entity));
|
|
43
|
-
for (const key in values) {
|
|
44
|
-
changed.components.add(key);
|
|
45
|
-
}
|
|
46
|
-
return entity;
|
|
47
|
-
}
|
|
48
|
-
function updateEntity(entity, values) {
|
|
49
|
-
const oldValues = ecs.getEntityValues(entity);
|
|
50
|
-
const replacedValues = {};
|
|
51
|
-
for (const name in values) {
|
|
52
|
-
const newValue = values[name];
|
|
53
|
-
let oldValue = oldValues[name];
|
|
54
|
-
if (newValue !== oldValue) {
|
|
55
|
-
if (oldValue === undefined) {
|
|
56
|
-
oldValue = DELETE;
|
|
57
|
-
}
|
|
58
|
-
replacedValues[name] = oldValue;
|
|
59
|
-
changed.components.add(name);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
changed.entities.add(entity);
|
|
63
|
-
changed.archetypes.add(ecs.getEntityArchetype(entity));
|
|
64
|
-
write.updateEntity(entity, values);
|
|
65
|
-
// archetype may have changed after update so we need to add new one.
|
|
66
|
-
changed.archetypes.add(ecs.getEntityArchetype(entity));
|
|
67
|
-
// maybe collapse adjacent updates to same entity.
|
|
68
|
-
const lastUndoOperation = undoOperationsInReverseOrder[undoOperationsInReverseOrder.length - 1];
|
|
69
|
-
if (lastUndoOperation?.type === "update" &&
|
|
70
|
-
lastUndoOperation.entity === entity) {
|
|
71
|
-
const lastRedoOperation = redoOperations[redoOperations.length - 1];
|
|
72
|
-
lastRedoOperation.values = { ...lastRedoOperation.values, ...values };
|
|
73
|
-
lastUndoOperation.values = {
|
|
74
|
-
...replacedValues,
|
|
75
|
-
...lastUndoOperation.values,
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
redoOperations.push({ type: "update", entity, values });
|
|
80
|
-
undoOperationsInReverseOrder.push({
|
|
81
|
-
type: "update",
|
|
82
|
-
entity,
|
|
83
|
-
values: replacedValues,
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
function deleteEntity(entity) {
|
|
88
|
-
changed.archetypes.add(ecs.getEntityArchetype(entity));
|
|
89
|
-
changed.entities.add(entity);
|
|
90
|
-
const { id: _ignore, ...oldValues } = ecs.getEntityValues(entity);
|
|
91
|
-
for (const key in oldValues) {
|
|
92
|
-
changed.components.add(key);
|
|
93
|
-
}
|
|
94
|
-
write.deleteEntity(entity);
|
|
95
|
-
redoOperations.push({ type: "delete", entity });
|
|
96
|
-
undoOperationsInReverseOrder.push({ type: "create", values: oldValues });
|
|
97
|
-
}
|
|
98
|
-
function batch(operations) {
|
|
99
|
-
for (const operation of operations) {
|
|
100
|
-
switch (operation.type) {
|
|
101
|
-
case "create": {
|
|
102
|
-
const archetype = ecs.getArchetype("id", ...Object.keys(operation.values));
|
|
103
|
-
createEntity(archetype, operation.values);
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
case "update":
|
|
107
|
-
updateEntity(operation.entity, operation.values);
|
|
108
|
-
break;
|
|
109
|
-
case "delete":
|
|
110
|
-
deleteEntity(operation.entity);
|
|
111
|
-
break;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return transaction;
|
|
115
|
-
}
|
|
116
|
-
function complete(committed) {
|
|
117
|
-
const undoOperations = undoOperationsInReverseOrder.slice(0).reverse();
|
|
118
|
-
if (!committed) {
|
|
119
|
-
batch(undoOperations);
|
|
120
|
-
}
|
|
121
|
-
if (committed) {
|
|
122
|
-
const result = { committed, options, redoOperations, undoOperations };
|
|
123
|
-
if (!parent && committed) {
|
|
124
|
-
transactionCommmitted(result, changed);
|
|
125
|
-
}
|
|
126
|
-
return result;
|
|
127
|
-
}
|
|
128
|
-
else {
|
|
129
|
-
return { committed, options };
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
const setComponentValue = (id, component, value) => {
|
|
133
|
-
updateEntity(id, { [component]: value });
|
|
134
|
-
};
|
|
135
|
-
const transaction = {
|
|
136
|
-
ecs: tecs,
|
|
137
|
-
options,
|
|
138
|
-
resources: new Proxy(ecs.resources, {
|
|
139
|
-
set: (_target, p, value, _receiver) => {
|
|
140
|
-
const archetype = ecs.getArchetype("id", p);
|
|
141
|
-
const [table] = ecs.getTables(archetype, { mode: "read", exact: true });
|
|
142
|
-
const id = table.columns.id.get(0);
|
|
143
|
-
updateEntity(id, { [p]: value });
|
|
144
|
-
return true;
|
|
145
|
-
},
|
|
146
|
-
}),
|
|
147
|
-
setComponentValue,
|
|
148
|
-
createTransaction: () => createECSTransaction(tecs, ecs, options, transactionCommmitted, transaction),
|
|
149
|
-
batch,
|
|
150
|
-
commit: () => complete(true),
|
|
151
|
-
cancel: () => complete(false),
|
|
152
|
-
createEntity,
|
|
153
|
-
updateEntity,
|
|
154
|
-
deleteEntity,
|
|
155
|
-
};
|
|
156
|
-
return transaction;
|
|
157
|
-
}
|
|
158
|
-
//# sourceMappingURL=transactions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../../src/ecs/transaction-ecs/transactions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AA0BjD,MAAM,UAAU,oBAAoB,CAKlC,IAA6B,EAC7B,GAAiB,EACjB,OAAqC,EACrC,qBAGS,EACT,MAA6B;IAE7B,MAAM,KAAK,GAAgB,MAAM,IAAI,GAAG,CAAC;IACzC,MAAM,cAAc,GAAmC,EAAE,CAAC;IAC1D,MAAM,4BAA4B,GAAmC,EAAE,CAAC;IAExE,MAAM,OAAO,GAAG;QACd,QAAQ,EAAE,IAAI,GAAG,EAAU;QAC3B,UAAU,EAAE,IAAI,GAAG,EAAW;QAC9B,UAAU,EAAE,IAAI,GAAG,EAAa;KACjC,CAAC;IAOF,SAAS,YAAY,CACnB,SAAwB,EACxB,MAA8B;QAE9B,MAAM,MAAM,GACV,SAAS,IAAI,MAAM;YACjB,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,SAAS,EAAE,MAAM,CAAC;YACvC,CAAC,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;QAC3B,cAAc,CAAC,IAAI,CAAC;YAClB,IAAI,EAAE,QAAQ;YACd,MAAM,EAAE,CAAC,MAAM,IAAI,EAAE,CAAqC;SAC3D,CAAC,CAAC;QACH,4BAA4B,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,CAAC,CAAC;QAC9D,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;QAC7B,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;QACvD,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE,CAAC;YACzB,OAAO,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E;AAE7F,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './create-undo-redo-actions.js';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*MIT License
|
|
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.*/
|
|
22
|
-
export * from './create-undo-redo-actions.js';
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ecs/undo-redo/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,cAAc,+BAA+B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function registerTypedArrayCodecs(): void;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { registerCodec } from "./codec.js";
|
|
2
|
-
export function registerTypedArrayCodecs() {
|
|
3
|
-
// Built in support for all 32-bit typed arrays and float64 arrays
|
|
4
|
-
for (const typedArrayConstructor of [Float32Array, Int32Array, Uint32Array, Float64Array]) {
|
|
5
|
-
registerCodec({
|
|
6
|
-
name: typedArrayConstructor.name,
|
|
7
|
-
predicate: (data) => data instanceof typedArrayConstructor,
|
|
8
|
-
serialize: (data) => ({ binary: [new Uint8Array(data.buffer, data.byteOffset, data.byteLength)] }),
|
|
9
|
-
deserialize: ({ binary }) => new typedArrayConstructor(binary[0].buffer, binary[0].byteOffset, binary[0].byteLength / typedArrayConstructor.BYTES_PER_ELEMENT),
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=register-typed-array-codecs%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"register-typed-array-codecs copy.js","sourceRoot":"","sources":["../../../src/functions/serialization/register-typed-array-codecs copy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAE3C,MAAM,UAAU,wBAAwB;IACpC,kEAAkE;IAClE,KAAK,MAAM,qBAAqB,IAAI,CAAC,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,YAAY,CAAC,EAAE,CAAC;QACxF,aAAa,CAAM;YACf,IAAI,EAAE,qBAAqB,CAAC,IAAI;YAChC,SAAS,EAAE,CAAC,IAAS,EAAe,EAAE,CAAC,IAAI,YAAY,qBAAqB;YAC5E,SAAS,EAAE,CAAC,IAAS,EAAE,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC;YACvG,WAAW,EAAE,CAAC,EAAE,MAAM,EAAyC,EAAE,EAAE,CAAC,IAAK,qBAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,qBAAqB,CAAC,iBAAiB,CAAC;SACjN,CAAC,CAAC;IACP,CAAC;AACL,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { serialize, deserialize } from "./serialize.js";
|
|
2
|
-
export const serializeToBlobs = async (data) => {
|
|
3
|
-
const serialized = serialize(data);
|
|
4
|
-
const binarySizes = serialized.binary.map((array) => array.byteLength);
|
|
5
|
-
const json = new Blob([JSON.stringify({ json: serialized.json, binarySizes })], { type: "application/json" });
|
|
6
|
-
const binary = new Blob(serialized.binary, { type: "application/octet-stream" });
|
|
7
|
-
return { json, binary };
|
|
8
|
-
};
|
|
9
|
-
export const deserializeFromBlobs = async ({ json, binary }) => {
|
|
10
|
-
const jsonText = await json.text();
|
|
11
|
-
const { json: serializedJson, binarySizes } = JSON.parse(jsonText);
|
|
12
|
-
const binaryArray = new Uint8Array(await binary.arrayBuffer());
|
|
13
|
-
const binaryChunks = [];
|
|
14
|
-
let offset = 0;
|
|
15
|
-
for (const size of binarySizes) {
|
|
16
|
-
binaryChunks.push(binaryArray.slice(offset, offset + size));
|
|
17
|
-
offset += size;
|
|
18
|
-
}
|
|
19
|
-
return deserialize({ json: serializedJson, binary: binaryChunks });
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=serialize-to-blobs%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"serialize-to-blobs copy.js","sourceRoot":"","sources":["../../../src/functions/serialization/serialize-to-blobs copy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAExD,MAAM,CAAC,MAAM,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AI,EAAE,cAAc,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,CAAC;AAC1E,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Observe } from "./types.js";
|
|
2
|
-
/**
|
|
3
|
-
* Creates a new Observe function that converts the original observe functions notify values into a new value at each notification.
|
|
4
|
-
*/
|
|
5
|
-
export declare function withMap<T, U>(observable: Observe<T>, map: (value: T) => U | undefined): Observe<U>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Creates a new Observe function that converts the original observe functions notify values into a new value at each notification.
|
|
3
|
-
*/
|
|
4
|
-
export function withMap(observable, map) {
|
|
5
|
-
return (observer) => {
|
|
6
|
-
return observable((value) => {
|
|
7
|
-
const mapped = map(value);
|
|
8
|
-
if (mapped !== undefined) {
|
|
9
|
-
observer(mapped);
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=with-map%20copy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"with-map copy.js","sourceRoot":"","sources":["../../src/observe/with-map copy.ts"],"names":[],"mappings":"AAuBA;;GAEG;AACH,MAAM,UAAU,OAAO,CACrB,UAAsB,EACtB,GAAgC;IAEhC,OAAO,CAAC,QAAQ,EAAE,EAAE;QAClB,OAAO,UAAU,CAAC,CAAC,KAAK,EAAE,EAAE;YAC1B,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC;YAC1B,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACzB,QAAQ,CAAC,MAAM,CAAC,CAAC;YACnB,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC"}
|
package/dist/package.json
DELETED
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@adobe/data",
|
|
3
|
-
"version": "0.2.0",
|
|
4
|
-
"description": "Adobe data oriented programming library",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"sideEffects": true,
|
|
7
|
-
"private": false,
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "pnpm build-assembly && run-p build:*",
|
|
10
|
-
"build:code": "pnpm copy && tsc -b",
|
|
11
|
-
"build:apidocs": "typedoc",
|
|
12
|
-
"build-assembly": "run-p asbuild:release",
|
|
13
|
-
"clean": "rm -rf dist build node_modules",
|
|
14
|
-
"copy": "mkdir -p dist && cp README.md dist && sed '/publish\":/d' package.json > dist/package.json",
|
|
15
|
-
"deploy-docs": "pnpm build && ./scripts/deploy-docs.sh",
|
|
16
|
-
"dev": "run-p dev:*",
|
|
17
|
-
"dev:build": "pnpm copy && tsc -b -w --preserveWatchOutput",
|
|
18
|
-
"dev:test": "pnpm test",
|
|
19
|
-
"dev:apidocs": "nodemon -w README.md -w dist -x typedoc --delay 100",
|
|
20
|
-
"dev:assembly": "nodemon -w assembly -e ts -x pnpm run asbuild:release --delay 100",
|
|
21
|
-
"lint": "pnpm eslint .",
|
|
22
|
-
"lint-fix": "pnpm eslint . --fix",
|
|
23
|
-
"debug": "vitest --inspect-brk --no-file-parallelism --test-timeout 1000000",
|
|
24
|
-
"link": "pnpm build && pnpm link --global",
|
|
25
|
-
"bump": "pnpm version patch --no-git-tag-version && git commit -am 'bumped patch version' && pnpm run publish",
|
|
26
|
-
"pre-commit": "lint-staged",
|
|
27
|
-
"perftest": "node dist/perftest/index.js",
|
|
28
|
-
"test": "vitest",
|
|
29
|
-
"asbuild:debug": "asc assembly/index.ts -o dist/assembly/index.wasm --target debug --enable simd && echo built dist/assembly/index.wasm",
|
|
30
|
-
"asbuild:release": "asc assembly/index.ts -o dist/assembly/index.wasm --target release --enable simd --optimize && echo built dist/assembly/index.wasm",
|
|
31
|
-
"start": "npx serve ."
|
|
32
|
-
},
|
|
33
|
-
"exports": {
|
|
34
|
-
".": {
|
|
35
|
-
"import": "./dist/index.js",
|
|
36
|
-
"types": "./dist/index.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./cache": {
|
|
39
|
-
"import": "./dist/cache/index.js",
|
|
40
|
-
"types": "./dist/cache/index.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"./schema": {
|
|
43
|
-
"import": "./dist/schema/index.js",
|
|
44
|
-
"types": "./dist/schema/index.d.ts"
|
|
45
|
-
},
|
|
46
|
-
"./types": {
|
|
47
|
-
"import": "./dist/types/index.js",
|
|
48
|
-
"types": "./dist/types/index.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./observe": {
|
|
51
|
-
"import": "./dist/observe/index.js",
|
|
52
|
-
"types": "./dist/observe/index.d.ts"
|
|
53
|
-
},
|
|
54
|
-
"./ecs": {
|
|
55
|
-
"import": "./dist/ecs/index.js",
|
|
56
|
-
"types": "./dist/ecs/index.d.ts"
|
|
57
|
-
},
|
|
58
|
-
"./old-ecs": {
|
|
59
|
-
"import": "./dist/old-ecs/index.js",
|
|
60
|
-
"types": "./dist/old-ecs/index.d.ts"
|
|
61
|
-
},
|
|
62
|
-
"./lit": {
|
|
63
|
-
"import": "./dist/lit/index.js",
|
|
64
|
-
"types": "./dist/lit/index.d.ts"
|
|
65
|
-
},
|
|
66
|
-
"./service": {
|
|
67
|
-
"import": "./dist/service/index.js",
|
|
68
|
-
"types": "./dist/service/index.d.ts"
|
|
69
|
-
},
|
|
70
|
-
"./table": {
|
|
71
|
-
"import": "./dist/table/index.js",
|
|
72
|
-
"types": "./dist/table/index.d.ts"
|
|
73
|
-
},
|
|
74
|
-
"./typed-buffer": {
|
|
75
|
-
"import": "./dist/typed-buffer/index.js",
|
|
76
|
-
"types": "./dist/typed-buffer/index.d.ts"
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"devDependencies": {
|
|
80
|
-
"@assemblyscript/loader": "^0.27.30",
|
|
81
|
-
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
82
|
-
"@types/jsonpath": "^0.2.4",
|
|
83
|
-
"@types/uuid": "^10.0.0",
|
|
84
|
-
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
85
|
-
"@typescript-eslint/parser": "^6.21.0",
|
|
86
|
-
"@vitest/browser": "^1.6.0",
|
|
87
|
-
"@webgpu/types": "^0.1.61",
|
|
88
|
-
"assemblyscript": "^0.27.30",
|
|
89
|
-
"eslint": "^8.56.0",
|
|
90
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
91
|
-
"eslint-config-prettier": "^9.1.0",
|
|
92
|
-
"eslint-formatter-pretty": "^5.0.0",
|
|
93
|
-
"eslint-plugin-header": "^3.1.1",
|
|
94
|
-
"eslint-plugin-import": "^2.29.1",
|
|
95
|
-
"eslint-plugin-lit": "^1.11.0",
|
|
96
|
-
"eslint-plugin-lit-a11y": "^4.1.2",
|
|
97
|
-
"eslint-plugin-notice": "^0.9.10",
|
|
98
|
-
"eslint-plugin-prettier": "^5.1.3",
|
|
99
|
-
"glob": "^10.3.10",
|
|
100
|
-
"jsdom": "^24.1.0",
|
|
101
|
-
"lint-staged": "^13.2.2",
|
|
102
|
-
"nodemon": "^3.1.7",
|
|
103
|
-
"npm-run-all": "^4.1.5",
|
|
104
|
-
"playwright": "^1.46.1",
|
|
105
|
-
"prettier": "^3.2.5",
|
|
106
|
-
"prettier-package-json": "^2.8.0",
|
|
107
|
-
"pretty-quick": "^4.0.0",
|
|
108
|
-
"riteway": "v8.0.0-RC4",
|
|
109
|
-
"stylelint": "^16.2.1",
|
|
110
|
-
"stylelint-config-standard": "^36.0.0",
|
|
111
|
-
"typedoc": "^0.26.7",
|
|
112
|
-
"typescript": "^5.8.3",
|
|
113
|
-
"uuid": "^10.0.0",
|
|
114
|
-
"vite": "^5.1.1",
|
|
115
|
-
"vitest": "^1.6.0",
|
|
116
|
-
"webdriverio": "^9.0.9"
|
|
117
|
-
},
|
|
118
|
-
"lint-staged": {
|
|
119
|
-
"*.ts": "pnpm lint:ts && pnpm lint:css",
|
|
120
|
-
"*.css": "pnpm lint:css",
|
|
121
|
-
"package.json": "pnpm lint:packagejson"
|
|
122
|
-
},
|
|
123
|
-
"dependencies": {
|
|
124
|
-
"@cfworker/json-schema": "^4.1.1",
|
|
125
|
-
"@lit/context": "^1.1.5",
|
|
126
|
-
"jsonpath": "^1.1.1",
|
|
127
|
-
"lit": "^3.3.0"
|
|
128
|
-
}
|
|
129
|
-
}
|
package/dist/schema/f32 copy.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"f32 copy.js","sourceRoot":"","sources":["../../src/schema/f32 copy.ts"],"names":[],"mappings":"AAuBA,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,IAAI,EAAE,QAAQ;IACd,SAAS,EAAE,CAAC;IACZ,OAAO,EAAE,CAAW;CACG,CAAC"}
|
package/dist/schemas/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "../core/schemas.js";
|
package/dist/schemas/index.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/*MIT License
|
|
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.*/
|
|
22
|
-
export * from "../core/schemas.js";
|
|
23
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,cAAc,oBAAoB,CAAC"}
|