@adobe/data 0.6.2 → 0.7.0
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 +1 -1
- package/dist/ecs/database/create-database.js +123 -198
- package/dist/ecs/database/create-database.js.map +1 -1
- package/dist/ecs/database/create-database.test.js +155 -684
- package/dist/ecs/database/create-database.test.js.map +1 -1
- package/dist/ecs/database/database.d.ts +1 -0
- package/dist/ecs/database/index.d.ts +5 -0
- package/dist/ecs/database/index.js +5 -0
- package/dist/ecs/database/index.js.map +1 -1
- package/dist/ecs/database/observe-select-entities.performance.test.js +6 -5
- package/dist/ecs/database/observe-select-entities.performance.test.js.map +1 -1
- package/dist/ecs/database/observed/create-observed-database.d.ts +7 -0
- package/dist/ecs/database/observed/create-observed-database.js +154 -0
- package/dist/ecs/database/observed/create-observed-database.js.map +1 -0
- package/dist/ecs/database/observed/create-observed-database.test.js +557 -0
- package/dist/ecs/database/observed/create-observed-database.test.js.map +1 -0
- package/dist/ecs/database/observed/observed-database.d.ts +36 -0
- package/dist/ecs/database/observed/observed-database.js +19 -0
- package/dist/ecs/database/observed/observed-database.js.map +1 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.d.ts +8 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.js +146 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.js.map +1 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.test.d.ts +1 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.test.js +94 -0
- package/dist/ecs/database/reconciling/create-reconciling-database.test.js.map +1 -0
- package/dist/ecs/database/reconciling/reconciling-database.d.ts +21 -0
- package/dist/ecs/database/reconciling/reconciling-database.js +22 -0
- package/dist/ecs/database/reconciling/reconciling-database.js.map +1 -0
- package/dist/ecs/database/reconciling/reconciling-entry.d.ts +30 -0
- package/dist/ecs/database/reconciling/reconciling-entry.js +88 -0
- package/dist/ecs/database/reconciling/reconciling-entry.js.map +1 -0
- package/dist/ecs/database/transactional-store/entity-id-preservation.test.d.ts +1 -0
- package/dist/ecs/database/transactional-store/entity-id-preservation.test.js +106 -0
- package/dist/ecs/database/transactional-store/entity-id-preservation.test.js.map +1 -0
- package/dist/ecs/entity/entity.d.ts +8 -0
- package/dist/ecs/entity/entity.js +3 -0
- package/dist/ecs/entity/entity.js.map +1 -0
- package/dist/ecs/entity/u32.d.ts +8 -0
- package/dist/{lit/elements/service-context.js → ecs/entity/u32.js} +3 -3
- package/dist/ecs/entity/u32.js.map +1 -0
- package/dist/ecs/store/store-schema/create-store-schema-test.js +2 -2
- package/dist/ecs/store/store-schema/create-store-schema-test.js.map +1 -1
- package/dist/ecs/store/store-schema/create-store-schema.d.ts +1 -11
- package/dist/ecs/store/store-schema/create-store-schema.js +44 -30
- package/dist/ecs/store/store-schema/create-store-schema.js.map +1 -1
- package/dist/ecs/store/store-schema/index.d.ts +1 -2
- package/dist/ecs/store/store-schema/index.js +20 -23
- package/dist/ecs/store/store-schema/index.js.map +1 -1
- package/dist/ecs/store/store-schema/store-schema.d.ts +1 -12
- package/dist/ecs/store/store-schema/store-schema.js +55 -21
- package/dist/ecs/store/store-schema/store-schema.js.map +1 -1
- package/dist/functions/serialization/index.d.ts +1 -0
- package/dist/functions/serialization/index.js +1 -0
- package/dist/functions/serialization/index.js.map +1 -1
- package/dist/functions/serialization/serialize-to-json.d.ts +9 -0
- package/dist/functions/serialization/serialize-to-json.js +161 -0
- package/dist/functions/serialization/serialize-to-json.js.map +1 -0
- package/dist/functions/serialization/serialize-to-json.test.d.ts +1 -0
- package/dist/functions/serialization/serialize-to-json.test.js +244 -0
- package/dist/functions/serialization/serialize-to-json.test.js.map +1 -0
- package/dist/graphics/frame.d.ts +1 -22
- package/dist/graphics/frame.js +14 -11
- package/dist/graphics/frame.js.map +1 -1
- package/dist/graphics/get-web-gpu-device-and-context.d.ts +1 -2
- package/dist/graphics/get-web-gpu-device-and-context.js +23 -20
- package/dist/graphics/get-web-gpu-device-and-context.js.map +1 -1
- package/dist/graphics/graphics-context.d.ts +1 -5
- package/dist/graphics/graphics-context.js +5 -0
- package/dist/graphics/graphics-context.js.map +1 -1
- package/dist/math/aabb-face/face.d.ts +51 -0
- package/dist/math/aabb-face/face.js +110 -0
- package/dist/math/aabb-face/face.js.map +1 -0
- package/dist/math/aabb-face/face.test.d.ts +1 -0
- package/dist/math/aabb-face/face.test.js +94 -0
- package/dist/math/aabb-face/face.test.js.map +1 -0
- package/dist/math/box/box.d.ts +50 -0
- package/dist/math/box/box.js +23 -0
- package/dist/math/box/box.js.map +1 -0
- package/dist/math/face/face.d.ts +51 -0
- package/dist/math/face/face.js +110 -0
- package/dist/math/face/face.js.map +1 -0
- package/dist/math/face/face.test.d.ts +1 -0
- package/dist/math/face/face.test.js +94 -0
- package/dist/math/face/face.test.js.map +1 -0
- package/dist/math/picking/face.d.ts +1 -0
- package/dist/math/picking/face.js +2 -0
- package/dist/math/picking/face.js.map +1 -0
- package/dist/math/picking/get-closest-entity-to-line.js +1 -1
- package/dist/math/picking/get-closest-entity-to-line.js.map +1 -1
- package/dist/math/picking/get-closest-entity-to-point.js +1 -1
- package/dist/math/picking/get-closest-entity-to-point.js.map +1 -1
- package/dist/math/picking/getClosestEntityToLine.d.ts +4 -0
- package/dist/math/picking/getClosestEntityToLine.js +29 -0
- package/dist/math/picking/getClosestEntityToLine.js.map +1 -0
- package/dist/math/picking/getClosestEntityToPoint.d.ts +4 -0
- package/dist/math/picking/getClosestEntityToPoint.js +27 -0
- package/dist/math/picking/getClosestEntityToPoint.js.map +1 -0
- package/dist/math/picking/getIntersectingEntities.d.ts +12 -0
- package/dist/math/picking/getIntersectingEntities.js +15 -0
- package/dist/math/picking/getIntersectingEntities.js.map +1 -0
- package/dist/math/picking/pick-from-tables.js +1 -1
- package/dist/math/picking/pick-from-tables.js.map +1 -1
- package/dist/math/picking/pick-result.d.ts +4 -2
- package/dist/math/transform/debug-inverse.d.ts +1 -0
- package/dist/math/transform/debug-inverse.js +28 -0
- package/dist/math/transform/debug-inverse.js.map +1 -0
- package/dist/math/transform/debug-quat.d.ts +1 -0
- package/dist/math/transform/debug-quat.js +23 -0
- package/dist/math/transform/debug-quat.js.map +1 -0
- package/dist/math/transform/debug-test.d.ts +1 -0
- package/dist/math/transform/debug-test.js +34 -0
- package/dist/math/transform/debug-test.js.map +1 -0
- package/dist/math/transform/transform.d.ts +58 -0
- package/dist/math/transform/transform.js +101 -0
- package/dist/math/transform/transform.js.map +1 -0
- package/dist/math/transform/transform.test.d.ts +1 -0
- package/dist/math/transform/transform.test.js +309 -0
- package/dist/math/transform/transform.test.js.map +1 -0
- package/dist/observe/observe.test.js +67 -3
- package/dist/observe/observe.test.js.map +1 -1
- package/dist/observe/with-cache.js +2 -0
- package/dist/observe/with-cache.js.map +1 -1
- package/dist/samples/todo/services/state-service/create-todo-database.d.ts +1 -1
- package/dist/samples/todo/services/state-service/create-todo-store.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/lit/elements/service-application.d.ts +0 -9
- package/dist/lit/elements/service-application.js +0 -55
- package/dist/lit/elements/service-application.js.map +0 -1
- package/dist/lit/elements/service-context.d.ts +0 -1
- package/dist/lit/elements/service-context.js.map +0 -1
- package/dist/lit/elements/service-element.d.ts +0 -6
- package/dist/lit/elements/service-element.js +0 -43
- package/dist/lit/elements/service-element.js.map +0 -1
- package/dist/table/compact-table.d.ts +0 -7
- package/dist/table/compact-table.js +0 -15
- package/dist/table/compact-table.js.map +0 -1
- package/dist/table/compact-table.test.js +0 -121
- package/dist/table/compact-table.test.js.map +0 -1
- /package/dist/{table/compact-table.test.d.ts → ecs/database/observed/create-observed-database.test.d.ts} +0 -0
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentSchemas } from "../../component-schemas.js";
|
|
3
|
-
import { ResourceSchemas } from "../../resource-schemas.js";
|
|
4
|
-
import { ArchetypeComponents } from "../archetype-components.js";
|
|
5
|
-
import { StoreSchema } from "./store-schema.js";
|
|
6
|
-
export declare function createStoreSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>>(components: CS, resources: RS, archetypes: A): {
|
|
7
|
-
readonly components: CS;
|
|
8
|
-
readonly resources: RS;
|
|
9
|
-
readonly archetypes: A;
|
|
10
|
-
};
|
|
11
|
-
export declare function createStoreFromSchema<const CS extends ComponentSchemas, const RS extends ResourceSchemas, const A extends ArchetypeComponents<StringKeyof<CS>>>(schema: StoreSchema<CS, RS, A>): import("../store.js").Store<{ [K in Extract<keyof CS, string>]: import("../../../schema/schema.js").FromSchema<CS[K], 5>; }, { -readonly [K_1 in Extract<keyof RS, string>]: import("../../../schema/schema.js").FromSchema<RS[K_1], 5>; }, A>;
|
|
1
|
+
export {};
|
|
@@ -1,31 +1,45 @@
|
|
|
1
|
-
/*MIT License
|
|
2
|
-
|
|
3
|
-
© Copyright 2025 Adobe. All rights reserved.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
+
// import { StringKeyof } from "../../../types/types.js";
|
|
20
|
+
// import { ComponentSchemas } from "../../component-schemas.js";
|
|
21
|
+
// import { ResourceSchemas } from "../../resource-schemas.js";
|
|
22
|
+
// import { ArchetypeComponents } from "../archetype-components.js";
|
|
23
|
+
// import { createStore } from "../create-store.js";
|
|
24
|
+
// import { StoreSchema } from "./store-schema.js";
|
|
25
|
+
// export function createStoreSchema<
|
|
26
|
+
// const CS extends ComponentSchemas,
|
|
27
|
+
// const RS extends ResourceSchemas,
|
|
28
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
29
|
+
// >(
|
|
30
|
+
// components: CS,
|
|
31
|
+
// resources: RS,
|
|
32
|
+
// archetypes: A,
|
|
33
|
+
// ) {
|
|
34
|
+
// return { components, resources, archetypes } as const satisfies StoreSchema<CS, RS, A>;
|
|
35
|
+
// };
|
|
36
|
+
// export function createStoreFromSchema<
|
|
37
|
+
// const CS extends ComponentSchemas,
|
|
38
|
+
// const RS extends ResourceSchemas,
|
|
39
|
+
// const A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
40
|
+
// >(
|
|
41
|
+
// schema: StoreSchema<CS, RS, A>,
|
|
42
|
+
// ) {
|
|
43
|
+
// return createStore(schema.components, schema.resources, schema.archetypes);
|
|
44
|
+
// };
|
|
31
45
|
//# sourceMappingURL=create-store-schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"create-store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/create-store-schema.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,yDAAyD;AACzD,iEAAiE;AACjE,+DAA+D;AAC/D,oEAAoE;AACpE,oDAAoD;AACpD,mDAAmD;AAEnD,qCAAqC;AACrC,yCAAyC;AACzC,wCAAwC;AACxC,4DAA4D;AAC5D,KAAK;AACL,sBAAsB;AACtB,qBAAqB;AACrB,qBAAqB;AACrB,MAAM;AACN,8FAA8F;AAC9F,KAAK;AAEL,yCAAyC;AACzC,yCAAyC;AACzC,wCAAwC;AACxC,4DAA4D;AAC5D,KAAK;AACL,sCAAsC;AACtC,MAAM;AACN,kFAAkF;AAClF,KAAK"}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./store-schema.js";
|
|
1
|
+
export {};
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
/*MIT License
|
|
2
|
-
|
|
3
|
-
© Copyright 2025 Adobe. All rights reserved.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
SOFTWARE.*/
|
|
22
|
-
export * from "./create-store-schema.js";
|
|
23
|
-
export * from "./store-schema.js";
|
|
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
|
+
// export * from "./create-store-schema.js";
|
|
20
|
+
// export * from "./store-schema.js";
|
|
24
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/index.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,4CAA4C;AAC5C,qCAAqC"}
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { ComponentSchemas } from "../../component-schemas.js";
|
|
3
|
-
import { ResourceSchemas } from "../../resource-schemas.js";
|
|
4
|
-
import { Store } from "../store.js";
|
|
5
|
-
import { ArchetypeComponents } from "../archetype-components.js";
|
|
6
|
-
import { StringKeyof } from "../../../types/types.js";
|
|
7
|
-
export type StoreSchema<CS extends ComponentSchemas, RS extends ResourceSchemas, A extends ArchetypeComponents<StringKeyof<CS>>> = {
|
|
8
|
-
readonly components: CS;
|
|
9
|
-
readonly resources: RS;
|
|
10
|
-
readonly archetypes: A;
|
|
11
|
-
};
|
|
12
|
-
export type StoreFromSchema<T> = T extends StoreSchema<infer CS, infer RS, infer A> ? Store<FromSchemas<CS>, FromSchemas<RS>, A> : never;
|
|
1
|
+
export {};
|
|
@@ -1,23 +1,57 @@
|
|
|
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.*/
|
|
1
|
+
// /*MIT License
|
|
22
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
|
+
// import { FromSchemas } from "../../../schema/schema.js";
|
|
20
|
+
// import { ComponentSchemas } from "../../component-schemas.js";
|
|
21
|
+
// import { ResourceSchemas } from "../../resource-schemas.js";
|
|
22
|
+
// import { Store } from "../store.js";
|
|
23
|
+
// import { ArchetypeComponents } from "../archetype-components.js";
|
|
24
|
+
// import { StringKeyof } from "../../../types/types.js";
|
|
25
|
+
// import { Assert } from "../../../types/assert.js";
|
|
26
|
+
// import { Equal } from "../../../types/equal.js";
|
|
27
|
+
// import { Archetype } from "../../archetype/archetype.js";
|
|
28
|
+
// import { CoreComponents } from "../../core-components.js";
|
|
29
|
+
// export type StoreSchema<
|
|
30
|
+
// CS extends ComponentSchemas,
|
|
31
|
+
// RS extends ResourceSchemas,
|
|
32
|
+
// A extends ArchetypeComponents<StringKeyof<CS>>,
|
|
33
|
+
// > = {
|
|
34
|
+
// readonly components: CS;
|
|
35
|
+
// readonly resources: RS;
|
|
36
|
+
// readonly archetypes: A;
|
|
37
|
+
// };
|
|
38
|
+
// export type StoreFromSchema<T> = T extends StoreSchema<infer CS, infer RS, infer A> ? Store<FromSchemas<CS>, FromSchemas<RS>, A> : never;
|
|
39
|
+
// type CheckStoreFromSchema = StoreFromSchema<StoreSchema<{
|
|
40
|
+
// velocity: { type: "number" },
|
|
41
|
+
// particle: { type: "boolean" },
|
|
42
|
+
// }, {
|
|
43
|
+
// mousePosition: { type: "number", default: 0 },
|
|
44
|
+
// fooPosition: { type: "number", default: 0 },
|
|
45
|
+
// }, {
|
|
46
|
+
// Particle: ["particle"],
|
|
47
|
+
// DynamicParticle: ["particle", "velocity"],
|
|
48
|
+
// }>>;
|
|
49
|
+
// declare const testStore: CheckStoreFromSchema;
|
|
50
|
+
// type CheckDynamicParticle = Assert<Equal<typeof testStore.archetypes.DynamicParticle, Archetype<CoreComponents & {
|
|
51
|
+
// particle: boolean;
|
|
52
|
+
// velocity: number;
|
|
53
|
+
// }>>>;
|
|
54
|
+
// type CheckParticle = Assert<Equal<typeof testStore.archetypes.Particle, Archetype<CoreComponents & {
|
|
55
|
+
// particle: boolean;
|
|
56
|
+
// }>>>;
|
|
23
57
|
//# sourceMappingURL=store-schema.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/store-schema.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"store-schema.js","sourceRoot":"","sources":["../../../../src/ecs/store/store-schema/store-schema.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,2DAA2D;AAC3D,iEAAiE;AACjE,+DAA+D;AAC/D,uCAAuC;AACvC,oEAAoE;AACpE,yDAAyD;AACzD,qDAAqD;AACrD,mDAAmD;AACnD,4DAA4D;AAC5D,6DAA6D;AAE7D,2BAA2B;AAC3B,mCAAmC;AACnC,kCAAkC;AAClC,sDAAsD;AACtD,QAAQ;AACR,+BAA+B;AAC/B,8BAA8B;AAC9B,8BAA8B;AAC9B,KAAK;AAEL,4IAA4I;AAE5I,4DAA4D;AAC5D,oCAAoC;AACpC,qCAAqC;AACrC,OAAO;AACP,qDAAqD;AACrD,mDAAmD;AACnD,OAAO;AACP,8BAA8B;AAC9B,iDAAiD;AACjD,OAAO;AACP,iDAAiD;AACjD,qHAAqH;AACrH,yBAAyB;AACzB,wBAAwB;AACxB,QAAQ;AACR,uGAAuG;AACvG,yBAAyB;AACzB,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/functions/serialization/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/functions/serialization/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AACX,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Serializes data to a single JSON string with base64-encoded and compressed binary data.
|
|
3
|
+
* The binary arrays are concatenated, compressed using deflate, and their original lengths are stored to allow reconstruction.
|
|
4
|
+
*/
|
|
5
|
+
export declare const serializeToJSON: <T>(data: T) => Promise<string>;
|
|
6
|
+
/**
|
|
7
|
+
* Deserializes data from a JSON string with base64-encoded and compressed binary data.
|
|
8
|
+
*/
|
|
9
|
+
export declare const deserializeFromJSON: <T>(jsonString: string) => Promise<T>;
|
|
@@ -0,0 +1,161 @@
|
|
|
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 { serialize, deserialize } from "./serialize.js";
|
|
23
|
+
/**
|
|
24
|
+
* Converts a Uint8Array to a base64 string
|
|
25
|
+
* Uses chunked processing with String.fromCharCode for optimal performance
|
|
26
|
+
*/
|
|
27
|
+
const uint8ArrayToBase64 = (data) => {
|
|
28
|
+
// Process in 32KB chunks for two reasons:
|
|
29
|
+
// 1. Prevents "Maximum call stack size exceeded" with spread operator on large arrays
|
|
30
|
+
// 2. String.fromCharCode(...chunk) is a single optimized native call per chunk
|
|
31
|
+
const CHUNK_SIZE = 0x8000;
|
|
32
|
+
const chunks = [];
|
|
33
|
+
for (let i = 0; i < data.length; i += CHUNK_SIZE) {
|
|
34
|
+
const end = Math.min(i + CHUNK_SIZE, data.length);
|
|
35
|
+
const chunk = data.subarray(i, end);
|
|
36
|
+
chunks.push(String.fromCharCode(...chunk));
|
|
37
|
+
}
|
|
38
|
+
// Modern engines handle array.join() efficiently (no O(n²) with ropes/cons strings)
|
|
39
|
+
return btoa(chunks.join(''));
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Converts a base64 string to a Uint8Array
|
|
43
|
+
*/
|
|
44
|
+
const base64ToUint8Array = (base64) => {
|
|
45
|
+
const binary = atob(base64);
|
|
46
|
+
const len = binary.length;
|
|
47
|
+
const bytes = new Uint8Array(len);
|
|
48
|
+
for (let i = 0; i < len; i++) {
|
|
49
|
+
bytes[i] = binary.charCodeAt(i);
|
|
50
|
+
}
|
|
51
|
+
return bytes;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Compresses a Uint8Array using the deflate algorithm
|
|
55
|
+
*/
|
|
56
|
+
const compressData = async (data) => {
|
|
57
|
+
const stream = new ReadableStream({
|
|
58
|
+
start(controller) {
|
|
59
|
+
controller.enqueue(data);
|
|
60
|
+
controller.close();
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
const compressedStream = stream.pipeThrough(new CompressionStream('deflate'));
|
|
64
|
+
const chunks = [];
|
|
65
|
+
const reader = compressedStream.getReader();
|
|
66
|
+
while (true) {
|
|
67
|
+
const { done, value } = await reader.read();
|
|
68
|
+
if (done)
|
|
69
|
+
break;
|
|
70
|
+
chunks.push(value);
|
|
71
|
+
}
|
|
72
|
+
// Concatenate all chunks
|
|
73
|
+
const totalLength = chunks.reduce((sum, chunk) => sum + chunk.length, 0);
|
|
74
|
+
const result = new Uint8Array(totalLength);
|
|
75
|
+
let offset = 0;
|
|
76
|
+
for (const chunk of chunks) {
|
|
77
|
+
result.set(chunk, offset);
|
|
78
|
+
offset += chunk.length;
|
|
79
|
+
}
|
|
80
|
+
return result;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* Decompresses a Uint8Array using the deflate algorithm
|
|
84
|
+
*/
|
|
85
|
+
const decompressData = async (data) => {
|
|
86
|
+
const stream = new ReadableStream({
|
|
87
|
+
start(controller) {
|
|
88
|
+
controller.enqueue(data);
|
|
89
|
+
controller.close();
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
const decompressedStream = stream.pipeThrough(new DecompressionStream('deflate'));
|
|
93
|
+
const chunks = [];
|
|
94
|
+
const reader = decompressedStream.getReader();
|
|
95
|
+
while (true) {
|
|
96
|
+
const { done, value } = await reader.read();
|
|
97
|
+
if (done)
|
|
98
|
+
break;
|
|
99
|
+
chunks.push(value);
|
|
100
|
+
}
|
|
101
|
+
// Concatenate all chunks
|
|
102
|
+
const totalLength = chunks.reduce((sum, chunk) => sum + chunk.length, 0);
|
|
103
|
+
const result = new Uint8Array(totalLength);
|
|
104
|
+
let offset = 0;
|
|
105
|
+
for (const chunk of chunks) {
|
|
106
|
+
result.set(chunk, offset);
|
|
107
|
+
offset += chunk.length;
|
|
108
|
+
}
|
|
109
|
+
return result;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Serializes data to a single JSON string with base64-encoded and compressed binary data.
|
|
113
|
+
* The binary arrays are concatenated, compressed using deflate, and their original lengths are stored to allow reconstruction.
|
|
114
|
+
*/
|
|
115
|
+
export const serializeToJSON = async (data) => {
|
|
116
|
+
const serialized = serialize(data);
|
|
117
|
+
// Store the length of each binary chunk
|
|
118
|
+
const lengths = serialized.binary.map(chunk => chunk.byteLength);
|
|
119
|
+
// Calculate total size and concatenate all binary arrays into a single Uint8Array
|
|
120
|
+
const totalSize = lengths.reduce((sum, len) => sum + len, 0);
|
|
121
|
+
const combinedBinary = new Uint8Array(totalSize);
|
|
122
|
+
let offset = 0;
|
|
123
|
+
for (const binaryChunk of serialized.binary) {
|
|
124
|
+
combinedBinary.set(binaryChunk, offset);
|
|
125
|
+
offset += binaryChunk.byteLength;
|
|
126
|
+
}
|
|
127
|
+
// Compress the binary data
|
|
128
|
+
const compressedBinary = await compressData(combinedBinary);
|
|
129
|
+
// Convert to base64
|
|
130
|
+
const base64Binary = uint8ArrayToBase64(compressedBinary);
|
|
131
|
+
const result = {
|
|
132
|
+
json: JSON.parse(serialized.json), // Parse to avoid double-encoding
|
|
133
|
+
lengths,
|
|
134
|
+
binary: base64Binary
|
|
135
|
+
};
|
|
136
|
+
return JSON.stringify(result, null, 2);
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Deserializes data from a JSON string with base64-encoded and compressed binary data.
|
|
140
|
+
*/
|
|
141
|
+
export const deserializeFromJSON = async (jsonString) => {
|
|
142
|
+
const parsed = JSON.parse(jsonString);
|
|
143
|
+
// Convert base64 back to Uint8Array
|
|
144
|
+
const compressedBinary = base64ToUint8Array(parsed.binary);
|
|
145
|
+
// Decompress the binary data
|
|
146
|
+
const combinedBinary = await decompressData(compressedBinary);
|
|
147
|
+
// Split the combined binary back into chunks based on lengths
|
|
148
|
+
const binaryChunks = [];
|
|
149
|
+
let offset = 0;
|
|
150
|
+
for (const length of parsed.lengths) {
|
|
151
|
+
const chunk = combinedBinary.slice(offset, offset + length);
|
|
152
|
+
binaryChunks.push(chunk);
|
|
153
|
+
offset += length;
|
|
154
|
+
}
|
|
155
|
+
// Deserialize using the original deserialize function
|
|
156
|
+
return deserialize({
|
|
157
|
+
json: JSON.stringify(parsed.json), // Convert back to string for deserialize()
|
|
158
|
+
binary: binaryChunks
|
|
159
|
+
});
|
|
160
|
+
};
|
|
161
|
+
//# sourceMappingURL=serialize-to-json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serialize-to-json.js","sourceRoot":"","sources":["../../../src/functions/serialization/serialize-to-json.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;WAoBW;AAEX,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAWxD;;;GAGG;AACH,MAAM,kBAAkB,GAAG,CAAC,IAAgB,EAAU,EAAE;IACpD,0CAA0C;IAC1C,sFAAsF;IACtF,+EAA+E;IAC/E,MAAM,UAAU,GAAG,MAAM,CAAC;IAC1B,MAAM,MAAM,GAAa,EAAE,CAAC;IAE5B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,IAA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