@almadar/core 10.99.0 → 10.100.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-D69s_77B.d.ts} +25 -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 +13 -0
  12. package/dist/factory-runtime/index.js.map +1 -1
  13. package/dist/fixtures.d.ts +2 -2
  14. package/dist/fixtures.js +11 -0
  15. package/dist/fixtures.js.map +1 -1
  16. package/dist/{index-CHHuux4I.d.ts → index-DPdJPQZe.d.ts} +5 -5
  17. package/dist/index.d.ts +12 -12
  18. package/dist/index.js +47 -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 +30 -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
1
  import { z } from 'zod';
2
- import { O as OrbitalEventRequest, a as OrbitalEventResponse, E as EmittedEvent, C as ClientEffectTuple, L as LiveBroadcastItem } from './bus-BGDM3Xot.js';
3
- import './effect-CW_IT0Jn.js';
2
+ import { O as OrbitalEventRequest, a as OrbitalEventResponse, E as EmittedEvent, C as ClientEffectTuple, L as LiveBroadcastItem } from './bus-D69s_77B.js';
3
+ import './effect-Hm_QDaSI.js';
4
4
  import './expression-DRwzVnMu.js';
5
5
  import './json-D8gmyK3l.js';
6
6
 
package/dist/fixtures.js CHANGED
@@ -627,6 +627,17 @@ var OrbitalEventResponseSchema = z.object({
627
627
  clientEffectsByTrait: z.array(z.object({ traitName: z.string(), effect: ClientEffectTupleSchema })).optional(),
628
628
  effectResults: z.array(ServerEffectResultSchema).optional(),
629
629
  guardFailed: z.string().optional(),
630
+ rejections: z.array(
631
+ z.object({
632
+ code: z.enum(["no-matching-transition", "guard-rejected", "no-dispatchable-traits"]),
633
+ trait: z.string().optional(),
634
+ from: z.string().optional(),
635
+ event: z.string().optional(),
636
+ statesDeclaringEvent: z.array(z.string()).optional(),
637
+ transition: z.string().optional(),
638
+ guard: z.unknown().optional()
639
+ })
640
+ ).optional(),
630
641
  error: z.string().optional()
631
642
  });
632
643
  var LiveBroadcastItemSchema = z.object({