@almadar/core 10.99.0 → 10.101.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.
Files changed (35) hide show
  1. package/dist/builders.d.ts +3 -3
  2. package/dist/builders.js +2 -0
  3. package/dist/builders.js.map +1 -1
  4. package/dist/{bus-BGDM3Xot.d.ts → bus-B8evi8AZ.d.ts} +34 -2
  5. package/dist/{effect-CW_IT0Jn.d.ts → effect-Hm_QDaSI.d.ts} +8 -2
  6. package/dist/{entityAccess-BLpOMojb.d.ts → entityAccess-DdcKps16.d.ts} +2 -2
  7. package/dist/factory/index.d.ts +4 -4
  8. package/dist/factory/index.js +14 -1
  9. package/dist/factory/index.js.map +1 -1
  10. package/dist/factory-runtime/index.d.ts +3 -3
  11. package/dist/factory-runtime/index.js +14 -0
  12. package/dist/factory-runtime/index.js.map +1 -1
  13. package/dist/fixtures.d.ts +2 -2
  14. package/dist/fixtures.js +12 -0
  15. package/dist/fixtures.js.map +1 -1
  16. package/dist/{index-CHHuux4I.d.ts → index-1b2JJVYl.d.ts} +30 -6
  17. package/dist/index.d.ts +12 -12
  18. package/dist/index.js +56 -5
  19. package/dist/index.js.map +1 -1
  20. package/dist/mock/index.d.ts +4 -4
  21. package/dist/mock/index.js.map +1 -1
  22. package/dist/patterns/component-mapping.json +1 -1
  23. package/dist/patterns/event-contracts.json +1 -1
  24. package/dist/patterns/index.d.ts +37 -6
  25. package/dist/patterns/index.js +17 -4
  26. package/dist/patterns/index.js.map +1 -1
  27. package/dist/patterns/patterns-registry.json +15 -2
  28. package/dist/patterns/registry.json +15 -2
  29. package/dist/{schema-BVjtoRYf.d.ts → schema-TqLV2wlK.d.ts} +174 -2
  30. package/dist/{trait-C9lr222u.d.ts → trait-YlNXc4H3.d.ts} +37 -1
  31. package/dist/types/index.d.ts +6 -6
  32. package/dist/types/index.js +31 -1
  33. package/dist/types/index.js.map +1 -1
  34. package/dist/{types-BoyvM79n.d.ts → types-Ug92oza4.d.ts} +2 -2
  35. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-CW_IT0Jn.js';
2
- import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-BVjtoRYf.js';
3
- import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-C9lr222u.js';
1
+ import { I as IdentityLedger, A as AnyPatternConfig, U as UISlot, c as Effect, l as RenderBinding, m as RenderUIEffect, e as EntityId, f as Entity, E as EntityField, a as EntityPersistence, g as EntityRow } from './effect-Hm_QDaSI.js';
2
+ import { a as OrbitalDefinition, O as OrbitalSchema, U as UseDeclaration, E as EntityRef, b as ExpectDeclaration, P as PageRef, c as Page, d as PageRefObject } from './schema-TqLV2wlK.js';
3
+ import { b as TraitConfig, h as Trait, T as TraitEventListener, i as CallSiteConfig, k as TraitEventContract, d as TraitRef, a as TraitReference } from './trait-YlNXc4H3.js';
4
4
  import { S as SExpr } from './expression-DRwzVnMu.js';
5
5
  import 'zod';
6
6
  import './json-D8gmyK3l.js';
package/dist/builders.js CHANGED
@@ -895,6 +895,8 @@ var TraitSchema = z.object({
895
895
  ticks: z.array(TraitTickSchema).optional(),
896
896
  emits: z.array(TraitEventContractSchema).optional(),
897
897
  listens: z.array(TraitEventListenerSchema).optional(),
898
+ /** Call-site rename map (`events { ACTION: CONFIRM_VOID }`) — mirrors `Trait.events`. */
899
+ events: z.record(z.string().min(1), z.string().min(1)).optional(),
898
900
  ui: TraitUIBindingSchema.optional(),
899
901
  config: DeclaredTraitConfigSchema.optional(),
900
902
  sourceBehavior: SourceBehaviorMetadataSchema.optional(),