@awesome-ecs/abstract 0.23.0 → 0.24.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/components/index.d.cts +1 -1
- package/dist/components/index.d.mts +1 -1
- package/dist/entities/index.d.cts +3 -3
- package/dist/entities/index.d.mts +3 -3
- package/dist/factories/index.d.cts +3 -3
- package/dist/factories/index.d.mts +3 -3
- package/dist/{identity-component-BCmEilvk.d.mts → identity-component-CgzvgBVh.d.mts} +32 -19
- package/dist/{identity-component-5neFUd2Q.d.cts → identity-component-uU0yDR-y.d.cts} +32 -19
- package/dist/{index-CQpE-5sx.d.mts → index-CfEs8NEA.d.mts} +24 -5
- package/dist/{index-DcirKLCP.d.mts → index-D4jK3qG1.d.mts} +9 -9
- package/dist/{index-CW6-OhB4.d.mts → index-DULE7rVz.d.mts} +37 -7
- package/dist/{index-BUadwkVZ.d.cts → index-DZvjMjYZ.d.cts} +9 -9
- package/dist/{index-BtPTY71-.d.cts → index-J5AU4JAU.d.cts} +37 -7
- package/dist/{index-6OSsa_UD.d.cts → index-qSeVF9hf.d.cts} +24 -5
- package/dist/pipelines/index.d.cts +1 -1
- package/dist/pipelines/index.d.mts +1 -1
- package/dist/systems/index.d.cts +1 -1
- package/dist/systems/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ComponentTypeUid, n as IdentityComponent, p as IComponent, t as BasicComponentType } from "../identity-component-uU0yDR-y.cjs";
|
|
2
2
|
export { BasicComponentType, ComponentTypeUid, IComponent, IdentityComponent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as ComponentTypeUid, n as IdentityComponent, p as IComponent, t as BasicComponentType } from "../identity-component-CgzvgBVh.mjs";
|
|
2
2
|
export { BasicComponentType, ComponentTypeUid, IComponent, IdentityComponent };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as IEntity, c as
|
|
2
|
-
import { a as IEntityUpdateQueue, c as EntityEventSubscriptionFilter, d as
|
|
3
|
-
export { EntityEventSubscriptionFilter, EntityEventUid, EntityProxy, EntityTypeUid, EntityUid, EntityUpdateType, IEntity, IEntityEvent, IEntityEventsDispatcher, IEntityEventsManager, IEntityModel,
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, d as TypedEntityProxy, i as EntityUid, l as IEntityProxyRepository, o as IEntityModel, r as EntityTypeUid, s as EntityProxy, u as RequiredProxies } from "../identity-component-uU0yDR-y.cjs";
|
|
2
|
+
import { a as IEntityUpdateQueue, c as EntityEventSubscriptionFilter, d as IEntityEvent, f as IEntityEventsDispatcher, i as IEntityUpdate, l as EntityEventSubscriptionOptions, m as IEventData, n as IEntityRepository, o as IEntitySnapshot, p as IEntityEventsManager, r as EntityUpdateType, s as IEntitySnapshotProvider, t as IEntityScheduler, u as EntityEventUid } from "../index-qSeVF9hf.cjs";
|
|
3
|
+
export { EntityEventSubscriptionFilter, EntityEventSubscriptionOptions, EntityEventUid, EntityProxy, EntityTypeUid, EntityUid, EntityUpdateType, IEntity, IEntityEvent, IEntityEventsDispatcher, IEntityEventsManager, IEntityModel, IEntityProxy, IEntityProxyRepository, IEntityRepository, IEntityScheduler, IEntitySnapshot, IEntitySnapshotProvider, IEntityUpdate, IEntityUpdateQueue, IEventData, RequiredProxies, TypedEntityProxy };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as IEntity, c as
|
|
2
|
-
import { a as IEntityUpdateQueue, c as EntityEventSubscriptionFilter, d as
|
|
3
|
-
export { EntityEventSubscriptionFilter, EntityEventUid, EntityProxy, EntityTypeUid, EntityUid, EntityUpdateType, IEntity, IEntityEvent, IEntityEventsDispatcher, IEntityEventsManager, IEntityModel,
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, d as TypedEntityProxy, i as EntityUid, l as IEntityProxyRepository, o as IEntityModel, r as EntityTypeUid, s as EntityProxy, u as RequiredProxies } from "../identity-component-CgzvgBVh.mjs";
|
|
2
|
+
import { a as IEntityUpdateQueue, c as EntityEventSubscriptionFilter, d as IEntityEvent, f as IEntityEventsDispatcher, i as IEntityUpdate, l as EntityEventSubscriptionOptions, m as IEventData, n as IEntityRepository, o as IEntitySnapshot, p as IEntityEventsManager, r as EntityUpdateType, s as IEntitySnapshotProvider, t as IEntityScheduler, u as EntityEventUid } from "../index-CfEs8NEA.mjs";
|
|
3
|
+
export { EntityEventSubscriptionFilter, EntityEventSubscriptionOptions, EntityEventUid, EntityProxy, EntityTypeUid, EntityUid, EntityUpdateType, IEntity, IEntityEvent, IEntityEventsDispatcher, IEntityEventsManager, IEntityModel, IEntityProxy, IEntityProxyRepository, IEntityRepository, IEntityScheduler, IEntitySnapshot, IEntitySnapshotProvider, IEntityUpdate, IEntityUpdateQueue, IEventData, RequiredProxies, TypedEntityProxy };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as IEntity } from "../identity-component-
|
|
2
|
-
import { l as IPipelineContext, o as IPipeline } from "../index-
|
|
3
|
-
import { n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, u as ISystemContext } from "../index-
|
|
1
|
+
import { a as IEntity } from "../identity-component-uU0yDR-y.cjs";
|
|
2
|
+
import { l as IPipelineContext, o as IPipeline } from "../index-DZvjMjYZ.cjs";
|
|
3
|
+
import { n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, u as ISystemContext } from "../index-J5AU4JAU.cjs";
|
|
4
4
|
|
|
5
5
|
//#region src/factories/context-factory.d.ts
|
|
6
6
|
interface IContextFactory {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as IEntity } from "../identity-component-
|
|
2
|
-
import { l as IPipelineContext, o as IPipeline } from "../index-
|
|
3
|
-
import { n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, u as ISystemContext } from "../index-
|
|
1
|
+
import { a as IEntity } from "../identity-component-CgzvgBVh.mjs";
|
|
2
|
+
import { l as IPipelineContext, o as IPipeline } from "../index-D4jK3qG1.mjs";
|
|
3
|
+
import { n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, u as ISystemContext } from "../index-DULE7rVz.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/factories/context-factory.d.ts
|
|
6
6
|
interface IContextFactory {
|
|
@@ -132,6 +132,27 @@ interface IEntityProxyRepository {
|
|
|
132
132
|
* @returns A readonly map of entity type UIDs to an array of their proxies.
|
|
133
133
|
*/
|
|
134
134
|
getAll(source: IEntityProxy): ReadonlyMap<EntityTypeUid, Readonly<IEntityProxy[]>>;
|
|
135
|
+
/**
|
|
136
|
+
* Registers an entity as a scoped proxy, making it resolvable by any entity in the same scope.
|
|
137
|
+
* Only entity types marked as scopeRoot or scopedProxy should be registered.
|
|
138
|
+
* @param entity - The entity to register as a scoped proxy.
|
|
139
|
+
* @param scopeId - The scope in which to register.
|
|
140
|
+
*/
|
|
141
|
+
setScopedProxy(entity: IEntityProxy, scopeId: string): void;
|
|
142
|
+
/**
|
|
143
|
+
* Retrieves a scoped proxy by scope ID and entity type.
|
|
144
|
+
* @param scopeId - The scope to look up.
|
|
145
|
+
* @param entityType - The entity type to resolve.
|
|
146
|
+
* @returns The scoped proxy, or null if none exists.
|
|
147
|
+
*/
|
|
148
|
+
getScopedProxy(scopeId: string, entityType: EntityTypeUid): IEntityProxy | null;
|
|
149
|
+
/**
|
|
150
|
+
* Removes an entity from the scoped proxy index.
|
|
151
|
+
* Called during entity cleanup to unregister from scope resolution.
|
|
152
|
+
* @param entity - The entity to remove.
|
|
153
|
+
* @param scopeId - The scope to remove from.
|
|
154
|
+
*/
|
|
155
|
+
removeScopedProxy(entity: IEntityProxy, scopeId: string): void;
|
|
135
156
|
}
|
|
136
157
|
//#endregion
|
|
137
158
|
//#region src/entities/entity.d.ts
|
|
@@ -147,32 +168,24 @@ type EntityTypeUid = string | number;
|
|
|
147
168
|
type EntityUid = string | number;
|
|
148
169
|
/**
|
|
149
170
|
* Represents the core identification and initialization data for an entity.
|
|
150
|
-
*
|
|
151
|
-
* Models are immutable and define the entity's initial structure.
|
|
171
|
+
* @template TProxyTypes - A readonly array of entity type IDs that must be provided as proxies when creating an entity.
|
|
152
172
|
*/
|
|
153
|
-
interface IEntityModel {
|
|
173
|
+
interface IEntityModel<TProxyTypes extends readonly EntityTypeUid[] = undefined> {
|
|
154
174
|
/**
|
|
155
175
|
* The unique identifier for this entity instance.
|
|
156
176
|
*/
|
|
157
177
|
readonly uid: EntityUid;
|
|
158
178
|
/**
|
|
159
|
-
*
|
|
160
|
-
*
|
|
179
|
+
* The scope this entity belongs to.
|
|
180
|
+
* Automatically set by the framework — scopeRoot entities generate a UUID,
|
|
181
|
+
* child entities inherit from their parent via addEntity().
|
|
161
182
|
*/
|
|
162
|
-
readonly
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Entity model with enforced required proxy relationships.
|
|
166
|
-
* Used when an entity requires specific relationships to be present from creation.
|
|
167
|
-
*
|
|
168
|
-
* @template TProxyTypes - A readonly array of entity type IDs that must be provided as proxies.
|
|
169
|
-
*/
|
|
170
|
-
interface IEntityModelWithRequiredProxies<TProxyTypes extends readonly EntityTypeUid[]> extends IEntityModel {
|
|
183
|
+
readonly scopeId?: string;
|
|
171
184
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
185
|
+
* Optional array of proxies (references) to other entities.
|
|
186
|
+
* Used to establish relationships at entity creation time.
|
|
174
187
|
*/
|
|
175
|
-
readonly proxies
|
|
188
|
+
readonly proxies?: RequiredProxies<TProxyTypes>;
|
|
176
189
|
}
|
|
177
190
|
/**
|
|
178
191
|
* The core entity interface representing a composition of components and relationships.
|
|
@@ -237,5 +250,5 @@ interface IdentityComponent<TModel extends IEntityModel> extends IComponent {
|
|
|
237
250
|
readonly lastUpdated?: Date;
|
|
238
251
|
}
|
|
239
252
|
//#endregion
|
|
240
|
-
export { IEntity as a,
|
|
241
|
-
//# sourceMappingURL=identity-component-
|
|
253
|
+
export { IEntity as a, IEntityProxy as c, TypedEntityProxy as d, ComponentTypeUid as f, EntityUid as i, IEntityProxyRepository as l, IdentityComponent as n, IEntityModel as o, IComponent as p, EntityTypeUid as r, EntityProxy as s, BasicComponentType as t, RequiredProxies as u };
|
|
254
|
+
//# sourceMappingURL=identity-component-CgzvgBVh.d.mts.map
|
|
@@ -132,6 +132,27 @@ interface IEntityProxyRepository {
|
|
|
132
132
|
* @returns A readonly map of entity type UIDs to an array of their proxies.
|
|
133
133
|
*/
|
|
134
134
|
getAll(source: IEntityProxy): ReadonlyMap<EntityTypeUid, Readonly<IEntityProxy[]>>;
|
|
135
|
+
/**
|
|
136
|
+
* Registers an entity as a scoped proxy, making it resolvable by any entity in the same scope.
|
|
137
|
+
* Only entity types marked as scopeRoot or scopedProxy should be registered.
|
|
138
|
+
* @param entity - The entity to register as a scoped proxy.
|
|
139
|
+
* @param scopeId - The scope in which to register.
|
|
140
|
+
*/
|
|
141
|
+
setScopedProxy(entity: IEntityProxy, scopeId: string): void;
|
|
142
|
+
/**
|
|
143
|
+
* Retrieves a scoped proxy by scope ID and entity type.
|
|
144
|
+
* @param scopeId - The scope to look up.
|
|
145
|
+
* @param entityType - The entity type to resolve.
|
|
146
|
+
* @returns The scoped proxy, or null if none exists.
|
|
147
|
+
*/
|
|
148
|
+
getScopedProxy(scopeId: string, entityType: EntityTypeUid): IEntityProxy | null;
|
|
149
|
+
/**
|
|
150
|
+
* Removes an entity from the scoped proxy index.
|
|
151
|
+
* Called during entity cleanup to unregister from scope resolution.
|
|
152
|
+
* @param entity - The entity to remove.
|
|
153
|
+
* @param scopeId - The scope to remove from.
|
|
154
|
+
*/
|
|
155
|
+
removeScopedProxy(entity: IEntityProxy, scopeId: string): void;
|
|
135
156
|
}
|
|
136
157
|
//#endregion
|
|
137
158
|
//#region src/entities/entity.d.ts
|
|
@@ -147,32 +168,24 @@ type EntityTypeUid = string | number;
|
|
|
147
168
|
type EntityUid = string | number;
|
|
148
169
|
/**
|
|
149
170
|
* Represents the core identification and initialization data for an entity.
|
|
150
|
-
*
|
|
151
|
-
* Models are immutable and define the entity's initial structure.
|
|
171
|
+
* @template TProxyTypes - A readonly array of entity type IDs that must be provided as proxies when creating an entity.
|
|
152
172
|
*/
|
|
153
|
-
interface IEntityModel {
|
|
173
|
+
interface IEntityModel<TProxyTypes extends readonly EntityTypeUid[] = undefined> {
|
|
154
174
|
/**
|
|
155
175
|
* The unique identifier for this entity instance.
|
|
156
176
|
*/
|
|
157
177
|
readonly uid: EntityUid;
|
|
158
178
|
/**
|
|
159
|
-
*
|
|
160
|
-
*
|
|
179
|
+
* The scope this entity belongs to.
|
|
180
|
+
* Automatically set by the framework — scopeRoot entities generate a UUID,
|
|
181
|
+
* child entities inherit from their parent via addEntity().
|
|
161
182
|
*/
|
|
162
|
-
readonly
|
|
163
|
-
}
|
|
164
|
-
/**
|
|
165
|
-
* Entity model with enforced required proxy relationships.
|
|
166
|
-
* Used when an entity requires specific relationships to be present from creation.
|
|
167
|
-
*
|
|
168
|
-
* @template TProxyTypes - A readonly array of entity type IDs that must be provided as proxies.
|
|
169
|
-
*/
|
|
170
|
-
interface IEntityModelWithRequiredProxies<TProxyTypes extends readonly EntityTypeUid[]> extends IEntityModel {
|
|
183
|
+
readonly scopeId?: string;
|
|
171
184
|
/**
|
|
172
|
-
*
|
|
173
|
-
*
|
|
185
|
+
* Optional array of proxies (references) to other entities.
|
|
186
|
+
* Used to establish relationships at entity creation time.
|
|
174
187
|
*/
|
|
175
|
-
readonly proxies
|
|
188
|
+
readonly proxies?: RequiredProxies<TProxyTypes>;
|
|
176
189
|
}
|
|
177
190
|
/**
|
|
178
191
|
* The core entity interface representing a composition of components and relationships.
|
|
@@ -237,5 +250,5 @@ interface IdentityComponent<TModel extends IEntityModel> extends IComponent {
|
|
|
237
250
|
readonly lastUpdated?: Date;
|
|
238
251
|
}
|
|
239
252
|
//#endregion
|
|
240
|
-
export { IEntity as a,
|
|
241
|
-
//# sourceMappingURL=identity-component-
|
|
253
|
+
export { IEntity as a, IEntityProxy as c, TypedEntityProxy as d, ComponentTypeUid as f, EntityUid as i, IEntityProxyRepository as l, IdentityComponent as n, IEntityModel as o, IComponent as p, EntityTypeUid as r, EntityProxy as s, BasicComponentType as t, RequiredProxies as u };
|
|
254
|
+
//# sourceMappingURL=identity-component-uU0yDR-y.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as IEntity,
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, n as IdentityComponent, o as IEntityModel, p as IComponent, r as EntityTypeUid } from "./identity-component-CgzvgBVh.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/entity-events.d.ts
|
|
4
4
|
/**
|
|
@@ -39,6 +39,25 @@ interface IEntityEvent<TEventData extends IEventData> {
|
|
|
39
39
|
* The event payload containing type-specific data.
|
|
40
40
|
*/
|
|
41
41
|
data: TEventData;
|
|
42
|
+
/**
|
|
43
|
+
* The scope of the dispatching entity.
|
|
44
|
+
* When set, the event is only delivered to subscribers in the same scope.
|
|
45
|
+
*/
|
|
46
|
+
scopeId?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Options for subscribing to an entity event.
|
|
50
|
+
*/
|
|
51
|
+
interface EntityEventSubscriptionOptions {
|
|
52
|
+
/**
|
|
53
|
+
* Optional function to determine which specific events are processed.
|
|
54
|
+
*/
|
|
55
|
+
filter?: EntityEventSubscriptionFilter;
|
|
56
|
+
/**
|
|
57
|
+
* The scope of the subscribing entity.
|
|
58
|
+
* When set, the subscriber only receives events from the same scope.
|
|
59
|
+
*/
|
|
60
|
+
scopeId?: string;
|
|
42
61
|
}
|
|
43
62
|
/**
|
|
44
63
|
* Manages subscriptions and dispatching for entity events.
|
|
@@ -51,9 +70,9 @@ interface IEntityEventsManager {
|
|
|
51
70
|
* The entity will be notified when events of that type are dispatched.
|
|
52
71
|
* @param uid - The event type to subscribe to.
|
|
53
72
|
* @param entity - The entity registering for this event type.
|
|
54
|
-
* @param
|
|
73
|
+
* @param options - Optional subscription options (filter, scopeId).
|
|
55
74
|
*/
|
|
56
|
-
subscribe(uid: EntityEventUid, entity: IEntityProxy,
|
|
75
|
+
subscribe(uid: EntityEventUid, entity: IEntityProxy, options?: EntityEventSubscriptionOptions): void;
|
|
57
76
|
/**
|
|
58
77
|
* Unsubscribes an entity from a specific event type.
|
|
59
78
|
* The entity will no longer receive notifications for this event type.
|
|
@@ -305,5 +324,5 @@ interface IEntityScheduler {
|
|
|
305
324
|
has(entityProxy: IEntityProxy): boolean;
|
|
306
325
|
}
|
|
307
326
|
//#endregion
|
|
308
|
-
export { IEntityUpdateQueue as a, EntityEventSubscriptionFilter as c,
|
|
309
|
-
//# sourceMappingURL=index-
|
|
327
|
+
export { IEntityUpdateQueue as a, EntityEventSubscriptionFilter as c, IEntityEvent as d, IEntityEventsDispatcher as f, IEntityUpdate as i, EntityEventSubscriptionOptions as l, IEventData as m, IEntityRepository as n, IEntitySnapshot as o, IEntityEventsManager as p, EntityUpdateType as r, IEntitySnapshotProvider as s, IEntityScheduler as t, EntityEventUid as u };
|
|
328
|
+
//# sourceMappingURL=index-CfEs8NEA.d.mts.map
|
|
@@ -60,14 +60,14 @@ interface IMiddleware<TContext extends IPipelineContext> {
|
|
|
60
60
|
* Can read and modify the context to influence downstream middleware and results.
|
|
61
61
|
* @param context The pipeline context containing all relevant state.
|
|
62
62
|
*/
|
|
63
|
-
action(context: TContext): void
|
|
63
|
+
action(context: TContext): void | Promise<void>;
|
|
64
64
|
/**
|
|
65
65
|
* Optional cleanup function executed during pipeline teardown.
|
|
66
66
|
* Middlewares execute in reverse registration order during cleanup phase.
|
|
67
67
|
* Used to release resources, clear temporary state, and perform final operations.
|
|
68
68
|
* @param context The pipeline context (may be in modified state from action phases).
|
|
69
69
|
*/
|
|
70
|
-
cleanup?(context: TContext): void
|
|
70
|
+
cleanup?(context: TContext): void | Promise<void>;
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/pipelines/middleware-runner.d.ts
|
|
@@ -85,14 +85,14 @@ interface IMiddlewareRunner<TContext extends IPipelineContext> {
|
|
|
85
85
|
* @param context The current pipeline context.
|
|
86
86
|
* @param middleware The middleware whose action should be executed.
|
|
87
87
|
*/
|
|
88
|
-
dispatch(context: TContext, middleware: IMiddleware<TContext>): void
|
|
88
|
+
dispatch(context: TContext, middleware: IMiddleware<TContext>): void | Promise<void>;
|
|
89
89
|
/**
|
|
90
90
|
* Decides how to execute a middleware's cleanup.
|
|
91
91
|
* Can add pre/post processing or error handling around cleanup operations.
|
|
92
92
|
* @param context The current pipeline context.
|
|
93
93
|
* @param middleware The middleware whose cleanup should be executed.
|
|
94
94
|
*/
|
|
95
|
-
cleanup(context: TContext, middleware: IMiddleware<TContext>): void
|
|
95
|
+
cleanup(context: TContext, middleware: IMiddleware<TContext>): void | Promise<void>;
|
|
96
96
|
}
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/pipelines/pipeline.d.ts
|
|
@@ -130,7 +130,7 @@ interface IPipeline<TContext extends IPipelineContext> {
|
|
|
130
130
|
* Execution continues until all middleware complete or a middleware requests early termination.
|
|
131
131
|
* @param context - The context object passed to all middleware.
|
|
132
132
|
*/
|
|
133
|
-
dispatch(context: Partial<TContext>): void
|
|
133
|
+
dispatch(context: Partial<TContext>): void | Promise<void>;
|
|
134
134
|
/**
|
|
135
135
|
* Executes the cleanup phase with all registered middleware in reverse order.
|
|
136
136
|
* Allows middleware to perform resource cleanup and final operations.
|
|
@@ -138,7 +138,7 @@ interface IPipeline<TContext extends IPipelineContext> {
|
|
|
138
138
|
*
|
|
139
139
|
* @param context - The context object that will be passed to each middleware function.
|
|
140
140
|
*/
|
|
141
|
-
cleanup(context: Partial<TContext>): void
|
|
141
|
+
cleanup(context: Partial<TContext>): void | Promise<void>;
|
|
142
142
|
}
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/pipelines/pipeline-nested.d.ts
|
|
@@ -209,7 +209,7 @@ interface IPipelineRunner<TContext extends IPipelineContext> {
|
|
|
209
209
|
* @param middleware - The ordered middleware array to execute.
|
|
210
210
|
* @param startIndex - Optional starting position in the middleware array (default: 0).
|
|
211
211
|
*/
|
|
212
|
-
dispatch(context: Partial<TContext>, middleware: IMiddleware<TContext>[], startIndex?: number): void
|
|
212
|
+
dispatch(context: Partial<TContext>, middleware: IMiddleware<TContext>[], startIndex?: number): void | Promise<void>;
|
|
213
213
|
/**
|
|
214
214
|
* Executes the cleanup phase of all middleware in reverse order.
|
|
215
215
|
* All middleware cleanup functions are called (if defined), regardless of errors.
|
|
@@ -217,8 +217,8 @@ interface IPipelineRunner<TContext extends IPipelineContext> {
|
|
|
217
217
|
* @param context - The context passed to each middleware cleanup.
|
|
218
218
|
* @param middleware - The ordered middleware array for cleanup (reversed during execution).
|
|
219
219
|
*/
|
|
220
|
-
cleanup(context: Partial<TContext>, middleware: IMiddleware<TContext>[]): void
|
|
220
|
+
cleanup(context: Partial<TContext>, middleware: IMiddleware<TContext>[]): void | Promise<void>;
|
|
221
221
|
}
|
|
222
222
|
//#endregion
|
|
223
223
|
export { IParentMiddleware as a, IMiddleware as c, IParentContext as i, IPipelineContext as l, INestedContext as n, IPipeline as o, INestedMiddleware as r, IMiddlewareRunner as s, IPipelineRunner as t, PipelineRuntime as u };
|
|
224
|
-
//# sourceMappingURL=index-
|
|
224
|
+
//# sourceMappingURL=index-D4jK3qG1.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as IEntity, c as
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, l as IEntityProxyRepository, o as IEntityModel, r as EntityTypeUid, s as EntityProxy } from "./identity-component-CgzvgBVh.mjs";
|
|
2
2
|
import { n as Immutable } from "./types-CnDtpKsY.mjs";
|
|
3
|
-
import { i as IEntityUpdate, l as
|
|
3
|
+
import { d as IEntityEvent, i as IEntityUpdate, l as EntityEventSubscriptionOptions, m as IEventData, o as IEntitySnapshot, u as EntityEventUid } from "./index-CfEs8NEA.mjs";
|
|
4
4
|
import { i as ILogger, n as PerformanceTimeEntry, s as IJsonSerializer } from "./index-BWmhFdFg.mjs";
|
|
5
|
-
import { c as IMiddleware, l as IPipelineContext, o as IPipeline } from "./index-
|
|
5
|
+
import { c as IMiddleware, l as IPipelineContext, o as IPipeline } from "./index-D4jK3qG1.mjs";
|
|
6
6
|
|
|
7
7
|
//#region src/systems/pipeline/system-context-events.d.ts
|
|
8
8
|
/**
|
|
@@ -50,9 +50,9 @@ interface ISystemContextEvents {
|
|
|
50
50
|
* Subscribes to events of a specific type.
|
|
51
51
|
* The entity will be notified of matching events through the update system.
|
|
52
52
|
* @param uid - The event type to listen for.
|
|
53
|
-
* @param
|
|
53
|
+
* @param options - Optional subscription options (filter, scopeId).
|
|
54
54
|
*/
|
|
55
|
-
subscribeTo
|
|
55
|
+
subscribeTo(uid: EntityEventUid, options?: EntityEventSubscriptionOptions): void;
|
|
56
56
|
/**
|
|
57
57
|
* Stops listening for events of a specific type.
|
|
58
58
|
* @param uid - The event type to stop listening for.
|
|
@@ -152,7 +152,7 @@ interface ISystemContextRepository {
|
|
|
152
152
|
* @param proxy - Reference to the entity.
|
|
153
153
|
* @returns The immutable entity instance.
|
|
154
154
|
*/
|
|
155
|
-
getEntity<TEntity extends IEntity>(proxy: EntityProxy<TEntity>): Immutable<TEntity>;
|
|
155
|
+
getEntity<TEntity extends IEntity>(proxy: EntityProxy<TEntity> | EntityTypeUid): Immutable<TEntity>;
|
|
156
156
|
/**
|
|
157
157
|
* Queues an entity for update.
|
|
158
158
|
* Triggers the update pipeline for the entity.
|
|
@@ -322,6 +322,19 @@ interface ISystemsModule<TEntity extends IEntity> {
|
|
|
322
322
|
* @returns The initialized entity.
|
|
323
323
|
*/
|
|
324
324
|
readonly initEntity?: (model: IEntityModel) => TEntity;
|
|
325
|
+
/**
|
|
326
|
+
* If true, this entity type creates a new scope boundary when initialized.
|
|
327
|
+
* A new scope ID is auto-generated. All child entities inherit this scope.
|
|
328
|
+
* Typically used for root entities like Engine.
|
|
329
|
+
*/
|
|
330
|
+
readonly scopeRoot?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* If true, this entity type registers itself as a scoped proxy when initialized.
|
|
333
|
+
* It joins the inherited scope and becomes resolvable via `context.proxies.get()`
|
|
334
|
+
* by any entity in the same scope. Throws if no scope exists.
|
|
335
|
+
* Typically used for scope-wide entities like Scene, Input, AssetsManager.
|
|
336
|
+
*/
|
|
337
|
+
readonly scopedProxy?: boolean;
|
|
325
338
|
}
|
|
326
339
|
//#endregion
|
|
327
340
|
//#region src/systems/pipeline/system-middleware.d.ts
|
|
@@ -365,6 +378,19 @@ interface ISystemsModuleBuilder<TEntity extends IEntity> {
|
|
|
365
378
|
* @returns This builder for method chaining.
|
|
366
379
|
*/
|
|
367
380
|
addModule<TModuleEntity extends TEntity>(module: ISystemsModule<TModuleEntity>, systemType?: SystemType): this;
|
|
381
|
+
/**
|
|
382
|
+
* Marks this entity type as a scope root.
|
|
383
|
+
* When initialized, a new scope is auto-generated and all child entities inherit it.
|
|
384
|
+
* @returns This builder for method chaining.
|
|
385
|
+
*/
|
|
386
|
+
setScopeRoot(): this;
|
|
387
|
+
/**
|
|
388
|
+
* Marks this entity type as a scoped proxy.
|
|
389
|
+
* When initialized, the entity registers itself in the inherited scope,
|
|
390
|
+
* making it resolvable via `context.proxies.get()` by any entity in the same scope.
|
|
391
|
+
* @returns This builder for method chaining.
|
|
392
|
+
*/
|
|
393
|
+
setScopedProxy(): this;
|
|
368
394
|
}
|
|
369
395
|
//#endregion
|
|
370
396
|
//#region src/systems/module/systems-module-repository.d.ts
|
|
@@ -469,6 +495,10 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
469
495
|
* The system context for the current entity execution.
|
|
470
496
|
*/
|
|
471
497
|
readonly systemContext: ISystemContext<TEntity>;
|
|
498
|
+
/**
|
|
499
|
+
* The proxy repository for managing entity proxy relationships and scopes.
|
|
500
|
+
*/
|
|
501
|
+
readonly proxyRepository: IEntityProxyRepository;
|
|
472
502
|
}
|
|
473
503
|
//#endregion
|
|
474
504
|
//#region src/systems/runtime/systems-runtime-middleware.d.ts
|
|
@@ -482,4 +512,4 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
482
512
|
type ISystemsRuntimeMiddleware<TEntity extends IEntity> = IMiddleware<ISystemsRuntimeContext<TEntity>>;
|
|
483
513
|
//#endregion
|
|
484
514
|
export { ISystemsModuleRepository as a, ISystemsModule as c, ISystemContextSnapshot as d, ISystemContextScheduler as f, ISystemContextEvents as h, ISystemContextEntity as i, SystemType as l, ISystemContextProxies as m, ISystemsRuntimeContext as n, ISystemsModuleBuilder as o, ISystemContextRepository as p, ISystemsRuntime as r, ISystemMiddleware as s, ISystemsRuntimeMiddleware as t, ISystemContext as u };
|
|
485
|
-
//# sourceMappingURL=index-
|
|
515
|
+
//# sourceMappingURL=index-DULE7rVz.d.mts.map
|
|
@@ -60,14 +60,14 @@ interface IMiddleware<TContext extends IPipelineContext> {
|
|
|
60
60
|
* Can read and modify the context to influence downstream middleware and results.
|
|
61
61
|
* @param context The pipeline context containing all relevant state.
|
|
62
62
|
*/
|
|
63
|
-
action(context: TContext): void
|
|
63
|
+
action(context: TContext): void | Promise<void>;
|
|
64
64
|
/**
|
|
65
65
|
* Optional cleanup function executed during pipeline teardown.
|
|
66
66
|
* Middlewares execute in reverse registration order during cleanup phase.
|
|
67
67
|
* Used to release resources, clear temporary state, and perform final operations.
|
|
68
68
|
* @param context The pipeline context (may be in modified state from action phases).
|
|
69
69
|
*/
|
|
70
|
-
cleanup?(context: TContext): void
|
|
70
|
+
cleanup?(context: TContext): void | Promise<void>;
|
|
71
71
|
}
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region src/pipelines/middleware-runner.d.ts
|
|
@@ -85,14 +85,14 @@ interface IMiddlewareRunner<TContext extends IPipelineContext> {
|
|
|
85
85
|
* @param context The current pipeline context.
|
|
86
86
|
* @param middleware The middleware whose action should be executed.
|
|
87
87
|
*/
|
|
88
|
-
dispatch(context: TContext, middleware: IMiddleware<TContext>): void
|
|
88
|
+
dispatch(context: TContext, middleware: IMiddleware<TContext>): void | Promise<void>;
|
|
89
89
|
/**
|
|
90
90
|
* Decides how to execute a middleware's cleanup.
|
|
91
91
|
* Can add pre/post processing or error handling around cleanup operations.
|
|
92
92
|
* @param context The current pipeline context.
|
|
93
93
|
* @param middleware The middleware whose cleanup should be executed.
|
|
94
94
|
*/
|
|
95
|
-
cleanup(context: TContext, middleware: IMiddleware<TContext>): void
|
|
95
|
+
cleanup(context: TContext, middleware: IMiddleware<TContext>): void | Promise<void>;
|
|
96
96
|
}
|
|
97
97
|
//#endregion
|
|
98
98
|
//#region src/pipelines/pipeline.d.ts
|
|
@@ -130,7 +130,7 @@ interface IPipeline<TContext extends IPipelineContext> {
|
|
|
130
130
|
* Execution continues until all middleware complete or a middleware requests early termination.
|
|
131
131
|
* @param context - The context object passed to all middleware.
|
|
132
132
|
*/
|
|
133
|
-
dispatch(context: Partial<TContext>): void
|
|
133
|
+
dispatch(context: Partial<TContext>): void | Promise<void>;
|
|
134
134
|
/**
|
|
135
135
|
* Executes the cleanup phase with all registered middleware in reverse order.
|
|
136
136
|
* Allows middleware to perform resource cleanup and final operations.
|
|
@@ -138,7 +138,7 @@ interface IPipeline<TContext extends IPipelineContext> {
|
|
|
138
138
|
*
|
|
139
139
|
* @param context - The context object that will be passed to each middleware function.
|
|
140
140
|
*/
|
|
141
|
-
cleanup(context: Partial<TContext>): void
|
|
141
|
+
cleanup(context: Partial<TContext>): void | Promise<void>;
|
|
142
142
|
}
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/pipelines/pipeline-nested.d.ts
|
|
@@ -209,7 +209,7 @@ interface IPipelineRunner<TContext extends IPipelineContext> {
|
|
|
209
209
|
* @param middleware - The ordered middleware array to execute.
|
|
210
210
|
* @param startIndex - Optional starting position in the middleware array (default: 0).
|
|
211
211
|
*/
|
|
212
|
-
dispatch(context: Partial<TContext>, middleware: IMiddleware<TContext>[], startIndex?: number): void
|
|
212
|
+
dispatch(context: Partial<TContext>, middleware: IMiddleware<TContext>[], startIndex?: number): void | Promise<void>;
|
|
213
213
|
/**
|
|
214
214
|
* Executes the cleanup phase of all middleware in reverse order.
|
|
215
215
|
* All middleware cleanup functions are called (if defined), regardless of errors.
|
|
@@ -217,8 +217,8 @@ interface IPipelineRunner<TContext extends IPipelineContext> {
|
|
|
217
217
|
* @param context - The context passed to each middleware cleanup.
|
|
218
218
|
* @param middleware - The ordered middleware array for cleanup (reversed during execution).
|
|
219
219
|
*/
|
|
220
|
-
cleanup(context: Partial<TContext>, middleware: IMiddleware<TContext>[]): void
|
|
220
|
+
cleanup(context: Partial<TContext>, middleware: IMiddleware<TContext>[]): void | Promise<void>;
|
|
221
221
|
}
|
|
222
222
|
//#endregion
|
|
223
223
|
export { IParentMiddleware as a, IMiddleware as c, IParentContext as i, IPipelineContext as l, INestedContext as n, IPipeline as o, INestedMiddleware as r, IMiddlewareRunner as s, IPipelineRunner as t, PipelineRuntime as u };
|
|
224
|
-
//# sourceMappingURL=index-
|
|
224
|
+
//# sourceMappingURL=index-DZvjMjYZ.d.cts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as IEntity, c as
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, l as IEntityProxyRepository, o as IEntityModel, r as EntityTypeUid, s as EntityProxy } from "./identity-component-uU0yDR-y.cjs";
|
|
2
2
|
import { n as Immutable } from "./types-DLOd2zXO.cjs";
|
|
3
|
-
import { i as IEntityUpdate, l as
|
|
3
|
+
import { d as IEntityEvent, i as IEntityUpdate, l as EntityEventSubscriptionOptions, m as IEventData, o as IEntitySnapshot, u as EntityEventUid } from "./index-qSeVF9hf.cjs";
|
|
4
4
|
import { i as ILogger, n as PerformanceTimeEntry, s as IJsonSerializer } from "./index-eECJUE_O.cjs";
|
|
5
|
-
import { c as IMiddleware, l as IPipelineContext, o as IPipeline } from "./index-
|
|
5
|
+
import { c as IMiddleware, l as IPipelineContext, o as IPipeline } from "./index-DZvjMjYZ.cjs";
|
|
6
6
|
|
|
7
7
|
//#region src/systems/pipeline/system-context-events.d.ts
|
|
8
8
|
/**
|
|
@@ -50,9 +50,9 @@ interface ISystemContextEvents {
|
|
|
50
50
|
* Subscribes to events of a specific type.
|
|
51
51
|
* The entity will be notified of matching events through the update system.
|
|
52
52
|
* @param uid - The event type to listen for.
|
|
53
|
-
* @param
|
|
53
|
+
* @param options - Optional subscription options (filter, scopeId).
|
|
54
54
|
*/
|
|
55
|
-
subscribeTo
|
|
55
|
+
subscribeTo(uid: EntityEventUid, options?: EntityEventSubscriptionOptions): void;
|
|
56
56
|
/**
|
|
57
57
|
* Stops listening for events of a specific type.
|
|
58
58
|
* @param uid - The event type to stop listening for.
|
|
@@ -152,7 +152,7 @@ interface ISystemContextRepository {
|
|
|
152
152
|
* @param proxy - Reference to the entity.
|
|
153
153
|
* @returns The immutable entity instance.
|
|
154
154
|
*/
|
|
155
|
-
getEntity<TEntity extends IEntity>(proxy: EntityProxy<TEntity>): Immutable<TEntity>;
|
|
155
|
+
getEntity<TEntity extends IEntity>(proxy: EntityProxy<TEntity> | EntityTypeUid): Immutable<TEntity>;
|
|
156
156
|
/**
|
|
157
157
|
* Queues an entity for update.
|
|
158
158
|
* Triggers the update pipeline for the entity.
|
|
@@ -322,6 +322,19 @@ interface ISystemsModule<TEntity extends IEntity> {
|
|
|
322
322
|
* @returns The initialized entity.
|
|
323
323
|
*/
|
|
324
324
|
readonly initEntity?: (model: IEntityModel) => TEntity;
|
|
325
|
+
/**
|
|
326
|
+
* If true, this entity type creates a new scope boundary when initialized.
|
|
327
|
+
* A new scope ID is auto-generated. All child entities inherit this scope.
|
|
328
|
+
* Typically used for root entities like Engine.
|
|
329
|
+
*/
|
|
330
|
+
readonly scopeRoot?: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* If true, this entity type registers itself as a scoped proxy when initialized.
|
|
333
|
+
* It joins the inherited scope and becomes resolvable via `context.proxies.get()`
|
|
334
|
+
* by any entity in the same scope. Throws if no scope exists.
|
|
335
|
+
* Typically used for scope-wide entities like Scene, Input, AssetsManager.
|
|
336
|
+
*/
|
|
337
|
+
readonly scopedProxy?: boolean;
|
|
325
338
|
}
|
|
326
339
|
//#endregion
|
|
327
340
|
//#region src/systems/pipeline/system-middleware.d.ts
|
|
@@ -365,6 +378,19 @@ interface ISystemsModuleBuilder<TEntity extends IEntity> {
|
|
|
365
378
|
* @returns This builder for method chaining.
|
|
366
379
|
*/
|
|
367
380
|
addModule<TModuleEntity extends TEntity>(module: ISystemsModule<TModuleEntity>, systemType?: SystemType): this;
|
|
381
|
+
/**
|
|
382
|
+
* Marks this entity type as a scope root.
|
|
383
|
+
* When initialized, a new scope is auto-generated and all child entities inherit it.
|
|
384
|
+
* @returns This builder for method chaining.
|
|
385
|
+
*/
|
|
386
|
+
setScopeRoot(): this;
|
|
387
|
+
/**
|
|
388
|
+
* Marks this entity type as a scoped proxy.
|
|
389
|
+
* When initialized, the entity registers itself in the inherited scope,
|
|
390
|
+
* making it resolvable via `context.proxies.get()` by any entity in the same scope.
|
|
391
|
+
* @returns This builder for method chaining.
|
|
392
|
+
*/
|
|
393
|
+
setScopedProxy(): this;
|
|
368
394
|
}
|
|
369
395
|
//#endregion
|
|
370
396
|
//#region src/systems/module/systems-module-repository.d.ts
|
|
@@ -469,6 +495,10 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
469
495
|
* The system context for the current entity execution.
|
|
470
496
|
*/
|
|
471
497
|
readonly systemContext: ISystemContext<TEntity>;
|
|
498
|
+
/**
|
|
499
|
+
* The proxy repository for managing entity proxy relationships and scopes.
|
|
500
|
+
*/
|
|
501
|
+
readonly proxyRepository: IEntityProxyRepository;
|
|
472
502
|
}
|
|
473
503
|
//#endregion
|
|
474
504
|
//#region src/systems/runtime/systems-runtime-middleware.d.ts
|
|
@@ -482,4 +512,4 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
482
512
|
type ISystemsRuntimeMiddleware<TEntity extends IEntity> = IMiddleware<ISystemsRuntimeContext<TEntity>>;
|
|
483
513
|
//#endregion
|
|
484
514
|
export { ISystemsModuleRepository as a, ISystemsModule as c, ISystemContextSnapshot as d, ISystemContextScheduler as f, ISystemContextEvents as h, ISystemContextEntity as i, SystemType as l, ISystemContextProxies as m, ISystemsRuntimeContext as n, ISystemsModuleBuilder as o, ISystemContextRepository as p, ISystemsRuntime as r, ISystemMiddleware as s, ISystemsRuntimeMiddleware as t, ISystemContext as u };
|
|
485
|
-
//# sourceMappingURL=index-
|
|
515
|
+
//# sourceMappingURL=index-J5AU4JAU.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as IEntity,
|
|
1
|
+
import { a as IEntity, c as IEntityProxy, n as IdentityComponent, o as IEntityModel, p as IComponent, r as EntityTypeUid } from "./identity-component-uU0yDR-y.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/entities/entity-events.d.ts
|
|
4
4
|
/**
|
|
@@ -39,6 +39,25 @@ interface IEntityEvent<TEventData extends IEventData> {
|
|
|
39
39
|
* The event payload containing type-specific data.
|
|
40
40
|
*/
|
|
41
41
|
data: TEventData;
|
|
42
|
+
/**
|
|
43
|
+
* The scope of the dispatching entity.
|
|
44
|
+
* When set, the event is only delivered to subscribers in the same scope.
|
|
45
|
+
*/
|
|
46
|
+
scopeId?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Options for subscribing to an entity event.
|
|
50
|
+
*/
|
|
51
|
+
interface EntityEventSubscriptionOptions {
|
|
52
|
+
/**
|
|
53
|
+
* Optional function to determine which specific events are processed.
|
|
54
|
+
*/
|
|
55
|
+
filter?: EntityEventSubscriptionFilter;
|
|
56
|
+
/**
|
|
57
|
+
* The scope of the subscribing entity.
|
|
58
|
+
* When set, the subscriber only receives events from the same scope.
|
|
59
|
+
*/
|
|
60
|
+
scopeId?: string;
|
|
42
61
|
}
|
|
43
62
|
/**
|
|
44
63
|
* Manages subscriptions and dispatching for entity events.
|
|
@@ -51,9 +70,9 @@ interface IEntityEventsManager {
|
|
|
51
70
|
* The entity will be notified when events of that type are dispatched.
|
|
52
71
|
* @param uid - The event type to subscribe to.
|
|
53
72
|
* @param entity - The entity registering for this event type.
|
|
54
|
-
* @param
|
|
73
|
+
* @param options - Optional subscription options (filter, scopeId).
|
|
55
74
|
*/
|
|
56
|
-
subscribe(uid: EntityEventUid, entity: IEntityProxy,
|
|
75
|
+
subscribe(uid: EntityEventUid, entity: IEntityProxy, options?: EntityEventSubscriptionOptions): void;
|
|
57
76
|
/**
|
|
58
77
|
* Unsubscribes an entity from a specific event type.
|
|
59
78
|
* The entity will no longer receive notifications for this event type.
|
|
@@ -305,5 +324,5 @@ interface IEntityScheduler {
|
|
|
305
324
|
has(entityProxy: IEntityProxy): boolean;
|
|
306
325
|
}
|
|
307
326
|
//#endregion
|
|
308
|
-
export { IEntityUpdateQueue as a, EntityEventSubscriptionFilter as c,
|
|
309
|
-
//# sourceMappingURL=index-
|
|
327
|
+
export { IEntityUpdateQueue as a, EntityEventSubscriptionFilter as c, IEntityEvent as d, IEntityEventsDispatcher as f, IEntityUpdate as i, EntityEventSubscriptionOptions as l, IEventData as m, IEntityRepository as n, IEntitySnapshot as o, IEntityEventsManager as p, EntityUpdateType as r, IEntitySnapshotProvider as s, IEntityScheduler as t, EntityEventUid as u };
|
|
328
|
+
//# sourceMappingURL=index-qSeVF9hf.d.cts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as IParentMiddleware, c as IMiddleware, i as IParentContext, l as IPipelineContext, n as INestedContext, o as IPipeline, r as INestedMiddleware, s as IMiddlewareRunner, t as IPipelineRunner, u as PipelineRuntime } from "../index-
|
|
1
|
+
import { a as IParentMiddleware, c as IMiddleware, i as IParentContext, l as IPipelineContext, n as INestedContext, o as IPipeline, r as INestedMiddleware, s as IMiddlewareRunner, t as IPipelineRunner, u as PipelineRuntime } from "../index-DZvjMjYZ.cjs";
|
|
2
2
|
export { IMiddleware, IMiddlewareRunner, INestedContext, INestedMiddleware, IParentContext, IParentMiddleware, IPipeline, IPipelineContext, IPipelineRunner, PipelineRuntime };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as IParentMiddleware, c as IMiddleware, i as IParentContext, l as IPipelineContext, n as INestedContext, o as IPipeline, r as INestedMiddleware, s as IMiddlewareRunner, t as IPipelineRunner, u as PipelineRuntime } from "../index-
|
|
1
|
+
import { a as IParentMiddleware, c as IMiddleware, i as IParentContext, l as IPipelineContext, n as INestedContext, o as IPipeline, r as INestedMiddleware, s as IMiddlewareRunner, t as IPipelineRunner, u as PipelineRuntime } from "../index-D4jK3qG1.mjs";
|
|
2
2
|
export { IMiddleware, IMiddlewareRunner, INestedContext, INestedMiddleware, IParentContext, IParentMiddleware, IPipeline, IPipelineContext, IPipelineRunner, PipelineRuntime };
|
package/dist/systems/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ISystemsModuleRepository, c as ISystemsModule, d as ISystemContextSnapshot, f as ISystemContextScheduler, h as ISystemContextEvents, i as ISystemContextEntity, l as SystemType, m as ISystemContextProxies, n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, p as ISystemContextRepository, r as ISystemsRuntime, s as ISystemMiddleware, t as ISystemsRuntimeMiddleware, u as ISystemContext } from "../index-
|
|
1
|
+
import { a as ISystemsModuleRepository, c as ISystemsModule, d as ISystemContextSnapshot, f as ISystemContextScheduler, h as ISystemContextEvents, i as ISystemContextEntity, l as SystemType, m as ISystemContextProxies, n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, p as ISystemContextRepository, r as ISystemsRuntime, s as ISystemMiddleware, t as ISystemsRuntimeMiddleware, u as ISystemContext } from "../index-J5AU4JAU.cjs";
|
|
2
2
|
export { ISystemContext, ISystemContextEntity, ISystemContextEvents, ISystemContextProxies, ISystemContextRepository, ISystemContextScheduler, ISystemContextSnapshot, ISystemMiddleware, ISystemsModule, ISystemsModuleBuilder, ISystemsModuleRepository, ISystemsRuntime, ISystemsRuntimeContext, ISystemsRuntimeMiddleware, SystemType };
|
package/dist/systems/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ISystemsModuleRepository, c as ISystemsModule, d as ISystemContextSnapshot, f as ISystemContextScheduler, h as ISystemContextEvents, i as ISystemContextEntity, l as SystemType, m as ISystemContextProxies, n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, p as ISystemContextRepository, r as ISystemsRuntime, s as ISystemMiddleware, t as ISystemsRuntimeMiddleware, u as ISystemContext } from "../index-
|
|
1
|
+
import { a as ISystemsModuleRepository, c as ISystemsModule, d as ISystemContextSnapshot, f as ISystemContextScheduler, h as ISystemContextEvents, i as ISystemContextEntity, l as SystemType, m as ISystemContextProxies, n as ISystemsRuntimeContext, o as ISystemsModuleBuilder, p as ISystemContextRepository, r as ISystemsRuntime, s as ISystemMiddleware, t as ISystemsRuntimeMiddleware, u as ISystemContext } from "../index-DULE7rVz.mjs";
|
|
2
2
|
export { ISystemContext, ISystemContextEntity, ISystemContextEvents, ISystemContextProxies, ISystemContextRepository, ISystemContextScheduler, ISystemContextSnapshot, ISystemMiddleware, ISystemsModule, ISystemsModuleBuilder, ISystemsModuleRepository, ISystemsRuntime, ISystemsRuntimeContext, ISystemsRuntimeMiddleware, SystemType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awesome-ecs/abstract",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "A comprehensive Entity-Component-System (ECS) Architecture implementation. Abstract components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"url": "https://github.com/privatebytes/awesome-ecs/issues"
|
|
98
98
|
},
|
|
99
99
|
"homepage": "https://github.com/privatebytes/awesome-ecs#readme",
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "1146c6993998eaf82e765a7822d6cde176857a89"
|
|
101
101
|
}
|