@auto-engineer/narrative 0.20.0 → 0.21.2

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/CHANGELOG.md +22 -0
  3. package/dist/src/schema.d.ts +302 -302
  4. package/dist/tsconfig.tsbuildinfo +1 -1
  5. package/package.json +4 -4
  6. package/.turbo/turbo-format.log +0 -4
  7. package/.turbo/turbo-lint.log +0 -4
  8. package/.turbo/turbo-test.log +0 -14
  9. package/.turbo/turbo-type-check.log +0 -4
  10. package/dist/src/commands/export-schema-runner.d.ts +0 -3
  11. package/dist/src/commands/export-schema-runner.d.ts.map +0 -1
  12. package/dist/src/commands/export-schema-runner.js +0 -48
  13. package/dist/src/commands/export-schema-runner.js.map +0 -1
  14. package/dist/src/fluent-builder.specs.d.ts +0 -2
  15. package/dist/src/fluent-builder.specs.d.ts.map +0 -1
  16. package/dist/src/fluent-builder.specs.js +0 -28
  17. package/dist/src/fluent-builder.specs.js.map +0 -1
  18. package/dist/src/getNarratives.cache.specs.d.ts +0 -2
  19. package/dist/src/getNarratives.cache.specs.d.ts.map +0 -1
  20. package/dist/src/getNarratives.cache.specs.js +0 -234
  21. package/dist/src/getNarratives.cache.specs.js.map +0 -1
  22. package/dist/src/getNarratives.specs.d.ts +0 -2
  23. package/dist/src/getNarratives.specs.d.ts.map +0 -1
  24. package/dist/src/getNarratives.specs.js +0 -1307
  25. package/dist/src/getNarratives.specs.js.map +0 -1
  26. package/dist/src/id/addAutoIds.specs.d.ts +0 -2
  27. package/dist/src/id/addAutoIds.specs.d.ts.map +0 -1
  28. package/dist/src/id/addAutoIds.specs.js +0 -602
  29. package/dist/src/id/addAutoIds.specs.js.map +0 -1
  30. package/dist/src/id/hasAllIds.specs.d.ts +0 -2
  31. package/dist/src/id/hasAllIds.specs.d.ts.map +0 -1
  32. package/dist/src/id/hasAllIds.specs.js +0 -424
  33. package/dist/src/id/hasAllIds.specs.js.map +0 -1
  34. package/dist/src/model-to-narrative.specs.d.ts +0 -2
  35. package/dist/src/model-to-narrative.specs.d.ts.map +0 -1
  36. package/dist/src/model-to-narrative.specs.js +0 -2437
  37. package/dist/src/model-to-narrative.specs.js.map +0 -1
  38. package/dist/src/narrative-context.specs.d.ts +0 -2
  39. package/dist/src/narrative-context.specs.d.ts.map +0 -1
  40. package/dist/src/narrative-context.specs.js +0 -260
  41. package/dist/src/narrative-context.specs.js.map +0 -1
  42. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts +0 -2
  43. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.d.ts.map +0 -1
  44. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js +0 -142
  45. package/dist/src/transformers/model-to-narrative/generators/gwt.specs.js.map +0 -1
  46. package/dist/src/transformers/narrative-to-model/type-inference.specs.d.ts +0 -2
  47. package/dist/src/transformers/narrative-to-model/type-inference.specs.d.ts.map +0 -1
  48. package/dist/src/transformers/narrative-to-model/type-inference.specs.js +0 -177
  49. package/dist/src/transformers/narrative-to-model/type-inference.specs.js.map +0 -1
@@ -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
- name: string;
7
6
  kind: "command" | "event" | "state";
8
- }, {
9
7
  name: string;
8
+ }, {
10
9
  kind: "command" | "event" | "state";
10
+ name: string;
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
- name: string;
29
28
  kind: "command" | "event" | "state";
30
- }, {
31
29
  name: string;
30
+ }, {
32
31
  kind: "command" | "event" | "state";
32
+ name: string;
33
33
  }>, "many">;
34
34
  }, "strip", z.ZodTypeAny, {
35
35
  messages: {
36
- name: string;
37
36
  kind: "command" | "event" | "state";
37
+ name: string;
38
38
  }[];
39
39
  }, {
40
40
  messages: {
41
- name: string;
42
41
  kind: "command" | "event" | "state";
42
+ name: string;
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
- name: string;
55
54
  kind: "command" | "event" | "state";
55
+ name: string;
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
- name: string;
68
67
  kind: "command" | "event" | "state";
68
+ name: string;
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: "Event" | "Command" | "State";
90
+ type: "Command" | "Event" | "State";
91
91
  name: string;
92
92
  fields?: Record<string, unknown> | undefined;
93
93
  }, {
94
- type: "Event" | "Command" | "State";
94
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
218
+ type: "Command" | "Event" | "State";
219
219
  name: string;
220
220
  fields?: Record<string, unknown> | undefined;
221
221
  }, {
222
- type: "Event" | "Command" | "State";
222
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
290
+ type: "Command" | "Event" | "State";
291
291
  name: string;
292
292
  fields?: Record<string, unknown> | undefined;
293
293
  }, {
294
- type: "Event" | "Command" | "State";
294
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
360
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
389
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
419
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
445
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
475
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
501
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
537
+ type: "Command" | "Event" | "State";
538
538
  name: string;
539
539
  fields?: Record<string, unknown> | undefined;
540
540
  }, {
541
- type: "Event" | "Command" | "State";
541
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
607
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
636
+ type: "Command" | "Event" | "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
- source: "internal" | "external";
777
776
  type: "event";
777
+ source: "internal" | "external";
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
- source: "internal" | "external";
959
958
  type: "event";
959
+ source: "internal" | "external";
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: "Event" | "Command" | "State";
1562
+ type: "Command" | "Event" | "State";
1563
1563
  name: string;
1564
1564
  fields?: Record<string, unknown> | undefined;
1565
1565
  }, {
1566
- type: "Event" | "Command" | "State";
1566
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1634
+ type: "Command" | "Event" | "State";
1635
1635
  name: string;
1636
1636
  fields?: Record<string, unknown> | undefined;
1637
1637
  }, {
1638
- type: "Event" | "Command" | "State";
1638
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1704
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1733
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1763
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1789
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1819
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
1845
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2082
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2108
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2167
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2193
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2259
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2285
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2357
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2383
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2446
+ type: "Command" | "Event" | "State";
2447
2447
  name: string;
2448
2448
  fields?: Record<string, unknown> | undefined;
2449
2449
  }, {
2450
- type: "Event" | "Command" | "State";
2450
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2516
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2545
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2781
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2839
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2904
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
2975
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3029
+ type: "Command" | "Event" | "State";
3030
3030
  name: string;
3031
3031
  fields?: Record<string, unknown> | undefined;
3032
3032
  }, {
3033
- type: "Event" | "Command" | "State";
3033
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3101
+ type: "Command" | "Event" | "State";
3102
3102
  name: string;
3103
3103
  fields?: Record<string, unknown> | undefined;
3104
3104
  }, {
3105
- type: "Event" | "Command" | "State";
3105
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3171
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3200
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3230
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3256
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3286
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3312
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3347
+ type: "Command" | "Event" | "State";
3348
3348
  name: string;
3349
3349
  fields?: Record<string, unknown> | undefined;
3350
3350
  }, {
3351
- type: "Event" | "Command" | "State";
3351
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3417
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
3446
+ type: "Command" | "Event" | "State";
3447
3447
  name: string;
3448
3448
  fields?: Record<string, unknown> | undefined;
3449
3449
  };
@@ -3676,10 +3676,9 @@ declare const ReactSliceSchema: z.ZodObject<{
3676
3676
  }[];
3677
3677
  id?: string | undefined;
3678
3678
  }[];
3679
- description?: string | undefined;
3680
3679
  data?: ({
3681
3680
  target: {
3682
- type: "Event" | "Command" | "State";
3681
+ type: "Command" | "Event" | "State";
3683
3682
  name: string;
3684
3683
  fields?: Record<string, unknown> | undefined;
3685
3684
  };
@@ -3708,7 +3707,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3708
3707
  _additionalInstructions?: string | undefined;
3709
3708
  } | {
3710
3709
  target: {
3711
- type: "Event" | "Command" | "State";
3710
+ type: "Command" | "Event" | "State";
3712
3711
  name: string;
3713
3712
  fields?: Record<string, unknown> | undefined;
3714
3713
  };
@@ -3734,7 +3733,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3734
3733
  _additionalInstructions?: string | undefined;
3735
3734
  _withState?: {
3736
3735
  target: {
3737
- type: "Event" | "Command" | "State";
3736
+ type: "Command" | "Event" | "State";
3738
3737
  name: string;
3739
3738
  fields?: Record<string, unknown> | undefined;
3740
3739
  };
@@ -3763,6 +3762,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3763
3762
  _additionalInstructions?: string | undefined;
3764
3763
  } | undefined;
3765
3764
  })[] | undefined;
3765
+ description?: string | undefined;
3766
3766
  }, {
3767
3767
  specs: {
3768
3768
  type: "gherkin";
@@ -3790,10 +3790,9 @@ declare const ReactSliceSchema: z.ZodObject<{
3790
3790
  }[];
3791
3791
  id?: string | undefined;
3792
3792
  }[];
3793
- description?: string | undefined;
3794
3793
  data?: ({
3795
3794
  target: {
3796
- type: "Event" | "Command" | "State";
3795
+ type: "Command" | "Event" | "State";
3797
3796
  name: string;
3798
3797
  fields?: Record<string, unknown> | undefined;
3799
3798
  };
@@ -3822,7 +3821,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3822
3821
  _additionalInstructions?: string | undefined;
3823
3822
  } | {
3824
3823
  target: {
3825
- type: "Event" | "Command" | "State";
3824
+ type: "Command" | "Event" | "State";
3826
3825
  name: string;
3827
3826
  fields?: Record<string, unknown> | undefined;
3828
3827
  };
@@ -3848,7 +3847,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3848
3847
  _additionalInstructions?: string | undefined;
3849
3848
  _withState?: {
3850
3849
  target: {
3851
- type: "Event" | "Command" | "State";
3850
+ type: "Command" | "Event" | "State";
3852
3851
  name: string;
3853
3852
  fields?: Record<string, unknown> | undefined;
3854
3853
  };
@@ -3877,6 +3876,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3877
3876
  _additionalInstructions?: string | undefined;
3878
3877
  } | undefined;
3879
3878
  })[] | undefined;
3879
+ description?: string | undefined;
3880
3880
  }>;
3881
3881
  }, "strip", z.ZodTypeAny, {
3882
3882
  type: "react";
@@ -3908,10 +3908,9 @@ declare const ReactSliceSchema: z.ZodObject<{
3908
3908
  }[];
3909
3909
  id?: string | undefined;
3910
3910
  }[];
3911
- description?: string | undefined;
3912
3911
  data?: ({
3913
3912
  target: {
3914
- type: "Event" | "Command" | "State";
3913
+ type: "Command" | "Event" | "State";
3915
3914
  name: string;
3916
3915
  fields?: Record<string, unknown> | undefined;
3917
3916
  };
@@ -3940,7 +3939,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3940
3939
  _additionalInstructions?: string | undefined;
3941
3940
  } | {
3942
3941
  target: {
3943
- type: "Event" | "Command" | "State";
3942
+ type: "Command" | "Event" | "State";
3944
3943
  name: string;
3945
3944
  fields?: Record<string, unknown> | undefined;
3946
3945
  };
@@ -3966,7 +3965,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3966
3965
  _additionalInstructions?: string | undefined;
3967
3966
  _withState?: {
3968
3967
  target: {
3969
- type: "Event" | "Command" | "State";
3968
+ type: "Command" | "Event" | "State";
3970
3969
  name: string;
3971
3970
  fields?: Record<string, unknown> | undefined;
3972
3971
  };
@@ -3995,6 +3994,7 @@ declare const ReactSliceSchema: z.ZodObject<{
3995
3994
  _additionalInstructions?: string | undefined;
3996
3995
  } | undefined;
3997
3996
  })[] | undefined;
3997
+ description?: string | undefined;
3998
3998
  };
3999
3999
  stream?: string | undefined;
4000
4000
  id?: string | undefined;
@@ -4031,10 +4031,9 @@ declare const ReactSliceSchema: z.ZodObject<{
4031
4031
  }[];
4032
4032
  id?: string | undefined;
4033
4033
  }[];
4034
- description?: string | undefined;
4035
4034
  data?: ({
4036
4035
  target: {
4037
- type: "Event" | "Command" | "State";
4036
+ type: "Command" | "Event" | "State";
4038
4037
  name: string;
4039
4038
  fields?: Record<string, unknown> | undefined;
4040
4039
  };
@@ -4063,7 +4062,7 @@ declare const ReactSliceSchema: z.ZodObject<{
4063
4062
  _additionalInstructions?: string | undefined;
4064
4063
  } | {
4065
4064
  target: {
4066
- type: "Event" | "Command" | "State";
4065
+ type: "Command" | "Event" | "State";
4067
4066
  name: string;
4068
4067
  fields?: Record<string, unknown> | undefined;
4069
4068
  };
@@ -4089,7 +4088,7 @@ declare const ReactSliceSchema: z.ZodObject<{
4089
4088
  _additionalInstructions?: string | undefined;
4090
4089
  _withState?: {
4091
4090
  target: {
4092
- type: "Event" | "Command" | "State";
4091
+ type: "Command" | "Event" | "State";
4093
4092
  name: string;
4094
4093
  fields?: Record<string, unknown> | undefined;
4095
4094
  };
@@ -4118,6 +4117,7 @@ declare const ReactSliceSchema: z.ZodObject<{
4118
4117
  _additionalInstructions?: string | undefined;
4119
4118
  } | undefined;
4120
4119
  })[] | 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: "Event" | "Command" | "State";
4193
+ type: "Command" | "Event" | "State";
4194
4194
  name: string;
4195
4195
  fields?: Record<string, unknown> | undefined;
4196
4196
  }, {
4197
- type: "Event" | "Command" | "State";
4197
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4265
+ type: "Command" | "Event" | "State";
4266
4266
  name: string;
4267
4267
  fields?: Record<string, unknown> | undefined;
4268
4268
  }, {
4269
- type: "Event" | "Command" | "State";
4269
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4335
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4364
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4394
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4420
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4450
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4476
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4713
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4739
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4798
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4824
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4890
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4916
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
4988
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5014
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5076
+ type: "Command" | "Event" | "State";
5077
5077
  name: string;
5078
5078
  fields?: Record<string, unknown> | undefined;
5079
5079
  }, {
5080
- type: "Event" | "Command" | "State";
5080
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5146
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5175
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5411
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5469
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5534
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5605
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5658
+ type: "Command" | "Event" | "State";
5659
5659
  name: string;
5660
5660
  fields?: Record<string, unknown> | undefined;
5661
5661
  }, {
5662
- type: "Event" | "Command" | "State";
5662
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5730
+ type: "Command" | "Event" | "State";
5731
5731
  name: string;
5732
5732
  fields?: Record<string, unknown> | undefined;
5733
5733
  }, {
5734
- type: "Event" | "Command" | "State";
5734
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5800
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5829
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5859
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5885
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5915
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5941
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
5976
+ type: "Command" | "Event" | "State";
5977
5977
  name: string;
5978
5978
  fields?: Record<string, unknown> | undefined;
5979
5979
  }, {
5980
- type: "Event" | "Command" | "State";
5980
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
6046
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
6075
+ type: "Command" | "Event" | "State";
6076
6076
  name: string;
6077
6077
  fields?: Record<string, unknown> | undefined;
6078
6078
  };
@@ -6305,10 +6305,9 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6305
6305
  }[];
6306
6306
  id?: string | undefined;
6307
6307
  }[];
6308
- description?: string | undefined;
6309
6308
  data?: ({
6310
6309
  target: {
6311
- type: "Event" | "Command" | "State";
6310
+ type: "Command" | "Event" | "State";
6312
6311
  name: string;
6313
6312
  fields?: Record<string, unknown> | undefined;
6314
6313
  };
@@ -6337,7 +6336,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6337
6336
  _additionalInstructions?: string | undefined;
6338
6337
  } | {
6339
6338
  target: {
6340
- type: "Event" | "Command" | "State";
6339
+ type: "Command" | "Event" | "State";
6341
6340
  name: string;
6342
6341
  fields?: Record<string, unknown> | undefined;
6343
6342
  };
@@ -6363,7 +6362,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6363
6362
  _additionalInstructions?: string | undefined;
6364
6363
  _withState?: {
6365
6364
  target: {
6366
- type: "Event" | "Command" | "State";
6365
+ type: "Command" | "Event" | "State";
6367
6366
  name: string;
6368
6367
  fields?: Record<string, unknown> | undefined;
6369
6368
  };
@@ -6392,6 +6391,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6392
6391
  _additionalInstructions?: string | undefined;
6393
6392
  } | undefined;
6394
6393
  })[] | undefined;
6394
+ description?: string | undefined;
6395
6395
  }, {
6396
6396
  specs: {
6397
6397
  type: "gherkin";
@@ -6419,10 +6419,9 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6419
6419
  }[];
6420
6420
  id?: string | undefined;
6421
6421
  }[];
6422
- description?: string | undefined;
6423
6422
  data?: ({
6424
6423
  target: {
6425
- type: "Event" | "Command" | "State";
6424
+ type: "Command" | "Event" | "State";
6426
6425
  name: string;
6427
6426
  fields?: Record<string, unknown> | undefined;
6428
6427
  };
@@ -6451,7 +6450,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6451
6450
  _additionalInstructions?: string | undefined;
6452
6451
  } | {
6453
6452
  target: {
6454
- type: "Event" | "Command" | "State";
6453
+ type: "Command" | "Event" | "State";
6455
6454
  name: string;
6456
6455
  fields?: Record<string, unknown> | undefined;
6457
6456
  };
@@ -6477,7 +6476,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6477
6476
  _additionalInstructions?: string | undefined;
6478
6477
  _withState?: {
6479
6478
  target: {
6480
- type: "Event" | "Command" | "State";
6479
+ type: "Command" | "Event" | "State";
6481
6480
  name: string;
6482
6481
  fields?: Record<string, unknown> | undefined;
6483
6482
  };
@@ -6506,6 +6505,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6506
6505
  _additionalInstructions?: string | undefined;
6507
6506
  } | undefined;
6508
6507
  })[] | undefined;
6508
+ description?: string | undefined;
6509
6509
  }>;
6510
6510
  }, "strip", z.ZodTypeAny, {
6511
6511
  type: "react";
@@ -6537,10 +6537,9 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6537
6537
  }[];
6538
6538
  id?: string | undefined;
6539
6539
  }[];
6540
- description?: string | undefined;
6541
6540
  data?: ({
6542
6541
  target: {
6543
- type: "Event" | "Command" | "State";
6542
+ type: "Command" | "Event" | "State";
6544
6543
  name: string;
6545
6544
  fields?: Record<string, unknown> | undefined;
6546
6545
  };
@@ -6569,7 +6568,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6569
6568
  _additionalInstructions?: string | undefined;
6570
6569
  } | {
6571
6570
  target: {
6572
- type: "Event" | "Command" | "State";
6571
+ type: "Command" | "Event" | "State";
6573
6572
  name: string;
6574
6573
  fields?: Record<string, unknown> | undefined;
6575
6574
  };
@@ -6595,7 +6594,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6595
6594
  _additionalInstructions?: string | undefined;
6596
6595
  _withState?: {
6597
6596
  target: {
6598
- type: "Event" | "Command" | "State";
6597
+ type: "Command" | "Event" | "State";
6599
6598
  name: string;
6600
6599
  fields?: Record<string, unknown> | undefined;
6601
6600
  };
@@ -6624,6 +6623,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6624
6623
  _additionalInstructions?: string | undefined;
6625
6624
  } | undefined;
6626
6625
  })[] | undefined;
6626
+ description?: string | undefined;
6627
6627
  };
6628
6628
  stream?: string | undefined;
6629
6629
  id?: string | undefined;
@@ -6660,10 +6660,9 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6660
6660
  }[];
6661
6661
  id?: string | undefined;
6662
6662
  }[];
6663
- description?: string | undefined;
6664
6663
  data?: ({
6665
6664
  target: {
6666
- type: "Event" | "Command" | "State";
6665
+ type: "Command" | "Event" | "State";
6667
6666
  name: string;
6668
6667
  fields?: Record<string, unknown> | undefined;
6669
6668
  };
@@ -6692,7 +6691,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6692
6691
  _additionalInstructions?: string | undefined;
6693
6692
  } | {
6694
6693
  target: {
6695
- type: "Event" | "Command" | "State";
6694
+ type: "Command" | "Event" | "State";
6696
6695
  name: string;
6697
6696
  fields?: Record<string, unknown> | undefined;
6698
6697
  };
@@ -6718,7 +6717,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6718
6717
  _additionalInstructions?: string | undefined;
6719
6718
  _withState?: {
6720
6719
  target: {
6721
- type: "Event" | "Command" | "State";
6720
+ type: "Command" | "Event" | "State";
6722
6721
  name: string;
6723
6722
  fields?: Record<string, unknown> | undefined;
6724
6723
  };
@@ -6747,6 +6746,7 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6747
6746
  _additionalInstructions?: string | undefined;
6748
6747
  } | undefined;
6749
6748
  })[] | 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: "Event" | "Command" | "State";
6825
+ type: "Command" | "Event" | "State";
6826
6826
  name: string;
6827
6827
  fields?: Record<string, unknown> | undefined;
6828
6828
  }, {
6829
- type: "Event" | "Command" | "State";
6829
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
6897
+ type: "Command" | "Event" | "State";
6898
6898
  name: string;
6899
6899
  fields?: Record<string, unknown> | undefined;
6900
6900
  }, {
6901
- type: "Event" | "Command" | "State";
6901
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
6967
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
6996
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7026
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7052
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7082
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7108
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7345
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7371
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7430
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7456
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7522
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7548
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7620
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7646
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7708
+ type: "Command" | "Event" | "State";
7709
7709
  name: string;
7710
7710
  fields?: Record<string, unknown> | undefined;
7711
7711
  }, {
7712
- type: "Event" | "Command" | "State";
7712
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7778
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
7807
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8043
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8101
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8166
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8237
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8290
+ type: "Command" | "Event" | "State";
8291
8291
  name: string;
8292
8292
  fields?: Record<string, unknown> | undefined;
8293
8293
  }, {
8294
- type: "Event" | "Command" | "State";
8294
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8362
+ type: "Command" | "Event" | "State";
8363
8363
  name: string;
8364
8364
  fields?: Record<string, unknown> | undefined;
8365
8365
  }, {
8366
- type: "Event" | "Command" | "State";
8366
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8432
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8461
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8491
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8517
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8547
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8573
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8608
+ type: "Command" | "Event" | "State";
8609
8609
  name: string;
8610
8610
  fields?: Record<string, unknown> | undefined;
8611
8611
  }, {
8612
- type: "Event" | "Command" | "State";
8612
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8678
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
8707
+ type: "Command" | "Event" | "State";
8708
8708
  name: string;
8709
8709
  fields?: Record<string, unknown> | undefined;
8710
8710
  };
@@ -8937,10 +8937,9 @@ declare const NarrativeSchema: z.ZodObject<{
8937
8937
  }[];
8938
8938
  id?: string | undefined;
8939
8939
  }[];
8940
- description?: string | undefined;
8941
8940
  data?: ({
8942
8941
  target: {
8943
- type: "Event" | "Command" | "State";
8942
+ type: "Command" | "Event" | "State";
8944
8943
  name: string;
8945
8944
  fields?: Record<string, unknown> | undefined;
8946
8945
  };
@@ -8969,7 +8968,7 @@ declare const NarrativeSchema: z.ZodObject<{
8969
8968
  _additionalInstructions?: string | undefined;
8970
8969
  } | {
8971
8970
  target: {
8972
- type: "Event" | "Command" | "State";
8971
+ type: "Command" | "Event" | "State";
8973
8972
  name: string;
8974
8973
  fields?: Record<string, unknown> | undefined;
8975
8974
  };
@@ -8995,7 +8994,7 @@ declare const NarrativeSchema: z.ZodObject<{
8995
8994
  _additionalInstructions?: string | undefined;
8996
8995
  _withState?: {
8997
8996
  target: {
8998
- type: "Event" | "Command" | "State";
8997
+ type: "Command" | "Event" | "State";
8999
8998
  name: string;
9000
8999
  fields?: Record<string, unknown> | undefined;
9001
9000
  };
@@ -9024,6 +9023,7 @@ declare const NarrativeSchema: z.ZodObject<{
9024
9023
  _additionalInstructions?: string | undefined;
9025
9024
  } | undefined;
9026
9025
  })[] | undefined;
9026
+ description?: string | undefined;
9027
9027
  }, {
9028
9028
  specs: {
9029
9029
  type: "gherkin";
@@ -9051,10 +9051,9 @@ declare const NarrativeSchema: z.ZodObject<{
9051
9051
  }[];
9052
9052
  id?: string | undefined;
9053
9053
  }[];
9054
- description?: string | undefined;
9055
9054
  data?: ({
9056
9055
  target: {
9057
- type: "Event" | "Command" | "State";
9056
+ type: "Command" | "Event" | "State";
9058
9057
  name: string;
9059
9058
  fields?: Record<string, unknown> | undefined;
9060
9059
  };
@@ -9083,7 +9082,7 @@ declare const NarrativeSchema: z.ZodObject<{
9083
9082
  _additionalInstructions?: string | undefined;
9084
9083
  } | {
9085
9084
  target: {
9086
- type: "Event" | "Command" | "State";
9085
+ type: "Command" | "Event" | "State";
9087
9086
  name: string;
9088
9087
  fields?: Record<string, unknown> | undefined;
9089
9088
  };
@@ -9109,7 +9108,7 @@ declare const NarrativeSchema: z.ZodObject<{
9109
9108
  _additionalInstructions?: string | undefined;
9110
9109
  _withState?: {
9111
9110
  target: {
9112
- type: "Event" | "Command" | "State";
9111
+ type: "Command" | "Event" | "State";
9113
9112
  name: string;
9114
9113
  fields?: Record<string, unknown> | undefined;
9115
9114
  };
@@ -9138,6 +9137,7 @@ declare const NarrativeSchema: z.ZodObject<{
9138
9137
  _additionalInstructions?: string | undefined;
9139
9138
  } | undefined;
9140
9139
  })[] | undefined;
9140
+ description?: string | undefined;
9141
9141
  }>;
9142
9142
  }, "strip", z.ZodTypeAny, {
9143
9143
  type: "react";
@@ -9169,10 +9169,9 @@ declare const NarrativeSchema: z.ZodObject<{
9169
9169
  }[];
9170
9170
  id?: string | undefined;
9171
9171
  }[];
9172
- description?: string | undefined;
9173
9172
  data?: ({
9174
9173
  target: {
9175
- type: "Event" | "Command" | "State";
9174
+ type: "Command" | "Event" | "State";
9176
9175
  name: string;
9177
9176
  fields?: Record<string, unknown> | undefined;
9178
9177
  };
@@ -9201,7 +9200,7 @@ declare const NarrativeSchema: z.ZodObject<{
9201
9200
  _additionalInstructions?: string | undefined;
9202
9201
  } | {
9203
9202
  target: {
9204
- type: "Event" | "Command" | "State";
9203
+ type: "Command" | "Event" | "State";
9205
9204
  name: string;
9206
9205
  fields?: Record<string, unknown> | undefined;
9207
9206
  };
@@ -9227,7 +9226,7 @@ declare const NarrativeSchema: z.ZodObject<{
9227
9226
  _additionalInstructions?: string | undefined;
9228
9227
  _withState?: {
9229
9228
  target: {
9230
- type: "Event" | "Command" | "State";
9229
+ type: "Command" | "Event" | "State";
9231
9230
  name: string;
9232
9231
  fields?: Record<string, unknown> | undefined;
9233
9232
  };
@@ -9256,6 +9255,7 @@ declare const NarrativeSchema: z.ZodObject<{
9256
9255
  _additionalInstructions?: string | undefined;
9257
9256
  } | undefined;
9258
9257
  })[] | undefined;
9258
+ description?: string | undefined;
9259
9259
  };
9260
9260
  stream?: string | undefined;
9261
9261
  id?: string | undefined;
@@ -9292,10 +9292,9 @@ declare const NarrativeSchema: z.ZodObject<{
9292
9292
  }[];
9293
9293
  id?: string | undefined;
9294
9294
  }[];
9295
- description?: string | undefined;
9296
9295
  data?: ({
9297
9296
  target: {
9298
- type: "Event" | "Command" | "State";
9297
+ type: "Command" | "Event" | "State";
9299
9298
  name: string;
9300
9299
  fields?: Record<string, unknown> | undefined;
9301
9300
  };
@@ -9324,7 +9323,7 @@ declare const NarrativeSchema: z.ZodObject<{
9324
9323
  _additionalInstructions?: string | undefined;
9325
9324
  } | {
9326
9325
  target: {
9327
- type: "Event" | "Command" | "State";
9326
+ type: "Command" | "Event" | "State";
9328
9327
  name: string;
9329
9328
  fields?: Record<string, unknown> | undefined;
9330
9329
  };
@@ -9350,7 +9349,7 @@ declare const NarrativeSchema: z.ZodObject<{
9350
9349
  _additionalInstructions?: string | undefined;
9351
9350
  _withState?: {
9352
9351
  target: {
9353
- type: "Event" | "Command" | "State";
9352
+ type: "Command" | "Event" | "State";
9354
9353
  name: string;
9355
9354
  fields?: Record<string, unknown> | undefined;
9356
9355
  };
@@ -9379,6 +9378,7 @@ declare const NarrativeSchema: z.ZodObject<{
9379
9378
  _additionalInstructions?: string | undefined;
9380
9379
  } | undefined;
9381
9380
  })[] | 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: "Event" | "Command" | "State";
9466
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
9492
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
9564
+ type: "Command" | "Event" | "State";
9565
9565
  name: string;
9566
9566
  fields?: Record<string, unknown> | undefined;
9567
9567
  };
@@ -9626,10 +9626,9 @@ declare const NarrativeSchema: z.ZodObject<{
9626
9626
  }[];
9627
9627
  id?: string | undefined;
9628
9628
  }[];
9629
- description?: string | undefined;
9630
9629
  data?: ({
9631
9630
  target: {
9632
- type: "Event" | "Command" | "State";
9631
+ type: "Command" | "Event" | "State";
9633
9632
  name: string;
9634
9633
  fields?: Record<string, unknown> | undefined;
9635
9634
  };
@@ -9658,7 +9657,7 @@ declare const NarrativeSchema: z.ZodObject<{
9658
9657
  _additionalInstructions?: string | undefined;
9659
9658
  } | {
9660
9659
  target: {
9661
- type: "Event" | "Command" | "State";
9660
+ type: "Command" | "Event" | "State";
9662
9661
  name: string;
9663
9662
  fields?: Record<string, unknown> | undefined;
9664
9663
  };
@@ -9684,7 +9683,7 @@ declare const NarrativeSchema: z.ZodObject<{
9684
9683
  _additionalInstructions?: string | undefined;
9685
9684
  _withState?: {
9686
9685
  target: {
9687
- type: "Event" | "Command" | "State";
9686
+ type: "Command" | "Event" | "State";
9688
9687
  name: string;
9689
9688
  fields?: Record<string, unknown> | undefined;
9690
9689
  };
@@ -9713,6 +9712,7 @@ declare const NarrativeSchema: z.ZodObject<{
9713
9712
  _additionalInstructions?: string | undefined;
9714
9713
  } | undefined;
9715
9714
  })[] | 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: "Event" | "Command" | "State";
9775
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
9801
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
9873
+ type: "Command" | "Event" | "State";
9874
9874
  name: string;
9875
9875
  fields?: Record<string, unknown> | undefined;
9876
9876
  };
@@ -9935,10 +9935,9 @@ declare const NarrativeSchema: z.ZodObject<{
9935
9935
  }[];
9936
9936
  id?: string | undefined;
9937
9937
  }[];
9938
- description?: string | undefined;
9939
9938
  data?: ({
9940
9939
  target: {
9941
- type: "Event" | "Command" | "State";
9940
+ type: "Command" | "Event" | "State";
9942
9941
  name: string;
9943
9942
  fields?: Record<string, unknown> | undefined;
9944
9943
  };
@@ -9967,7 +9966,7 @@ declare const NarrativeSchema: z.ZodObject<{
9967
9966
  _additionalInstructions?: string | undefined;
9968
9967
  } | {
9969
9968
  target: {
9970
- type: "Event" | "Command" | "State";
9969
+ type: "Command" | "Event" | "State";
9971
9970
  name: string;
9972
9971
  fields?: Record<string, unknown> | undefined;
9973
9972
  };
@@ -9993,7 +9992,7 @@ declare const NarrativeSchema: z.ZodObject<{
9993
9992
  _additionalInstructions?: string | undefined;
9994
9993
  _withState?: {
9995
9994
  target: {
9996
- type: "Event" | "Command" | "State";
9995
+ type: "Command" | "Event" | "State";
9997
9996
  name: string;
9998
9997
  fields?: Record<string, unknown> | undefined;
9999
9998
  };
@@ -10022,6 +10021,7 @@ declare const NarrativeSchema: z.ZodObject<{
10022
10021
  _additionalInstructions?: string | undefined;
10023
10022
  } | undefined;
10024
10023
  })[] | 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: "Event" | "Command" | "State";
10299
+ type: "Command" | "Event" | "State";
10300
10300
  name: string;
10301
10301
  fields?: Record<string, unknown> | undefined;
10302
10302
  }, {
10303
- type: "Event" | "Command" | "State";
10303
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10371
+ type: "Command" | "Event" | "State";
10372
10372
  name: string;
10373
10373
  fields?: Record<string, unknown> | undefined;
10374
10374
  }, {
10375
- type: "Event" | "Command" | "State";
10375
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10441
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10470
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10500
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10526
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10556
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10582
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10819
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10845
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10904
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10930
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
10996
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11022
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11094
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11120
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11182
+ type: "Command" | "Event" | "State";
11183
11183
  name: string;
11184
11184
  fields?: Record<string, unknown> | undefined;
11185
11185
  }, {
11186
- type: "Event" | "Command" | "State";
11186
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11252
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11281
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11517
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11575
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11640
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11711
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11764
+ type: "Command" | "Event" | "State";
11765
11765
  name: string;
11766
11766
  fields?: Record<string, unknown> | undefined;
11767
11767
  }, {
11768
- type: "Event" | "Command" | "State";
11768
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11836
+ type: "Command" | "Event" | "State";
11837
11837
  name: string;
11838
11838
  fields?: Record<string, unknown> | undefined;
11839
11839
  }, {
11840
- type: "Event" | "Command" | "State";
11840
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11906
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11935
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11965
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
11991
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12021
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12047
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12082
+ type: "Command" | "Event" | "State";
12083
12083
  name: string;
12084
12084
  fields?: Record<string, unknown> | undefined;
12085
12085
  }, {
12086
- type: "Event" | "Command" | "State";
12086
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12152
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12181
+ type: "Command" | "Event" | "State";
12182
12182
  name: string;
12183
12183
  fields?: Record<string, unknown> | undefined;
12184
12184
  };
@@ -12411,10 +12411,9 @@ export declare const modelSchema: z.ZodObject<{
12411
12411
  }[];
12412
12412
  id?: string | undefined;
12413
12413
  }[];
12414
- description?: string | undefined;
12415
12414
  data?: ({
12416
12415
  target: {
12417
- type: "Event" | "Command" | "State";
12416
+ type: "Command" | "Event" | "State";
12418
12417
  name: string;
12419
12418
  fields?: Record<string, unknown> | undefined;
12420
12419
  };
@@ -12443,7 +12442,7 @@ export declare const modelSchema: z.ZodObject<{
12443
12442
  _additionalInstructions?: string | undefined;
12444
12443
  } | {
12445
12444
  target: {
12446
- type: "Event" | "Command" | "State";
12445
+ type: "Command" | "Event" | "State";
12447
12446
  name: string;
12448
12447
  fields?: Record<string, unknown> | undefined;
12449
12448
  };
@@ -12469,7 +12468,7 @@ export declare const modelSchema: z.ZodObject<{
12469
12468
  _additionalInstructions?: string | undefined;
12470
12469
  _withState?: {
12471
12470
  target: {
12472
- type: "Event" | "Command" | "State";
12471
+ type: "Command" | "Event" | "State";
12473
12472
  name: string;
12474
12473
  fields?: Record<string, unknown> | undefined;
12475
12474
  };
@@ -12498,6 +12497,7 @@ export declare const modelSchema: z.ZodObject<{
12498
12497
  _additionalInstructions?: string | undefined;
12499
12498
  } | undefined;
12500
12499
  })[] | undefined;
12500
+ description?: string | undefined;
12501
12501
  }, {
12502
12502
  specs: {
12503
12503
  type: "gherkin";
@@ -12525,10 +12525,9 @@ export declare const modelSchema: z.ZodObject<{
12525
12525
  }[];
12526
12526
  id?: string | undefined;
12527
12527
  }[];
12528
- description?: string | undefined;
12529
12528
  data?: ({
12530
12529
  target: {
12531
- type: "Event" | "Command" | "State";
12530
+ type: "Command" | "Event" | "State";
12532
12531
  name: string;
12533
12532
  fields?: Record<string, unknown> | undefined;
12534
12533
  };
@@ -12557,7 +12556,7 @@ export declare const modelSchema: z.ZodObject<{
12557
12556
  _additionalInstructions?: string | undefined;
12558
12557
  } | {
12559
12558
  target: {
12560
- type: "Event" | "Command" | "State";
12559
+ type: "Command" | "Event" | "State";
12561
12560
  name: string;
12562
12561
  fields?: Record<string, unknown> | undefined;
12563
12562
  };
@@ -12583,7 +12582,7 @@ export declare const modelSchema: z.ZodObject<{
12583
12582
  _additionalInstructions?: string | undefined;
12584
12583
  _withState?: {
12585
12584
  target: {
12586
- type: "Event" | "Command" | "State";
12585
+ type: "Command" | "Event" | "State";
12587
12586
  name: string;
12588
12587
  fields?: Record<string, unknown> | undefined;
12589
12588
  };
@@ -12612,6 +12611,7 @@ export declare const modelSchema: z.ZodObject<{
12612
12611
  _additionalInstructions?: string | undefined;
12613
12612
  } | undefined;
12614
12613
  })[] | undefined;
12614
+ description?: string | undefined;
12615
12615
  }>;
12616
12616
  }, "strip", z.ZodTypeAny, {
12617
12617
  type: "react";
@@ -12643,10 +12643,9 @@ export declare const modelSchema: z.ZodObject<{
12643
12643
  }[];
12644
12644
  id?: string | undefined;
12645
12645
  }[];
12646
- description?: string | undefined;
12647
12646
  data?: ({
12648
12647
  target: {
12649
- type: "Event" | "Command" | "State";
12648
+ type: "Command" | "Event" | "State";
12650
12649
  name: string;
12651
12650
  fields?: Record<string, unknown> | undefined;
12652
12651
  };
@@ -12675,7 +12674,7 @@ export declare const modelSchema: z.ZodObject<{
12675
12674
  _additionalInstructions?: string | undefined;
12676
12675
  } | {
12677
12676
  target: {
12678
- type: "Event" | "Command" | "State";
12677
+ type: "Command" | "Event" | "State";
12679
12678
  name: string;
12680
12679
  fields?: Record<string, unknown> | undefined;
12681
12680
  };
@@ -12701,7 +12700,7 @@ export declare const modelSchema: z.ZodObject<{
12701
12700
  _additionalInstructions?: string | undefined;
12702
12701
  _withState?: {
12703
12702
  target: {
12704
- type: "Event" | "Command" | "State";
12703
+ type: "Command" | "Event" | "State";
12705
12704
  name: string;
12706
12705
  fields?: Record<string, unknown> | undefined;
12707
12706
  };
@@ -12730,6 +12729,7 @@ export declare const modelSchema: z.ZodObject<{
12730
12729
  _additionalInstructions?: string | undefined;
12731
12730
  } | undefined;
12732
12731
  })[] | undefined;
12732
+ description?: string | undefined;
12733
12733
  };
12734
12734
  stream?: string | undefined;
12735
12735
  id?: string | undefined;
@@ -12766,10 +12766,9 @@ export declare const modelSchema: z.ZodObject<{
12766
12766
  }[];
12767
12767
  id?: string | undefined;
12768
12768
  }[];
12769
- description?: string | undefined;
12770
12769
  data?: ({
12771
12770
  target: {
12772
- type: "Event" | "Command" | "State";
12771
+ type: "Command" | "Event" | "State";
12773
12772
  name: string;
12774
12773
  fields?: Record<string, unknown> | undefined;
12775
12774
  };
@@ -12798,7 +12797,7 @@ export declare const modelSchema: z.ZodObject<{
12798
12797
  _additionalInstructions?: string | undefined;
12799
12798
  } | {
12800
12799
  target: {
12801
- type: "Event" | "Command" | "State";
12800
+ type: "Command" | "Event" | "State";
12802
12801
  name: string;
12803
12802
  fields?: Record<string, unknown> | undefined;
12804
12803
  };
@@ -12824,7 +12823,7 @@ export declare const modelSchema: z.ZodObject<{
12824
12823
  _additionalInstructions?: string | undefined;
12825
12824
  _withState?: {
12826
12825
  target: {
12827
- type: "Event" | "Command" | "State";
12826
+ type: "Command" | "Event" | "State";
12828
12827
  name: string;
12829
12828
  fields?: Record<string, unknown> | undefined;
12830
12829
  };
@@ -12853,6 +12852,7 @@ export declare const modelSchema: z.ZodObject<{
12853
12852
  _additionalInstructions?: string | undefined;
12854
12853
  } | undefined;
12855
12854
  })[] | 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: "Event" | "Command" | "State";
12940
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
12966
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
13038
+ type: "Command" | "Event" | "State";
13039
13039
  name: string;
13040
13040
  fields?: Record<string, unknown> | undefined;
13041
13041
  };
@@ -13100,10 +13100,9 @@ export declare const modelSchema: z.ZodObject<{
13100
13100
  }[];
13101
13101
  id?: string | undefined;
13102
13102
  }[];
13103
- description?: string | undefined;
13104
13103
  data?: ({
13105
13104
  target: {
13106
- type: "Event" | "Command" | "State";
13105
+ type: "Command" | "Event" | "State";
13107
13106
  name: string;
13108
13107
  fields?: Record<string, unknown> | undefined;
13109
13108
  };
@@ -13132,7 +13131,7 @@ export declare const modelSchema: z.ZodObject<{
13132
13131
  _additionalInstructions?: string | undefined;
13133
13132
  } | {
13134
13133
  target: {
13135
- type: "Event" | "Command" | "State";
13134
+ type: "Command" | "Event" | "State";
13136
13135
  name: string;
13137
13136
  fields?: Record<string, unknown> | undefined;
13138
13137
  };
@@ -13158,7 +13157,7 @@ export declare const modelSchema: z.ZodObject<{
13158
13157
  _additionalInstructions?: string | undefined;
13159
13158
  _withState?: {
13160
13159
  target: {
13161
- type: "Event" | "Command" | "State";
13160
+ type: "Command" | "Event" | "State";
13162
13161
  name: string;
13163
13162
  fields?: Record<string, unknown> | undefined;
13164
13163
  };
@@ -13187,6 +13186,7 @@ export declare const modelSchema: z.ZodObject<{
13187
13186
  _additionalInstructions?: string | undefined;
13188
13187
  } | undefined;
13189
13188
  })[] | 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: "Event" | "Command" | "State";
13249
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
13275
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
13347
+ type: "Command" | "Event" | "State";
13348
13348
  name: string;
13349
13349
  fields?: Record<string, unknown> | undefined;
13350
13350
  };
@@ -13409,10 +13409,9 @@ export declare const modelSchema: z.ZodObject<{
13409
13409
  }[];
13410
13410
  id?: string | undefined;
13411
13411
  }[];
13412
- description?: string | undefined;
13413
13412
  data?: ({
13414
13413
  target: {
13415
- type: "Event" | "Command" | "State";
13414
+ type: "Command" | "Event" | "State";
13416
13415
  name: string;
13417
13416
  fields?: Record<string, unknown> | undefined;
13418
13417
  };
@@ -13441,7 +13440,7 @@ export declare const modelSchema: z.ZodObject<{
13441
13440
  _additionalInstructions?: string | undefined;
13442
13441
  } | {
13443
13442
  target: {
13444
- type: "Event" | "Command" | "State";
13443
+ type: "Command" | "Event" | "State";
13445
13444
  name: string;
13446
13445
  fields?: Record<string, unknown> | undefined;
13447
13446
  };
@@ -13467,7 +13466,7 @@ export declare const modelSchema: z.ZodObject<{
13467
13466
  _additionalInstructions?: string | undefined;
13468
13467
  _withState?: {
13469
13468
  target: {
13470
- type: "Event" | "Command" | "State";
13469
+ type: "Command" | "Event" | "State";
13471
13470
  name: string;
13472
13471
  fields?: Record<string, unknown> | undefined;
13473
13472
  };
@@ -13496,6 +13495,7 @@ export declare const modelSchema: z.ZodObject<{
13496
13495
  _additionalInstructions?: string | undefined;
13497
13496
  } | undefined;
13498
13497
  })[] | 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
- source: "internal" | "external";
13614
13613
  type: "event";
13614
+ source: "internal" | "external";
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
- name: string;
13732
13731
  kind: "command" | "event" | "state";
13733
- }, {
13734
13732
  name: string;
13733
+ }, {
13735
13734
  kind: "command" | "event" | "state";
13735
+ name: string;
13736
13736
  }>, "many">;
13737
13737
  }, "strip", z.ZodTypeAny, {
13738
13738
  messages: {
13739
- name: string;
13740
13739
  kind: "command" | "event" | "state";
13740
+ name: string;
13741
13741
  }[];
13742
13742
  }, {
13743
13743
  messages: {
13744
- name: string;
13745
13744
  kind: "command" | "event" | "state";
13745
+ name: string;
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
- name: string;
13758
13757
  kind: "command" | "event" | "state";
13758
+ name: string;
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
- name: string;
13771
13770
  kind: "command" | "event" | "state";
13771
+ name: string;
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
- source: "internal" | "external";
13792
13791
  type: "event";
13792
+ source: "internal" | "external";
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: "Event" | "Command" | "State";
13859
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
13885
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
13957
+ type: "Command" | "Event" | "State";
13958
13958
  name: string;
13959
13959
  fields?: Record<string, unknown> | undefined;
13960
13960
  };
@@ -14019,10 +14019,9 @@ export declare const modelSchema: z.ZodObject<{
14019
14019
  }[];
14020
14020
  id?: string | undefined;
14021
14021
  }[];
14022
- description?: string | undefined;
14023
14022
  data?: ({
14024
14023
  target: {
14025
- type: "Event" | "Command" | "State";
14024
+ type: "Command" | "Event" | "State";
14026
14025
  name: string;
14027
14026
  fields?: Record<string, unknown> | undefined;
14028
14027
  };
@@ -14051,7 +14050,7 @@ export declare const modelSchema: z.ZodObject<{
14051
14050
  _additionalInstructions?: string | undefined;
14052
14051
  } | {
14053
14052
  target: {
14054
- type: "Event" | "Command" | "State";
14053
+ type: "Command" | "Event" | "State";
14055
14054
  name: string;
14056
14055
  fields?: Record<string, unknown> | undefined;
14057
14056
  };
@@ -14077,7 +14076,7 @@ export declare const modelSchema: z.ZodObject<{
14077
14076
  _additionalInstructions?: string | undefined;
14078
14077
  _withState?: {
14079
14078
  target: {
14080
- type: "Event" | "Command" | "State";
14079
+ type: "Command" | "Event" | "State";
14081
14080
  name: string;
14082
14081
  fields?: Record<string, unknown> | undefined;
14083
14082
  };
@@ -14106,6 +14105,7 @@ export declare const modelSchema: z.ZodObject<{
14106
14105
  _additionalInstructions?: string | undefined;
14107
14106
  } | undefined;
14108
14107
  })[] | 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
- name: string;
14141
14140
  kind: "command" | "event" | "state";
14141
+ name: string;
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: "Event" | "Command" | "State";
14234
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
14260
+ type: "Command" | "Event" | "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: "Event" | "Command" | "State";
14332
+ type: "Command" | "Event" | "State";
14333
14333
  name: string;
14334
14334
  fields?: Record<string, unknown> | undefined;
14335
14335
  };
@@ -14394,10 +14394,9 @@ export declare const modelSchema: z.ZodObject<{
14394
14394
  }[];
14395
14395
  id?: string | undefined;
14396
14396
  }[];
14397
- description?: string | undefined;
14398
14397
  data?: ({
14399
14398
  target: {
14400
- type: "Event" | "Command" | "State";
14399
+ type: "Command" | "Event" | "State";
14401
14400
  name: string;
14402
14401
  fields?: Record<string, unknown> | undefined;
14403
14402
  };
@@ -14426,7 +14425,7 @@ export declare const modelSchema: z.ZodObject<{
14426
14425
  _additionalInstructions?: string | undefined;
14427
14426
  } | {
14428
14427
  target: {
14429
- type: "Event" | "Command" | "State";
14428
+ type: "Command" | "Event" | "State";
14430
14429
  name: string;
14431
14430
  fields?: Record<string, unknown> | undefined;
14432
14431
  };
@@ -14452,7 +14451,7 @@ export declare const modelSchema: z.ZodObject<{
14452
14451
  _additionalInstructions?: string | undefined;
14453
14452
  _withState?: {
14454
14453
  target: {
14455
- type: "Event" | "Command" | "State";
14454
+ type: "Command" | "Event" | "State";
14456
14455
  name: string;
14457
14456
  fields?: Record<string, unknown> | undefined;
14458
14457
  };
@@ -14481,6 +14480,7 @@ export declare const modelSchema: z.ZodObject<{
14481
14480
  _additionalInstructions?: string | undefined;
14482
14481
  } | undefined;
14483
14482
  })[] | 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
- name: string;
14516
14515
  kind: "command" | "event" | "state";
14516
+ name: string;
14517
14517
  }[];
14518
14518
  };
14519
14519
  }[];