shoal-web-sdk 1.0.19 → 1.0.21
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/dist/sdk/types.gen.d.ts +14 -2
- package/dist/sdk/zod.gen.d.ts +134 -0
- package/dist/sdk/zod.gen.js +18 -4
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -5,9 +5,15 @@ export type PlainString = string;
|
|
|
5
5
|
export type EnvironmentVariables = {
|
|
6
6
|
vars: Array<EnvironmentVariable>;
|
|
7
7
|
};
|
|
8
|
+
export type OutputEnvironmentVariable = {
|
|
9
|
+
environmentVariableKey: string;
|
|
10
|
+
outputValueReference: string;
|
|
11
|
+
};
|
|
8
12
|
export type EnvironmentVariable = {
|
|
9
13
|
key: string;
|
|
10
14
|
value: string;
|
|
15
|
+
isExported: boolean;
|
|
16
|
+
isOutput: boolean;
|
|
11
17
|
};
|
|
12
18
|
export type UpdateBlueprint = {
|
|
13
19
|
name?: string;
|
|
@@ -156,6 +162,7 @@ export type EnvironmentOverview = {
|
|
|
156
162
|
createdAt: string;
|
|
157
163
|
updatedAt: string;
|
|
158
164
|
versions: number;
|
|
165
|
+
blueprintId?: string;
|
|
159
166
|
};
|
|
160
167
|
export type AccountIdentity = {
|
|
161
168
|
id: string;
|
|
@@ -358,7 +365,9 @@ export type Edge = {
|
|
|
358
365
|
typ: 'network';
|
|
359
366
|
} & NetworkEdgeProps) | ({
|
|
360
367
|
typ: 'route';
|
|
361
|
-
} & RouteEdgeProps)
|
|
368
|
+
} & RouteEdgeProps) | ({
|
|
369
|
+
typ: 'output';
|
|
370
|
+
} & OutputEdgeProps);
|
|
362
371
|
};
|
|
363
372
|
export type NetworkEdgeProps = {
|
|
364
373
|
a?: string;
|
|
@@ -366,6 +375,9 @@ export type NetworkEdgeProps = {
|
|
|
366
375
|
export type RouteEdgeProps = {
|
|
367
376
|
path?: string;
|
|
368
377
|
};
|
|
378
|
+
export type OutputEdgeProps = {
|
|
379
|
+
outputs: Array<OutputEnvironmentVariable>;
|
|
380
|
+
};
|
|
369
381
|
export type Node = {
|
|
370
382
|
id: string;
|
|
371
383
|
name?: PlainString;
|
|
@@ -400,7 +412,7 @@ export type Node = {
|
|
|
400
412
|
typ: 'scheduler';
|
|
401
413
|
} & SchedulerNodeProps);
|
|
402
414
|
};
|
|
403
|
-
export type EdgeType = 'network' | 'route';
|
|
415
|
+
export type EdgeType = 'network' | 'route' | 'output';
|
|
404
416
|
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
405
417
|
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
406
418
|
export type CommentNodeProps = {
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const zPlainString: z.ZodString;
|
|
3
|
+
export declare const zOutputEnvironmentVariable: z.ZodObject<{
|
|
4
|
+
environmentVariableKey: z.ZodString;
|
|
5
|
+
outputValueReference: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
3
7
|
export declare const zEnvironmentVariable: z.ZodObject<{
|
|
4
8
|
key: z.ZodString;
|
|
5
9
|
value: z.ZodString;
|
|
10
|
+
isExported: z.ZodBoolean;
|
|
11
|
+
isOutput: z.ZodBoolean;
|
|
6
12
|
}, z.core.$strip>;
|
|
7
13
|
export declare const zEnvironmentVariables: z.ZodObject<{
|
|
8
14
|
vars: z.ZodArray<z.ZodObject<{
|
|
9
15
|
key: z.ZodString;
|
|
10
16
|
value: z.ZodString;
|
|
17
|
+
isExported: z.ZodBoolean;
|
|
18
|
+
isOutput: z.ZodBoolean;
|
|
11
19
|
}, z.core.$strip>>;
|
|
12
20
|
}, z.core.$strip>;
|
|
13
21
|
export declare const zUpdateBlueprint: z.ZodObject<{
|
|
@@ -36,6 +44,8 @@ export declare const zBlueprint: z.ZodObject<{
|
|
|
36
44
|
exported: z.ZodArray<z.ZodObject<{
|
|
37
45
|
key: z.ZodString;
|
|
38
46
|
value: z.ZodString;
|
|
47
|
+
isExported: z.ZodBoolean;
|
|
48
|
+
isOutput: z.ZodBoolean;
|
|
39
49
|
}, z.core.$strip>>;
|
|
40
50
|
}, z.core.$strip>;
|
|
41
51
|
export declare const zPlatformTier: z.ZodEnum<{
|
|
@@ -115,6 +125,8 @@ export declare const zPaginatedBlueprints: z.ZodIntersection<z.ZodObject<{
|
|
|
115
125
|
exported: z.ZodArray<z.ZodObject<{
|
|
116
126
|
key: z.ZodString;
|
|
117
127
|
value: z.ZodString;
|
|
128
|
+
isExported: z.ZodBoolean;
|
|
129
|
+
isOutput: z.ZodBoolean;
|
|
118
130
|
}, z.core.$strip>>;
|
|
119
131
|
}, z.core.$strip>>;
|
|
120
132
|
}, z.core.$strip>>;
|
|
@@ -189,6 +201,7 @@ export declare const zEnvironmentOverview: z.ZodObject<{
|
|
|
189
201
|
createdAt: z.ZodISODateTime;
|
|
190
202
|
updatedAt: z.ZodISODateTime;
|
|
191
203
|
versions: z.ZodInt;
|
|
204
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
192
205
|
}, z.core.$strip>;
|
|
193
206
|
export declare const zProjectOverview: z.ZodObject<{
|
|
194
207
|
id: z.ZodUUID;
|
|
@@ -206,6 +219,7 @@ export declare const zProjectOverview: z.ZodObject<{
|
|
|
206
219
|
createdAt: z.ZodISODateTime;
|
|
207
220
|
updatedAt: z.ZodISODateTime;
|
|
208
221
|
versions: z.ZodInt;
|
|
222
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
209
223
|
}, z.core.$strip>>;
|
|
210
224
|
}, z.core.$strip>;
|
|
211
225
|
export declare const zSpaceOverview: z.ZodObject<{
|
|
@@ -228,6 +242,7 @@ export declare const zSpaceOverview: z.ZodObject<{
|
|
|
228
242
|
createdAt: z.ZodISODateTime;
|
|
229
243
|
updatedAt: z.ZodISODateTime;
|
|
230
244
|
versions: z.ZodInt;
|
|
245
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
231
246
|
}, z.core.$strip>>;
|
|
232
247
|
}, z.core.$strip>>;
|
|
233
248
|
}, z.core.$strip>;
|
|
@@ -442,6 +457,7 @@ export declare const zUserSpacesResponse: z.ZodObject<{
|
|
|
442
457
|
createdAt: z.ZodISODateTime;
|
|
443
458
|
updatedAt: z.ZodISODateTime;
|
|
444
459
|
versions: z.ZodInt;
|
|
460
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
445
461
|
}, z.core.$strip>>;
|
|
446
462
|
}, z.core.$strip>>;
|
|
447
463
|
}, z.core.$strip>>;
|
|
@@ -497,9 +513,16 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
|
|
|
497
513
|
export declare const zRouteEdgeProps: z.ZodObject<{
|
|
498
514
|
path: z.ZodOptional<z.ZodString>;
|
|
499
515
|
}, z.core.$strip>;
|
|
516
|
+
export declare const zOutputEdgeProps: z.ZodObject<{
|
|
517
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
518
|
+
environmentVariableKey: z.ZodString;
|
|
519
|
+
outputValueReference: z.ZodString;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
}, z.core.$strip>;
|
|
500
522
|
export declare const zEdgeType: z.ZodEnum<{
|
|
501
523
|
network: "network";
|
|
502
524
|
route: "route";
|
|
525
|
+
output: "output";
|
|
503
526
|
}>;
|
|
504
527
|
export declare const zEdge: z.ZodObject<{
|
|
505
528
|
id: z.ZodUUID;
|
|
@@ -508,6 +531,7 @@ export declare const zEdge: z.ZodObject<{
|
|
|
508
531
|
typ: z.ZodEnum<{
|
|
509
532
|
network: "network";
|
|
510
533
|
route: "route";
|
|
534
|
+
output: "output";
|
|
511
535
|
}>;
|
|
512
536
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
513
537
|
typ: z.ZodLiteral<"network">;
|
|
@@ -517,6 +541,13 @@ export declare const zEdge: z.ZodObject<{
|
|
|
517
541
|
typ: z.ZodLiteral<"route">;
|
|
518
542
|
}, z.core.$strip>, z.ZodObject<{
|
|
519
543
|
path: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
545
|
+
typ: z.ZodLiteral<"output">;
|
|
546
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
547
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
548
|
+
environmentVariableKey: z.ZodString;
|
|
549
|
+
outputValueReference: z.ZodString;
|
|
550
|
+
}, z.core.$strip>>;
|
|
520
551
|
}, z.core.$strip>>]>>;
|
|
521
552
|
}, z.core.$strip>;
|
|
522
553
|
export declare const zNodeType: z.ZodEnum<{
|
|
@@ -682,6 +713,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
682
713
|
typ: z.ZodEnum<{
|
|
683
714
|
network: "network";
|
|
684
715
|
route: "route";
|
|
716
|
+
output: "output";
|
|
685
717
|
}>;
|
|
686
718
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
687
719
|
typ: z.ZodLiteral<"network">;
|
|
@@ -691,6 +723,13 @@ export declare const zNode: z.ZodObject<{
|
|
|
691
723
|
typ: z.ZodLiteral<"route">;
|
|
692
724
|
}, z.core.$strip>, z.ZodObject<{
|
|
693
725
|
path: z.ZodOptional<z.ZodString>;
|
|
726
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
727
|
+
typ: z.ZodLiteral<"output">;
|
|
728
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
729
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
730
|
+
environmentVariableKey: z.ZodString;
|
|
731
|
+
outputValueReference: z.ZodString;
|
|
732
|
+
}, z.core.$strip>>;
|
|
694
733
|
}, z.core.$strip>>]>>;
|
|
695
734
|
}, z.core.$strip>>>;
|
|
696
735
|
typ: z.ZodEnum<{
|
|
@@ -844,6 +883,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
844
883
|
typ: z.ZodEnum<{
|
|
845
884
|
network: "network";
|
|
846
885
|
route: "route";
|
|
886
|
+
output: "output";
|
|
847
887
|
}>;
|
|
848
888
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
849
889
|
typ: z.ZodLiteral<"network">;
|
|
@@ -853,6 +893,13 @@ export declare const zNodes: z.ZodObject<{
|
|
|
853
893
|
typ: z.ZodLiteral<"route">;
|
|
854
894
|
}, z.core.$strip>, z.ZodObject<{
|
|
855
895
|
path: z.ZodOptional<z.ZodString>;
|
|
896
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
897
|
+
typ: z.ZodLiteral<"output">;
|
|
898
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
899
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
900
|
+
environmentVariableKey: z.ZodString;
|
|
901
|
+
outputValueReference: z.ZodString;
|
|
902
|
+
}, z.core.$strip>>;
|
|
856
903
|
}, z.core.$strip>>]>>;
|
|
857
904
|
}, z.core.$strip>>>;
|
|
858
905
|
typ: z.ZodEnum<{
|
|
@@ -1009,6 +1056,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1009
1056
|
typ: z.ZodEnum<{
|
|
1010
1057
|
network: "network";
|
|
1011
1058
|
route: "route";
|
|
1059
|
+
output: "output";
|
|
1012
1060
|
}>;
|
|
1013
1061
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1014
1062
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1018,6 +1066,13 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1018
1066
|
typ: z.ZodLiteral<"route">;
|
|
1019
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1020
1068
|
path: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1070
|
+
typ: z.ZodLiteral<"output">;
|
|
1071
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1072
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1073
|
+
environmentVariableKey: z.ZodString;
|
|
1074
|
+
outputValueReference: z.ZodString;
|
|
1075
|
+
}, z.core.$strip>>;
|
|
1021
1076
|
}, z.core.$strip>>]>>;
|
|
1022
1077
|
}, z.core.$strip>>>;
|
|
1023
1078
|
typ: z.ZodEnum<{
|
|
@@ -1595,6 +1650,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1595
1650
|
typ: z.ZodEnum<{
|
|
1596
1651
|
network: "network";
|
|
1597
1652
|
route: "route";
|
|
1653
|
+
output: "output";
|
|
1598
1654
|
}>;
|
|
1599
1655
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1600
1656
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1604,6 +1660,13 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1604
1660
|
typ: z.ZodLiteral<"route">;
|
|
1605
1661
|
}, z.core.$strip>, z.ZodObject<{
|
|
1606
1662
|
path: z.ZodOptional<z.ZodString>;
|
|
1663
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1664
|
+
typ: z.ZodLiteral<"output">;
|
|
1665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1666
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1667
|
+
environmentVariableKey: z.ZodString;
|
|
1668
|
+
outputValueReference: z.ZodString;
|
|
1669
|
+
}, z.core.$strip>>;
|
|
1607
1670
|
}, z.core.$strip>>]>>;
|
|
1608
1671
|
}, z.core.$strip>>>;
|
|
1609
1672
|
typ: z.ZodEnum<{
|
|
@@ -1759,6 +1822,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1759
1822
|
typ: z.ZodEnum<{
|
|
1760
1823
|
network: "network";
|
|
1761
1824
|
route: "route";
|
|
1825
|
+
output: "output";
|
|
1762
1826
|
}>;
|
|
1763
1827
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1764
1828
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1768,6 +1832,13 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1768
1832
|
typ: z.ZodLiteral<"route">;
|
|
1769
1833
|
}, z.core.$strip>, z.ZodObject<{
|
|
1770
1834
|
path: z.ZodOptional<z.ZodString>;
|
|
1835
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1836
|
+
typ: z.ZodLiteral<"output">;
|
|
1837
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1838
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
1839
|
+
environmentVariableKey: z.ZodString;
|
|
1840
|
+
outputValueReference: z.ZodString;
|
|
1841
|
+
}, z.core.$strip>>;
|
|
1771
1842
|
}, z.core.$strip>>]>>;
|
|
1772
1843
|
}, z.core.$strip>>>;
|
|
1773
1844
|
typ: z.ZodEnum<{
|
|
@@ -1940,6 +2011,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1940
2011
|
typ: z.ZodEnum<{
|
|
1941
2012
|
network: "network";
|
|
1942
2013
|
route: "route";
|
|
2014
|
+
output: "output";
|
|
1943
2015
|
}>;
|
|
1944
2016
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1945
2017
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1949,6 +2021,13 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1949
2021
|
typ: z.ZodLiteral<"route">;
|
|
1950
2022
|
}, z.core.$strip>, z.ZodObject<{
|
|
1951
2023
|
path: z.ZodOptional<z.ZodString>;
|
|
2024
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2025
|
+
typ: z.ZodLiteral<"output">;
|
|
2026
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2027
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
2028
|
+
environmentVariableKey: z.ZodString;
|
|
2029
|
+
outputValueReference: z.ZodString;
|
|
2030
|
+
}, z.core.$strip>>;
|
|
1952
2031
|
}, z.core.$strip>>]>>;
|
|
1953
2032
|
}, z.core.$strip>>>;
|
|
1954
2033
|
typ: z.ZodEnum<{
|
|
@@ -2102,6 +2181,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2102
2181
|
typ: z.ZodEnum<{
|
|
2103
2182
|
network: "network";
|
|
2104
2183
|
route: "route";
|
|
2184
|
+
output: "output";
|
|
2105
2185
|
}>;
|
|
2106
2186
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2107
2187
|
typ: z.ZodLiteral<"network">;
|
|
@@ -2111,6 +2191,13 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2111
2191
|
typ: z.ZodLiteral<"route">;
|
|
2112
2192
|
}, z.core.$strip>, z.ZodObject<{
|
|
2113
2193
|
path: z.ZodOptional<z.ZodString>;
|
|
2194
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2195
|
+
typ: z.ZodLiteral<"output">;
|
|
2196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2197
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
2198
|
+
environmentVariableKey: z.ZodString;
|
|
2199
|
+
outputValueReference: z.ZodString;
|
|
2200
|
+
}, z.core.$strip>>;
|
|
2114
2201
|
}, z.core.$strip>>]>>;
|
|
2115
2202
|
}, z.core.$strip>>>;
|
|
2116
2203
|
typ: z.ZodEnum<{
|
|
@@ -2470,6 +2557,7 @@ export declare const zListUserSpacesResponse: z.ZodObject<{
|
|
|
2470
2557
|
createdAt: z.ZodISODateTime;
|
|
2471
2558
|
updatedAt: z.ZodISODateTime;
|
|
2472
2559
|
versions: z.ZodInt;
|
|
2560
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
2473
2561
|
}, z.core.$strip>>;
|
|
2474
2562
|
}, z.core.$strip>>;
|
|
2475
2563
|
}, z.core.$strip>>;
|
|
@@ -2518,6 +2606,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
2518
2606
|
typ: z.ZodEnum<{
|
|
2519
2607
|
network: "network";
|
|
2520
2608
|
route: "route";
|
|
2609
|
+
output: "output";
|
|
2521
2610
|
}>;
|
|
2522
2611
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2523
2612
|
typ: z.ZodLiteral<"network">;
|
|
@@ -2527,6 +2616,13 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
2527
2616
|
typ: z.ZodLiteral<"route">;
|
|
2528
2617
|
}, z.core.$strip>, z.ZodObject<{
|
|
2529
2618
|
path: z.ZodOptional<z.ZodString>;
|
|
2619
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2620
|
+
typ: z.ZodLiteral<"output">;
|
|
2621
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2622
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
2623
|
+
environmentVariableKey: z.ZodString;
|
|
2624
|
+
outputValueReference: z.ZodString;
|
|
2625
|
+
}, z.core.$strip>>;
|
|
2530
2626
|
}, z.core.$strip>>]>>;
|
|
2531
2627
|
}, z.core.$strip>>>;
|
|
2532
2628
|
typ: z.ZodEnum<{
|
|
@@ -2700,6 +2796,8 @@ export declare const zViewBlueprintsResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2700
2796
|
exported: z.ZodArray<z.ZodObject<{
|
|
2701
2797
|
key: z.ZodString;
|
|
2702
2798
|
value: z.ZodString;
|
|
2799
|
+
isExported: z.ZodBoolean;
|
|
2800
|
+
isOutput: z.ZodBoolean;
|
|
2703
2801
|
}, z.core.$strip>>;
|
|
2704
2802
|
}, z.core.$strip>>;
|
|
2705
2803
|
}, z.core.$strip>>;
|
|
@@ -2727,6 +2825,8 @@ export declare const zGetBlueprintResponse: z.ZodObject<{
|
|
|
2727
2825
|
exported: z.ZodArray<z.ZodObject<{
|
|
2728
2826
|
key: z.ZodString;
|
|
2729
2827
|
value: z.ZodString;
|
|
2828
|
+
isExported: z.ZodBoolean;
|
|
2829
|
+
isOutput: z.ZodBoolean;
|
|
2730
2830
|
}, z.core.$strip>>;
|
|
2731
2831
|
}, z.core.$strip>;
|
|
2732
2832
|
export declare const zCreateSpaceData: z.ZodObject<{
|
|
@@ -2761,6 +2861,7 @@ export declare const zCreateSpaceResponse: z.ZodObject<{
|
|
|
2761
2861
|
createdAt: z.ZodISODateTime;
|
|
2762
2862
|
updatedAt: z.ZodISODateTime;
|
|
2763
2863
|
versions: z.ZodInt;
|
|
2864
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
2764
2865
|
}, z.core.$strip>>;
|
|
2765
2866
|
}, z.core.$strip>>;
|
|
2766
2867
|
}, z.core.$strip>;
|
|
@@ -2857,6 +2958,7 @@ export declare const zGetSpaceOverviewResponse: z.ZodObject<{
|
|
|
2857
2958
|
createdAt: z.ZodISODateTime;
|
|
2858
2959
|
updatedAt: z.ZodISODateTime;
|
|
2859
2960
|
versions: z.ZodInt;
|
|
2961
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
2860
2962
|
}, z.core.$strip>>;
|
|
2861
2963
|
}, z.core.$strip>>;
|
|
2862
2964
|
}, z.core.$strip>;
|
|
@@ -3042,6 +3144,7 @@ export declare const zCreateProjectResponse: z.ZodObject<{
|
|
|
3042
3144
|
createdAt: z.ZodISODateTime;
|
|
3043
3145
|
updatedAt: z.ZodISODateTime;
|
|
3044
3146
|
versions: z.ZodInt;
|
|
3147
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
3045
3148
|
}, z.core.$strip>>;
|
|
3046
3149
|
}, z.core.$strip>;
|
|
3047
3150
|
export declare const zGetProjectOverviewData: z.ZodObject<{
|
|
@@ -3071,6 +3174,7 @@ export declare const zGetProjectOverviewResponse: z.ZodObject<{
|
|
|
3071
3174
|
createdAt: z.ZodISODateTime;
|
|
3072
3175
|
updatedAt: z.ZodISODateTime;
|
|
3073
3176
|
versions: z.ZodInt;
|
|
3177
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
3074
3178
|
}, z.core.$strip>>;
|
|
3075
3179
|
}, z.core.$strip>;
|
|
3076
3180
|
export declare const zCreateEnvironmentData: z.ZodObject<{
|
|
@@ -3096,6 +3200,7 @@ export declare const zCreateEnvironmentResponse: z.ZodObject<{
|
|
|
3096
3200
|
createdAt: z.ZodISODateTime;
|
|
3097
3201
|
updatedAt: z.ZodISODateTime;
|
|
3098
3202
|
versions: z.ZodInt;
|
|
3203
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
3099
3204
|
}, z.core.$strip>;
|
|
3100
3205
|
export declare const zGetEnvironmentOverviewData: z.ZodObject<{
|
|
3101
3206
|
body: z.ZodOptional<z.ZodNever>;
|
|
@@ -3117,6 +3222,7 @@ export declare const zGetEnvironmentOverviewResponse: z.ZodObject<{
|
|
|
3117
3222
|
createdAt: z.ZodISODateTime;
|
|
3118
3223
|
updatedAt: z.ZodISODateTime;
|
|
3119
3224
|
versions: z.ZodInt;
|
|
3225
|
+
blueprintId: z.ZodOptional<z.ZodUUID>;
|
|
3120
3226
|
}, z.core.$strip>;
|
|
3121
3227
|
export declare const zGetEnvironmentVersionsData: z.ZodObject<{
|
|
3122
3228
|
body: z.ZodOptional<z.ZodNever>;
|
|
@@ -3190,6 +3296,8 @@ export declare const zDeleteEnvironmentVariableResponse: z.ZodObject<{
|
|
|
3190
3296
|
vars: z.ZodArray<z.ZodObject<{
|
|
3191
3297
|
key: z.ZodString;
|
|
3192
3298
|
value: z.ZodString;
|
|
3299
|
+
isExported: z.ZodBoolean;
|
|
3300
|
+
isOutput: z.ZodBoolean;
|
|
3193
3301
|
}, z.core.$strip>>;
|
|
3194
3302
|
}, z.core.$strip>;
|
|
3195
3303
|
export declare const zGetEnvironmentVariablesData: z.ZodObject<{
|
|
@@ -3208,12 +3316,16 @@ export declare const zGetEnvironmentVariablesResponse: z.ZodObject<{
|
|
|
3208
3316
|
vars: z.ZodArray<z.ZodObject<{
|
|
3209
3317
|
key: z.ZodString;
|
|
3210
3318
|
value: z.ZodString;
|
|
3319
|
+
isExported: z.ZodBoolean;
|
|
3320
|
+
isOutput: z.ZodBoolean;
|
|
3211
3321
|
}, z.core.$strip>>;
|
|
3212
3322
|
}, z.core.$strip>;
|
|
3213
3323
|
export declare const zUpdateEnvironmentVariableData: z.ZodObject<{
|
|
3214
3324
|
body: z.ZodObject<{
|
|
3215
3325
|
key: z.ZodString;
|
|
3216
3326
|
value: z.ZodString;
|
|
3327
|
+
isExported: z.ZodBoolean;
|
|
3328
|
+
isOutput: z.ZodBoolean;
|
|
3217
3329
|
}, z.core.$strip>;
|
|
3218
3330
|
path: z.ZodObject<{
|
|
3219
3331
|
spaceHandle: z.ZodString;
|
|
@@ -3227,6 +3339,8 @@ export declare const zCreateEnvironmentVariableData: z.ZodObject<{
|
|
|
3227
3339
|
body: z.ZodObject<{
|
|
3228
3340
|
key: z.ZodString;
|
|
3229
3341
|
value: z.ZodString;
|
|
3342
|
+
isExported: z.ZodBoolean;
|
|
3343
|
+
isOutput: z.ZodBoolean;
|
|
3230
3344
|
}, z.core.$strip>;
|
|
3231
3345
|
path: z.ZodObject<{
|
|
3232
3346
|
spaceHandle: z.ZodString;
|
|
@@ -3282,6 +3396,8 @@ export declare const zUpdateBlueprintResponse: z.ZodObject<{
|
|
|
3282
3396
|
exported: z.ZodArray<z.ZodObject<{
|
|
3283
3397
|
key: z.ZodString;
|
|
3284
3398
|
value: z.ZodString;
|
|
3399
|
+
isExported: z.ZodBoolean;
|
|
3400
|
+
isOutput: z.ZodBoolean;
|
|
3285
3401
|
}, z.core.$strip>>;
|
|
3286
3402
|
}, z.core.$strip>;
|
|
3287
3403
|
export declare const zCreateBlueprintData: z.ZodObject<{
|
|
@@ -3315,6 +3431,8 @@ export declare const zCreateBlueprintResponse: z.ZodObject<{
|
|
|
3315
3431
|
exported: z.ZodArray<z.ZodObject<{
|
|
3316
3432
|
key: z.ZodString;
|
|
3317
3433
|
value: z.ZodString;
|
|
3434
|
+
isExported: z.ZodBoolean;
|
|
3435
|
+
isOutput: z.ZodBoolean;
|
|
3318
3436
|
}, z.core.$strip>>;
|
|
3319
3437
|
}, z.core.$strip>;
|
|
3320
3438
|
export declare const zGetVersionData: z.ZodObject<{
|
|
@@ -3396,6 +3514,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
3396
3514
|
typ: z.ZodEnum<{
|
|
3397
3515
|
network: "network";
|
|
3398
3516
|
route: "route";
|
|
3517
|
+
output: "output";
|
|
3399
3518
|
}>;
|
|
3400
3519
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3401
3520
|
typ: z.ZodLiteral<"network">;
|
|
@@ -3405,6 +3524,13 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
3405
3524
|
typ: z.ZodLiteral<"route">;
|
|
3406
3525
|
}, z.core.$strip>, z.ZodObject<{
|
|
3407
3526
|
path: z.ZodOptional<z.ZodString>;
|
|
3527
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3528
|
+
typ: z.ZodLiteral<"output">;
|
|
3529
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3530
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
3531
|
+
environmentVariableKey: z.ZodString;
|
|
3532
|
+
outputValueReference: z.ZodString;
|
|
3533
|
+
}, z.core.$strip>>;
|
|
3408
3534
|
}, z.core.$strip>>]>>;
|
|
3409
3535
|
}, z.core.$strip>>>;
|
|
3410
3536
|
typ: z.ZodEnum<{
|
|
@@ -3560,6 +3686,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
3560
3686
|
typ: z.ZodEnum<{
|
|
3561
3687
|
network: "network";
|
|
3562
3688
|
route: "route";
|
|
3689
|
+
output: "output";
|
|
3563
3690
|
}>;
|
|
3564
3691
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3565
3692
|
typ: z.ZodLiteral<"network">;
|
|
@@ -3569,6 +3696,13 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
3569
3696
|
typ: z.ZodLiteral<"route">;
|
|
3570
3697
|
}, z.core.$strip>, z.ZodObject<{
|
|
3571
3698
|
path: z.ZodOptional<z.ZodString>;
|
|
3699
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3700
|
+
typ: z.ZodLiteral<"output">;
|
|
3701
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3702
|
+
outputs: z.ZodArray<z.ZodObject<{
|
|
3703
|
+
environmentVariableKey: z.ZodString;
|
|
3704
|
+
outputValueReference: z.ZodString;
|
|
3705
|
+
}, z.core.$strip>>;
|
|
3572
3706
|
}, z.core.$strip>>]>>;
|
|
3573
3707
|
}, z.core.$strip>>>;
|
|
3574
3708
|
typ: z.ZodEnum<{
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
export const zPlainString = z.string().regex(/^[-a-zA-Z0-9 ']+$/);
|
|
4
|
+
export const zOutputEnvironmentVariable = z.object({
|
|
5
|
+
environmentVariableKey: z.string(),
|
|
6
|
+
outputValueReference: z.string()
|
|
7
|
+
});
|
|
4
8
|
export const zEnvironmentVariable = z.object({
|
|
5
9
|
key: z.string(),
|
|
6
|
-
value: z.string()
|
|
10
|
+
value: z.string(),
|
|
11
|
+
isExported: z.boolean(),
|
|
12
|
+
isOutput: z.boolean()
|
|
7
13
|
});
|
|
8
14
|
export const zEnvironmentVariables = z.object({
|
|
9
15
|
vars: z.array(zEnvironmentVariable)
|
|
@@ -138,7 +144,8 @@ export const zEnvironmentOverview = z.object({
|
|
|
138
144
|
description: z.string(),
|
|
139
145
|
createdAt: z.iso.datetime(),
|
|
140
146
|
updatedAt: z.iso.datetime(),
|
|
141
|
-
versions: z.int()
|
|
147
|
+
versions: z.int(),
|
|
148
|
+
blueprintId: z.optional(z.uuid())
|
|
142
149
|
});
|
|
143
150
|
export const zProjectOverview = z.object({
|
|
144
151
|
id: z.uuid(),
|
|
@@ -322,9 +329,13 @@ export const zNetworkEdgeProps = z.object({
|
|
|
322
329
|
export const zRouteEdgeProps = z.object({
|
|
323
330
|
path: z.optional(z.string())
|
|
324
331
|
});
|
|
332
|
+
export const zOutputEdgeProps = z.object({
|
|
333
|
+
outputs: z.array(zOutputEnvironmentVariable)
|
|
334
|
+
});
|
|
325
335
|
export const zEdgeType = z.enum([
|
|
326
336
|
'network',
|
|
327
|
-
'route'
|
|
337
|
+
'route',
|
|
338
|
+
'output'
|
|
328
339
|
]);
|
|
329
340
|
export const zEdge = z.object({
|
|
330
341
|
id: z.uuid(),
|
|
@@ -337,7 +348,10 @@ export const zEdge = z.object({
|
|
|
337
348
|
}).and(zNetworkEdgeProps),
|
|
338
349
|
z.object({
|
|
339
350
|
typ: z.literal('route')
|
|
340
|
-
}).and(zRouteEdgeProps)
|
|
351
|
+
}).and(zRouteEdgeProps),
|
|
352
|
+
z.object({
|
|
353
|
+
typ: z.literal('output')
|
|
354
|
+
}).and(zOutputEdgeProps)
|
|
341
355
|
]))
|
|
342
356
|
});
|
|
343
357
|
export const zNodeType = z.enum([
|