@almadar/core 10.84.0 → 10.85.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/builders.d.ts +3 -3
- package/dist/builders.js +9 -0
- package/dist/builders.js.map +1 -1
- package/dist/{effect-DruTSW2O.d.ts → effect-BgDiw_bG.d.ts} +19 -3
- package/dist/{entityAccess-BoYVXf3b.d.ts → entityAccess-DK5S_2cT.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory/index.js +180 -8
- package/dist/factory/index.js.map +1 -1
- package/dist/factory-runtime/index.d.ts +3 -3
- package/dist/factory-runtime/index.js +9 -0
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/{index-76Ff6JCE.d.ts → index-ChYsqVJj.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +289 -12
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +6 -1
- package/dist/patterns/event-contracts.json +1 -1
- package/dist/patterns/index.d.ts +367 -13
- package/dist/patterns/index.js +189 -11
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +181 -9
- package/dist/patterns/registry.json +181 -9
- package/dist/{schema-BdeZ8R35.d.ts → schema-BhfQb1oe.d.ts} +498 -2
- package/dist/state-machine/index.js +91 -1
- package/dist/state-machine/index.js.map +1 -1
- package/dist/{trait-DKJWX0Ru.d.ts → trait-pavNlGqm.d.ts} +122 -1
- package/dist/types/index.d.ts +5 -5
- package/dist/types/index.js +10 -0
- package/dist/types/index.js.map +1 -1
- package/dist/{types-CRr2IuTj.d.ts → types-CCAmdxcH.d.ts} +12 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-
|
|
2
|
-
import { T as TraitEventListener, a as TraitReference } from './trait-
|
|
1
|
+
import { E as EntityField, a as EntityPersistence, R as RelationConfig } from './effect-BgDiw_bG.js';
|
|
2
|
+
import { T as TraitEventListener, a as TraitReference } from './trait-pavNlGqm.js';
|
|
3
3
|
import { J as JsonValue } from './expression-Fk8bQWef.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -332,6 +332,16 @@ interface FactoryTraitSignature {
|
|
|
332
332
|
requires: ReadonlyArray<string>;
|
|
333
333
|
provides: ReadonlyArray<string>;
|
|
334
334
|
};
|
|
335
|
+
/** Inferred effect surface — every effect the trait produces, with its
|
|
336
|
+
* resource and whether it sits in a transition or a `ticks` block. Answers
|
|
337
|
+
* "what does composing this trait bring along?" without reading the atom.
|
|
338
|
+
* Absent on traits that produce no effects. */
|
|
339
|
+
effectRow?: ReadonlyArray<{
|
|
340
|
+
kind: string;
|
|
341
|
+
resource?: string;
|
|
342
|
+
resolved?: boolean;
|
|
343
|
+
site?: 'transition' | 'tick';
|
|
344
|
+
}>;
|
|
335
345
|
/** `@description` / `@synonyms` authored on the `@rebindable` binding —
|
|
336
346
|
* fed to catalog prose + knob-embeddings for binding-discovery. */
|
|
337
347
|
entityBindingDescription?: string;
|