@almadar/core 10.54.0 → 10.56.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 +9 -3
- package/dist/builders.js +26 -2
- package/dist/builders.js.map +1 -1
- package/dist/{effect-BlFO53UR.d.ts → effect-DxD-XTI8.d.ts} +1 -1
- package/dist/{entityAccess-B28lOfc_.d.ts → entityAccess-Bnz5CJ3S.d.ts} +1 -1
- package/dist/factory/index.d.ts +4 -4
- package/dist/factory-runtime/index.d.ts +22 -4
- package/dist/factory-runtime/index.js +46 -3
- package/dist/factory-runtime/index.js.map +1 -1
- package/dist/index.d.ts +48 -9
- package/dist/index.js +252 -6
- package/dist/index.js.map +1 -1
- package/dist/mock/index.d.ts +4 -4
- package/dist/patterns/component-mapping.json +1 -1
- package/dist/patterns/event-contracts.json +8 -1
- package/dist/patterns/index.d.ts +12 -5
- package/dist/patterns/index.js +10 -3
- package/dist/patterns/index.js.map +1 -1
- package/dist/patterns/patterns-registry.json +1 -1
- package/dist/patterns/registry.json +1 -1
- package/dist/{schema-BPC1Wuxb.d.ts → schema-Nk1usPv6.d.ts} +459 -3
- package/dist/{trait-RzDL-lSo.d.ts → trait-WnYkvPdZ.d.ts} +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/index.js +26 -3
- package/dist/types/index.js.map +1 -1
- package/dist/{types-8b5zy8ts.d.ts → types-C4YztU2N.d.ts} +15 -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-DxD-XTI8.js';
|
|
2
|
+
import { T as TraitEventListener, a as TraitReference } from './trait-WnYkvPdZ.js';
|
|
3
3
|
import { J as JsonValue } from './expression-Fk8bQWef.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -308,6 +308,19 @@ interface FactoryTraitSignature {
|
|
|
308
308
|
* fed to catalog prose + knob-embeddings for binding-discovery. */
|
|
309
309
|
entityBindingDescription?: string;
|
|
310
310
|
entityBindingSynonyms?: string;
|
|
311
|
+
/** Entity names this trait's state-machine effects reference
|
|
312
|
+
* (`stateMachine.transitions[].effects[]` — `persist create/update/delete`
|
|
313
|
+
* and `fetch`), deduplicated. Distinct from `linkedEntity` (the trait's
|
|
314
|
+
* OWN binding): this is every OTHER entity an effect reads or writes,
|
|
315
|
+
* e.g. `CheckoutWizard`'s `persist create OrderRecord` names
|
|
316
|
+
* `'OrderRecord'` here even though the trait itself is bound to
|
|
317
|
+
* `Checkout`. `subset_closure` (`packages/almadar-rabit`) uses this to
|
|
318
|
+
* detect a roster subset that would otherwise dangle a persist-effect
|
|
319
|
+
* reference the relation-field/`linkedEntity` walk alone can't see —
|
|
320
|
+
* measured cause of `ORB_EFF_FETCH_INVALID_ENTITY` on a scoped roster
|
|
321
|
+
* (`docs/Almadar_Studio_Failures_2026-08-04.md` §N). Absent = topology
|
|
322
|
+
* unknown (legacy catalogs), same convention as `transitionEvents`. */
|
|
323
|
+
effectEntityRefs?: ReadonlyArray<string>;
|
|
311
324
|
}
|
|
312
325
|
/** One event a trait emits or listens for, with its authored annotations — the
|
|
313
326
|
* per-event analogue of `FactorySignatureEntityField` / `FactoryConfigParam`.
|