@awesome-ecs/abstract 0.20.0 → 0.20.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/dist/factories/index.d.cts +1 -1
- package/dist/factories/index.d.ts +1 -1
- package/dist/pipelines/index.cjs.map +1 -1
- package/dist/systems/index.d.cts +2 -2
- package/dist/systems/index.d.ts +2 -2
- package/dist/{systems-runtime-context-B2ch9kB3.d.ts → systems-runtime-context-CDVzeB9f.d.ts} +0 -1
- package/dist/{systems-runtime-context-C-PeYs1I.d.cts → systems-runtime-context-CpgxOdc8.d.cts} +0 -1
- package/dist/utils/index.cjs.map +1 -1
- package/package.json +3 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as IEntity } from '../index-DK2CXVZ8.cjs';
|
|
2
|
-
import { I as ISystemsRuntimeContext, a as ISystemContext } from '../systems-runtime-context-
|
|
2
|
+
import { I as ISystemsRuntimeContext, a as ISystemContext } from '../systems-runtime-context-CpgxOdc8.cjs';
|
|
3
3
|
import { I as IPipelineContext, M as MiddlewareResult, a as IPipeline } from '../pipeline-BowCAITe.cjs';
|
|
4
4
|
import '../types-BNwBqRWY.cjs';
|
|
5
5
|
import '../entity-repository-DmfcUSrX.cjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as IEntity } from '../index-BPDsRt_F.js';
|
|
2
|
-
import { I as ISystemsRuntimeContext, a as ISystemContext } from '../systems-runtime-context-
|
|
2
|
+
import { I as ISystemsRuntimeContext, a as ISystemContext } from '../systems-runtime-context-CDVzeB9f.js';
|
|
3
3
|
import { I as IPipelineContext, M as MiddlewareResult, a as IPipeline } from '../pipeline-D43CXxWG.js';
|
|
4
4
|
import '../types-BNwBqRWY.js';
|
|
5
5
|
import '../entity-repository-BASmOrq7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/pipelines/index.ts","../../src/pipelines/pipeline-status.ts"],"sourcesContent":["export * from './middleware';\nexport * from './middleware-
|
|
1
|
+
{"version":3,"sources":["../../src/pipelines/index.ts","../../src/pipelines/pipeline-status.ts"],"sourcesContent":["export * from './middleware-result';\nexport * from './middleware-runner';\nexport * from './middleware';\nexport * from './pipeline-context';\nexport * from './pipeline-result';\nexport * from './pipeline-runner';\nexport * from './pipeline-status';\nexport * from './pipeline';\n","/**\n * The PipelineStatus tracks the current status of the pipeline.\n */\nexport enum PipelineStatus {\n idle = 'idle',\n ongoing = 'ongoing',\n completed = 'completed',\n halted = 'halted',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACGO,IAAK,iBAAL,kBAAKA,oBAAL;AACL,EAAAA,gBAAA,UAAO;AACP,EAAAA,gBAAA,aAAU;AACV,EAAAA,gBAAA,eAAY;AACZ,EAAAA,gBAAA,YAAS;AAJC,SAAAA;AAAA,GAAA;","names":["PipelineStatus"]}
|
package/dist/systems/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ISystemsRuntimeContext, a as ISystemContext, S as SystemType } from '../systems-runtime-context-
|
|
2
|
-
export { b as ISystemContextEntity, c as ISystemContextEvents, d as ISystemContextProxies, e as ISystemContextRepository, f as ISystemContextScheduler, g as ISystemContextSnapshot } from '../systems-runtime-context-
|
|
1
|
+
import { I as ISystemsRuntimeContext, a as ISystemContext, S as SystemType } from '../systems-runtime-context-CpgxOdc8.cjs';
|
|
2
|
+
export { b as ISystemContextEntity, c as ISystemContextEvents, d as ISystemContextProxies, e as ISystemContextRepository, f as ISystemContextScheduler, g as ISystemContextSnapshot } from '../systems-runtime-context-CpgxOdc8.cjs';
|
|
3
3
|
import { c as IEntity, E as EntityTypeUid } from '../index-DK2CXVZ8.cjs';
|
|
4
4
|
import { b as IMiddleware, P as PipelineResult } from '../pipeline-BowCAITe.cjs';
|
|
5
5
|
import { f as IEntityUpdate } from '../entity-repository-DmfcUSrX.cjs';
|
package/dist/systems/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as ISystemsRuntimeContext, a as ISystemContext, S as SystemType } from '../systems-runtime-context-
|
|
2
|
-
export { b as ISystemContextEntity, c as ISystemContextEvents, d as ISystemContextProxies, e as ISystemContextRepository, f as ISystemContextScheduler, g as ISystemContextSnapshot } from '../systems-runtime-context-
|
|
1
|
+
import { I as ISystemsRuntimeContext, a as ISystemContext, S as SystemType } from '../systems-runtime-context-CDVzeB9f.js';
|
|
2
|
+
export { b as ISystemContextEntity, c as ISystemContextEvents, d as ISystemContextProxies, e as ISystemContextRepository, f as ISystemContextScheduler, g as ISystemContextSnapshot } from '../systems-runtime-context-CDVzeB9f.js';
|
|
3
3
|
import { c as IEntity, E as EntityTypeUid } from '../index-BPDsRt_F.js';
|
|
4
4
|
import { b as IMiddleware, P as PipelineResult } from '../pipeline-D43CXxWG.js';
|
|
5
5
|
import { f as IEntityUpdate } from '../entity-repository-BASmOrq7.js';
|
package/dist/{systems-runtime-context-B2ch9kB3.d.ts → systems-runtime-context-CDVzeB9f.d.ts}
RENAMED
|
@@ -155,7 +155,6 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
155
155
|
readonly allowedSteps: Set<SystemType>;
|
|
156
156
|
readonly entityProvider: ISystemContextEntity;
|
|
157
157
|
readonly entityRepository: IEntityRepository;
|
|
158
|
-
readonly initEntity: (model: IEntityModel) => IEntity;
|
|
159
158
|
readonly systemPipelines: Map<SystemType, IPipeline<ISystemContext<TEntity>>>;
|
|
160
159
|
readonly systemContext: ISystemContext<TEntity>;
|
|
161
160
|
}
|
package/dist/{systems-runtime-context-C-PeYs1I.d.cts → systems-runtime-context-CpgxOdc8.d.cts}
RENAMED
|
@@ -155,7 +155,6 @@ interface ISystemsRuntimeContext<TEntity extends IEntity> extends IPipelineConte
|
|
|
155
155
|
readonly allowedSteps: Set<SystemType>;
|
|
156
156
|
readonly entityProvider: ISystemContextEntity;
|
|
157
157
|
readonly entityRepository: IEntityRepository;
|
|
158
|
-
readonly initEntity: (model: IEntityModel) => IEntity;
|
|
159
158
|
readonly systemPipelines: Map<SystemType, IPipeline<ISystemContext<TEntity>>>;
|
|
160
159
|
readonly systemContext: ISystemContext<TEntity>;
|
|
161
160
|
}
|
package/dist/utils/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/utils/index.ts","../../src/utils/logger.ts"],"sourcesContent":["export * from './json-serializer';\nexport * from './
|
|
1
|
+
{"version":3,"sources":["../../src/utils/index.ts","../../src/utils/logger.ts"],"sourcesContent":["export * from './json-serializer';\nexport * from './logger';\nexport * from './performance-timer';\nexport * from './types';\n","/**\n * An ILogger instance allows printing messages to console or other targets.\n */\nexport interface ILogger {\n log(level: LogLevel, message: any, ...args: any[]): void;\n\n trace(message: any, ...args: any[]): void;\n debug(message: any, ...args: any[]): void;\n warn(message: any, ...args: any[]): void;\n error(message: any, ...args: any[]): void;\n}\n\nexport enum LogLevel {\n trace,\n debug,\n warn,\n error,\n}\n\nexport interface ILoggerOptions {\n enabled: Map<LogLevel, boolean>;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACYO,IAAK,WAAL,kBAAKA,cAAL;AACL,EAAAA,oBAAA;AACA,EAAAA,oBAAA;AACA,EAAAA,oBAAA;AACA,EAAAA,oBAAA;AAJU,SAAAA;AAAA,GAAA;","names":["LogLevel"]}
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awesome-ecs/abstract",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"description": "A comprehensive Entity-Component-System (ECS) Architecture implementation. Abstract components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "npx tsup",
|
|
8
8
|
"build:clean": "npx rimraf ./dist && npm run build",
|
|
9
|
+
"clean": "npx rimraf ./dist",
|
|
9
10
|
"typecheck": "npx attw $(npm pack) --ignore-rules no-resolution",
|
|
10
11
|
"ts": "tsc --noEmit --incremental",
|
|
11
12
|
"ts:watch": "tsc --noEmit --incremental --watch"
|
|
@@ -96,5 +97,5 @@
|
|
|
96
97
|
"url": "https://github.com/privatebytes/awesome-ecs/issues"
|
|
97
98
|
},
|
|
98
99
|
"homepage": "https://github.com/privatebytes/awesome-ecs#readme",
|
|
99
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "1e449163cdde8d3740783b3c052bafb0d577b796"
|
|
100
101
|
}
|