@auto-engineer/narrative 0.19.1 → 0.20.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 (49) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-format.log +4 -0
  3. package/.turbo/turbo-lint.log +4 -0
  4. package/.turbo/turbo-test.log +14 -0
  5. package/.turbo/turbo-type-check.log +4 -0
  6. package/CHANGELOG.md +4 -7
  7. package/dist/src/commands/export-schema-runner.d.ts +3 -0
  8. package/dist/src/commands/export-schema-runner.d.ts.map +1 -0
  9. package/dist/src/commands/export-schema-runner.js +48 -0
  10. package/dist/src/commands/export-schema-runner.js.map +1 -0
  11. package/dist/src/fluent-builder.specs.d.ts +2 -0
  12. package/dist/src/fluent-builder.specs.d.ts.map +1 -0
  13. package/dist/src/fluent-builder.specs.js +28 -0
  14. package/dist/src/fluent-builder.specs.js.map +1 -0
  15. package/dist/src/getNarratives.cache.specs.d.ts +2 -0
  16. package/dist/src/getNarratives.cache.specs.d.ts.map +1 -0
  17. package/dist/src/getNarratives.cache.specs.js +234 -0
  18. package/dist/src/getNarratives.cache.specs.js.map +1 -0
  19. package/dist/src/getNarratives.specs.d.ts +2 -0
  20. package/dist/src/getNarratives.specs.d.ts.map +1 -0
  21. package/dist/src/getNarratives.specs.js +1307 -0
  22. package/dist/src/getNarratives.specs.js.map +1 -0
  23. package/dist/src/id/addAutoIds.specs.d.ts +2 -0
  24. package/dist/src/id/addAutoIds.specs.d.ts.map +1 -0
  25. package/dist/src/id/addAutoIds.specs.js +602 -0
  26. package/dist/src/id/addAutoIds.specs.js.map +1 -0
  27. package/dist/src/id/hasAllIds.specs.d.ts +2 -0
  28. package/dist/src/id/hasAllIds.specs.d.ts.map +1 -0
  29. package/dist/src/id/hasAllIds.specs.js +424 -0
  30. package/dist/src/id/hasAllIds.specs.js.map +1 -0
  31. package/dist/src/model-to-narrative.specs.d.ts +2 -0
  32. package/dist/src/model-to-narrative.specs.d.ts.map +1 -0
  33. package/dist/src/model-to-narrative.specs.js +2437 -0
  34. package/dist/src/model-to-narrative.specs.js.map +1 -0
  35. package/dist/src/narrative-context.specs.d.ts +2 -0
  36. package/dist/src/narrative-context.specs.d.ts.map +1 -0
  37. package/dist/src/narrative-context.specs.js +260 -0
  38. package/dist/src/narrative-context.specs.js.map +1 -0
  39. package/dist/src/schema.d.ts +302 -302
  40. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts +2 -0
  41. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts.map +1 -0
  42. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js +142 -0
  43. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js.map +1 -0
  44. package/dist/src/transformers/narrative-to-model/type-inference.specs.d.ts +2 -0
  45. package/dist/src/transformers/narrative-to-model/type-inference.specs.d.ts.map +1 -0
  46. package/dist/src/transformers/narrative-to-model/type-inference.specs.js +177 -0
  47. package/dist/src/transformers/narrative-to-model/type-inference.specs.js.map +1 -0
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/package.json +4 -4
@@ -3,11 +3,11 @@ export declare const MessageRefSchema: z.ZodObject<{
3
3
  kind: z.ZodEnum<["command", "event", "state"]>;
4
4
  name: z.ZodString;
5
5
  }, "strip", z.ZodTypeAny, {
6
- kind: "command" | "event" | "state";
7
6
  name: string;
8
- }, {
9
7
  kind: "command" | "event" | "state";
8
+ }, {
10
9
  name: string;
10
+ kind: "command" | "event" | "state";
11
11
  }>;
12
12
  export declare const ModuleSchema: z.ZodObject<{
13
13
  id: z.ZodString;
@@ -25,21 +25,21 @@ export declare const ModuleSchema: z.ZodObject<{
25
25
  kind: z.ZodEnum<["command", "event", "state"]>;
26
26
  name: z.ZodString;
27
27
  }, "strip", z.ZodTypeAny, {
28
- kind: "command" | "event" | "state";
29
28
  name: string;
30
- }, {
31
29
  kind: "command" | "event" | "state";
30
+ }, {
32
31
  name: string;
32
+ kind: "command" | "event" | "state";
33
33
  }>, "many">;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  messages: {
36
- kind: "command" | "event" | "state";
37
36
  name: string;
37
+ kind: "command" | "event" | "state";
38
38
  }[];
39
39
  }, {
40
40
  messages: {
41
- kind: "command" | "event" | "state";
42
41
  name: string;
42
+ kind: "command" | "event" | "state";
43
43
  }[];
44
44
  }>;
45
45
  }, "strip", z.ZodTypeAny, {
@@ -51,8 +51,8 @@ export declare const ModuleSchema: z.ZodObject<{
51
51
  };
52
52
  declares: {
53
53
  messages: {
54
- kind: "command" | "event" | "state";
55
54
  name: string;
55
+ kind: "command" | "event" | "state";
56
56
  }[];
57
57
  };
58
58
  }, {
@@ -64,8 +64,8 @@ export declare const ModuleSchema: z.ZodObject<{
64
64
  };
65
65
  declares: {
66
66
  messages: {
67
- kind: "command" | "event" | "state";
68
67
  name: string;
68
+ kind: "command" | "event" | "state";
69
69
  }[];
70
70
  };
71
71
  }>;
@@ -87,11 +87,11 @@ export declare const MessageTargetSchema: z.ZodObject<{
87
87
  name: z.ZodString;
88
88
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- type: "Command" | "Event" | "State";
90
+ type: "Event" | "Command" | "State";
91
91
  name: string;
92
92
  fields?: Record<string, unknown> | undefined;
93
93
  }, {
94
- type: "Command" | "Event" | "State";
94
+ type: "Event" | "Command" | "State";
95
95
  name: string;
96
96
  fields?: Record<string, unknown> | undefined;
97
97
  }>;
@@ -215,11 +215,11 @@ declare const DataSinkSchema: z.ZodObject<{
215
215
  name: z.ZodString;
216
216
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
217
217
  }, "strip", z.ZodTypeAny, {
218
- type: "Command" | "Event" | "State";
218
+ type: "Event" | "Command" | "State";
219
219
  name: string;
220
220
  fields?: Record<string, unknown> | undefined;
221
221
  }, {
222
- type: "Command" | "Event" | "State";
222
+ type: "Event" | "Command" | "State";
223
223
  name: string;
224
224
  fields?: Record<string, unknown> | undefined;
225
225
  }>;
@@ -287,11 +287,11 @@ declare const DataSinkSchema: z.ZodObject<{
287
287
  name: z.ZodString;
288
288
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
289
289
  }, "strip", z.ZodTypeAny, {
290
- type: "Command" | "Event" | "State";
290
+ type: "Event" | "Command" | "State";
291
291
  name: string;
292
292
  fields?: Record<string, unknown> | undefined;
293
293
  }, {
294
- type: "Command" | "Event" | "State";
294
+ type: "Event" | "Command" | "State";
295
295
  name: string;
296
296
  fields?: Record<string, unknown> | undefined;
297
297
  }>;
@@ -357,7 +357,7 @@ declare const DataSinkSchema: z.ZodObject<{
357
357
  _additionalInstructions: z.ZodOptional<z.ZodString>;
358
358
  }, "strip", z.ZodTypeAny, {
359
359
  target: {
360
- type: "Command" | "Event" | "State";
360
+ type: "Event" | "Command" | "State";
361
361
  name: string;
362
362
  fields?: Record<string, unknown> | undefined;
363
363
  };
@@ -386,7 +386,7 @@ declare const DataSinkSchema: z.ZodObject<{
386
386
  _additionalInstructions?: string | undefined;
387
387
  }, {
388
388
  target: {
389
- type: "Command" | "Event" | "State";
389
+ type: "Event" | "Command" | "State";
390
390
  name: string;
391
391
  fields?: Record<string, unknown> | undefined;
392
392
  };
@@ -416,7 +416,7 @@ declare const DataSinkSchema: z.ZodObject<{
416
416
  }>>>;
417
417
  }, "strip", z.ZodTypeAny, {
418
418
  target: {
419
- type: "Command" | "Event" | "State";
419
+ type: "Event" | "Command" | "State";
420
420
  name: string;
421
421
  fields?: Record<string, unknown> | undefined;
422
422
  };
@@ -442,7 +442,7 @@ declare const DataSinkSchema: z.ZodObject<{
442
442
  _additionalInstructions?: string | undefined;
443
443
  _withState?: {
444
444
  target: {
445
- type: "Command" | "Event" | "State";
445
+ type: "Event" | "Command" | "State";
446
446
  name: string;
447
447
  fields?: Record<string, unknown> | undefined;
448
448
  };
@@ -472,7 +472,7 @@ declare const DataSinkSchema: z.ZodObject<{
472
472
  } | undefined;
473
473
  }, {
474
474
  target: {
475
- type: "Command" | "Event" | "State";
475
+ type: "Event" | "Command" | "State";
476
476
  name: string;
477
477
  fields?: Record<string, unknown> | undefined;
478
478
  };
@@ -498,7 +498,7 @@ declare const DataSinkSchema: z.ZodObject<{
498
498
  _additionalInstructions?: string | undefined;
499
499
  _withState?: {
500
500
  target: {
501
- type: "Command" | "Event" | "State";
501
+ type: "Event" | "Command" | "State";
502
502
  name: string;
503
503
  fields?: Record<string, unknown> | undefined;
504
504
  };
@@ -534,11 +534,11 @@ declare const DataSourceSchema: z.ZodObject<{
534
534
  name: z.ZodString;
535
535
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
536
536
  }, "strip", z.ZodTypeAny, {
537
- type: "Command" | "Event" | "State";
537
+ type: "Event" | "Command" | "State";
538
538
  name: string;
539
539
  fields?: Record<string, unknown> | undefined;
540
540
  }, {
541
- type: "Command" | "Event" | "State";
541
+ type: "Event" | "Command" | "State";
542
542
  name: string;
543
543
  fields?: Record<string, unknown> | undefined;
544
544
  }>;
@@ -604,7 +604,7 @@ declare const DataSourceSchema: z.ZodObject<{
604
604
  _additionalInstructions: z.ZodOptional<z.ZodString>;
605
605
  }, "strip", z.ZodTypeAny, {
606
606
  target: {
607
- type: "Command" | "Event" | "State";
607
+ type: "Event" | "Command" | "State";
608
608
  name: string;
609
609
  fields?: Record<string, unknown> | undefined;
610
610
  };
@@ -633,7 +633,7 @@ declare const DataSourceSchema: z.ZodObject<{
633
633
  _additionalInstructions?: string | undefined;
634
634
  }, {
635
635
  target: {
636
- type: "Command" | "Event" | "State";
636
+ type: "Event" | "Command" | "State";
637
637
  name: string;
638
638
  fields?: Record<string, unknown> | undefined;
639
639
  };
@@ -773,8 +773,8 @@ declare const EventSchema: z.ZodObject<{
773
773
  type: z.ZodLiteral<"event">;
774
774
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
775
775
  }, "strip", z.ZodTypeAny, {
776
- type: "event";
777
776
  source: "internal" | "external";
777
+ type: "event";
778
778
  name: string;
779
779
  fields: {
780
780
  type: string;
@@ -955,8 +955,8 @@ declare const MessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
955
955
  type: z.ZodLiteral<"event">;
956
956
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
957
957
  }, "strip", z.ZodTypeAny, {
958
- type: "event";
959
958
  source: "internal" | "external";
959
+ type: "event";
960
960
  name: string;
961
961
  fields: {
962
962
  type: string;
@@ -1559,11 +1559,11 @@ declare const CommandSliceSchema: z.ZodObject<{
1559
1559
  name: z.ZodString;
1560
1560
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
- type: "Command" | "Event" | "State";
1562
+ type: "Event" | "Command" | "State";
1563
1563
  name: string;
1564
1564
  fields?: Record<string, unknown> | undefined;
1565
1565
  }, {
1566
- type: "Command" | "Event" | "State";
1566
+ type: "Event" | "Command" | "State";
1567
1567
  name: string;
1568
1568
  fields?: Record<string, unknown> | undefined;
1569
1569
  }>;
@@ -1631,11 +1631,11 @@ declare const CommandSliceSchema: z.ZodObject<{
1631
1631
  name: z.ZodString;
1632
1632
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1633
1633
  }, "strip", z.ZodTypeAny, {
1634
- type: "Command" | "Event" | "State";
1634
+ type: "Event" | "Command" | "State";
1635
1635
  name: string;
1636
1636
  fields?: Record<string, unknown> | undefined;
1637
1637
  }, {
1638
- type: "Command" | "Event" | "State";
1638
+ type: "Event" | "Command" | "State";
1639
1639
  name: string;
1640
1640
  fields?: Record<string, unknown> | undefined;
1641
1641
  }>;
@@ -1701,7 +1701,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1701
1701
  _additionalInstructions: z.ZodOptional<z.ZodString>;
1702
1702
  }, "strip", z.ZodTypeAny, {
1703
1703
  target: {
1704
- type: "Command" | "Event" | "State";
1704
+ type: "Event" | "Command" | "State";
1705
1705
  name: string;
1706
1706
  fields?: Record<string, unknown> | undefined;
1707
1707
  };
@@ -1730,7 +1730,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1730
1730
  _additionalInstructions?: string | undefined;
1731
1731
  }, {
1732
1732
  target: {
1733
- type: "Command" | "Event" | "State";
1733
+ type: "Event" | "Command" | "State";
1734
1734
  name: string;
1735
1735
  fields?: Record<string, unknown> | undefined;
1736
1736
  };
@@ -1760,7 +1760,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1760
1760
  }>>>;
1761
1761
  }, "strip", z.ZodTypeAny, {
1762
1762
  target: {
1763
- type: "Command" | "Event" | "State";
1763
+ type: "Event" | "Command" | "State";
1764
1764
  name: string;
1765
1765
  fields?: Record<string, unknown> | undefined;
1766
1766
  };
@@ -1786,7 +1786,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1786
1786
  _additionalInstructions?: string | undefined;
1787
1787
  _withState?: {
1788
1788
  target: {
1789
- type: "Command" | "Event" | "State";
1789
+ type: "Event" | "Command" | "State";
1790
1790
  name: string;
1791
1791
  fields?: Record<string, unknown> | undefined;
1792
1792
  };
@@ -1816,7 +1816,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1816
1816
  } | undefined;
1817
1817
  }, {
1818
1818
  target: {
1819
- type: "Command" | "Event" | "State";
1819
+ type: "Event" | "Command" | "State";
1820
1820
  name: string;
1821
1821
  fields?: Record<string, unknown> | undefined;
1822
1822
  };
@@ -1842,7 +1842,7 @@ declare const CommandSliceSchema: z.ZodObject<{
1842
1842
  _additionalInstructions?: string | undefined;
1843
1843
  _withState?: {
1844
1844
  target: {
1845
- type: "Command" | "Event" | "State";
1845
+ type: "Event" | "Command" | "State";
1846
1846
  name: string;
1847
1847
  fields?: Record<string, unknown> | undefined;
1848
1848
  };
@@ -2079,7 +2079,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2079
2079
  }[];
2080
2080
  data?: {
2081
2081
  target: {
2082
- type: "Command" | "Event" | "State";
2082
+ type: "Event" | "Command" | "State";
2083
2083
  name: string;
2084
2084
  fields?: Record<string, unknown> | undefined;
2085
2085
  };
@@ -2105,7 +2105,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2105
2105
  _additionalInstructions?: string | undefined;
2106
2106
  _withState?: {
2107
2107
  target: {
2108
- type: "Command" | "Event" | "State";
2108
+ type: "Event" | "Command" | "State";
2109
2109
  name: string;
2110
2110
  fields?: Record<string, unknown> | undefined;
2111
2111
  };
@@ -2164,7 +2164,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2164
2164
  }[];
2165
2165
  data?: {
2166
2166
  target: {
2167
- type: "Command" | "Event" | "State";
2167
+ type: "Event" | "Command" | "State";
2168
2168
  name: string;
2169
2169
  fields?: Record<string, unknown> | undefined;
2170
2170
  };
@@ -2190,7 +2190,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2190
2190
  _additionalInstructions?: string | undefined;
2191
2191
  _withState?: {
2192
2192
  target: {
2193
- type: "Command" | "Event" | "State";
2193
+ type: "Event" | "Command" | "State";
2194
2194
  name: string;
2195
2195
  fields?: Record<string, unknown> | undefined;
2196
2196
  };
@@ -2256,7 +2256,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2256
2256
  }[];
2257
2257
  data?: {
2258
2258
  target: {
2259
- type: "Command" | "Event" | "State";
2259
+ type: "Event" | "Command" | "State";
2260
2260
  name: string;
2261
2261
  fields?: Record<string, unknown> | undefined;
2262
2262
  };
@@ -2282,7 +2282,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2282
2282
  _additionalInstructions?: string | undefined;
2283
2283
  _withState?: {
2284
2284
  target: {
2285
- type: "Command" | "Event" | "State";
2285
+ type: "Event" | "Command" | "State";
2286
2286
  name: string;
2287
2287
  fields?: Record<string, unknown> | undefined;
2288
2288
  };
@@ -2354,7 +2354,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2354
2354
  }[];
2355
2355
  data?: {
2356
2356
  target: {
2357
- type: "Command" | "Event" | "State";
2357
+ type: "Event" | "Command" | "State";
2358
2358
  name: string;
2359
2359
  fields?: Record<string, unknown> | undefined;
2360
2360
  };
@@ -2380,7 +2380,7 @@ declare const CommandSliceSchema: z.ZodObject<{
2380
2380
  _additionalInstructions?: string | undefined;
2381
2381
  _withState?: {
2382
2382
  target: {
2383
- type: "Command" | "Event" | "State";
2383
+ type: "Event" | "Command" | "State";
2384
2384
  name: string;
2385
2385
  fields?: Record<string, unknown> | undefined;
2386
2386
  };
@@ -2443,11 +2443,11 @@ declare const QuerySliceSchema: z.ZodObject<{
2443
2443
  name: z.ZodString;
2444
2444
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2445
2445
  }, "strip", z.ZodTypeAny, {
2446
- type: "Command" | "Event" | "State";
2446
+ type: "Event" | "Command" | "State";
2447
2447
  name: string;
2448
2448
  fields?: Record<string, unknown> | undefined;
2449
2449
  }, {
2450
- type: "Command" | "Event" | "State";
2450
+ type: "Event" | "Command" | "State";
2451
2451
  name: string;
2452
2452
  fields?: Record<string, unknown> | undefined;
2453
2453
  }>;
@@ -2513,7 +2513,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2513
2513
  _additionalInstructions: z.ZodOptional<z.ZodString>;
2514
2514
  }, "strip", z.ZodTypeAny, {
2515
2515
  target: {
2516
- type: "Command" | "Event" | "State";
2516
+ type: "Event" | "Command" | "State";
2517
2517
  name: string;
2518
2518
  fields?: Record<string, unknown> | undefined;
2519
2519
  };
@@ -2542,7 +2542,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2542
2542
  _additionalInstructions?: string | undefined;
2543
2543
  }, {
2544
2544
  target: {
2545
- type: "Command" | "Event" | "State";
2545
+ type: "Event" | "Command" | "State";
2546
2546
  name: string;
2547
2547
  fields?: Record<string, unknown> | undefined;
2548
2548
  };
@@ -2778,7 +2778,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2778
2778
  }[];
2779
2779
  data?: {
2780
2780
  target: {
2781
- type: "Command" | "Event" | "State";
2781
+ type: "Event" | "Command" | "State";
2782
2782
  name: string;
2783
2783
  fields?: Record<string, unknown> | undefined;
2784
2784
  };
@@ -2836,7 +2836,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2836
2836
  }[];
2837
2837
  data?: {
2838
2838
  target: {
2839
- type: "Command" | "Event" | "State";
2839
+ type: "Event" | "Command" | "State";
2840
2840
  name: string;
2841
2841
  fields?: Record<string, unknown> | undefined;
2842
2842
  };
@@ -2901,7 +2901,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2901
2901
  }[];
2902
2902
  data?: {
2903
2903
  target: {
2904
- type: "Command" | "Event" | "State";
2904
+ type: "Event" | "Command" | "State";
2905
2905
  name: string;
2906
2906
  fields?: Record<string, unknown> | undefined;
2907
2907
  };
@@ -2972,7 +2972,7 @@ declare const QuerySliceSchema: z.ZodObject<{
2972
2972
  }[];
2973
2973
  data?: {
2974
2974
  target: {
2975
- type: "Command" | "Event" | "State";
2975
+ type: "Event" | "Command" | "State";
2976
2976
  name: string;
2977
2977
  fields?: Record<string, unknown> | undefined;
2978
2978
  };
@@ -3026,11 +3026,11 @@ declare const ReactSliceSchema: z.ZodObject<{
3026
3026
  name: z.ZodString;
3027
3027
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3028
3028
  }, "strip", z.ZodTypeAny, {
3029
- type: "Command" | "Event" | "State";
3029
+ type: "Event" | "Command" | "State";
3030
3030
  name: string;
3031
3031
  fields?: Record<string, unknown> | undefined;
3032
3032
  }, {
3033
- type: "Command" | "Event" | "State";
3033
+ type: "Event" | "Command" | "State";
3034
3034
  name: string;
3035
3035
  fields?: Record<string, unknown> | undefined;
3036
3036
  }>;
@@ -3098,11 +3098,11 @@ declare const ReactSliceSchema: z.ZodObject<{
3098
3098
  name: z.ZodString;
3099
3099
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3100
3100
  }, "strip", z.ZodTypeAny, {
3101
- type: "Command" | "Event" | "State";
3101
+ type: "Event" | "Command" | "State";
3102
3102
  name: string;
3103
3103
  fields?: Record<string, unknown> | undefined;
3104
3104
  }, {
3105
- type: "Command" | "Event" | "State";
3105
+ type: "Event" | "Command" | "State";
3106
3106
  name: string;
3107
3107
  fields?: Record<string, unknown> | undefined;
3108
3108
  }>;
@@ -3168,7 +3168,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3168
3168
  _additionalInstructions: z.ZodOptional<z.ZodString>;
3169
3169
  }, "strip", z.ZodTypeAny, {
3170
3170
  target: {
3171
- type: "Command" | "Event" | "State";
3171
+ type: "Event" | "Command" | "State";
3172
3172
  name: string;
3173
3173
  fields?: Record<string, unknown> | undefined;
3174
3174
  };
@@ -3197,7 +3197,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3197
3197
  _additionalInstructions?: string | undefined;
3198
3198
  }, {
3199
3199
  target: {
3200
- type: "Command" | "Event" | "State";
3200
+ type: "Event" | "Command" | "State";
3201
3201
  name: string;
3202
3202
  fields?: Record<string, unknown> | undefined;
3203
3203
  };
@@ -3227,7 +3227,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3227
3227
  }>>>;
3228
3228
  }, "strip", z.ZodTypeAny, {
3229
3229
  target: {
3230
- type: "Command" | "Event" | "State";
3230
+ type: "Event" | "Command" | "State";
3231
3231
  name: string;
3232
3232
  fields?: Record<string, unknown> | undefined;
3233
3233
  };
@@ -3253,7 +3253,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3253
3253
  _additionalInstructions?: string | undefined;
3254
3254
  _withState?: {
3255
3255
  target: {
3256
- type: "Command" | "Event" | "State";
3256
+ type: "Event" | "Command" | "State";
3257
3257
  name: string;
3258
3258
  fields?: Record<string, unknown> | undefined;
3259
3259
  };
@@ -3283,7 +3283,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3283
3283
  } | undefined;
3284
3284
  }, {
3285
3285
  target: {
3286
- type: "Command" | "Event" | "State";
3286
+ type: "Event" | "Command" | "State";
3287
3287
  name: string;
3288
3288
  fields?: Record<string, unknown> | undefined;
3289
3289
  };
@@ -3309,7 +3309,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3309
3309
  _additionalInstructions?: string | undefined;
3310
3310
  _withState?: {
3311
3311
  target: {
3312
- type: "Command" | "Event" | "State";
3312
+ type: "Event" | "Command" | "State";
3313
3313
  name: string;
3314
3314
  fields?: Record<string, unknown> | undefined;
3315
3315
  };
@@ -3344,11 +3344,11 @@ declare const ReactSliceSchema: z.ZodObject<{
3344
3344
  name: z.ZodString;
3345
3345
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3346
3346
  }, "strip", z.ZodTypeAny, {
3347
- type: "Command" | "Event" | "State";
3347
+ type: "Event" | "Command" | "State";
3348
3348
  name: string;
3349
3349
  fields?: Record<string, unknown> | undefined;
3350
3350
  }, {
3351
- type: "Command" | "Event" | "State";
3351
+ type: "Event" | "Command" | "State";
3352
3352
  name: string;
3353
3353
  fields?: Record<string, unknown> | undefined;
3354
3354
  }>;
@@ -3414,7 +3414,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3414
3414
  _additionalInstructions: z.ZodOptional<z.ZodString>;
3415
3415
  }, "strip", z.ZodTypeAny, {
3416
3416
  target: {
3417
- type: "Command" | "Event" | "State";
3417
+ type: "Event" | "Command" | "State";
3418
3418
  name: string;
3419
3419
  fields?: Record<string, unknown> | undefined;
3420
3420
  };
@@ -3443,7 +3443,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3443
3443
  _additionalInstructions?: string | undefined;
3444
3444
  }, {
3445
3445
  target: {
3446
- type: "Command" | "Event" | "State";
3446
+ type: "Event" | "Command" | "State";
3447
3447
  name: string;
3448
3448
  fields?: Record<string, unknown> | undefined;
3449
3449
  };
@@ -3676,9 +3676,10 @@ declare const ReactSliceSchema: z.ZodObject<{
3676
3676
  }[];
3677
3677
  id?: string | undefined;
3678
3678
  }[];
3679
+ description?: string | undefined;
3679
3680
  data?: ({
3680
3681
  target: {
3681
- type: "Command" | "Event" | "State";
3682
+ type: "Event" | "Command" | "State";
3682
3683
  name: string;
3683
3684
  fields?: Record<string, unknown> | undefined;
3684
3685
  };
@@ -3707,7 +3708,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3707
3708
  _additionalInstructions?: string | undefined;
3708
3709
  } | {
3709
3710
  target: {
3710
- type: "Command" | "Event" | "State";
3711
+ type: "Event" | "Command" | "State";
3711
3712
  name: string;
3712
3713
  fields?: Record<string, unknown> | undefined;
3713
3714
  };
@@ -3733,7 +3734,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3733
3734
  _additionalInstructions?: string | undefined;
3734
3735
  _withState?: {
3735
3736
  target: {
3736
- type: "Command" | "Event" | "State";
3737
+ type: "Event" | "Command" | "State";
3737
3738
  name: string;
3738
3739
  fields?: Record<string, unknown> | undefined;
3739
3740
  };
@@ -3762,7 +3763,6 @@ declare const ReactSliceSchema: z.ZodObject<{
3762
3763
  _additionalInstructions?: string | undefined;
3763
3764
  } | undefined;
3764
3765
  })[] | undefined;
3765
- description?: string | undefined;
3766
3766
  }, {
3767
3767
  specs: {
3768
3768
  type: "gherkin";
@@ -3790,9 +3790,10 @@ declare const ReactSliceSchema: z.ZodObject<{
3790
3790
  }[];
3791
3791
  id?: string | undefined;
3792
3792
  }[];
3793
+ description?: string | undefined;
3793
3794
  data?: ({
3794
3795
  target: {
3795
- type: "Command" | "Event" | "State";
3796
+ type: "Event" | "Command" | "State";
3796
3797
  name: string;
3797
3798
  fields?: Record<string, unknown> | undefined;
3798
3799
  };
@@ -3821,7 +3822,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3821
3822
  _additionalInstructions?: string | undefined;
3822
3823
  } | {
3823
3824
  target: {
3824
- type: "Command" | "Event" | "State";
3825
+ type: "Event" | "Command" | "State";
3825
3826
  name: string;
3826
3827
  fields?: Record<string, unknown> | undefined;
3827
3828
  };
@@ -3847,7 +3848,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3847
3848
  _additionalInstructions?: string | undefined;
3848
3849
  _withState?: {
3849
3850
  target: {
3850
- type: "Command" | "Event" | "State";
3851
+ type: "Event" | "Command" | "State";
3851
3852
  name: string;
3852
3853
  fields?: Record<string, unknown> | undefined;
3853
3854
  };
@@ -3876,7 +3877,6 @@ declare const ReactSliceSchema: z.ZodObject<{
3876
3877
  _additionalInstructions?: string | undefined;
3877
3878
  } | undefined;
3878
3879
  })[] | undefined;
3879
- description?: string | undefined;
3880
3880
  }>;
3881
3881
  }, "strip", z.ZodTypeAny, {
3882
3882
  type: "react";
@@ -3908,9 +3908,10 @@ declare const ReactSliceSchema: z.ZodObject<{
3908
3908
  }[];
3909
3909
  id?: string | undefined;
3910
3910
  }[];
3911
+ description?: string | undefined;
3911
3912
  data?: ({
3912
3913
  target: {
3913
- type: "Command" | "Event" | "State";
3914
+ type: "Event" | "Command" | "State";
3914
3915
  name: string;
3915
3916
  fields?: Record<string, unknown> | undefined;
3916
3917
  };
@@ -3939,7 +3940,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3939
3940
  _additionalInstructions?: string | undefined;
3940
3941
  } | {
3941
3942
  target: {
3942
- type: "Command" | "Event" | "State";
3943
+ type: "Event" | "Command" | "State";
3943
3944
  name: string;
3944
3945
  fields?: Record<string, unknown> | undefined;
3945
3946
  };
@@ -3965,7 +3966,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3965
3966
  _additionalInstructions?: string | undefined;
3966
3967
  _withState?: {
3967
3968
  target: {
3968
- type: "Command" | "Event" | "State";
3969
+ type: "Event" | "Command" | "State";
3969
3970
  name: string;
3970
3971
  fields?: Record<string, unknown> | undefined;
3971
3972
  };
@@ -3994,7 +3995,6 @@ declare const ReactSliceSchema: z.ZodObject<{
3994
3995
  _additionalInstructions?: string | undefined;
3995
3996
  } | undefined;
3996
3997
  })[] | undefined;
3997
- description?: string | undefined;
3998
3998
  };
3999
3999
  stream?: string | undefined;
4000
4000
  id?: string | undefined;
@@ -4031,9 +4031,10 @@ declare const ReactSliceSchema: z.ZodObject<{
4031
4031
  }[];
4032
4032
  id?: string | undefined;
4033
4033
  }[];
4034
+ description?: string | undefined;
4034
4035
  data?: ({
4035
4036
  target: {
4036
- type: "Command" | "Event" | "State";
4037
+ type: "Event" | "Command" | "State";
4037
4038
  name: string;
4038
4039
  fields?: Record<string, unknown> | undefined;
4039
4040
  };
@@ -4062,7 +4063,7 @@ declare const ReactSliceSchema: z.ZodObject<{
4062
4063
  _additionalInstructions?: string | undefined;
4063
4064
  } | {
4064
4065
  target: {
4065
- type: "Command" | "Event" | "State";
4066
+ type: "Event" | "Command" | "State";
4066
4067
  name: string;
4067
4068
  fields?: Record<string, unknown> | undefined;
4068
4069
  };
@@ -4088,7 +4089,7 @@ declare const ReactSliceSchema: z.ZodObject<{
4088
4089
  _additionalInstructions?: string | undefined;
4089
4090
  _withState?: {
4090
4091
  target: {
4091
- type: "Command" | "Event" | "State";
4092
+ type: "Event" | "Command" | "State";
4092
4093
  name: string;
4093
4094
  fields?: Record<string, unknown> | undefined;
4094
4095
  };
@@ -4117,7 +4118,6 @@ declare const ReactSliceSchema: z.ZodObject<{
4117
4118
  _additionalInstructions?: string | undefined;
4118
4119
  } | undefined;
4119
4120
  })[] | undefined;
4120
- description?: string | undefined;
4121
4121
  };
4122
4122
  stream?: string | undefined;
4123
4123
  id?: string | undefined;
@@ -4190,11 +4190,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4190
4190
  name: z.ZodString;
4191
4191
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4192
4192
  }, "strip", z.ZodTypeAny, {
4193
- type: "Command" | "Event" | "State";
4193
+ type: "Event" | "Command" | "State";
4194
4194
  name: string;
4195
4195
  fields?: Record<string, unknown> | undefined;
4196
4196
  }, {
4197
- type: "Command" | "Event" | "State";
4197
+ type: "Event" | "Command" | "State";
4198
4198
  name: string;
4199
4199
  fields?: Record<string, unknown> | undefined;
4200
4200
  }>;
@@ -4262,11 +4262,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4262
4262
  name: z.ZodString;
4263
4263
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4264
4264
  }, "strip", z.ZodTypeAny, {
4265
- type: "Command" | "Event" | "State";
4265
+ type: "Event" | "Command" | "State";
4266
4266
  name: string;
4267
4267
  fields?: Record<string, unknown> | undefined;
4268
4268
  }, {
4269
- type: "Command" | "Event" | "State";
4269
+ type: "Event" | "Command" | "State";
4270
4270
  name: string;
4271
4271
  fields?: Record<string, unknown> | undefined;
4272
4272
  }>;
@@ -4332,7 +4332,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4332
4332
  _additionalInstructions: z.ZodOptional<z.ZodString>;
4333
4333
  }, "strip", z.ZodTypeAny, {
4334
4334
  target: {
4335
- type: "Command" | "Event" | "State";
4335
+ type: "Event" | "Command" | "State";
4336
4336
  name: string;
4337
4337
  fields?: Record<string, unknown> | undefined;
4338
4338
  };
@@ -4361,7 +4361,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4361
4361
  _additionalInstructions?: string | undefined;
4362
4362
  }, {
4363
4363
  target: {
4364
- type: "Command" | "Event" | "State";
4364
+ type: "Event" | "Command" | "State";
4365
4365
  name: string;
4366
4366
  fields?: Record<string, unknown> | undefined;
4367
4367
  };
@@ -4391,7 +4391,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4391
4391
  }>>>;
4392
4392
  }, "strip", z.ZodTypeAny, {
4393
4393
  target: {
4394
- type: "Command" | "Event" | "State";
4394
+ type: "Event" | "Command" | "State";
4395
4395
  name: string;
4396
4396
  fields?: Record<string, unknown> | undefined;
4397
4397
  };
@@ -4417,7 +4417,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4417
4417
  _additionalInstructions?: string | undefined;
4418
4418
  _withState?: {
4419
4419
  target: {
4420
- type: "Command" | "Event" | "State";
4420
+ type: "Event" | "Command" | "State";
4421
4421
  name: string;
4422
4422
  fields?: Record<string, unknown> | undefined;
4423
4423
  };
@@ -4447,7 +4447,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4447
4447
  } | undefined;
4448
4448
  }, {
4449
4449
  target: {
4450
- type: "Command" | "Event" | "State";
4450
+ type: "Event" | "Command" | "State";
4451
4451
  name: string;
4452
4452
  fields?: Record<string, unknown> | undefined;
4453
4453
  };
@@ -4473,7 +4473,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4473
4473
  _additionalInstructions?: string | undefined;
4474
4474
  _withState?: {
4475
4475
  target: {
4476
- type: "Command" | "Event" | "State";
4476
+ type: "Event" | "Command" | "State";
4477
4477
  name: string;
4478
4478
  fields?: Record<string, unknown> | undefined;
4479
4479
  };
@@ -4710,7 +4710,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4710
4710
  }[];
4711
4711
  data?: {
4712
4712
  target: {
4713
- type: "Command" | "Event" | "State";
4713
+ type: "Event" | "Command" | "State";
4714
4714
  name: string;
4715
4715
  fields?: Record<string, unknown> | undefined;
4716
4716
  };
@@ -4736,7 +4736,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4736
4736
  _additionalInstructions?: string | undefined;
4737
4737
  _withState?: {
4738
4738
  target: {
4739
- type: "Command" | "Event" | "State";
4739
+ type: "Event" | "Command" | "State";
4740
4740
  name: string;
4741
4741
  fields?: Record<string, unknown> | undefined;
4742
4742
  };
@@ -4795,7 +4795,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4795
4795
  }[];
4796
4796
  data?: {
4797
4797
  target: {
4798
- type: "Command" | "Event" | "State";
4798
+ type: "Event" | "Command" | "State";
4799
4799
  name: string;
4800
4800
  fields?: Record<string, unknown> | undefined;
4801
4801
  };
@@ -4821,7 +4821,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4821
4821
  _additionalInstructions?: string | undefined;
4822
4822
  _withState?: {
4823
4823
  target: {
4824
- type: "Command" | "Event" | "State";
4824
+ type: "Event" | "Command" | "State";
4825
4825
  name: string;
4826
4826
  fields?: Record<string, unknown> | undefined;
4827
4827
  };
@@ -4887,7 +4887,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4887
4887
  }[];
4888
4888
  data?: {
4889
4889
  target: {
4890
- type: "Command" | "Event" | "State";
4890
+ type: "Event" | "Command" | "State";
4891
4891
  name: string;
4892
4892
  fields?: Record<string, unknown> | undefined;
4893
4893
  };
@@ -4913,7 +4913,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4913
4913
  _additionalInstructions?: string | undefined;
4914
4914
  _withState?: {
4915
4915
  target: {
4916
- type: "Command" | "Event" | "State";
4916
+ type: "Event" | "Command" | "State";
4917
4917
  name: string;
4918
4918
  fields?: Record<string, unknown> | undefined;
4919
4919
  };
@@ -4985,7 +4985,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4985
4985
  }[];
4986
4986
  data?: {
4987
4987
  target: {
4988
- type: "Command" | "Event" | "State";
4988
+ type: "Event" | "Command" | "State";
4989
4989
  name: string;
4990
4990
  fields?: Record<string, unknown> | undefined;
4991
4991
  };
@@ -5011,7 +5011,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5011
5011
  _additionalInstructions?: string | undefined;
5012
5012
  _withState?: {
5013
5013
  target: {
5014
- type: "Command" | "Event" | "State";
5014
+ type: "Event" | "Command" | "State";
5015
5015
  name: string;
5016
5016
  fields?: Record<string, unknown> | undefined;
5017
5017
  };
@@ -5073,11 +5073,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5073
5073
  name: z.ZodString;
5074
5074
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5075
5075
  }, "strip", z.ZodTypeAny, {
5076
- type: "Command" | "Event" | "State";
5076
+ type: "Event" | "Command" | "State";
5077
5077
  name: string;
5078
5078
  fields?: Record<string, unknown> | undefined;
5079
5079
  }, {
5080
- type: "Command" | "Event" | "State";
5080
+ type: "Event" | "Command" | "State";
5081
5081
  name: string;
5082
5082
  fields?: Record<string, unknown> | undefined;
5083
5083
  }>;
@@ -5143,7 +5143,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5143
5143
  _additionalInstructions: z.ZodOptional<z.ZodString>;
5144
5144
  }, "strip", z.ZodTypeAny, {
5145
5145
  target: {
5146
- type: "Command" | "Event" | "State";
5146
+ type: "Event" | "Command" | "State";
5147
5147
  name: string;
5148
5148
  fields?: Record<string, unknown> | undefined;
5149
5149
  };
@@ -5172,7 +5172,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5172
5172
  _additionalInstructions?: string | undefined;
5173
5173
  }, {
5174
5174
  target: {
5175
- type: "Command" | "Event" | "State";
5175
+ type: "Event" | "Command" | "State";
5176
5176
  name: string;
5177
5177
  fields?: Record<string, unknown> | undefined;
5178
5178
  };
@@ -5408,7 +5408,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5408
5408
  }[];
5409
5409
  data?: {
5410
5410
  target: {
5411
- type: "Command" | "Event" | "State";
5411
+ type: "Event" | "Command" | "State";
5412
5412
  name: string;
5413
5413
  fields?: Record<string, unknown> | undefined;
5414
5414
  };
@@ -5466,7 +5466,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5466
5466
  }[];
5467
5467
  data?: {
5468
5468
  target: {
5469
- type: "Command" | "Event" | "State";
5469
+ type: "Event" | "Command" | "State";
5470
5470
  name: string;
5471
5471
  fields?: Record<string, unknown> | undefined;
5472
5472
  };
@@ -5531,7 +5531,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5531
5531
  }[];
5532
5532
  data?: {
5533
5533
  target: {
5534
- type: "Command" | "Event" | "State";
5534
+ type: "Event" | "Command" | "State";
5535
5535
  name: string;
5536
5536
  fields?: Record<string, unknown> | undefined;
5537
5537
  };
@@ -5602,7 +5602,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5602
5602
  }[];
5603
5603
  data?: {
5604
5604
  target: {
5605
- type: "Command" | "Event" | "State";
5605
+ type: "Event" | "Command" | "State";
5606
5606
  name: string;
5607
5607
  fields?: Record<string, unknown> | undefined;
5608
5608
  };
@@ -5655,11 +5655,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5655
5655
  name: z.ZodString;
5656
5656
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5657
5657
  }, "strip", z.ZodTypeAny, {
5658
- type: "Command" | "Event" | "State";
5658
+ type: "Event" | "Command" | "State";
5659
5659
  name: string;
5660
5660
  fields?: Record<string, unknown> | undefined;
5661
5661
  }, {
5662
- type: "Command" | "Event" | "State";
5662
+ type: "Event" | "Command" | "State";
5663
5663
  name: string;
5664
5664
  fields?: Record<string, unknown> | undefined;
5665
5665
  }>;
@@ -5727,11 +5727,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5727
5727
  name: z.ZodString;
5728
5728
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5729
5729
  }, "strip", z.ZodTypeAny, {
5730
- type: "Command" | "Event" | "State";
5730
+ type: "Event" | "Command" | "State";
5731
5731
  name: string;
5732
5732
  fields?: Record<string, unknown> | undefined;
5733
5733
  }, {
5734
- type: "Command" | "Event" | "State";
5734
+ type: "Event" | "Command" | "State";
5735
5735
  name: string;
5736
5736
  fields?: Record<string, unknown> | undefined;
5737
5737
  }>;
@@ -5797,7 +5797,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5797
5797
  _additionalInstructions: z.ZodOptional<z.ZodString>;
5798
5798
  }, "strip", z.ZodTypeAny, {
5799
5799
  target: {
5800
- type: "Command" | "Event" | "State";
5800
+ type: "Event" | "Command" | "State";
5801
5801
  name: string;
5802
5802
  fields?: Record<string, unknown> | undefined;
5803
5803
  };
@@ -5826,7 +5826,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5826
5826
  _additionalInstructions?: string | undefined;
5827
5827
  }, {
5828
5828
  target: {
5829
- type: "Command" | "Event" | "State";
5829
+ type: "Event" | "Command" | "State";
5830
5830
  name: string;
5831
5831
  fields?: Record<string, unknown> | undefined;
5832
5832
  };
@@ -5856,7 +5856,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5856
5856
  }>>>;
5857
5857
  }, "strip", z.ZodTypeAny, {
5858
5858
  target: {
5859
- type: "Command" | "Event" | "State";
5859
+ type: "Event" | "Command" | "State";
5860
5860
  name: string;
5861
5861
  fields?: Record<string, unknown> | undefined;
5862
5862
  };
@@ -5882,7 +5882,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5882
5882
  _additionalInstructions?: string | undefined;
5883
5883
  _withState?: {
5884
5884
  target: {
5885
- type: "Command" | "Event" | "State";
5885
+ type: "Event" | "Command" | "State";
5886
5886
  name: string;
5887
5887
  fields?: Record<string, unknown> | undefined;
5888
5888
  };
@@ -5912,7 +5912,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5912
5912
  } | undefined;
5913
5913
  }, {
5914
5914
  target: {
5915
- type: "Command" | "Event" | "State";
5915
+ type: "Event" | "Command" | "State";
5916
5916
  name: string;
5917
5917
  fields?: Record<string, unknown> | undefined;
5918
5918
  };
@@ -5938,7 +5938,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5938
5938
  _additionalInstructions?: string | undefined;
5939
5939
  _withState?: {
5940
5940
  target: {
5941
- type: "Command" | "Event" | "State";
5941
+ type: "Event" | "Command" | "State";
5942
5942
  name: string;
5943
5943
  fields?: Record<string, unknown> | undefined;
5944
5944
  };
@@ -5973,11 +5973,11 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5973
5973
  name: z.ZodString;
5974
5974
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5975
5975
  }, "strip", z.ZodTypeAny, {
5976
- type: "Command" | "Event" | "State";
5976
+ type: "Event" | "Command" | "State";
5977
5977
  name: string;
5978
5978
  fields?: Record<string, unknown> | undefined;
5979
5979
  }, {
5980
- type: "Command" | "Event" | "State";
5980
+ type: "Event" | "Command" | "State";
5981
5981
  name: string;
5982
5982
  fields?: Record<string, unknown> | undefined;
5983
5983
  }>;
@@ -6043,7 +6043,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6043
6043
  _additionalInstructions: z.ZodOptional<z.ZodString>;
6044
6044
  }, "strip", z.ZodTypeAny, {
6045
6045
  target: {
6046
- type: "Command" | "Event" | "State";
6046
+ type: "Event" | "Command" | "State";
6047
6047
  name: string;
6048
6048
  fields?: Record<string, unknown> | undefined;
6049
6049
  };
@@ -6072,7 +6072,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6072
6072
  _additionalInstructions?: string | undefined;
6073
6073
  }, {
6074
6074
  target: {
6075
- type: "Command" | "Event" | "State";
6075
+ type: "Event" | "Command" | "State";
6076
6076
  name: string;
6077
6077
  fields?: Record<string, unknown> | undefined;
6078
6078
  };
@@ -6305,9 +6305,10 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6305
6305
  }[];
6306
6306
  id?: string | undefined;
6307
6307
  }[];
6308
+ description?: string | undefined;
6308
6309
  data?: ({
6309
6310
  target: {
6310
- type: "Command" | "Event" | "State";
6311
+ type: "Event" | "Command" | "State";
6311
6312
  name: string;
6312
6313
  fields?: Record<string, unknown> | undefined;
6313
6314
  };
@@ -6336,7 +6337,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6336
6337
  _additionalInstructions?: string | undefined;
6337
6338
  } | {
6338
6339
  target: {
6339
- type: "Command" | "Event" | "State";
6340
+ type: "Event" | "Command" | "State";
6340
6341
  name: string;
6341
6342
  fields?: Record<string, unknown> | undefined;
6342
6343
  };
@@ -6362,7 +6363,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6362
6363
  _additionalInstructions?: string | undefined;
6363
6364
  _withState?: {
6364
6365
  target: {
6365
- type: "Command" | "Event" | "State";
6366
+ type: "Event" | "Command" | "State";
6366
6367
  name: string;
6367
6368
  fields?: Record<string, unknown> | undefined;
6368
6369
  };
@@ -6391,7 +6392,6 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6391
6392
  _additionalInstructions?: string | undefined;
6392
6393
  } | undefined;
6393
6394
  })[] | undefined;
6394
- description?: string | undefined;
6395
6395
  }, {
6396
6396
  specs: {
6397
6397
  type: "gherkin";
@@ -6419,9 +6419,10 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6419
6419
  }[];
6420
6420
  id?: string | undefined;
6421
6421
  }[];
6422
+ description?: string | undefined;
6422
6423
  data?: ({
6423
6424
  target: {
6424
- type: "Command" | "Event" | "State";
6425
+ type: "Event" | "Command" | "State";
6425
6426
  name: string;
6426
6427
  fields?: Record<string, unknown> | undefined;
6427
6428
  };
@@ -6450,7 +6451,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6450
6451
  _additionalInstructions?: string | undefined;
6451
6452
  } | {
6452
6453
  target: {
6453
- type: "Command" | "Event" | "State";
6454
+ type: "Event" | "Command" | "State";
6454
6455
  name: string;
6455
6456
  fields?: Record<string, unknown> | undefined;
6456
6457
  };
@@ -6476,7 +6477,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6476
6477
  _additionalInstructions?: string | undefined;
6477
6478
  _withState?: {
6478
6479
  target: {
6479
- type: "Command" | "Event" | "State";
6480
+ type: "Event" | "Command" | "State";
6480
6481
  name: string;
6481
6482
  fields?: Record<string, unknown> | undefined;
6482
6483
  };
@@ -6505,7 +6506,6 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6505
6506
  _additionalInstructions?: string | undefined;
6506
6507
  } | undefined;
6507
6508
  })[] | undefined;
6508
- description?: string | undefined;
6509
6509
  }>;
6510
6510
  }, "strip", z.ZodTypeAny, {
6511
6511
  type: "react";
@@ -6537,9 +6537,10 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6537
6537
  }[];
6538
6538
  id?: string | undefined;
6539
6539
  }[];
6540
+ description?: string | undefined;
6540
6541
  data?: ({
6541
6542
  target: {
6542
- type: "Command" | "Event" | "State";
6543
+ type: "Event" | "Command" | "State";
6543
6544
  name: string;
6544
6545
  fields?: Record<string, unknown> | undefined;
6545
6546
  };
@@ -6568,7 +6569,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6568
6569
  _additionalInstructions?: string | undefined;
6569
6570
  } | {
6570
6571
  target: {
6571
- type: "Command" | "Event" | "State";
6572
+ type: "Event" | "Command" | "State";
6572
6573
  name: string;
6573
6574
  fields?: Record<string, unknown> | undefined;
6574
6575
  };
@@ -6594,7 +6595,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6594
6595
  _additionalInstructions?: string | undefined;
6595
6596
  _withState?: {
6596
6597
  target: {
6597
- type: "Command" | "Event" | "State";
6598
+ type: "Event" | "Command" | "State";
6598
6599
  name: string;
6599
6600
  fields?: Record<string, unknown> | undefined;
6600
6601
  };
@@ -6623,7 +6624,6 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6623
6624
  _additionalInstructions?: string | undefined;
6624
6625
  } | undefined;
6625
6626
  })[] | undefined;
6626
- description?: string | undefined;
6627
6627
  };
6628
6628
  stream?: string | undefined;
6629
6629
  id?: string | undefined;
@@ -6660,9 +6660,10 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6660
6660
  }[];
6661
6661
  id?: string | undefined;
6662
6662
  }[];
6663
+ description?: string | undefined;
6663
6664
  data?: ({
6664
6665
  target: {
6665
- type: "Command" | "Event" | "State";
6666
+ type: "Event" | "Command" | "State";
6666
6667
  name: string;
6667
6668
  fields?: Record<string, unknown> | undefined;
6668
6669
  };
@@ -6691,7 +6692,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6691
6692
  _additionalInstructions?: string | undefined;
6692
6693
  } | {
6693
6694
  target: {
6694
- type: "Command" | "Event" | "State";
6695
+ type: "Event" | "Command" | "State";
6695
6696
  name: string;
6696
6697
  fields?: Record<string, unknown> | undefined;
6697
6698
  };
@@ -6717,7 +6718,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6717
6718
  _additionalInstructions?: string | undefined;
6718
6719
  _withState?: {
6719
6720
  target: {
6720
- type: "Command" | "Event" | "State";
6721
+ type: "Event" | "Command" | "State";
6721
6722
  name: string;
6722
6723
  fields?: Record<string, unknown> | undefined;
6723
6724
  };
@@ -6746,7 +6747,6 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6746
6747
  _additionalInstructions?: string | undefined;
6747
6748
  } | undefined;
6748
6749
  })[] | undefined;
6749
- description?: string | undefined;
6750
6750
  };
6751
6751
  stream?: string | undefined;
6752
6752
  id?: string | undefined;
@@ -6822,11 +6822,11 @@ declare const NarrativeSchema: z.ZodObject<{
6822
6822
  name: z.ZodString;
6823
6823
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6824
6824
  }, "strip", z.ZodTypeAny, {
6825
- type: "Command" | "Event" | "State";
6825
+ type: "Event" | "Command" | "State";
6826
6826
  name: string;
6827
6827
  fields?: Record<string, unknown> | undefined;
6828
6828
  }, {
6829
- type: "Command" | "Event" | "State";
6829
+ type: "Event" | "Command" | "State";
6830
6830
  name: string;
6831
6831
  fields?: Record<string, unknown> | undefined;
6832
6832
  }>;
@@ -6894,11 +6894,11 @@ declare const NarrativeSchema: z.ZodObject<{
6894
6894
  name: z.ZodString;
6895
6895
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
6896
6896
  }, "strip", z.ZodTypeAny, {
6897
- type: "Command" | "Event" | "State";
6897
+ type: "Event" | "Command" | "State";
6898
6898
  name: string;
6899
6899
  fields?: Record<string, unknown> | undefined;
6900
6900
  }, {
6901
- type: "Command" | "Event" | "State";
6901
+ type: "Event" | "Command" | "State";
6902
6902
  name: string;
6903
6903
  fields?: Record<string, unknown> | undefined;
6904
6904
  }>;
@@ -6964,7 +6964,7 @@ declare const NarrativeSchema: z.ZodObject<{
6964
6964
  _additionalInstructions: z.ZodOptional<z.ZodString>;
6965
6965
  }, "strip", z.ZodTypeAny, {
6966
6966
  target: {
6967
- type: "Command" | "Event" | "State";
6967
+ type: "Event" | "Command" | "State";
6968
6968
  name: string;
6969
6969
  fields?: Record<string, unknown> | undefined;
6970
6970
  };
@@ -6993,7 +6993,7 @@ declare const NarrativeSchema: z.ZodObject<{
6993
6993
  _additionalInstructions?: string | undefined;
6994
6994
  }, {
6995
6995
  target: {
6996
- type: "Command" | "Event" | "State";
6996
+ type: "Event" | "Command" | "State";
6997
6997
  name: string;
6998
6998
  fields?: Record<string, unknown> | undefined;
6999
6999
  };
@@ -7023,7 +7023,7 @@ declare const NarrativeSchema: z.ZodObject<{
7023
7023
  }>>>;
7024
7024
  }, "strip", z.ZodTypeAny, {
7025
7025
  target: {
7026
- type: "Command" | "Event" | "State";
7026
+ type: "Event" | "Command" | "State";
7027
7027
  name: string;
7028
7028
  fields?: Record<string, unknown> | undefined;
7029
7029
  };
@@ -7049,7 +7049,7 @@ declare const NarrativeSchema: z.ZodObject<{
7049
7049
  _additionalInstructions?: string | undefined;
7050
7050
  _withState?: {
7051
7051
  target: {
7052
- type: "Command" | "Event" | "State";
7052
+ type: "Event" | "Command" | "State";
7053
7053
  name: string;
7054
7054
  fields?: Record<string, unknown> | undefined;
7055
7055
  };
@@ -7079,7 +7079,7 @@ declare const NarrativeSchema: z.ZodObject<{
7079
7079
  } | undefined;
7080
7080
  }, {
7081
7081
  target: {
7082
- type: "Command" | "Event" | "State";
7082
+ type: "Event" | "Command" | "State";
7083
7083
  name: string;
7084
7084
  fields?: Record<string, unknown> | undefined;
7085
7085
  };
@@ -7105,7 +7105,7 @@ declare const NarrativeSchema: z.ZodObject<{
7105
7105
  _additionalInstructions?: string | undefined;
7106
7106
  _withState?: {
7107
7107
  target: {
7108
- type: "Command" | "Event" | "State";
7108
+ type: "Event" | "Command" | "State";
7109
7109
  name: string;
7110
7110
  fields?: Record<string, unknown> | undefined;
7111
7111
  };
@@ -7342,7 +7342,7 @@ declare const NarrativeSchema: z.ZodObject<{
7342
7342
  }[];
7343
7343
  data?: {
7344
7344
  target: {
7345
- type: "Command" | "Event" | "State";
7345
+ type: "Event" | "Command" | "State";
7346
7346
  name: string;
7347
7347
  fields?: Record<string, unknown> | undefined;
7348
7348
  };
@@ -7368,7 +7368,7 @@ declare const NarrativeSchema: z.ZodObject<{
7368
7368
  _additionalInstructions?: string | undefined;
7369
7369
  _withState?: {
7370
7370
  target: {
7371
- type: "Command" | "Event" | "State";
7371
+ type: "Event" | "Command" | "State";
7372
7372
  name: string;
7373
7373
  fields?: Record<string, unknown> | undefined;
7374
7374
  };
@@ -7427,7 +7427,7 @@ declare const NarrativeSchema: z.ZodObject<{
7427
7427
  }[];
7428
7428
  data?: {
7429
7429
  target: {
7430
- type: "Command" | "Event" | "State";
7430
+ type: "Event" | "Command" | "State";
7431
7431
  name: string;
7432
7432
  fields?: Record<string, unknown> | undefined;
7433
7433
  };
@@ -7453,7 +7453,7 @@ declare const NarrativeSchema: z.ZodObject<{
7453
7453
  _additionalInstructions?: string | undefined;
7454
7454
  _withState?: {
7455
7455
  target: {
7456
- type: "Command" | "Event" | "State";
7456
+ type: "Event" | "Command" | "State";
7457
7457
  name: string;
7458
7458
  fields?: Record<string, unknown> | undefined;
7459
7459
  };
@@ -7519,7 +7519,7 @@ declare const NarrativeSchema: z.ZodObject<{
7519
7519
  }[];
7520
7520
  data?: {
7521
7521
  target: {
7522
- type: "Command" | "Event" | "State";
7522
+ type: "Event" | "Command" | "State";
7523
7523
  name: string;
7524
7524
  fields?: Record<string, unknown> | undefined;
7525
7525
  };
@@ -7545,7 +7545,7 @@ declare const NarrativeSchema: z.ZodObject<{
7545
7545
  _additionalInstructions?: string | undefined;
7546
7546
  _withState?: {
7547
7547
  target: {
7548
- type: "Command" | "Event" | "State";
7548
+ type: "Event" | "Command" | "State";
7549
7549
  name: string;
7550
7550
  fields?: Record<string, unknown> | undefined;
7551
7551
  };
@@ -7617,7 +7617,7 @@ declare const NarrativeSchema: z.ZodObject<{
7617
7617
  }[];
7618
7618
  data?: {
7619
7619
  target: {
7620
- type: "Command" | "Event" | "State";
7620
+ type: "Event" | "Command" | "State";
7621
7621
  name: string;
7622
7622
  fields?: Record<string, unknown> | undefined;
7623
7623
  };
@@ -7643,7 +7643,7 @@ declare const NarrativeSchema: z.ZodObject<{
7643
7643
  _additionalInstructions?: string | undefined;
7644
7644
  _withState?: {
7645
7645
  target: {
7646
- type: "Command" | "Event" | "State";
7646
+ type: "Event" | "Command" | "State";
7647
7647
  name: string;
7648
7648
  fields?: Record<string, unknown> | undefined;
7649
7649
  };
@@ -7705,11 +7705,11 @@ declare const NarrativeSchema: z.ZodObject<{
7705
7705
  name: z.ZodString;
7706
7706
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7707
7707
  }, "strip", z.ZodTypeAny, {
7708
- type: "Command" | "Event" | "State";
7708
+ type: "Event" | "Command" | "State";
7709
7709
  name: string;
7710
7710
  fields?: Record<string, unknown> | undefined;
7711
7711
  }, {
7712
- type: "Command" | "Event" | "State";
7712
+ type: "Event" | "Command" | "State";
7713
7713
  name: string;
7714
7714
  fields?: Record<string, unknown> | undefined;
7715
7715
  }>;
@@ -7775,7 +7775,7 @@ declare const NarrativeSchema: z.ZodObject<{
7775
7775
  _additionalInstructions: z.ZodOptional<z.ZodString>;
7776
7776
  }, "strip", z.ZodTypeAny, {
7777
7777
  target: {
7778
- type: "Command" | "Event" | "State";
7778
+ type: "Event" | "Command" | "State";
7779
7779
  name: string;
7780
7780
  fields?: Record<string, unknown> | undefined;
7781
7781
  };
@@ -7804,7 +7804,7 @@ declare const NarrativeSchema: z.ZodObject<{
7804
7804
  _additionalInstructions?: string | undefined;
7805
7805
  }, {
7806
7806
  target: {
7807
- type: "Command" | "Event" | "State";
7807
+ type: "Event" | "Command" | "State";
7808
7808
  name: string;
7809
7809
  fields?: Record<string, unknown> | undefined;
7810
7810
  };
@@ -8040,7 +8040,7 @@ declare const NarrativeSchema: z.ZodObject<{
8040
8040
  }[];
8041
8041
  data?: {
8042
8042
  target: {
8043
- type: "Command" | "Event" | "State";
8043
+ type: "Event" | "Command" | "State";
8044
8044
  name: string;
8045
8045
  fields?: Record<string, unknown> | undefined;
8046
8046
  };
@@ -8098,7 +8098,7 @@ declare const NarrativeSchema: z.ZodObject<{
8098
8098
  }[];
8099
8099
  data?: {
8100
8100
  target: {
8101
- type: "Command" | "Event" | "State";
8101
+ type: "Event" | "Command" | "State";
8102
8102
  name: string;
8103
8103
  fields?: Record<string, unknown> | undefined;
8104
8104
  };
@@ -8163,7 +8163,7 @@ declare const NarrativeSchema: z.ZodObject<{
8163
8163
  }[];
8164
8164
  data?: {
8165
8165
  target: {
8166
- type: "Command" | "Event" | "State";
8166
+ type: "Event" | "Command" | "State";
8167
8167
  name: string;
8168
8168
  fields?: Record<string, unknown> | undefined;
8169
8169
  };
@@ -8234,7 +8234,7 @@ declare const NarrativeSchema: z.ZodObject<{
8234
8234
  }[];
8235
8235
  data?: {
8236
8236
  target: {
8237
- type: "Command" | "Event" | "State";
8237
+ type: "Event" | "Command" | "State";
8238
8238
  name: string;
8239
8239
  fields?: Record<string, unknown> | undefined;
8240
8240
  };
@@ -8287,11 +8287,11 @@ declare const NarrativeSchema: z.ZodObject<{
8287
8287
  name: z.ZodString;
8288
8288
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8289
8289
  }, "strip", z.ZodTypeAny, {
8290
- type: "Command" | "Event" | "State";
8290
+ type: "Event" | "Command" | "State";
8291
8291
  name: string;
8292
8292
  fields?: Record<string, unknown> | undefined;
8293
8293
  }, {
8294
- type: "Command" | "Event" | "State";
8294
+ type: "Event" | "Command" | "State";
8295
8295
  name: string;
8296
8296
  fields?: Record<string, unknown> | undefined;
8297
8297
  }>;
@@ -8359,11 +8359,11 @@ declare const NarrativeSchema: z.ZodObject<{
8359
8359
  name: z.ZodString;
8360
8360
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8361
8361
  }, "strip", z.ZodTypeAny, {
8362
- type: "Command" | "Event" | "State";
8362
+ type: "Event" | "Command" | "State";
8363
8363
  name: string;
8364
8364
  fields?: Record<string, unknown> | undefined;
8365
8365
  }, {
8366
- type: "Command" | "Event" | "State";
8366
+ type: "Event" | "Command" | "State";
8367
8367
  name: string;
8368
8368
  fields?: Record<string, unknown> | undefined;
8369
8369
  }>;
@@ -8429,7 +8429,7 @@ declare const NarrativeSchema: z.ZodObject<{
8429
8429
  _additionalInstructions: z.ZodOptional<z.ZodString>;
8430
8430
  }, "strip", z.ZodTypeAny, {
8431
8431
  target: {
8432
- type: "Command" | "Event" | "State";
8432
+ type: "Event" | "Command" | "State";
8433
8433
  name: string;
8434
8434
  fields?: Record<string, unknown> | undefined;
8435
8435
  };
@@ -8458,7 +8458,7 @@ declare const NarrativeSchema: z.ZodObject<{
8458
8458
  _additionalInstructions?: string | undefined;
8459
8459
  }, {
8460
8460
  target: {
8461
- type: "Command" | "Event" | "State";
8461
+ type: "Event" | "Command" | "State";
8462
8462
  name: string;
8463
8463
  fields?: Record<string, unknown> | undefined;
8464
8464
  };
@@ -8488,7 +8488,7 @@ declare const NarrativeSchema: z.ZodObject<{
8488
8488
  }>>>;
8489
8489
  }, "strip", z.ZodTypeAny, {
8490
8490
  target: {
8491
- type: "Command" | "Event" | "State";
8491
+ type: "Event" | "Command" | "State";
8492
8492
  name: string;
8493
8493
  fields?: Record<string, unknown> | undefined;
8494
8494
  };
@@ -8514,7 +8514,7 @@ declare const NarrativeSchema: z.ZodObject<{
8514
8514
  _additionalInstructions?: string | undefined;
8515
8515
  _withState?: {
8516
8516
  target: {
8517
- type: "Command" | "Event" | "State";
8517
+ type: "Event" | "Command" | "State";
8518
8518
  name: string;
8519
8519
  fields?: Record<string, unknown> | undefined;
8520
8520
  };
@@ -8544,7 +8544,7 @@ declare const NarrativeSchema: z.ZodObject<{
8544
8544
  } | undefined;
8545
8545
  }, {
8546
8546
  target: {
8547
- type: "Command" | "Event" | "State";
8547
+ type: "Event" | "Command" | "State";
8548
8548
  name: string;
8549
8549
  fields?: Record<string, unknown> | undefined;
8550
8550
  };
@@ -8570,7 +8570,7 @@ declare const NarrativeSchema: z.ZodObject<{
8570
8570
  _additionalInstructions?: string | undefined;
8571
8571
  _withState?: {
8572
8572
  target: {
8573
- type: "Command" | "Event" | "State";
8573
+ type: "Event" | "Command" | "State";
8574
8574
  name: string;
8575
8575
  fields?: Record<string, unknown> | undefined;
8576
8576
  };
@@ -8605,11 +8605,11 @@ declare const NarrativeSchema: z.ZodObject<{
8605
8605
  name: z.ZodString;
8606
8606
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
8607
8607
  }, "strip", z.ZodTypeAny, {
8608
- type: "Command" | "Event" | "State";
8608
+ type: "Event" | "Command" | "State";
8609
8609
  name: string;
8610
8610
  fields?: Record<string, unknown> | undefined;
8611
8611
  }, {
8612
- type: "Command" | "Event" | "State";
8612
+ type: "Event" | "Command" | "State";
8613
8613
  name: string;
8614
8614
  fields?: Record<string, unknown> | undefined;
8615
8615
  }>;
@@ -8675,7 +8675,7 @@ declare const NarrativeSchema: z.ZodObject<{
8675
8675
  _additionalInstructions: z.ZodOptional<z.ZodString>;
8676
8676
  }, "strip", z.ZodTypeAny, {
8677
8677
  target: {
8678
- type: "Command" | "Event" | "State";
8678
+ type: "Event" | "Command" | "State";
8679
8679
  name: string;
8680
8680
  fields?: Record<string, unknown> | undefined;
8681
8681
  };
@@ -8704,7 +8704,7 @@ declare const NarrativeSchema: z.ZodObject<{
8704
8704
  _additionalInstructions?: string | undefined;
8705
8705
  }, {
8706
8706
  target: {
8707
- type: "Command" | "Event" | "State";
8707
+ type: "Event" | "Command" | "State";
8708
8708
  name: string;
8709
8709
  fields?: Record<string, unknown> | undefined;
8710
8710
  };
@@ -8937,9 +8937,10 @@ declare const NarrativeSchema: z.ZodObject<{
8937
8937
  }[];
8938
8938
  id?: string | undefined;
8939
8939
  }[];
8940
+ description?: string | undefined;
8940
8941
  data?: ({
8941
8942
  target: {
8942
- type: "Command" | "Event" | "State";
8943
+ type: "Event" | "Command" | "State";
8943
8944
  name: string;
8944
8945
  fields?: Record<string, unknown> | undefined;
8945
8946
  };
@@ -8968,7 +8969,7 @@ declare const NarrativeSchema: z.ZodObject<{
8968
8969
  _additionalInstructions?: string | undefined;
8969
8970
  } | {
8970
8971
  target: {
8971
- type: "Command" | "Event" | "State";
8972
+ type: "Event" | "Command" | "State";
8972
8973
  name: string;
8973
8974
  fields?: Record<string, unknown> | undefined;
8974
8975
  };
@@ -8994,7 +8995,7 @@ declare const NarrativeSchema: z.ZodObject<{
8994
8995
  _additionalInstructions?: string | undefined;
8995
8996
  _withState?: {
8996
8997
  target: {
8997
- type: "Command" | "Event" | "State";
8998
+ type: "Event" | "Command" | "State";
8998
8999
  name: string;
8999
9000
  fields?: Record<string, unknown> | undefined;
9000
9001
  };
@@ -9023,7 +9024,6 @@ declare const NarrativeSchema: z.ZodObject<{
9023
9024
  _additionalInstructions?: string | undefined;
9024
9025
  } | undefined;
9025
9026
  })[] | undefined;
9026
- description?: string | undefined;
9027
9027
  }, {
9028
9028
  specs: {
9029
9029
  type: "gherkin";
@@ -9051,9 +9051,10 @@ declare const NarrativeSchema: z.ZodObject<{
9051
9051
  }[];
9052
9052
  id?: string | undefined;
9053
9053
  }[];
9054
+ description?: string | undefined;
9054
9055
  data?: ({
9055
9056
  target: {
9056
- type: "Command" | "Event" | "State";
9057
+ type: "Event" | "Command" | "State";
9057
9058
  name: string;
9058
9059
  fields?: Record<string, unknown> | undefined;
9059
9060
  };
@@ -9082,7 +9083,7 @@ declare const NarrativeSchema: z.ZodObject<{
9082
9083
  _additionalInstructions?: string | undefined;
9083
9084
  } | {
9084
9085
  target: {
9085
- type: "Command" | "Event" | "State";
9086
+ type: "Event" | "Command" | "State";
9086
9087
  name: string;
9087
9088
  fields?: Record<string, unknown> | undefined;
9088
9089
  };
@@ -9108,7 +9109,7 @@ declare const NarrativeSchema: z.ZodObject<{
9108
9109
  _additionalInstructions?: string | undefined;
9109
9110
  _withState?: {
9110
9111
  target: {
9111
- type: "Command" | "Event" | "State";
9112
+ type: "Event" | "Command" | "State";
9112
9113
  name: string;
9113
9114
  fields?: Record<string, unknown> | undefined;
9114
9115
  };
@@ -9137,7 +9138,6 @@ declare const NarrativeSchema: z.ZodObject<{
9137
9138
  _additionalInstructions?: string | undefined;
9138
9139
  } | undefined;
9139
9140
  })[] | undefined;
9140
- description?: string | undefined;
9141
9141
  }>;
9142
9142
  }, "strip", z.ZodTypeAny, {
9143
9143
  type: "react";
@@ -9169,9 +9169,10 @@ declare const NarrativeSchema: z.ZodObject<{
9169
9169
  }[];
9170
9170
  id?: string | undefined;
9171
9171
  }[];
9172
+ description?: string | undefined;
9172
9173
  data?: ({
9173
9174
  target: {
9174
- type: "Command" | "Event" | "State";
9175
+ type: "Event" | "Command" | "State";
9175
9176
  name: string;
9176
9177
  fields?: Record<string, unknown> | undefined;
9177
9178
  };
@@ -9200,7 +9201,7 @@ declare const NarrativeSchema: z.ZodObject<{
9200
9201
  _additionalInstructions?: string | undefined;
9201
9202
  } | {
9202
9203
  target: {
9203
- type: "Command" | "Event" | "State";
9204
+ type: "Event" | "Command" | "State";
9204
9205
  name: string;
9205
9206
  fields?: Record<string, unknown> | undefined;
9206
9207
  };
@@ -9226,7 +9227,7 @@ declare const NarrativeSchema: z.ZodObject<{
9226
9227
  _additionalInstructions?: string | undefined;
9227
9228
  _withState?: {
9228
9229
  target: {
9229
- type: "Command" | "Event" | "State";
9230
+ type: "Event" | "Command" | "State";
9230
9231
  name: string;
9231
9232
  fields?: Record<string, unknown> | undefined;
9232
9233
  };
@@ -9255,7 +9256,6 @@ declare const NarrativeSchema: z.ZodObject<{
9255
9256
  _additionalInstructions?: string | undefined;
9256
9257
  } | undefined;
9257
9258
  })[] | undefined;
9258
- description?: string | undefined;
9259
9259
  };
9260
9260
  stream?: string | undefined;
9261
9261
  id?: string | undefined;
@@ -9292,9 +9292,10 @@ declare const NarrativeSchema: z.ZodObject<{
9292
9292
  }[];
9293
9293
  id?: string | undefined;
9294
9294
  }[];
9295
+ description?: string | undefined;
9295
9296
  data?: ({
9296
9297
  target: {
9297
- type: "Command" | "Event" | "State";
9298
+ type: "Event" | "Command" | "State";
9298
9299
  name: string;
9299
9300
  fields?: Record<string, unknown> | undefined;
9300
9301
  };
@@ -9323,7 +9324,7 @@ declare const NarrativeSchema: z.ZodObject<{
9323
9324
  _additionalInstructions?: string | undefined;
9324
9325
  } | {
9325
9326
  target: {
9326
- type: "Command" | "Event" | "State";
9327
+ type: "Event" | "Command" | "State";
9327
9328
  name: string;
9328
9329
  fields?: Record<string, unknown> | undefined;
9329
9330
  };
@@ -9349,7 +9350,7 @@ declare const NarrativeSchema: z.ZodObject<{
9349
9350
  _additionalInstructions?: string | undefined;
9350
9351
  _withState?: {
9351
9352
  target: {
9352
- type: "Command" | "Event" | "State";
9353
+ type: "Event" | "Command" | "State";
9353
9354
  name: string;
9354
9355
  fields?: Record<string, unknown> | undefined;
9355
9356
  };
@@ -9378,7 +9379,6 @@ declare const NarrativeSchema: z.ZodObject<{
9378
9379
  _additionalInstructions?: string | undefined;
9379
9380
  } | undefined;
9380
9381
  })[] | undefined;
9381
- description?: string | undefined;
9382
9382
  };
9383
9383
  stream?: string | undefined;
9384
9384
  id?: string | undefined;
@@ -9463,7 +9463,7 @@ declare const NarrativeSchema: z.ZodObject<{
9463
9463
  }[];
9464
9464
  data?: {
9465
9465
  target: {
9466
- type: "Command" | "Event" | "State";
9466
+ type: "Event" | "Command" | "State";
9467
9467
  name: string;
9468
9468
  fields?: Record<string, unknown> | undefined;
9469
9469
  };
@@ -9489,7 +9489,7 @@ declare const NarrativeSchema: z.ZodObject<{
9489
9489
  _additionalInstructions?: string | undefined;
9490
9490
  _withState?: {
9491
9491
  target: {
9492
- type: "Command" | "Event" | "State";
9492
+ type: "Event" | "Command" | "State";
9493
9493
  name: string;
9494
9494
  fields?: Record<string, unknown> | undefined;
9495
9495
  };
@@ -9561,7 +9561,7 @@ declare const NarrativeSchema: z.ZodObject<{
9561
9561
  }[];
9562
9562
  data?: {
9563
9563
  target: {
9564
- type: "Command" | "Event" | "State";
9564
+ type: "Event" | "Command" | "State";
9565
9565
  name: string;
9566
9566
  fields?: Record<string, unknown> | undefined;
9567
9567
  };
@@ -9626,9 +9626,10 @@ declare const NarrativeSchema: z.ZodObject<{
9626
9626
  }[];
9627
9627
  id?: string | undefined;
9628
9628
  }[];
9629
+ description?: string | undefined;
9629
9630
  data?: ({
9630
9631
  target: {
9631
- type: "Command" | "Event" | "State";
9632
+ type: "Event" | "Command" | "State";
9632
9633
  name: string;
9633
9634
  fields?: Record<string, unknown> | undefined;
9634
9635
  };
@@ -9657,7 +9658,7 @@ declare const NarrativeSchema: z.ZodObject<{
9657
9658
  _additionalInstructions?: string | undefined;
9658
9659
  } | {
9659
9660
  target: {
9660
- type: "Command" | "Event" | "State";
9661
+ type: "Event" | "Command" | "State";
9661
9662
  name: string;
9662
9663
  fields?: Record<string, unknown> | undefined;
9663
9664
  };
@@ -9683,7 +9684,7 @@ declare const NarrativeSchema: z.ZodObject<{
9683
9684
  _additionalInstructions?: string | undefined;
9684
9685
  _withState?: {
9685
9686
  target: {
9686
- type: "Command" | "Event" | "State";
9687
+ type: "Event" | "Command" | "State";
9687
9688
  name: string;
9688
9689
  fields?: Record<string, unknown> | undefined;
9689
9690
  };
@@ -9712,7 +9713,6 @@ declare const NarrativeSchema: z.ZodObject<{
9712
9713
  _additionalInstructions?: string | undefined;
9713
9714
  } | undefined;
9714
9715
  })[] | undefined;
9715
- description?: string | undefined;
9716
9716
  };
9717
9717
  stream?: string | undefined;
9718
9718
  id?: string | undefined;
@@ -9772,7 +9772,7 @@ declare const NarrativeSchema: z.ZodObject<{
9772
9772
  }[];
9773
9773
  data?: {
9774
9774
  target: {
9775
- type: "Command" | "Event" | "State";
9775
+ type: "Event" | "Command" | "State";
9776
9776
  name: string;
9777
9777
  fields?: Record<string, unknown> | undefined;
9778
9778
  };
@@ -9798,7 +9798,7 @@ declare const NarrativeSchema: z.ZodObject<{
9798
9798
  _additionalInstructions?: string | undefined;
9799
9799
  _withState?: {
9800
9800
  target: {
9801
- type: "Command" | "Event" | "State";
9801
+ type: "Event" | "Command" | "State";
9802
9802
  name: string;
9803
9803
  fields?: Record<string, unknown> | undefined;
9804
9804
  };
@@ -9870,7 +9870,7 @@ declare const NarrativeSchema: z.ZodObject<{
9870
9870
  }[];
9871
9871
  data?: {
9872
9872
  target: {
9873
- type: "Command" | "Event" | "State";
9873
+ type: "Event" | "Command" | "State";
9874
9874
  name: string;
9875
9875
  fields?: Record<string, unknown> | undefined;
9876
9876
  };
@@ -9935,9 +9935,10 @@ declare const NarrativeSchema: z.ZodObject<{
9935
9935
  }[];
9936
9936
  id?: string | undefined;
9937
9937
  }[];
9938
+ description?: string | undefined;
9938
9939
  data?: ({
9939
9940
  target: {
9940
- type: "Command" | "Event" | "State";
9941
+ type: "Event" | "Command" | "State";
9941
9942
  name: string;
9942
9943
  fields?: Record<string, unknown> | undefined;
9943
9944
  };
@@ -9966,7 +9967,7 @@ declare const NarrativeSchema: z.ZodObject<{
9966
9967
  _additionalInstructions?: string | undefined;
9967
9968
  } | {
9968
9969
  target: {
9969
- type: "Command" | "Event" | "State";
9970
+ type: "Event" | "Command" | "State";
9970
9971
  name: string;
9971
9972
  fields?: Record<string, unknown> | undefined;
9972
9973
  };
@@ -9992,7 +9993,7 @@ declare const NarrativeSchema: z.ZodObject<{
9992
9993
  _additionalInstructions?: string | undefined;
9993
9994
  _withState?: {
9994
9995
  target: {
9995
- type: "Command" | "Event" | "State";
9996
+ type: "Event" | "Command" | "State";
9996
9997
  name: string;
9997
9998
  fields?: Record<string, unknown> | undefined;
9998
9999
  };
@@ -10021,7 +10022,6 @@ declare const NarrativeSchema: z.ZodObject<{
10021
10022
  _additionalInstructions?: string | undefined;
10022
10023
  } | undefined;
10023
10024
  })[] | undefined;
10024
- description?: string | undefined;
10025
10025
  };
10026
10026
  stream?: string | undefined;
10027
10027
  id?: string | undefined;
@@ -10296,11 +10296,11 @@ export declare const modelSchema: z.ZodObject<{
10296
10296
  name: z.ZodString;
10297
10297
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10298
10298
  }, "strip", z.ZodTypeAny, {
10299
- type: "Command" | "Event" | "State";
10299
+ type: "Event" | "Command" | "State";
10300
10300
  name: string;
10301
10301
  fields?: Record<string, unknown> | undefined;
10302
10302
  }, {
10303
- type: "Command" | "Event" | "State";
10303
+ type: "Event" | "Command" | "State";
10304
10304
  name: string;
10305
10305
  fields?: Record<string, unknown> | undefined;
10306
10306
  }>;
@@ -10368,11 +10368,11 @@ export declare const modelSchema: z.ZodObject<{
10368
10368
  name: z.ZodString;
10369
10369
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10370
10370
  }, "strip", z.ZodTypeAny, {
10371
- type: "Command" | "Event" | "State";
10371
+ type: "Event" | "Command" | "State";
10372
10372
  name: string;
10373
10373
  fields?: Record<string, unknown> | undefined;
10374
10374
  }, {
10375
- type: "Command" | "Event" | "State";
10375
+ type: "Event" | "Command" | "State";
10376
10376
  name: string;
10377
10377
  fields?: Record<string, unknown> | undefined;
10378
10378
  }>;
@@ -10438,7 +10438,7 @@ export declare const modelSchema: z.ZodObject<{
10438
10438
  _additionalInstructions: z.ZodOptional<z.ZodString>;
10439
10439
  }, "strip", z.ZodTypeAny, {
10440
10440
  target: {
10441
- type: "Command" | "Event" | "State";
10441
+ type: "Event" | "Command" | "State";
10442
10442
  name: string;
10443
10443
  fields?: Record<string, unknown> | undefined;
10444
10444
  };
@@ -10467,7 +10467,7 @@ export declare const modelSchema: z.ZodObject<{
10467
10467
  _additionalInstructions?: string | undefined;
10468
10468
  }, {
10469
10469
  target: {
10470
- type: "Command" | "Event" | "State";
10470
+ type: "Event" | "Command" | "State";
10471
10471
  name: string;
10472
10472
  fields?: Record<string, unknown> | undefined;
10473
10473
  };
@@ -10497,7 +10497,7 @@ export declare const modelSchema: z.ZodObject<{
10497
10497
  }>>>;
10498
10498
  }, "strip", z.ZodTypeAny, {
10499
10499
  target: {
10500
- type: "Command" | "Event" | "State";
10500
+ type: "Event" | "Command" | "State";
10501
10501
  name: string;
10502
10502
  fields?: Record<string, unknown> | undefined;
10503
10503
  };
@@ -10523,7 +10523,7 @@ export declare const modelSchema: z.ZodObject<{
10523
10523
  _additionalInstructions?: string | undefined;
10524
10524
  _withState?: {
10525
10525
  target: {
10526
- type: "Command" | "Event" | "State";
10526
+ type: "Event" | "Command" | "State";
10527
10527
  name: string;
10528
10528
  fields?: Record<string, unknown> | undefined;
10529
10529
  };
@@ -10553,7 +10553,7 @@ export declare const modelSchema: z.ZodObject<{
10553
10553
  } | undefined;
10554
10554
  }, {
10555
10555
  target: {
10556
- type: "Command" | "Event" | "State";
10556
+ type: "Event" | "Command" | "State";
10557
10557
  name: string;
10558
10558
  fields?: Record<string, unknown> | undefined;
10559
10559
  };
@@ -10579,7 +10579,7 @@ export declare const modelSchema: z.ZodObject<{
10579
10579
  _additionalInstructions?: string | undefined;
10580
10580
  _withState?: {
10581
10581
  target: {
10582
- type: "Command" | "Event" | "State";
10582
+ type: "Event" | "Command" | "State";
10583
10583
  name: string;
10584
10584
  fields?: Record<string, unknown> | undefined;
10585
10585
  };
@@ -10816,7 +10816,7 @@ export declare const modelSchema: z.ZodObject<{
10816
10816
  }[];
10817
10817
  data?: {
10818
10818
  target: {
10819
- type: "Command" | "Event" | "State";
10819
+ type: "Event" | "Command" | "State";
10820
10820
  name: string;
10821
10821
  fields?: Record<string, unknown> | undefined;
10822
10822
  };
@@ -10842,7 +10842,7 @@ export declare const modelSchema: z.ZodObject<{
10842
10842
  _additionalInstructions?: string | undefined;
10843
10843
  _withState?: {
10844
10844
  target: {
10845
- type: "Command" | "Event" | "State";
10845
+ type: "Event" | "Command" | "State";
10846
10846
  name: string;
10847
10847
  fields?: Record<string, unknown> | undefined;
10848
10848
  };
@@ -10901,7 +10901,7 @@ export declare const modelSchema: z.ZodObject<{
10901
10901
  }[];
10902
10902
  data?: {
10903
10903
  target: {
10904
- type: "Command" | "Event" | "State";
10904
+ type: "Event" | "Command" | "State";
10905
10905
  name: string;
10906
10906
  fields?: Record<string, unknown> | undefined;
10907
10907
  };
@@ -10927,7 +10927,7 @@ export declare const modelSchema: z.ZodObject<{
10927
10927
  _additionalInstructions?: string | undefined;
10928
10928
  _withState?: {
10929
10929
  target: {
10930
- type: "Command" | "Event" | "State";
10930
+ type: "Event" | "Command" | "State";
10931
10931
  name: string;
10932
10932
  fields?: Record<string, unknown> | undefined;
10933
10933
  };
@@ -10993,7 +10993,7 @@ export declare const modelSchema: z.ZodObject<{
10993
10993
  }[];
10994
10994
  data?: {
10995
10995
  target: {
10996
- type: "Command" | "Event" | "State";
10996
+ type: "Event" | "Command" | "State";
10997
10997
  name: string;
10998
10998
  fields?: Record<string, unknown> | undefined;
10999
10999
  };
@@ -11019,7 +11019,7 @@ export declare const modelSchema: z.ZodObject<{
11019
11019
  _additionalInstructions?: string | undefined;
11020
11020
  _withState?: {
11021
11021
  target: {
11022
- type: "Command" | "Event" | "State";
11022
+ type: "Event" | "Command" | "State";
11023
11023
  name: string;
11024
11024
  fields?: Record<string, unknown> | undefined;
11025
11025
  };
@@ -11091,7 +11091,7 @@ export declare const modelSchema: z.ZodObject<{
11091
11091
  }[];
11092
11092
  data?: {
11093
11093
  target: {
11094
- type: "Command" | "Event" | "State";
11094
+ type: "Event" | "Command" | "State";
11095
11095
  name: string;
11096
11096
  fields?: Record<string, unknown> | undefined;
11097
11097
  };
@@ -11117,7 +11117,7 @@ export declare const modelSchema: z.ZodObject<{
11117
11117
  _additionalInstructions?: string | undefined;
11118
11118
  _withState?: {
11119
11119
  target: {
11120
- type: "Command" | "Event" | "State";
11120
+ type: "Event" | "Command" | "State";
11121
11121
  name: string;
11122
11122
  fields?: Record<string, unknown> | undefined;
11123
11123
  };
@@ -11179,11 +11179,11 @@ export declare const modelSchema: z.ZodObject<{
11179
11179
  name: z.ZodString;
11180
11180
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11181
11181
  }, "strip", z.ZodTypeAny, {
11182
- type: "Command" | "Event" | "State";
11182
+ type: "Event" | "Command" | "State";
11183
11183
  name: string;
11184
11184
  fields?: Record<string, unknown> | undefined;
11185
11185
  }, {
11186
- type: "Command" | "Event" | "State";
11186
+ type: "Event" | "Command" | "State";
11187
11187
  name: string;
11188
11188
  fields?: Record<string, unknown> | undefined;
11189
11189
  }>;
@@ -11249,7 +11249,7 @@ export declare const modelSchema: z.ZodObject<{
11249
11249
  _additionalInstructions: z.ZodOptional<z.ZodString>;
11250
11250
  }, "strip", z.ZodTypeAny, {
11251
11251
  target: {
11252
- type: "Command" | "Event" | "State";
11252
+ type: "Event" | "Command" | "State";
11253
11253
  name: string;
11254
11254
  fields?: Record<string, unknown> | undefined;
11255
11255
  };
@@ -11278,7 +11278,7 @@ export declare const modelSchema: z.ZodObject<{
11278
11278
  _additionalInstructions?: string | undefined;
11279
11279
  }, {
11280
11280
  target: {
11281
- type: "Command" | "Event" | "State";
11281
+ type: "Event" | "Command" | "State";
11282
11282
  name: string;
11283
11283
  fields?: Record<string, unknown> | undefined;
11284
11284
  };
@@ -11514,7 +11514,7 @@ export declare const modelSchema: z.ZodObject<{
11514
11514
  }[];
11515
11515
  data?: {
11516
11516
  target: {
11517
- type: "Command" | "Event" | "State";
11517
+ type: "Event" | "Command" | "State";
11518
11518
  name: string;
11519
11519
  fields?: Record<string, unknown> | undefined;
11520
11520
  };
@@ -11572,7 +11572,7 @@ export declare const modelSchema: z.ZodObject<{
11572
11572
  }[];
11573
11573
  data?: {
11574
11574
  target: {
11575
- type: "Command" | "Event" | "State";
11575
+ type: "Event" | "Command" | "State";
11576
11576
  name: string;
11577
11577
  fields?: Record<string, unknown> | undefined;
11578
11578
  };
@@ -11637,7 +11637,7 @@ export declare const modelSchema: z.ZodObject<{
11637
11637
  }[];
11638
11638
  data?: {
11639
11639
  target: {
11640
- type: "Command" | "Event" | "State";
11640
+ type: "Event" | "Command" | "State";
11641
11641
  name: string;
11642
11642
  fields?: Record<string, unknown> | undefined;
11643
11643
  };
@@ -11708,7 +11708,7 @@ export declare const modelSchema: z.ZodObject<{
11708
11708
  }[];
11709
11709
  data?: {
11710
11710
  target: {
11711
- type: "Command" | "Event" | "State";
11711
+ type: "Event" | "Command" | "State";
11712
11712
  name: string;
11713
11713
  fields?: Record<string, unknown> | undefined;
11714
11714
  };
@@ -11761,11 +11761,11 @@ export declare const modelSchema: z.ZodObject<{
11761
11761
  name: z.ZodString;
11762
11762
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11763
11763
  }, "strip", z.ZodTypeAny, {
11764
- type: "Command" | "Event" | "State";
11764
+ type: "Event" | "Command" | "State";
11765
11765
  name: string;
11766
11766
  fields?: Record<string, unknown> | undefined;
11767
11767
  }, {
11768
- type: "Command" | "Event" | "State";
11768
+ type: "Event" | "Command" | "State";
11769
11769
  name: string;
11770
11770
  fields?: Record<string, unknown> | undefined;
11771
11771
  }>;
@@ -11833,11 +11833,11 @@ export declare const modelSchema: z.ZodObject<{
11833
11833
  name: z.ZodString;
11834
11834
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11835
11835
  }, "strip", z.ZodTypeAny, {
11836
- type: "Command" | "Event" | "State";
11836
+ type: "Event" | "Command" | "State";
11837
11837
  name: string;
11838
11838
  fields?: Record<string, unknown> | undefined;
11839
11839
  }, {
11840
- type: "Command" | "Event" | "State";
11840
+ type: "Event" | "Command" | "State";
11841
11841
  name: string;
11842
11842
  fields?: Record<string, unknown> | undefined;
11843
11843
  }>;
@@ -11903,7 +11903,7 @@ export declare const modelSchema: z.ZodObject<{
11903
11903
  _additionalInstructions: z.ZodOptional<z.ZodString>;
11904
11904
  }, "strip", z.ZodTypeAny, {
11905
11905
  target: {
11906
- type: "Command" | "Event" | "State";
11906
+ type: "Event" | "Command" | "State";
11907
11907
  name: string;
11908
11908
  fields?: Record<string, unknown> | undefined;
11909
11909
  };
@@ -11932,7 +11932,7 @@ export declare const modelSchema: z.ZodObject<{
11932
11932
  _additionalInstructions?: string | undefined;
11933
11933
  }, {
11934
11934
  target: {
11935
- type: "Command" | "Event" | "State";
11935
+ type: "Event" | "Command" | "State";
11936
11936
  name: string;
11937
11937
  fields?: Record<string, unknown> | undefined;
11938
11938
  };
@@ -11962,7 +11962,7 @@ export declare const modelSchema: z.ZodObject<{
11962
11962
  }>>>;
11963
11963
  }, "strip", z.ZodTypeAny, {
11964
11964
  target: {
11965
- type: "Command" | "Event" | "State";
11965
+ type: "Event" | "Command" | "State";
11966
11966
  name: string;
11967
11967
  fields?: Record<string, unknown> | undefined;
11968
11968
  };
@@ -11988,7 +11988,7 @@ export declare const modelSchema: z.ZodObject<{
11988
11988
  _additionalInstructions?: string | undefined;
11989
11989
  _withState?: {
11990
11990
  target: {
11991
- type: "Command" | "Event" | "State";
11991
+ type: "Event" | "Command" | "State";
11992
11992
  name: string;
11993
11993
  fields?: Record<string, unknown> | undefined;
11994
11994
  };
@@ -12018,7 +12018,7 @@ export declare const modelSchema: z.ZodObject<{
12018
12018
  } | undefined;
12019
12019
  }, {
12020
12020
  target: {
12021
- type: "Command" | "Event" | "State";
12021
+ type: "Event" | "Command" | "State";
12022
12022
  name: string;
12023
12023
  fields?: Record<string, unknown> | undefined;
12024
12024
  };
@@ -12044,7 +12044,7 @@ export declare const modelSchema: z.ZodObject<{
12044
12044
  _additionalInstructions?: string | undefined;
12045
12045
  _withState?: {
12046
12046
  target: {
12047
- type: "Command" | "Event" | "State";
12047
+ type: "Event" | "Command" | "State";
12048
12048
  name: string;
12049
12049
  fields?: Record<string, unknown> | undefined;
12050
12050
  };
@@ -12079,11 +12079,11 @@ export declare const modelSchema: z.ZodObject<{
12079
12079
  name: z.ZodString;
12080
12080
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12081
12081
  }, "strip", z.ZodTypeAny, {
12082
- type: "Command" | "Event" | "State";
12082
+ type: "Event" | "Command" | "State";
12083
12083
  name: string;
12084
12084
  fields?: Record<string, unknown> | undefined;
12085
12085
  }, {
12086
- type: "Command" | "Event" | "State";
12086
+ type: "Event" | "Command" | "State";
12087
12087
  name: string;
12088
12088
  fields?: Record<string, unknown> | undefined;
12089
12089
  }>;
@@ -12149,7 +12149,7 @@ export declare const modelSchema: z.ZodObject<{
12149
12149
  _additionalInstructions: z.ZodOptional<z.ZodString>;
12150
12150
  }, "strip", z.ZodTypeAny, {
12151
12151
  target: {
12152
- type: "Command" | "Event" | "State";
12152
+ type: "Event" | "Command" | "State";
12153
12153
  name: string;
12154
12154
  fields?: Record<string, unknown> | undefined;
12155
12155
  };
@@ -12178,7 +12178,7 @@ export declare const modelSchema: z.ZodObject<{
12178
12178
  _additionalInstructions?: string | undefined;
12179
12179
  }, {
12180
12180
  target: {
12181
- type: "Command" | "Event" | "State";
12181
+ type: "Event" | "Command" | "State";
12182
12182
  name: string;
12183
12183
  fields?: Record<string, unknown> | undefined;
12184
12184
  };
@@ -12411,9 +12411,10 @@ export declare const modelSchema: z.ZodObject<{
12411
12411
  }[];
12412
12412
  id?: string | undefined;
12413
12413
  }[];
12414
+ description?: string | undefined;
12414
12415
  data?: ({
12415
12416
  target: {
12416
- type: "Command" | "Event" | "State";
12417
+ type: "Event" | "Command" | "State";
12417
12418
  name: string;
12418
12419
  fields?: Record<string, unknown> | undefined;
12419
12420
  };
@@ -12442,7 +12443,7 @@ export declare const modelSchema: z.ZodObject<{
12442
12443
  _additionalInstructions?: string | undefined;
12443
12444
  } | {
12444
12445
  target: {
12445
- type: "Command" | "Event" | "State";
12446
+ type: "Event" | "Command" | "State";
12446
12447
  name: string;
12447
12448
  fields?: Record<string, unknown> | undefined;
12448
12449
  };
@@ -12468,7 +12469,7 @@ export declare const modelSchema: z.ZodObject<{
12468
12469
  _additionalInstructions?: string | undefined;
12469
12470
  _withState?: {
12470
12471
  target: {
12471
- type: "Command" | "Event" | "State";
12472
+ type: "Event" | "Command" | "State";
12472
12473
  name: string;
12473
12474
  fields?: Record<string, unknown> | undefined;
12474
12475
  };
@@ -12497,7 +12498,6 @@ export declare const modelSchema: z.ZodObject<{
12497
12498
  _additionalInstructions?: string | undefined;
12498
12499
  } | undefined;
12499
12500
  })[] | undefined;
12500
- description?: string | undefined;
12501
12501
  }, {
12502
12502
  specs: {
12503
12503
  type: "gherkin";
@@ -12525,9 +12525,10 @@ export declare const modelSchema: z.ZodObject<{
12525
12525
  }[];
12526
12526
  id?: string | undefined;
12527
12527
  }[];
12528
+ description?: string | undefined;
12528
12529
  data?: ({
12529
12530
  target: {
12530
- type: "Command" | "Event" | "State";
12531
+ type: "Event" | "Command" | "State";
12531
12532
  name: string;
12532
12533
  fields?: Record<string, unknown> | undefined;
12533
12534
  };
@@ -12556,7 +12557,7 @@ export declare const modelSchema: z.ZodObject<{
12556
12557
  _additionalInstructions?: string | undefined;
12557
12558
  } | {
12558
12559
  target: {
12559
- type: "Command" | "Event" | "State";
12560
+ type: "Event" | "Command" | "State";
12560
12561
  name: string;
12561
12562
  fields?: Record<string, unknown> | undefined;
12562
12563
  };
@@ -12582,7 +12583,7 @@ export declare const modelSchema: z.ZodObject<{
12582
12583
  _additionalInstructions?: string | undefined;
12583
12584
  _withState?: {
12584
12585
  target: {
12585
- type: "Command" | "Event" | "State";
12586
+ type: "Event" | "Command" | "State";
12586
12587
  name: string;
12587
12588
  fields?: Record<string, unknown> | undefined;
12588
12589
  };
@@ -12611,7 +12612,6 @@ export declare const modelSchema: z.ZodObject<{
12611
12612
  _additionalInstructions?: string | undefined;
12612
12613
  } | undefined;
12613
12614
  })[] | undefined;
12614
- description?: string | undefined;
12615
12615
  }>;
12616
12616
  }, "strip", z.ZodTypeAny, {
12617
12617
  type: "react";
@@ -12643,9 +12643,10 @@ export declare const modelSchema: z.ZodObject<{
12643
12643
  }[];
12644
12644
  id?: string | undefined;
12645
12645
  }[];
12646
+ description?: string | undefined;
12646
12647
  data?: ({
12647
12648
  target: {
12648
- type: "Command" | "Event" | "State";
12649
+ type: "Event" | "Command" | "State";
12649
12650
  name: string;
12650
12651
  fields?: Record<string, unknown> | undefined;
12651
12652
  };
@@ -12674,7 +12675,7 @@ export declare const modelSchema: z.ZodObject<{
12674
12675
  _additionalInstructions?: string | undefined;
12675
12676
  } | {
12676
12677
  target: {
12677
- type: "Command" | "Event" | "State";
12678
+ type: "Event" | "Command" | "State";
12678
12679
  name: string;
12679
12680
  fields?: Record<string, unknown> | undefined;
12680
12681
  };
@@ -12700,7 +12701,7 @@ export declare const modelSchema: z.ZodObject<{
12700
12701
  _additionalInstructions?: string | undefined;
12701
12702
  _withState?: {
12702
12703
  target: {
12703
- type: "Command" | "Event" | "State";
12704
+ type: "Event" | "Command" | "State";
12704
12705
  name: string;
12705
12706
  fields?: Record<string, unknown> | undefined;
12706
12707
  };
@@ -12729,7 +12730,6 @@ export declare const modelSchema: z.ZodObject<{
12729
12730
  _additionalInstructions?: string | undefined;
12730
12731
  } | undefined;
12731
12732
  })[] | undefined;
12732
- description?: string | undefined;
12733
12733
  };
12734
12734
  stream?: string | undefined;
12735
12735
  id?: string | undefined;
@@ -12766,9 +12766,10 @@ export declare const modelSchema: z.ZodObject<{
12766
12766
  }[];
12767
12767
  id?: string | undefined;
12768
12768
  }[];
12769
+ description?: string | undefined;
12769
12770
  data?: ({
12770
12771
  target: {
12771
- type: "Command" | "Event" | "State";
12772
+ type: "Event" | "Command" | "State";
12772
12773
  name: string;
12773
12774
  fields?: Record<string, unknown> | undefined;
12774
12775
  };
@@ -12797,7 +12798,7 @@ export declare const modelSchema: z.ZodObject<{
12797
12798
  _additionalInstructions?: string | undefined;
12798
12799
  } | {
12799
12800
  target: {
12800
- type: "Command" | "Event" | "State";
12801
+ type: "Event" | "Command" | "State";
12801
12802
  name: string;
12802
12803
  fields?: Record<string, unknown> | undefined;
12803
12804
  };
@@ -12823,7 +12824,7 @@ export declare const modelSchema: z.ZodObject<{
12823
12824
  _additionalInstructions?: string | undefined;
12824
12825
  _withState?: {
12825
12826
  target: {
12826
- type: "Command" | "Event" | "State";
12827
+ type: "Event" | "Command" | "State";
12827
12828
  name: string;
12828
12829
  fields?: Record<string, unknown> | undefined;
12829
12830
  };
@@ -12852,7 +12853,6 @@ export declare const modelSchema: z.ZodObject<{
12852
12853
  _additionalInstructions?: string | undefined;
12853
12854
  } | undefined;
12854
12855
  })[] | undefined;
12855
- description?: string | undefined;
12856
12856
  };
12857
12857
  stream?: string | undefined;
12858
12858
  id?: string | undefined;
@@ -12937,7 +12937,7 @@ export declare const modelSchema: z.ZodObject<{
12937
12937
  }[];
12938
12938
  data?: {
12939
12939
  target: {
12940
- type: "Command" | "Event" | "State";
12940
+ type: "Event" | "Command" | "State";
12941
12941
  name: string;
12942
12942
  fields?: Record<string, unknown> | undefined;
12943
12943
  };
@@ -12963,7 +12963,7 @@ export declare const modelSchema: z.ZodObject<{
12963
12963
  _additionalInstructions?: string | undefined;
12964
12964
  _withState?: {
12965
12965
  target: {
12966
- type: "Command" | "Event" | "State";
12966
+ type: "Event" | "Command" | "State";
12967
12967
  name: string;
12968
12968
  fields?: Record<string, unknown> | undefined;
12969
12969
  };
@@ -13035,7 +13035,7 @@ export declare const modelSchema: z.ZodObject<{
13035
13035
  }[];
13036
13036
  data?: {
13037
13037
  target: {
13038
- type: "Command" | "Event" | "State";
13038
+ type: "Event" | "Command" | "State";
13039
13039
  name: string;
13040
13040
  fields?: Record<string, unknown> | undefined;
13041
13041
  };
@@ -13100,9 +13100,10 @@ export declare const modelSchema: z.ZodObject<{
13100
13100
  }[];
13101
13101
  id?: string | undefined;
13102
13102
  }[];
13103
+ description?: string | undefined;
13103
13104
  data?: ({
13104
13105
  target: {
13105
- type: "Command" | "Event" | "State";
13106
+ type: "Event" | "Command" | "State";
13106
13107
  name: string;
13107
13108
  fields?: Record<string, unknown> | undefined;
13108
13109
  };
@@ -13131,7 +13132,7 @@ export declare const modelSchema: z.ZodObject<{
13131
13132
  _additionalInstructions?: string | undefined;
13132
13133
  } | {
13133
13134
  target: {
13134
- type: "Command" | "Event" | "State";
13135
+ type: "Event" | "Command" | "State";
13135
13136
  name: string;
13136
13137
  fields?: Record<string, unknown> | undefined;
13137
13138
  };
@@ -13157,7 +13158,7 @@ export declare const modelSchema: z.ZodObject<{
13157
13158
  _additionalInstructions?: string | undefined;
13158
13159
  _withState?: {
13159
13160
  target: {
13160
- type: "Command" | "Event" | "State";
13161
+ type: "Event" | "Command" | "State";
13161
13162
  name: string;
13162
13163
  fields?: Record<string, unknown> | undefined;
13163
13164
  };
@@ -13186,7 +13187,6 @@ export declare const modelSchema: z.ZodObject<{
13186
13187
  _additionalInstructions?: string | undefined;
13187
13188
  } | undefined;
13188
13189
  })[] | undefined;
13189
- description?: string | undefined;
13190
13190
  };
13191
13191
  stream?: string | undefined;
13192
13192
  id?: string | undefined;
@@ -13246,7 +13246,7 @@ export declare const modelSchema: z.ZodObject<{
13246
13246
  }[];
13247
13247
  data?: {
13248
13248
  target: {
13249
- type: "Command" | "Event" | "State";
13249
+ type: "Event" | "Command" | "State";
13250
13250
  name: string;
13251
13251
  fields?: Record<string, unknown> | undefined;
13252
13252
  };
@@ -13272,7 +13272,7 @@ export declare const modelSchema: z.ZodObject<{
13272
13272
  _additionalInstructions?: string | undefined;
13273
13273
  _withState?: {
13274
13274
  target: {
13275
- type: "Command" | "Event" | "State";
13275
+ type: "Event" | "Command" | "State";
13276
13276
  name: string;
13277
13277
  fields?: Record<string, unknown> | undefined;
13278
13278
  };
@@ -13344,7 +13344,7 @@ export declare const modelSchema: z.ZodObject<{
13344
13344
  }[];
13345
13345
  data?: {
13346
13346
  target: {
13347
- type: "Command" | "Event" | "State";
13347
+ type: "Event" | "Command" | "State";
13348
13348
  name: string;
13349
13349
  fields?: Record<string, unknown> | undefined;
13350
13350
  };
@@ -13409,9 +13409,10 @@ export declare const modelSchema: z.ZodObject<{
13409
13409
  }[];
13410
13410
  id?: string | undefined;
13411
13411
  }[];
13412
+ description?: string | undefined;
13412
13413
  data?: ({
13413
13414
  target: {
13414
- type: "Command" | "Event" | "State";
13415
+ type: "Event" | "Command" | "State";
13415
13416
  name: string;
13416
13417
  fields?: Record<string, unknown> | undefined;
13417
13418
  };
@@ -13440,7 +13441,7 @@ export declare const modelSchema: z.ZodObject<{
13440
13441
  _additionalInstructions?: string | undefined;
13441
13442
  } | {
13442
13443
  target: {
13443
- type: "Command" | "Event" | "State";
13444
+ type: "Event" | "Command" | "State";
13444
13445
  name: string;
13445
13446
  fields?: Record<string, unknown> | undefined;
13446
13447
  };
@@ -13466,7 +13467,7 @@ export declare const modelSchema: z.ZodObject<{
13466
13467
  _additionalInstructions?: string | undefined;
13467
13468
  _withState?: {
13468
13469
  target: {
13469
- type: "Command" | "Event" | "State";
13470
+ type: "Event" | "Command" | "State";
13470
13471
  name: string;
13471
13472
  fields?: Record<string, unknown> | undefined;
13472
13473
  };
@@ -13495,7 +13496,6 @@ export declare const modelSchema: z.ZodObject<{
13495
13496
  _additionalInstructions?: string | undefined;
13496
13497
  } | undefined;
13497
13498
  })[] | undefined;
13498
- description?: string | undefined;
13499
13499
  };
13500
13500
  stream?: string | undefined;
13501
13501
  id?: string | undefined;
@@ -13610,8 +13610,8 @@ export declare const modelSchema: z.ZodObject<{
13610
13610
  type: z.ZodLiteral<"event">;
13611
13611
  source: z.ZodDefault<z.ZodEnum<["internal", "external"]>>;
13612
13612
  }, "strip", z.ZodTypeAny, {
13613
- type: "event";
13614
13613
  source: "internal" | "external";
13614
+ type: "event";
13615
13615
  name: string;
13616
13616
  fields: {
13617
13617
  type: string;
@@ -13728,21 +13728,21 @@ export declare const modelSchema: z.ZodObject<{
13728
13728
  kind: z.ZodEnum<["command", "event", "state"]>;
13729
13729
  name: z.ZodString;
13730
13730
  }, "strip", z.ZodTypeAny, {
13731
- kind: "command" | "event" | "state";
13732
13731
  name: string;
13733
- }, {
13734
13732
  kind: "command" | "event" | "state";
13733
+ }, {
13735
13734
  name: string;
13735
+ kind: "command" | "event" | "state";
13736
13736
  }>, "many">;
13737
13737
  }, "strip", z.ZodTypeAny, {
13738
13738
  messages: {
13739
- kind: "command" | "event" | "state";
13740
13739
  name: string;
13740
+ kind: "command" | "event" | "state";
13741
13741
  }[];
13742
13742
  }, {
13743
13743
  messages: {
13744
- kind: "command" | "event" | "state";
13745
13744
  name: string;
13745
+ kind: "command" | "event" | "state";
13746
13746
  }[];
13747
13747
  }>;
13748
13748
  }, "strip", z.ZodTypeAny, {
@@ -13754,8 +13754,8 @@ export declare const modelSchema: z.ZodObject<{
13754
13754
  };
13755
13755
  declares: {
13756
13756
  messages: {
13757
- kind: "command" | "event" | "state";
13758
13757
  name: string;
13758
+ kind: "command" | "event" | "state";
13759
13759
  }[];
13760
13760
  };
13761
13761
  }, {
@@ -13767,8 +13767,8 @@ export declare const modelSchema: z.ZodObject<{
13767
13767
  };
13768
13768
  declares: {
13769
13769
  messages: {
13770
- kind: "command" | "event" | "state";
13771
13770
  name: string;
13771
+ kind: "command" | "event" | "state";
13772
13772
  }[];
13773
13773
  };
13774
13774
  }>, "many">;
@@ -13788,8 +13788,8 @@ export declare const modelSchema: z.ZodObject<{
13788
13788
  version: number;
13789
13789
  } | undefined;
13790
13790
  } | {
13791
- type: "event";
13792
13791
  source: "internal" | "external";
13792
+ type: "event";
13793
13793
  name: string;
13794
13794
  fields: {
13795
13795
  type: string;
@@ -13856,7 +13856,7 @@ export declare const modelSchema: z.ZodObject<{
13856
13856
  }[];
13857
13857
  data?: {
13858
13858
  target: {
13859
- type: "Command" | "Event" | "State";
13859
+ type: "Event" | "Command" | "State";
13860
13860
  name: string;
13861
13861
  fields?: Record<string, unknown> | undefined;
13862
13862
  };
@@ -13882,7 +13882,7 @@ export declare const modelSchema: z.ZodObject<{
13882
13882
  _additionalInstructions?: string | undefined;
13883
13883
  _withState?: {
13884
13884
  target: {
13885
- type: "Command" | "Event" | "State";
13885
+ type: "Event" | "Command" | "State";
13886
13886
  name: string;
13887
13887
  fields?: Record<string, unknown> | undefined;
13888
13888
  };
@@ -13954,7 +13954,7 @@ export declare const modelSchema: z.ZodObject<{
13954
13954
  }[];
13955
13955
  data?: {
13956
13956
  target: {
13957
- type: "Command" | "Event" | "State";
13957
+ type: "Event" | "Command" | "State";
13958
13958
  name: string;
13959
13959
  fields?: Record<string, unknown> | undefined;
13960
13960
  };
@@ -14019,9 +14019,10 @@ export declare const modelSchema: z.ZodObject<{
14019
14019
  }[];
14020
14020
  id?: string | undefined;
14021
14021
  }[];
14022
+ description?: string | undefined;
14022
14023
  data?: ({
14023
14024
  target: {
14024
- type: "Command" | "Event" | "State";
14025
+ type: "Event" | "Command" | "State";
14025
14026
  name: string;
14026
14027
  fields?: Record<string, unknown> | undefined;
14027
14028
  };
@@ -14050,7 +14051,7 @@ export declare const modelSchema: z.ZodObject<{
14050
14051
  _additionalInstructions?: string | undefined;
14051
14052
  } | {
14052
14053
  target: {
14053
- type: "Command" | "Event" | "State";
14054
+ type: "Event" | "Command" | "State";
14054
14055
  name: string;
14055
14056
  fields?: Record<string, unknown> | undefined;
14056
14057
  };
@@ -14076,7 +14077,7 @@ export declare const modelSchema: z.ZodObject<{
14076
14077
  _additionalInstructions?: string | undefined;
14077
14078
  _withState?: {
14078
14079
  target: {
14079
- type: "Command" | "Event" | "State";
14080
+ type: "Event" | "Command" | "State";
14080
14081
  name: string;
14081
14082
  fields?: Record<string, unknown> | undefined;
14082
14083
  };
@@ -14105,7 +14106,6 @@ export declare const modelSchema: z.ZodObject<{
14105
14106
  _additionalInstructions?: string | undefined;
14106
14107
  } | undefined;
14107
14108
  })[] | undefined;
14108
- description?: string | undefined;
14109
14109
  };
14110
14110
  stream?: string | undefined;
14111
14111
  id?: string | undefined;
@@ -14137,8 +14137,8 @@ export declare const modelSchema: z.ZodObject<{
14137
14137
  };
14138
14138
  declares: {
14139
14139
  messages: {
14140
- kind: "command" | "event" | "state";
14141
14140
  name: string;
14141
+ kind: "command" | "event" | "state";
14142
14142
  }[];
14143
14143
  };
14144
14144
  }[];
@@ -14231,7 +14231,7 @@ export declare const modelSchema: z.ZodObject<{
14231
14231
  }[];
14232
14232
  data?: {
14233
14233
  target: {
14234
- type: "Command" | "Event" | "State";
14234
+ type: "Event" | "Command" | "State";
14235
14235
  name: string;
14236
14236
  fields?: Record<string, unknown> | undefined;
14237
14237
  };
@@ -14257,7 +14257,7 @@ export declare const modelSchema: z.ZodObject<{
14257
14257
  _additionalInstructions?: string | undefined;
14258
14258
  _withState?: {
14259
14259
  target: {
14260
- type: "Command" | "Event" | "State";
14260
+ type: "Event" | "Command" | "State";
14261
14261
  name: string;
14262
14262
  fields?: Record<string, unknown> | undefined;
14263
14263
  };
@@ -14329,7 +14329,7 @@ export declare const modelSchema: z.ZodObject<{
14329
14329
  }[];
14330
14330
  data?: {
14331
14331
  target: {
14332
- type: "Command" | "Event" | "State";
14332
+ type: "Event" | "Command" | "State";
14333
14333
  name: string;
14334
14334
  fields?: Record<string, unknown> | undefined;
14335
14335
  };
@@ -14394,9 +14394,10 @@ export declare const modelSchema: z.ZodObject<{
14394
14394
  }[];
14395
14395
  id?: string | undefined;
14396
14396
  }[];
14397
+ description?: string | undefined;
14397
14398
  data?: ({
14398
14399
  target: {
14399
- type: "Command" | "Event" | "State";
14400
+ type: "Event" | "Command" | "State";
14400
14401
  name: string;
14401
14402
  fields?: Record<string, unknown> | undefined;
14402
14403
  };
@@ -14425,7 +14426,7 @@ export declare const modelSchema: z.ZodObject<{
14425
14426
  _additionalInstructions?: string | undefined;
14426
14427
  } | {
14427
14428
  target: {
14428
- type: "Command" | "Event" | "State";
14429
+ type: "Event" | "Command" | "State";
14429
14430
  name: string;
14430
14431
  fields?: Record<string, unknown> | undefined;
14431
14432
  };
@@ -14451,7 +14452,7 @@ export declare const modelSchema: z.ZodObject<{
14451
14452
  _additionalInstructions?: string | undefined;
14452
14453
  _withState?: {
14453
14454
  target: {
14454
- type: "Command" | "Event" | "State";
14455
+ type: "Event" | "Command" | "State";
14455
14456
  name: string;
14456
14457
  fields?: Record<string, unknown> | undefined;
14457
14458
  };
@@ -14480,7 +14481,6 @@ export declare const modelSchema: z.ZodObject<{
14480
14481
  _additionalInstructions?: string | undefined;
14481
14482
  } | undefined;
14482
14483
  })[] | undefined;
14483
- description?: string | undefined;
14484
14484
  };
14485
14485
  stream?: string | undefined;
14486
14486
  id?: string | undefined;
@@ -14512,8 +14512,8 @@ export declare const modelSchema: z.ZodObject<{
14512
14512
  };
14513
14513
  declares: {
14514
14514
  messages: {
14515
- kind: "command" | "event" | "state";
14516
14515
  name: string;
14516
+ kind: "command" | "event" | "state";
14517
14517
  }[];
14518
14518
  };
14519
14519
  }[];