@oasys/oecs 0.5.0 → 0.5.1
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/CHANGELOG.md +84 -1
- package/README.md +11 -7
- package/dist/core/ecs/archetype.d.cts +3 -3
- package/dist/core/ecs/archetype.d.ts +3 -3
- package/dist/core/ecs/component.d.cts +25 -0
- package/dist/core/ecs/component.d.ts +25 -0
- package/dist/core/ecs/component.d.ts.map +1 -1
- package/dist/core/ecs/ecs.d.cts +67 -49
- package/dist/core/ecs/ecs.d.ts +67 -49
- package/dist/core/ecs/ecs.d.ts.map +1 -1
- package/dist/core/ecs/entity.d.cts +1 -1
- package/dist/core/ecs/entity.d.ts +1 -1
- package/dist/core/ecs/facades.d.cts +1 -1
- package/dist/core/ecs/facades.d.ts +1 -1
- package/dist/core/ecs/host_commands.d.cts +30 -20
- package/dist/core/ecs/host_commands.d.ts +30 -20
- package/dist/core/ecs/host_commands.d.ts.map +1 -1
- package/dist/core/ecs/index.d.cts +3 -3
- package/dist/core/ecs/index.d.ts +3 -3
- package/dist/core/ecs/index.d.ts.map +1 -1
- package/dist/core/ecs/observer.d.cts +1 -1
- package/dist/core/ecs/observer.d.ts +1 -1
- package/dist/core/ecs/observer.d.ts.map +1 -1
- package/dist/core/ecs/query.d.cts +22 -6
- package/dist/core/ecs/query.d.ts +22 -6
- package/dist/core/ecs/query.d.ts.map +1 -1
- package/dist/core/ecs/ref.d.ts.map +1 -1
- package/dist/core/ecs/run_condition.d.cts +1 -1
- package/dist/core/ecs/run_condition.d.ts +1 -1
- package/dist/core/ecs/run_condition.d.ts.map +1 -1
- package/dist/core/ecs/store.d.cts +10 -23
- package/dist/core/ecs/store.d.ts +10 -23
- package/dist/core/ecs/store.d.ts.map +1 -1
- package/dist/dev_flag.d.cts +0 -15
- package/dist/dev_flag.d.ts +0 -15
- package/dist/dev_flag.d.ts.map +1 -1
- package/dist/extensions/editor/editor.d.cts +31 -29
- package/dist/extensions/editor/editor.d.ts +31 -29
- package/dist/extensions/editor/editor.d.ts.map +1 -1
- package/dist/extensions/editor/field_handle.d.cts +3 -3
- package/dist/extensions/editor/field_handle.d.ts +3 -3
- package/dist/extensions/editor/field_handle.d.ts.map +1 -1
- package/dist/extensions/editor/index.cjs +1 -1
- package/dist/extensions/editor/index.js +53 -51
- package/dist/{host_commands-i4cAeyL5.js → host_commands-BI8pEmjH.js} +26 -18
- package/dist/{host_commands-BF8QMi3c.cjs → host_commands-CxhpzMx9.cjs} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +269 -214
- package/dist/internal.cjs +1 -1
- package/dist/internal.js +1 -1
- package/dist/version.d.cts +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
export { ECS, type ECSOptions } from './core/ecs/index.cjs';
|
|
22
22
|
export type { ECSRelations, ECSEvents, ECSResources, ECSSnapshots } from './core/ecs/index.cjs';
|
|
23
23
|
export type { ECSMemoryOptions, EntityBudget, WasmMemoryArm } from './core/ecs/index.cjs';
|
|
24
|
-
export type { Template,
|
|
24
|
+
export type { Template, TemplateOverrides } from './core/ecs/index.cjs';
|
|
25
25
|
export type { StoreLayoutListener } from './core/ecs/index.cjs';
|
|
26
26
|
export type { ComputeBackend, BackendSystemHandle } from './core/ecs/index.cjs';
|
|
27
27
|
export { SCHEDULE, type SystemEntry, type SystemOrdering, type SystemOrderingTarget, systemSet, type SystemSet, type SystemSetConfig } from './core/ecs/index.cjs';
|
|
@@ -45,12 +45,12 @@ export { Query, QueryBuilder, ChangedQuery, HIERARCHY_UNBOUNDED } from './core/e
|
|
|
45
45
|
export type { HierarchyTerm } from './core/ecs/index.cjs';
|
|
46
46
|
export { ChunkColumns, Commands } from './core/ecs/index.cjs';
|
|
47
47
|
export type { ArchetypeView, ArchetypeID } from './core/ecs/index.cjs';
|
|
48
|
-
export type { EntityID,
|
|
48
|
+
export type { EntityID, ReadonlyEntityIDArray } from './core/ecs/index.cjs';
|
|
49
49
|
export { getEntityIndex } from './core/ecs/index.cjs';
|
|
50
50
|
export type { TypedArrayTag } from './type_primitives/index.cjs';
|
|
51
51
|
export type { ComponentDef, ComponentHandle, ComponentRegisterOptions, ComponentSchema, SchemaOf, DeclaredQueryTerm, FieldValues, CompleteFieldValues, ValuesArg, AttachValuesArg, TagToTypedArray, ColumnsForSchema, MutableColumnsForSchema, ReadonlyColumn, ReadonlyUint32Array } from './core/ecs/index.cjs';
|
|
52
52
|
export { bundle } from './core/ecs/index.cjs';
|
|
53
|
-
export type { Bundle, BundleOrDef } from './core/ecs/index.cjs';
|
|
53
|
+
export type { Bundle, BundleOrDef, StrictBundle, StrictBundles, DefsOf } from './core/ecs/index.cjs';
|
|
54
54
|
export type { SparseComponentDef, SparseComponentID, SparseSchemaOf } from './core/ecs/index.cjs';
|
|
55
55
|
export { SparseRestoreError } from './core/ecs/index.cjs';
|
|
56
56
|
export type { RelationDef, RelationID, RelationCardinality, RelationOptions, OnDeleteTarget } from './core/ecs/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
export { ECS, type ECSOptions } from './core/ecs/index.js';
|
|
22
22
|
export type { ECSRelations, ECSEvents, ECSResources, ECSSnapshots } from './core/ecs/index.js';
|
|
23
23
|
export type { ECSMemoryOptions, EntityBudget, WasmMemoryArm } from './core/ecs/index.js';
|
|
24
|
-
export type { Template,
|
|
24
|
+
export type { Template, TemplateOverrides } from './core/ecs/index.js';
|
|
25
25
|
export type { StoreLayoutListener } from './core/ecs/index.js';
|
|
26
26
|
export type { ComputeBackend, BackendSystemHandle } from './core/ecs/index.js';
|
|
27
27
|
export { SCHEDULE, type SystemEntry, type SystemOrdering, type SystemOrderingTarget, systemSet, type SystemSet, type SystemSetConfig } from './core/ecs/index.js';
|
|
@@ -45,12 +45,12 @@ export { Query, QueryBuilder, ChangedQuery, HIERARCHY_UNBOUNDED } from './core/e
|
|
|
45
45
|
export type { HierarchyTerm } from './core/ecs/index.js';
|
|
46
46
|
export { ChunkColumns, Commands } from './core/ecs/index.js';
|
|
47
47
|
export type { ArchetypeView, ArchetypeID } from './core/ecs/index.js';
|
|
48
|
-
export type { EntityID,
|
|
48
|
+
export type { EntityID, ReadonlyEntityIDArray } from './core/ecs/index.js';
|
|
49
49
|
export { getEntityIndex } from './core/ecs/index.js';
|
|
50
50
|
export type { TypedArrayTag } from './type_primitives/index.js';
|
|
51
51
|
export type { ComponentDef, ComponentHandle, ComponentRegisterOptions, ComponentSchema, SchemaOf, DeclaredQueryTerm, FieldValues, CompleteFieldValues, ValuesArg, AttachValuesArg, TagToTypedArray, ColumnsForSchema, MutableColumnsForSchema, ReadonlyColumn, ReadonlyUint32Array } from './core/ecs/index.js';
|
|
52
52
|
export { bundle } from './core/ecs/index.js';
|
|
53
|
-
export type { Bundle, BundleOrDef } from './core/ecs/index.js';
|
|
53
|
+
export type { Bundle, BundleOrDef, StrictBundle, StrictBundles, DefsOf } from './core/ecs/index.js';
|
|
54
54
|
export type { SparseComponentDef, SparseComponentID, SparseSchemaOf } from './core/ecs/index.js';
|
|
55
55
|
export { SparseRestoreError } from './core/ecs/index.js';
|
|
56
56
|
export type { RelationDef, RelationID, RelationCardinality, RelationOptions, OnDeleteTarget } from './core/ecs/index.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAGH,OAAO,EAAE,GAAG,EAAE,KAAK,UAAU,EAAE,MAAM,YAAY,CAAC;AAClD,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAKtF,YAAY,EAAE,gBAAgB,EAA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