@auto-engineer/narrative 1.5.5 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-test.log +3 -3
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +48 -0
- package/dist/src/index.d.ts +4 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/schema.d.ts +799 -36
- package/dist/src/schema.d.ts.map +1 -1
- package/dist/src/schema.js +15 -2
- package/dist/src/schema.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/index.ts +6 -0
- package/src/schema.specs.ts +26 -6
- package/src/schema.ts +17 -2
package/dist/src/schema.d.ts
CHANGED
|
@@ -1791,6 +1791,69 @@ declare const MessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1791
1791
|
version?: number | undefined;
|
|
1792
1792
|
} | undefined;
|
|
1793
1793
|
}>]>;
|
|
1794
|
+
export declare const MappingFieldRefSchema: z.ZodObject<{
|
|
1795
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
1796
|
+
name: z.ZodString;
|
|
1797
|
+
field: z.ZodString;
|
|
1798
|
+
}, "strip", z.ZodTypeAny, {
|
|
1799
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1800
|
+
name: string;
|
|
1801
|
+
field: string;
|
|
1802
|
+
}, {
|
|
1803
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1804
|
+
name: string;
|
|
1805
|
+
field: string;
|
|
1806
|
+
}>;
|
|
1807
|
+
export declare const MappingEntrySchema: z.ZodObject<{
|
|
1808
|
+
source: z.ZodObject<{
|
|
1809
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
1810
|
+
name: z.ZodString;
|
|
1811
|
+
field: z.ZodString;
|
|
1812
|
+
}, "strip", z.ZodTypeAny, {
|
|
1813
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1814
|
+
name: string;
|
|
1815
|
+
field: string;
|
|
1816
|
+
}, {
|
|
1817
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1818
|
+
name: string;
|
|
1819
|
+
field: string;
|
|
1820
|
+
}>;
|
|
1821
|
+
target: z.ZodObject<{
|
|
1822
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
1823
|
+
name: z.ZodString;
|
|
1824
|
+
field: z.ZodString;
|
|
1825
|
+
}, "strip", z.ZodTypeAny, {
|
|
1826
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1827
|
+
name: string;
|
|
1828
|
+
field: string;
|
|
1829
|
+
}, {
|
|
1830
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1831
|
+
name: string;
|
|
1832
|
+
field: string;
|
|
1833
|
+
}>;
|
|
1834
|
+
}, "strip", z.ZodTypeAny, {
|
|
1835
|
+
target: {
|
|
1836
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1837
|
+
name: string;
|
|
1838
|
+
field: string;
|
|
1839
|
+
};
|
|
1840
|
+
source: {
|
|
1841
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1842
|
+
name: string;
|
|
1843
|
+
field: string;
|
|
1844
|
+
};
|
|
1845
|
+
}, {
|
|
1846
|
+
target: {
|
|
1847
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1848
|
+
name: string;
|
|
1849
|
+
field: string;
|
|
1850
|
+
};
|
|
1851
|
+
source: {
|
|
1852
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
1853
|
+
name: string;
|
|
1854
|
+
field: string;
|
|
1855
|
+
};
|
|
1856
|
+
}>;
|
|
1794
1857
|
declare const StepErrorSchema: z.ZodObject<{
|
|
1795
1858
|
type: z.ZodEnum<["IllegalStateError", "ValidationError", "NotFoundError"]>;
|
|
1796
1859
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -2297,7 +2360,56 @@ declare const CommandSliceSchema: z.ZodObject<{
|
|
|
2297
2360
|
specs?: ClientSpecNode[] | undefined;
|
|
2298
2361
|
}>;
|
|
2299
2362
|
request: z.ZodOptional<z.ZodString>;
|
|
2300
|
-
mappings: z.ZodOptional<z.
|
|
2363
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2364
|
+
source: z.ZodObject<{
|
|
2365
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
2366
|
+
name: z.ZodString;
|
|
2367
|
+
field: z.ZodString;
|
|
2368
|
+
}, "strip", z.ZodTypeAny, {
|
|
2369
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2370
|
+
name: string;
|
|
2371
|
+
field: string;
|
|
2372
|
+
}, {
|
|
2373
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2374
|
+
name: string;
|
|
2375
|
+
field: string;
|
|
2376
|
+
}>;
|
|
2377
|
+
target: z.ZodObject<{
|
|
2378
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
2379
|
+
name: z.ZodString;
|
|
2380
|
+
field: z.ZodString;
|
|
2381
|
+
}, "strip", z.ZodTypeAny, {
|
|
2382
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2383
|
+
name: string;
|
|
2384
|
+
field: string;
|
|
2385
|
+
}, {
|
|
2386
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2387
|
+
name: string;
|
|
2388
|
+
field: string;
|
|
2389
|
+
}>;
|
|
2390
|
+
}, "strip", z.ZodTypeAny, {
|
|
2391
|
+
target: {
|
|
2392
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2393
|
+
name: string;
|
|
2394
|
+
field: string;
|
|
2395
|
+
};
|
|
2396
|
+
source: {
|
|
2397
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2398
|
+
name: string;
|
|
2399
|
+
field: string;
|
|
2400
|
+
};
|
|
2401
|
+
}, {
|
|
2402
|
+
target: {
|
|
2403
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2404
|
+
name: string;
|
|
2405
|
+
field: string;
|
|
2406
|
+
};
|
|
2407
|
+
source: {
|
|
2408
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
2409
|
+
name: string;
|
|
2410
|
+
field: string;
|
|
2411
|
+
};
|
|
2412
|
+
}>, "many">>;
|
|
2301
2413
|
server: z.ZodObject<{
|
|
2302
2414
|
description: z.ZodString;
|
|
2303
2415
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -3474,7 +3586,18 @@ declare const CommandSliceSchema: z.ZodObject<{
|
|
|
3474
3586
|
via?: string[] | undefined;
|
|
3475
3587
|
additionalInstructions?: string | undefined;
|
|
3476
3588
|
request?: string | undefined;
|
|
3477
|
-
mappings?:
|
|
3589
|
+
mappings?: {
|
|
3590
|
+
target: {
|
|
3591
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3592
|
+
name: string;
|
|
3593
|
+
field: string;
|
|
3594
|
+
};
|
|
3595
|
+
source: {
|
|
3596
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3597
|
+
name: string;
|
|
3598
|
+
field: string;
|
|
3599
|
+
};
|
|
3600
|
+
}[] | undefined;
|
|
3478
3601
|
}, {
|
|
3479
3602
|
type: "command";
|
|
3480
3603
|
name: string;
|
|
@@ -3605,7 +3728,18 @@ declare const CommandSliceSchema: z.ZodObject<{
|
|
|
3605
3728
|
via?: string[] | undefined;
|
|
3606
3729
|
additionalInstructions?: string | undefined;
|
|
3607
3730
|
request?: string | undefined;
|
|
3608
|
-
mappings?:
|
|
3731
|
+
mappings?: {
|
|
3732
|
+
target: {
|
|
3733
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3734
|
+
name: string;
|
|
3735
|
+
field: string;
|
|
3736
|
+
};
|
|
3737
|
+
source: {
|
|
3738
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3739
|
+
name: string;
|
|
3740
|
+
field: string;
|
|
3741
|
+
};
|
|
3742
|
+
}[] | undefined;
|
|
3609
3743
|
}>;
|
|
3610
3744
|
declare const QuerySliceSchema: z.ZodObject<{
|
|
3611
3745
|
name: z.ZodString;
|
|
@@ -3624,7 +3758,56 @@ declare const QuerySliceSchema: z.ZodObject<{
|
|
|
3624
3758
|
specs?: ClientSpecNode[] | undefined;
|
|
3625
3759
|
}>;
|
|
3626
3760
|
request: z.ZodOptional<z.ZodString>;
|
|
3627
|
-
mappings: z.ZodOptional<z.
|
|
3761
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3762
|
+
source: z.ZodObject<{
|
|
3763
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
3764
|
+
name: z.ZodString;
|
|
3765
|
+
field: z.ZodString;
|
|
3766
|
+
}, "strip", z.ZodTypeAny, {
|
|
3767
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3768
|
+
name: string;
|
|
3769
|
+
field: string;
|
|
3770
|
+
}, {
|
|
3771
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3772
|
+
name: string;
|
|
3773
|
+
field: string;
|
|
3774
|
+
}>;
|
|
3775
|
+
target: z.ZodObject<{
|
|
3776
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
3777
|
+
name: z.ZodString;
|
|
3778
|
+
field: z.ZodString;
|
|
3779
|
+
}, "strip", z.ZodTypeAny, {
|
|
3780
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3781
|
+
name: string;
|
|
3782
|
+
field: string;
|
|
3783
|
+
}, {
|
|
3784
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3785
|
+
name: string;
|
|
3786
|
+
field: string;
|
|
3787
|
+
}>;
|
|
3788
|
+
}, "strip", z.ZodTypeAny, {
|
|
3789
|
+
target: {
|
|
3790
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3791
|
+
name: string;
|
|
3792
|
+
field: string;
|
|
3793
|
+
};
|
|
3794
|
+
source: {
|
|
3795
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3796
|
+
name: string;
|
|
3797
|
+
field: string;
|
|
3798
|
+
};
|
|
3799
|
+
}, {
|
|
3800
|
+
target: {
|
|
3801
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3802
|
+
name: string;
|
|
3803
|
+
field: string;
|
|
3804
|
+
};
|
|
3805
|
+
source: {
|
|
3806
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
3807
|
+
name: string;
|
|
3808
|
+
field: string;
|
|
3809
|
+
};
|
|
3810
|
+
}>, "many">>;
|
|
3628
3811
|
server: z.ZodObject<{
|
|
3629
3812
|
description: z.ZodString;
|
|
3630
3813
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -4801,7 +4984,18 @@ declare const QuerySliceSchema: z.ZodObject<{
|
|
|
4801
4984
|
via?: string[] | undefined;
|
|
4802
4985
|
additionalInstructions?: string | undefined;
|
|
4803
4986
|
request?: string | undefined;
|
|
4804
|
-
mappings?:
|
|
4987
|
+
mappings?: {
|
|
4988
|
+
target: {
|
|
4989
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
4990
|
+
name: string;
|
|
4991
|
+
field: string;
|
|
4992
|
+
};
|
|
4993
|
+
source: {
|
|
4994
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
4995
|
+
name: string;
|
|
4996
|
+
field: string;
|
|
4997
|
+
};
|
|
4998
|
+
}[] | undefined;
|
|
4805
4999
|
}, {
|
|
4806
5000
|
type: "query";
|
|
4807
5001
|
name: string;
|
|
@@ -4932,7 +5126,18 @@ declare const QuerySliceSchema: z.ZodObject<{
|
|
|
4932
5126
|
via?: string[] | undefined;
|
|
4933
5127
|
additionalInstructions?: string | undefined;
|
|
4934
5128
|
request?: string | undefined;
|
|
4935
|
-
mappings?:
|
|
5129
|
+
mappings?: {
|
|
5130
|
+
target: {
|
|
5131
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
5132
|
+
name: string;
|
|
5133
|
+
field: string;
|
|
5134
|
+
};
|
|
5135
|
+
source: {
|
|
5136
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
5137
|
+
name: string;
|
|
5138
|
+
field: string;
|
|
5139
|
+
};
|
|
5140
|
+
}[] | undefined;
|
|
4936
5141
|
}>;
|
|
4937
5142
|
declare const ReactSliceSchema: z.ZodObject<{
|
|
4938
5143
|
name: z.ZodString;
|
|
@@ -6298,7 +6503,56 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6298
6503
|
specs?: ClientSpecNode[] | undefined;
|
|
6299
6504
|
}>;
|
|
6300
6505
|
request: z.ZodOptional<z.ZodString>;
|
|
6301
|
-
mappings: z.ZodOptional<z.
|
|
6506
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6507
|
+
source: z.ZodObject<{
|
|
6508
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
6509
|
+
name: z.ZodString;
|
|
6510
|
+
field: z.ZodString;
|
|
6511
|
+
}, "strip", z.ZodTypeAny, {
|
|
6512
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6513
|
+
name: string;
|
|
6514
|
+
field: string;
|
|
6515
|
+
}, {
|
|
6516
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6517
|
+
name: string;
|
|
6518
|
+
field: string;
|
|
6519
|
+
}>;
|
|
6520
|
+
target: z.ZodObject<{
|
|
6521
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
6522
|
+
name: z.ZodString;
|
|
6523
|
+
field: z.ZodString;
|
|
6524
|
+
}, "strip", z.ZodTypeAny, {
|
|
6525
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6526
|
+
name: string;
|
|
6527
|
+
field: string;
|
|
6528
|
+
}, {
|
|
6529
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6530
|
+
name: string;
|
|
6531
|
+
field: string;
|
|
6532
|
+
}>;
|
|
6533
|
+
}, "strip", z.ZodTypeAny, {
|
|
6534
|
+
target: {
|
|
6535
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6536
|
+
name: string;
|
|
6537
|
+
field: string;
|
|
6538
|
+
};
|
|
6539
|
+
source: {
|
|
6540
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6541
|
+
name: string;
|
|
6542
|
+
field: string;
|
|
6543
|
+
};
|
|
6544
|
+
}, {
|
|
6545
|
+
target: {
|
|
6546
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6547
|
+
name: string;
|
|
6548
|
+
field: string;
|
|
6549
|
+
};
|
|
6550
|
+
source: {
|
|
6551
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
6552
|
+
name: string;
|
|
6553
|
+
field: string;
|
|
6554
|
+
};
|
|
6555
|
+
}>, "many">>;
|
|
6302
6556
|
server: z.ZodObject<{
|
|
6303
6557
|
description: z.ZodString;
|
|
6304
6558
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -7475,7 +7729,18 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7475
7729
|
via?: string[] | undefined;
|
|
7476
7730
|
additionalInstructions?: string | undefined;
|
|
7477
7731
|
request?: string | undefined;
|
|
7478
|
-
mappings?:
|
|
7732
|
+
mappings?: {
|
|
7733
|
+
target: {
|
|
7734
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7735
|
+
name: string;
|
|
7736
|
+
field: string;
|
|
7737
|
+
};
|
|
7738
|
+
source: {
|
|
7739
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7740
|
+
name: string;
|
|
7741
|
+
field: string;
|
|
7742
|
+
};
|
|
7743
|
+
}[] | undefined;
|
|
7479
7744
|
}, {
|
|
7480
7745
|
type: "command";
|
|
7481
7746
|
name: string;
|
|
@@ -7606,7 +7871,18 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7606
7871
|
via?: string[] | undefined;
|
|
7607
7872
|
additionalInstructions?: string | undefined;
|
|
7608
7873
|
request?: string | undefined;
|
|
7609
|
-
mappings?:
|
|
7874
|
+
mappings?: {
|
|
7875
|
+
target: {
|
|
7876
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7877
|
+
name: string;
|
|
7878
|
+
field: string;
|
|
7879
|
+
};
|
|
7880
|
+
source: {
|
|
7881
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7882
|
+
name: string;
|
|
7883
|
+
field: string;
|
|
7884
|
+
};
|
|
7885
|
+
}[] | undefined;
|
|
7610
7886
|
}>, z.ZodObject<{
|
|
7611
7887
|
name: z.ZodString;
|
|
7612
7888
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -7624,7 +7900,56 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7624
7900
|
specs?: ClientSpecNode[] | undefined;
|
|
7625
7901
|
}>;
|
|
7626
7902
|
request: z.ZodOptional<z.ZodString>;
|
|
7627
|
-
mappings: z.ZodOptional<z.
|
|
7903
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7904
|
+
source: z.ZodObject<{
|
|
7905
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
7906
|
+
name: z.ZodString;
|
|
7907
|
+
field: z.ZodString;
|
|
7908
|
+
}, "strip", z.ZodTypeAny, {
|
|
7909
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7910
|
+
name: string;
|
|
7911
|
+
field: string;
|
|
7912
|
+
}, {
|
|
7913
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7914
|
+
name: string;
|
|
7915
|
+
field: string;
|
|
7916
|
+
}>;
|
|
7917
|
+
target: z.ZodObject<{
|
|
7918
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
7919
|
+
name: z.ZodString;
|
|
7920
|
+
field: z.ZodString;
|
|
7921
|
+
}, "strip", z.ZodTypeAny, {
|
|
7922
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7923
|
+
name: string;
|
|
7924
|
+
field: string;
|
|
7925
|
+
}, {
|
|
7926
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7927
|
+
name: string;
|
|
7928
|
+
field: string;
|
|
7929
|
+
}>;
|
|
7930
|
+
}, "strip", z.ZodTypeAny, {
|
|
7931
|
+
target: {
|
|
7932
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7933
|
+
name: string;
|
|
7934
|
+
field: string;
|
|
7935
|
+
};
|
|
7936
|
+
source: {
|
|
7937
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7938
|
+
name: string;
|
|
7939
|
+
field: string;
|
|
7940
|
+
};
|
|
7941
|
+
}, {
|
|
7942
|
+
target: {
|
|
7943
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7944
|
+
name: string;
|
|
7945
|
+
field: string;
|
|
7946
|
+
};
|
|
7947
|
+
source: {
|
|
7948
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
7949
|
+
name: string;
|
|
7950
|
+
field: string;
|
|
7951
|
+
};
|
|
7952
|
+
}>, "many">>;
|
|
7628
7953
|
server: z.ZodObject<{
|
|
7629
7954
|
description: z.ZodString;
|
|
7630
7955
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -8801,7 +9126,18 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8801
9126
|
via?: string[] | undefined;
|
|
8802
9127
|
additionalInstructions?: string | undefined;
|
|
8803
9128
|
request?: string | undefined;
|
|
8804
|
-
mappings?:
|
|
9129
|
+
mappings?: {
|
|
9130
|
+
target: {
|
|
9131
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
9132
|
+
name: string;
|
|
9133
|
+
field: string;
|
|
9134
|
+
};
|
|
9135
|
+
source: {
|
|
9136
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
9137
|
+
name: string;
|
|
9138
|
+
field: string;
|
|
9139
|
+
};
|
|
9140
|
+
}[] | undefined;
|
|
8805
9141
|
}, {
|
|
8806
9142
|
type: "query";
|
|
8807
9143
|
name: string;
|
|
@@ -8932,7 +9268,18 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8932
9268
|
via?: string[] | undefined;
|
|
8933
9269
|
additionalInstructions?: string | undefined;
|
|
8934
9270
|
request?: string | undefined;
|
|
8935
|
-
mappings?:
|
|
9271
|
+
mappings?: {
|
|
9272
|
+
target: {
|
|
9273
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
9274
|
+
name: string;
|
|
9275
|
+
field: string;
|
|
9276
|
+
};
|
|
9277
|
+
source: {
|
|
9278
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
9279
|
+
name: string;
|
|
9280
|
+
field: string;
|
|
9281
|
+
};
|
|
9282
|
+
}[] | undefined;
|
|
8936
9283
|
}>, z.ZodObject<{
|
|
8937
9284
|
name: z.ZodString;
|
|
8938
9285
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -10300,7 +10647,56 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
10300
10647
|
specs?: ClientSpecNode[] | undefined;
|
|
10301
10648
|
}>;
|
|
10302
10649
|
request: z.ZodOptional<z.ZodString>;
|
|
10303
|
-
mappings: z.ZodOptional<z.
|
|
10650
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10651
|
+
source: z.ZodObject<{
|
|
10652
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
10653
|
+
name: z.ZodString;
|
|
10654
|
+
field: z.ZodString;
|
|
10655
|
+
}, "strip", z.ZodTypeAny, {
|
|
10656
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10657
|
+
name: string;
|
|
10658
|
+
field: string;
|
|
10659
|
+
}, {
|
|
10660
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10661
|
+
name: string;
|
|
10662
|
+
field: string;
|
|
10663
|
+
}>;
|
|
10664
|
+
target: z.ZodObject<{
|
|
10665
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
10666
|
+
name: z.ZodString;
|
|
10667
|
+
field: z.ZodString;
|
|
10668
|
+
}, "strip", z.ZodTypeAny, {
|
|
10669
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10670
|
+
name: string;
|
|
10671
|
+
field: string;
|
|
10672
|
+
}, {
|
|
10673
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10674
|
+
name: string;
|
|
10675
|
+
field: string;
|
|
10676
|
+
}>;
|
|
10677
|
+
}, "strip", z.ZodTypeAny, {
|
|
10678
|
+
target: {
|
|
10679
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10680
|
+
name: string;
|
|
10681
|
+
field: string;
|
|
10682
|
+
};
|
|
10683
|
+
source: {
|
|
10684
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10685
|
+
name: string;
|
|
10686
|
+
field: string;
|
|
10687
|
+
};
|
|
10688
|
+
}, {
|
|
10689
|
+
target: {
|
|
10690
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10691
|
+
name: string;
|
|
10692
|
+
field: string;
|
|
10693
|
+
};
|
|
10694
|
+
source: {
|
|
10695
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
10696
|
+
name: string;
|
|
10697
|
+
field: string;
|
|
10698
|
+
};
|
|
10699
|
+
}>, "many">>;
|
|
10304
10700
|
server: z.ZodObject<{
|
|
10305
10701
|
description: z.ZodString;
|
|
10306
10702
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -11477,7 +11873,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
11477
11873
|
via?: string[] | undefined;
|
|
11478
11874
|
additionalInstructions?: string | undefined;
|
|
11479
11875
|
request?: string | undefined;
|
|
11480
|
-
mappings?:
|
|
11876
|
+
mappings?: {
|
|
11877
|
+
target: {
|
|
11878
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
11879
|
+
name: string;
|
|
11880
|
+
field: string;
|
|
11881
|
+
};
|
|
11882
|
+
source: {
|
|
11883
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
11884
|
+
name: string;
|
|
11885
|
+
field: string;
|
|
11886
|
+
};
|
|
11887
|
+
}[] | undefined;
|
|
11481
11888
|
}, {
|
|
11482
11889
|
type: "command";
|
|
11483
11890
|
name: string;
|
|
@@ -11608,7 +12015,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
11608
12015
|
via?: string[] | undefined;
|
|
11609
12016
|
additionalInstructions?: string | undefined;
|
|
11610
12017
|
request?: string | undefined;
|
|
11611
|
-
mappings?:
|
|
12018
|
+
mappings?: {
|
|
12019
|
+
target: {
|
|
12020
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12021
|
+
name: string;
|
|
12022
|
+
field: string;
|
|
12023
|
+
};
|
|
12024
|
+
source: {
|
|
12025
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12026
|
+
name: string;
|
|
12027
|
+
field: string;
|
|
12028
|
+
};
|
|
12029
|
+
}[] | undefined;
|
|
11612
12030
|
}>, z.ZodObject<{
|
|
11613
12031
|
name: z.ZodString;
|
|
11614
12032
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -11626,7 +12044,56 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
11626
12044
|
specs?: ClientSpecNode[] | undefined;
|
|
11627
12045
|
}>;
|
|
11628
12046
|
request: z.ZodOptional<z.ZodString>;
|
|
11629
|
-
mappings: z.ZodOptional<z.
|
|
12047
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12048
|
+
source: z.ZodObject<{
|
|
12049
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
12050
|
+
name: z.ZodString;
|
|
12051
|
+
field: z.ZodString;
|
|
12052
|
+
}, "strip", z.ZodTypeAny, {
|
|
12053
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12054
|
+
name: string;
|
|
12055
|
+
field: string;
|
|
12056
|
+
}, {
|
|
12057
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12058
|
+
name: string;
|
|
12059
|
+
field: string;
|
|
12060
|
+
}>;
|
|
12061
|
+
target: z.ZodObject<{
|
|
12062
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
12063
|
+
name: z.ZodString;
|
|
12064
|
+
field: z.ZodString;
|
|
12065
|
+
}, "strip", z.ZodTypeAny, {
|
|
12066
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12067
|
+
name: string;
|
|
12068
|
+
field: string;
|
|
12069
|
+
}, {
|
|
12070
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12071
|
+
name: string;
|
|
12072
|
+
field: string;
|
|
12073
|
+
}>;
|
|
12074
|
+
}, "strip", z.ZodTypeAny, {
|
|
12075
|
+
target: {
|
|
12076
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12077
|
+
name: string;
|
|
12078
|
+
field: string;
|
|
12079
|
+
};
|
|
12080
|
+
source: {
|
|
12081
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12082
|
+
name: string;
|
|
12083
|
+
field: string;
|
|
12084
|
+
};
|
|
12085
|
+
}, {
|
|
12086
|
+
target: {
|
|
12087
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12088
|
+
name: string;
|
|
12089
|
+
field: string;
|
|
12090
|
+
};
|
|
12091
|
+
source: {
|
|
12092
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
12093
|
+
name: string;
|
|
12094
|
+
field: string;
|
|
12095
|
+
};
|
|
12096
|
+
}>, "many">>;
|
|
11630
12097
|
server: z.ZodObject<{
|
|
11631
12098
|
description: z.ZodString;
|
|
11632
12099
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -12803,7 +13270,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
12803
13270
|
via?: string[] | undefined;
|
|
12804
13271
|
additionalInstructions?: string | undefined;
|
|
12805
13272
|
request?: string | undefined;
|
|
12806
|
-
mappings?:
|
|
13273
|
+
mappings?: {
|
|
13274
|
+
target: {
|
|
13275
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
13276
|
+
name: string;
|
|
13277
|
+
field: string;
|
|
13278
|
+
};
|
|
13279
|
+
source: {
|
|
13280
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
13281
|
+
name: string;
|
|
13282
|
+
field: string;
|
|
13283
|
+
};
|
|
13284
|
+
}[] | undefined;
|
|
12807
13285
|
}, {
|
|
12808
13286
|
type: "query";
|
|
12809
13287
|
name: string;
|
|
@@ -12934,7 +13412,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
12934
13412
|
via?: string[] | undefined;
|
|
12935
13413
|
additionalInstructions?: string | undefined;
|
|
12936
13414
|
request?: string | undefined;
|
|
12937
|
-
mappings?:
|
|
13415
|
+
mappings?: {
|
|
13416
|
+
target: {
|
|
13417
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
13418
|
+
name: string;
|
|
13419
|
+
field: string;
|
|
13420
|
+
};
|
|
13421
|
+
source: {
|
|
13422
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
13423
|
+
name: string;
|
|
13424
|
+
field: string;
|
|
13425
|
+
};
|
|
13426
|
+
}[] | undefined;
|
|
12938
13427
|
}>, z.ZodObject<{
|
|
12939
13428
|
name: z.ZodString;
|
|
12940
13429
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -14414,7 +14903,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
14414
14903
|
via?: string[] | undefined;
|
|
14415
14904
|
additionalInstructions?: string | undefined;
|
|
14416
14905
|
request?: string | undefined;
|
|
14417
|
-
mappings?:
|
|
14906
|
+
mappings?: {
|
|
14907
|
+
target: {
|
|
14908
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
14909
|
+
name: string;
|
|
14910
|
+
field: string;
|
|
14911
|
+
};
|
|
14912
|
+
source: {
|
|
14913
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
14914
|
+
name: string;
|
|
14915
|
+
field: string;
|
|
14916
|
+
};
|
|
14917
|
+
}[] | undefined;
|
|
14418
14918
|
} | {
|
|
14419
14919
|
type: "query";
|
|
14420
14920
|
name: string;
|
|
@@ -14545,7 +15045,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
14545
15045
|
via?: string[] | undefined;
|
|
14546
15046
|
additionalInstructions?: string | undefined;
|
|
14547
15047
|
request?: string | undefined;
|
|
14548
|
-
mappings?:
|
|
15048
|
+
mappings?: {
|
|
15049
|
+
target: {
|
|
15050
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15051
|
+
name: string;
|
|
15052
|
+
field: string;
|
|
15053
|
+
};
|
|
15054
|
+
source: {
|
|
15055
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15056
|
+
name: string;
|
|
15057
|
+
field: string;
|
|
15058
|
+
};
|
|
15059
|
+
}[] | undefined;
|
|
14549
15060
|
} | {
|
|
14550
15061
|
type: "react";
|
|
14551
15062
|
name: string;
|
|
@@ -14819,7 +15330,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
14819
15330
|
via?: string[] | undefined;
|
|
14820
15331
|
additionalInstructions?: string | undefined;
|
|
14821
15332
|
request?: string | undefined;
|
|
14822
|
-
mappings?:
|
|
15333
|
+
mappings?: {
|
|
15334
|
+
target: {
|
|
15335
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15336
|
+
name: string;
|
|
15337
|
+
field: string;
|
|
15338
|
+
};
|
|
15339
|
+
source: {
|
|
15340
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15341
|
+
name: string;
|
|
15342
|
+
field: string;
|
|
15343
|
+
};
|
|
15344
|
+
}[] | undefined;
|
|
14823
15345
|
} | {
|
|
14824
15346
|
type: "query";
|
|
14825
15347
|
name: string;
|
|
@@ -14950,7 +15472,18 @@ declare const NarrativeSchema: z.ZodObject<{
|
|
|
14950
15472
|
via?: string[] | undefined;
|
|
14951
15473
|
additionalInstructions?: string | undefined;
|
|
14952
15474
|
request?: string | undefined;
|
|
14953
|
-
mappings?:
|
|
15475
|
+
mappings?: {
|
|
15476
|
+
target: {
|
|
15477
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15478
|
+
name: string;
|
|
15479
|
+
field: string;
|
|
15480
|
+
};
|
|
15481
|
+
source: {
|
|
15482
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15483
|
+
name: string;
|
|
15484
|
+
field: string;
|
|
15485
|
+
};
|
|
15486
|
+
}[] | undefined;
|
|
14954
15487
|
} | {
|
|
14955
15488
|
type: "react";
|
|
14956
15489
|
name: string;
|
|
@@ -15336,7 +15869,56 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
15336
15869
|
specs?: ClientSpecNode[] | undefined;
|
|
15337
15870
|
}>;
|
|
15338
15871
|
request: z.ZodOptional<z.ZodString>;
|
|
15339
|
-
mappings: z.ZodOptional<z.
|
|
15872
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15873
|
+
source: z.ZodObject<{
|
|
15874
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
15875
|
+
name: z.ZodString;
|
|
15876
|
+
field: z.ZodString;
|
|
15877
|
+
}, "strip", z.ZodTypeAny, {
|
|
15878
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15879
|
+
name: string;
|
|
15880
|
+
field: string;
|
|
15881
|
+
}, {
|
|
15882
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15883
|
+
name: string;
|
|
15884
|
+
field: string;
|
|
15885
|
+
}>;
|
|
15886
|
+
target: z.ZodObject<{
|
|
15887
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
15888
|
+
name: z.ZodString;
|
|
15889
|
+
field: z.ZodString;
|
|
15890
|
+
}, "strip", z.ZodTypeAny, {
|
|
15891
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15892
|
+
name: string;
|
|
15893
|
+
field: string;
|
|
15894
|
+
}, {
|
|
15895
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15896
|
+
name: string;
|
|
15897
|
+
field: string;
|
|
15898
|
+
}>;
|
|
15899
|
+
}, "strip", z.ZodTypeAny, {
|
|
15900
|
+
target: {
|
|
15901
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15902
|
+
name: string;
|
|
15903
|
+
field: string;
|
|
15904
|
+
};
|
|
15905
|
+
source: {
|
|
15906
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15907
|
+
name: string;
|
|
15908
|
+
field: string;
|
|
15909
|
+
};
|
|
15910
|
+
}, {
|
|
15911
|
+
target: {
|
|
15912
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15913
|
+
name: string;
|
|
15914
|
+
field: string;
|
|
15915
|
+
};
|
|
15916
|
+
source: {
|
|
15917
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
15918
|
+
name: string;
|
|
15919
|
+
field: string;
|
|
15920
|
+
};
|
|
15921
|
+
}>, "many">>;
|
|
15340
15922
|
server: z.ZodObject<{
|
|
15341
15923
|
description: z.ZodString;
|
|
15342
15924
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -16513,7 +17095,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
16513
17095
|
via?: string[] | undefined;
|
|
16514
17096
|
additionalInstructions?: string | undefined;
|
|
16515
17097
|
request?: string | undefined;
|
|
16516
|
-
mappings?:
|
|
17098
|
+
mappings?: {
|
|
17099
|
+
target: {
|
|
17100
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17101
|
+
name: string;
|
|
17102
|
+
field: string;
|
|
17103
|
+
};
|
|
17104
|
+
source: {
|
|
17105
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17106
|
+
name: string;
|
|
17107
|
+
field: string;
|
|
17108
|
+
};
|
|
17109
|
+
}[] | undefined;
|
|
16517
17110
|
}, {
|
|
16518
17111
|
type: "command";
|
|
16519
17112
|
name: string;
|
|
@@ -16644,7 +17237,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
16644
17237
|
via?: string[] | undefined;
|
|
16645
17238
|
additionalInstructions?: string | undefined;
|
|
16646
17239
|
request?: string | undefined;
|
|
16647
|
-
mappings?:
|
|
17240
|
+
mappings?: {
|
|
17241
|
+
target: {
|
|
17242
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17243
|
+
name: string;
|
|
17244
|
+
field: string;
|
|
17245
|
+
};
|
|
17246
|
+
source: {
|
|
17247
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17248
|
+
name: string;
|
|
17249
|
+
field: string;
|
|
17250
|
+
};
|
|
17251
|
+
}[] | undefined;
|
|
16648
17252
|
}>, z.ZodObject<{
|
|
16649
17253
|
name: z.ZodString;
|
|
16650
17254
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16662,7 +17266,56 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
16662
17266
|
specs?: ClientSpecNode[] | undefined;
|
|
16663
17267
|
}>;
|
|
16664
17268
|
request: z.ZodOptional<z.ZodString>;
|
|
16665
|
-
mappings: z.ZodOptional<z.
|
|
17269
|
+
mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17270
|
+
source: z.ZodObject<{
|
|
17271
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
17272
|
+
name: z.ZodString;
|
|
17273
|
+
field: z.ZodString;
|
|
17274
|
+
}, "strip", z.ZodTypeAny, {
|
|
17275
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17276
|
+
name: string;
|
|
17277
|
+
field: string;
|
|
17278
|
+
}, {
|
|
17279
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17280
|
+
name: string;
|
|
17281
|
+
field: string;
|
|
17282
|
+
}>;
|
|
17283
|
+
target: z.ZodObject<{
|
|
17284
|
+
type: z.ZodEnum<["Command", "Event", "State", "Query"]>;
|
|
17285
|
+
name: z.ZodString;
|
|
17286
|
+
field: z.ZodString;
|
|
17287
|
+
}, "strip", z.ZodTypeAny, {
|
|
17288
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17289
|
+
name: string;
|
|
17290
|
+
field: string;
|
|
17291
|
+
}, {
|
|
17292
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17293
|
+
name: string;
|
|
17294
|
+
field: string;
|
|
17295
|
+
}>;
|
|
17296
|
+
}, "strip", z.ZodTypeAny, {
|
|
17297
|
+
target: {
|
|
17298
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17299
|
+
name: string;
|
|
17300
|
+
field: string;
|
|
17301
|
+
};
|
|
17302
|
+
source: {
|
|
17303
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17304
|
+
name: string;
|
|
17305
|
+
field: string;
|
|
17306
|
+
};
|
|
17307
|
+
}, {
|
|
17308
|
+
target: {
|
|
17309
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17310
|
+
name: string;
|
|
17311
|
+
field: string;
|
|
17312
|
+
};
|
|
17313
|
+
source: {
|
|
17314
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
17315
|
+
name: string;
|
|
17316
|
+
field: string;
|
|
17317
|
+
};
|
|
17318
|
+
}>, "many">>;
|
|
16666
17319
|
server: z.ZodObject<{
|
|
16667
17320
|
description: z.ZodString;
|
|
16668
17321
|
data: z.ZodOptional<z.ZodObject<{
|
|
@@ -17839,7 +18492,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
17839
18492
|
via?: string[] | undefined;
|
|
17840
18493
|
additionalInstructions?: string | undefined;
|
|
17841
18494
|
request?: string | undefined;
|
|
17842
|
-
mappings?:
|
|
18495
|
+
mappings?: {
|
|
18496
|
+
target: {
|
|
18497
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
18498
|
+
name: string;
|
|
18499
|
+
field: string;
|
|
18500
|
+
};
|
|
18501
|
+
source: {
|
|
18502
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
18503
|
+
name: string;
|
|
18504
|
+
field: string;
|
|
18505
|
+
};
|
|
18506
|
+
}[] | undefined;
|
|
17843
18507
|
}, {
|
|
17844
18508
|
type: "query";
|
|
17845
18509
|
name: string;
|
|
@@ -17970,7 +18634,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
17970
18634
|
via?: string[] | undefined;
|
|
17971
18635
|
additionalInstructions?: string | undefined;
|
|
17972
18636
|
request?: string | undefined;
|
|
17973
|
-
mappings?:
|
|
18637
|
+
mappings?: {
|
|
18638
|
+
target: {
|
|
18639
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
18640
|
+
name: string;
|
|
18641
|
+
field: string;
|
|
18642
|
+
};
|
|
18643
|
+
source: {
|
|
18644
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
18645
|
+
name: string;
|
|
18646
|
+
field: string;
|
|
18647
|
+
};
|
|
18648
|
+
}[] | undefined;
|
|
17974
18649
|
}>, z.ZodObject<{
|
|
17975
18650
|
name: z.ZodString;
|
|
17976
18651
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -19450,7 +20125,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
19450
20125
|
via?: string[] | undefined;
|
|
19451
20126
|
additionalInstructions?: string | undefined;
|
|
19452
20127
|
request?: string | undefined;
|
|
19453
|
-
mappings?:
|
|
20128
|
+
mappings?: {
|
|
20129
|
+
target: {
|
|
20130
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20131
|
+
name: string;
|
|
20132
|
+
field: string;
|
|
20133
|
+
};
|
|
20134
|
+
source: {
|
|
20135
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20136
|
+
name: string;
|
|
20137
|
+
field: string;
|
|
20138
|
+
};
|
|
20139
|
+
}[] | undefined;
|
|
19454
20140
|
} | {
|
|
19455
20141
|
type: "query";
|
|
19456
20142
|
name: string;
|
|
@@ -19581,7 +20267,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
19581
20267
|
via?: string[] | undefined;
|
|
19582
20268
|
additionalInstructions?: string | undefined;
|
|
19583
20269
|
request?: string | undefined;
|
|
19584
|
-
mappings?:
|
|
20270
|
+
mappings?: {
|
|
20271
|
+
target: {
|
|
20272
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20273
|
+
name: string;
|
|
20274
|
+
field: string;
|
|
20275
|
+
};
|
|
20276
|
+
source: {
|
|
20277
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20278
|
+
name: string;
|
|
20279
|
+
field: string;
|
|
20280
|
+
};
|
|
20281
|
+
}[] | undefined;
|
|
19585
20282
|
} | {
|
|
19586
20283
|
type: "react";
|
|
19587
20284
|
name: string;
|
|
@@ -19855,7 +20552,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
19855
20552
|
via?: string[] | undefined;
|
|
19856
20553
|
additionalInstructions?: string | undefined;
|
|
19857
20554
|
request?: string | undefined;
|
|
19858
|
-
mappings?:
|
|
20555
|
+
mappings?: {
|
|
20556
|
+
target: {
|
|
20557
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20558
|
+
name: string;
|
|
20559
|
+
field: string;
|
|
20560
|
+
};
|
|
20561
|
+
source: {
|
|
20562
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20563
|
+
name: string;
|
|
20564
|
+
field: string;
|
|
20565
|
+
};
|
|
20566
|
+
}[] | undefined;
|
|
19859
20567
|
} | {
|
|
19860
20568
|
type: "query";
|
|
19861
20569
|
name: string;
|
|
@@ -19986,7 +20694,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
19986
20694
|
via?: string[] | undefined;
|
|
19987
20695
|
additionalInstructions?: string | undefined;
|
|
19988
20696
|
request?: string | undefined;
|
|
19989
|
-
mappings?:
|
|
20697
|
+
mappings?: {
|
|
20698
|
+
target: {
|
|
20699
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20700
|
+
name: string;
|
|
20701
|
+
field: string;
|
|
20702
|
+
};
|
|
20703
|
+
source: {
|
|
20704
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
20705
|
+
name: string;
|
|
20706
|
+
field: string;
|
|
20707
|
+
};
|
|
20708
|
+
}[] | undefined;
|
|
19990
20709
|
} | {
|
|
19991
20710
|
type: "react";
|
|
19992
20711
|
name: string;
|
|
@@ -20631,7 +21350,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
20631
21350
|
via?: string[] | undefined;
|
|
20632
21351
|
additionalInstructions?: string | undefined;
|
|
20633
21352
|
request?: string | undefined;
|
|
20634
|
-
mappings?:
|
|
21353
|
+
mappings?: {
|
|
21354
|
+
target: {
|
|
21355
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21356
|
+
name: string;
|
|
21357
|
+
field: string;
|
|
21358
|
+
};
|
|
21359
|
+
source: {
|
|
21360
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21361
|
+
name: string;
|
|
21362
|
+
field: string;
|
|
21363
|
+
};
|
|
21364
|
+
}[] | undefined;
|
|
20635
21365
|
} | {
|
|
20636
21366
|
type: "query";
|
|
20637
21367
|
name: string;
|
|
@@ -20762,7 +21492,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
20762
21492
|
via?: string[] | undefined;
|
|
20763
21493
|
additionalInstructions?: string | undefined;
|
|
20764
21494
|
request?: string | undefined;
|
|
20765
|
-
mappings?:
|
|
21495
|
+
mappings?: {
|
|
21496
|
+
target: {
|
|
21497
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21498
|
+
name: string;
|
|
21499
|
+
field: string;
|
|
21500
|
+
};
|
|
21501
|
+
source: {
|
|
21502
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21503
|
+
name: string;
|
|
21504
|
+
field: string;
|
|
21505
|
+
};
|
|
21506
|
+
}[] | undefined;
|
|
20766
21507
|
} | {
|
|
20767
21508
|
type: "react";
|
|
20768
21509
|
name: string;
|
|
@@ -21115,7 +21856,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
21115
21856
|
via?: string[] | undefined;
|
|
21116
21857
|
additionalInstructions?: string | undefined;
|
|
21117
21858
|
request?: string | undefined;
|
|
21118
|
-
mappings?:
|
|
21859
|
+
mappings?: {
|
|
21860
|
+
target: {
|
|
21861
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21862
|
+
name: string;
|
|
21863
|
+
field: string;
|
|
21864
|
+
};
|
|
21865
|
+
source: {
|
|
21866
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
21867
|
+
name: string;
|
|
21868
|
+
field: string;
|
|
21869
|
+
};
|
|
21870
|
+
}[] | undefined;
|
|
21119
21871
|
} | {
|
|
21120
21872
|
type: "query";
|
|
21121
21873
|
name: string;
|
|
@@ -21246,7 +21998,18 @@ export declare const modelSchema: z.ZodObject<{
|
|
|
21246
21998
|
via?: string[] | undefined;
|
|
21247
21999
|
additionalInstructions?: string | undefined;
|
|
21248
22000
|
request?: string | undefined;
|
|
21249
|
-
mappings?:
|
|
22001
|
+
mappings?: {
|
|
22002
|
+
target: {
|
|
22003
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
22004
|
+
name: string;
|
|
22005
|
+
field: string;
|
|
22006
|
+
};
|
|
22007
|
+
source: {
|
|
22008
|
+
type: "Command" | "Event" | "State" | "Query";
|
|
22009
|
+
name: string;
|
|
22010
|
+
field: string;
|
|
22011
|
+
};
|
|
22012
|
+
}[] | undefined;
|
|
21250
22013
|
} | {
|
|
21251
22014
|
type: "react";
|
|
21252
22015
|
name: string;
|