shoal-web-sdk 1.0.20 → 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 +13 -2
- package/dist/sdk/zod.gen.d.ts +123 -0
- package/dist/sdk/zod.gen.js +16 -3
- 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;
|
|
@@ -359,7 +365,9 @@ export type Edge = {
|
|
|
359
365
|
typ: 'network';
|
|
360
366
|
} & NetworkEdgeProps) | ({
|
|
361
367
|
typ: 'route';
|
|
362
|
-
} & RouteEdgeProps)
|
|
368
|
+
} & RouteEdgeProps) | ({
|
|
369
|
+
typ: 'output';
|
|
370
|
+
} & OutputEdgeProps);
|
|
363
371
|
};
|
|
364
372
|
export type NetworkEdgeProps = {
|
|
365
373
|
a?: string;
|
|
@@ -367,6 +375,9 @@ export type NetworkEdgeProps = {
|
|
|
367
375
|
export type RouteEdgeProps = {
|
|
368
376
|
path?: string;
|
|
369
377
|
};
|
|
378
|
+
export type OutputEdgeProps = {
|
|
379
|
+
outputs: Array<OutputEnvironmentVariable>;
|
|
380
|
+
};
|
|
370
381
|
export type Node = {
|
|
371
382
|
id: string;
|
|
372
383
|
name?: PlainString;
|
|
@@ -401,7 +412,7 @@ export type Node = {
|
|
|
401
412
|
typ: 'scheduler';
|
|
402
413
|
} & SchedulerNodeProps);
|
|
403
414
|
};
|
|
404
|
-
export type EdgeType = 'network' | 'route';
|
|
415
|
+
export type EdgeType = 'network' | 'route' | 'output';
|
|
405
416
|
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
406
417
|
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
407
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>>;
|
|
@@ -501,9 +513,16 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
|
|
|
501
513
|
export declare const zRouteEdgeProps: z.ZodObject<{
|
|
502
514
|
path: z.ZodOptional<z.ZodString>;
|
|
503
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>;
|
|
504
522
|
export declare const zEdgeType: z.ZodEnum<{
|
|
505
523
|
network: "network";
|
|
506
524
|
route: "route";
|
|
525
|
+
output: "output";
|
|
507
526
|
}>;
|
|
508
527
|
export declare const zEdge: z.ZodObject<{
|
|
509
528
|
id: z.ZodUUID;
|
|
@@ -512,6 +531,7 @@ export declare const zEdge: z.ZodObject<{
|
|
|
512
531
|
typ: z.ZodEnum<{
|
|
513
532
|
network: "network";
|
|
514
533
|
route: "route";
|
|
534
|
+
output: "output";
|
|
515
535
|
}>;
|
|
516
536
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
517
537
|
typ: z.ZodLiteral<"network">;
|
|
@@ -521,6 +541,13 @@ export declare const zEdge: z.ZodObject<{
|
|
|
521
541
|
typ: z.ZodLiteral<"route">;
|
|
522
542
|
}, z.core.$strip>, z.ZodObject<{
|
|
523
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>>;
|
|
524
551
|
}, z.core.$strip>>]>>;
|
|
525
552
|
}, z.core.$strip>;
|
|
526
553
|
export declare const zNodeType: z.ZodEnum<{
|
|
@@ -686,6 +713,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
686
713
|
typ: z.ZodEnum<{
|
|
687
714
|
network: "network";
|
|
688
715
|
route: "route";
|
|
716
|
+
output: "output";
|
|
689
717
|
}>;
|
|
690
718
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
691
719
|
typ: z.ZodLiteral<"network">;
|
|
@@ -695,6 +723,13 @@ export declare const zNode: z.ZodObject<{
|
|
|
695
723
|
typ: z.ZodLiteral<"route">;
|
|
696
724
|
}, z.core.$strip>, z.ZodObject<{
|
|
697
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>>;
|
|
698
733
|
}, z.core.$strip>>]>>;
|
|
699
734
|
}, z.core.$strip>>>;
|
|
700
735
|
typ: z.ZodEnum<{
|
|
@@ -848,6 +883,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
848
883
|
typ: z.ZodEnum<{
|
|
849
884
|
network: "network";
|
|
850
885
|
route: "route";
|
|
886
|
+
output: "output";
|
|
851
887
|
}>;
|
|
852
888
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
853
889
|
typ: z.ZodLiteral<"network">;
|
|
@@ -857,6 +893,13 @@ export declare const zNodes: z.ZodObject<{
|
|
|
857
893
|
typ: z.ZodLiteral<"route">;
|
|
858
894
|
}, z.core.$strip>, z.ZodObject<{
|
|
859
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>>;
|
|
860
903
|
}, z.core.$strip>>]>>;
|
|
861
904
|
}, z.core.$strip>>>;
|
|
862
905
|
typ: z.ZodEnum<{
|
|
@@ -1013,6 +1056,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1013
1056
|
typ: z.ZodEnum<{
|
|
1014
1057
|
network: "network";
|
|
1015
1058
|
route: "route";
|
|
1059
|
+
output: "output";
|
|
1016
1060
|
}>;
|
|
1017
1061
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1018
1062
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1022,6 +1066,13 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1022
1066
|
typ: z.ZodLiteral<"route">;
|
|
1023
1067
|
}, z.core.$strip>, z.ZodObject<{
|
|
1024
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>>;
|
|
1025
1076
|
}, z.core.$strip>>]>>;
|
|
1026
1077
|
}, z.core.$strip>>>;
|
|
1027
1078
|
typ: z.ZodEnum<{
|
|
@@ -1599,6 +1650,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1599
1650
|
typ: z.ZodEnum<{
|
|
1600
1651
|
network: "network";
|
|
1601
1652
|
route: "route";
|
|
1653
|
+
output: "output";
|
|
1602
1654
|
}>;
|
|
1603
1655
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1604
1656
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1608,6 +1660,13 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1608
1660
|
typ: z.ZodLiteral<"route">;
|
|
1609
1661
|
}, z.core.$strip>, z.ZodObject<{
|
|
1610
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>>;
|
|
1611
1670
|
}, z.core.$strip>>]>>;
|
|
1612
1671
|
}, z.core.$strip>>>;
|
|
1613
1672
|
typ: z.ZodEnum<{
|
|
@@ -1763,6 +1822,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1763
1822
|
typ: z.ZodEnum<{
|
|
1764
1823
|
network: "network";
|
|
1765
1824
|
route: "route";
|
|
1825
|
+
output: "output";
|
|
1766
1826
|
}>;
|
|
1767
1827
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1768
1828
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1772,6 +1832,13 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1772
1832
|
typ: z.ZodLiteral<"route">;
|
|
1773
1833
|
}, z.core.$strip>, z.ZodObject<{
|
|
1774
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>>;
|
|
1775
1842
|
}, z.core.$strip>>]>>;
|
|
1776
1843
|
}, z.core.$strip>>>;
|
|
1777
1844
|
typ: z.ZodEnum<{
|
|
@@ -1944,6 +2011,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1944
2011
|
typ: z.ZodEnum<{
|
|
1945
2012
|
network: "network";
|
|
1946
2013
|
route: "route";
|
|
2014
|
+
output: "output";
|
|
1947
2015
|
}>;
|
|
1948
2016
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1949
2017
|
typ: z.ZodLiteral<"network">;
|
|
@@ -1953,6 +2021,13 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1953
2021
|
typ: z.ZodLiteral<"route">;
|
|
1954
2022
|
}, z.core.$strip>, z.ZodObject<{
|
|
1955
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>>;
|
|
1956
2031
|
}, z.core.$strip>>]>>;
|
|
1957
2032
|
}, z.core.$strip>>>;
|
|
1958
2033
|
typ: z.ZodEnum<{
|
|
@@ -2106,6 +2181,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2106
2181
|
typ: z.ZodEnum<{
|
|
2107
2182
|
network: "network";
|
|
2108
2183
|
route: "route";
|
|
2184
|
+
output: "output";
|
|
2109
2185
|
}>;
|
|
2110
2186
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2111
2187
|
typ: z.ZodLiteral<"network">;
|
|
@@ -2115,6 +2191,13 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2115
2191
|
typ: z.ZodLiteral<"route">;
|
|
2116
2192
|
}, z.core.$strip>, z.ZodObject<{
|
|
2117
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>>;
|
|
2118
2201
|
}, z.core.$strip>>]>>;
|
|
2119
2202
|
}, z.core.$strip>>>;
|
|
2120
2203
|
typ: z.ZodEnum<{
|
|
@@ -2523,6 +2606,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
2523
2606
|
typ: z.ZodEnum<{
|
|
2524
2607
|
network: "network";
|
|
2525
2608
|
route: "route";
|
|
2609
|
+
output: "output";
|
|
2526
2610
|
}>;
|
|
2527
2611
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2528
2612
|
typ: z.ZodLiteral<"network">;
|
|
@@ -2532,6 +2616,13 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
2532
2616
|
typ: z.ZodLiteral<"route">;
|
|
2533
2617
|
}, z.core.$strip>, z.ZodObject<{
|
|
2534
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>>;
|
|
2535
2626
|
}, z.core.$strip>>]>>;
|
|
2536
2627
|
}, z.core.$strip>>>;
|
|
2537
2628
|
typ: z.ZodEnum<{
|
|
@@ -2705,6 +2796,8 @@ export declare const zViewBlueprintsResponse: z.ZodIntersection<z.ZodObject<{
|
|
|
2705
2796
|
exported: z.ZodArray<z.ZodObject<{
|
|
2706
2797
|
key: z.ZodString;
|
|
2707
2798
|
value: z.ZodString;
|
|
2799
|
+
isExported: z.ZodBoolean;
|
|
2800
|
+
isOutput: z.ZodBoolean;
|
|
2708
2801
|
}, z.core.$strip>>;
|
|
2709
2802
|
}, z.core.$strip>>;
|
|
2710
2803
|
}, z.core.$strip>>;
|
|
@@ -2732,6 +2825,8 @@ export declare const zGetBlueprintResponse: z.ZodObject<{
|
|
|
2732
2825
|
exported: z.ZodArray<z.ZodObject<{
|
|
2733
2826
|
key: z.ZodString;
|
|
2734
2827
|
value: z.ZodString;
|
|
2828
|
+
isExported: z.ZodBoolean;
|
|
2829
|
+
isOutput: z.ZodBoolean;
|
|
2735
2830
|
}, z.core.$strip>>;
|
|
2736
2831
|
}, z.core.$strip>;
|
|
2737
2832
|
export declare const zCreateSpaceData: z.ZodObject<{
|
|
@@ -3201,6 +3296,8 @@ export declare const zDeleteEnvironmentVariableResponse: z.ZodObject<{
|
|
|
3201
3296
|
vars: z.ZodArray<z.ZodObject<{
|
|
3202
3297
|
key: z.ZodString;
|
|
3203
3298
|
value: z.ZodString;
|
|
3299
|
+
isExported: z.ZodBoolean;
|
|
3300
|
+
isOutput: z.ZodBoolean;
|
|
3204
3301
|
}, z.core.$strip>>;
|
|
3205
3302
|
}, z.core.$strip>;
|
|
3206
3303
|
export declare const zGetEnvironmentVariablesData: z.ZodObject<{
|
|
@@ -3219,12 +3316,16 @@ export declare const zGetEnvironmentVariablesResponse: z.ZodObject<{
|
|
|
3219
3316
|
vars: z.ZodArray<z.ZodObject<{
|
|
3220
3317
|
key: z.ZodString;
|
|
3221
3318
|
value: z.ZodString;
|
|
3319
|
+
isExported: z.ZodBoolean;
|
|
3320
|
+
isOutput: z.ZodBoolean;
|
|
3222
3321
|
}, z.core.$strip>>;
|
|
3223
3322
|
}, z.core.$strip>;
|
|
3224
3323
|
export declare const zUpdateEnvironmentVariableData: z.ZodObject<{
|
|
3225
3324
|
body: z.ZodObject<{
|
|
3226
3325
|
key: z.ZodString;
|
|
3227
3326
|
value: z.ZodString;
|
|
3327
|
+
isExported: z.ZodBoolean;
|
|
3328
|
+
isOutput: z.ZodBoolean;
|
|
3228
3329
|
}, z.core.$strip>;
|
|
3229
3330
|
path: z.ZodObject<{
|
|
3230
3331
|
spaceHandle: z.ZodString;
|
|
@@ -3238,6 +3339,8 @@ export declare const zCreateEnvironmentVariableData: z.ZodObject<{
|
|
|
3238
3339
|
body: z.ZodObject<{
|
|
3239
3340
|
key: z.ZodString;
|
|
3240
3341
|
value: z.ZodString;
|
|
3342
|
+
isExported: z.ZodBoolean;
|
|
3343
|
+
isOutput: z.ZodBoolean;
|
|
3241
3344
|
}, z.core.$strip>;
|
|
3242
3345
|
path: z.ZodObject<{
|
|
3243
3346
|
spaceHandle: z.ZodString;
|
|
@@ -3293,6 +3396,8 @@ export declare const zUpdateBlueprintResponse: z.ZodObject<{
|
|
|
3293
3396
|
exported: z.ZodArray<z.ZodObject<{
|
|
3294
3397
|
key: z.ZodString;
|
|
3295
3398
|
value: z.ZodString;
|
|
3399
|
+
isExported: z.ZodBoolean;
|
|
3400
|
+
isOutput: z.ZodBoolean;
|
|
3296
3401
|
}, z.core.$strip>>;
|
|
3297
3402
|
}, z.core.$strip>;
|
|
3298
3403
|
export declare const zCreateBlueprintData: z.ZodObject<{
|
|
@@ -3326,6 +3431,8 @@ export declare const zCreateBlueprintResponse: z.ZodObject<{
|
|
|
3326
3431
|
exported: z.ZodArray<z.ZodObject<{
|
|
3327
3432
|
key: z.ZodString;
|
|
3328
3433
|
value: z.ZodString;
|
|
3434
|
+
isExported: z.ZodBoolean;
|
|
3435
|
+
isOutput: z.ZodBoolean;
|
|
3329
3436
|
}, z.core.$strip>>;
|
|
3330
3437
|
}, z.core.$strip>;
|
|
3331
3438
|
export declare const zGetVersionData: z.ZodObject<{
|
|
@@ -3407,6 +3514,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
3407
3514
|
typ: z.ZodEnum<{
|
|
3408
3515
|
network: "network";
|
|
3409
3516
|
route: "route";
|
|
3517
|
+
output: "output";
|
|
3410
3518
|
}>;
|
|
3411
3519
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3412
3520
|
typ: z.ZodLiteral<"network">;
|
|
@@ -3416,6 +3524,13 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
3416
3524
|
typ: z.ZodLiteral<"route">;
|
|
3417
3525
|
}, z.core.$strip>, z.ZodObject<{
|
|
3418
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>>;
|
|
3419
3534
|
}, z.core.$strip>>]>>;
|
|
3420
3535
|
}, z.core.$strip>>>;
|
|
3421
3536
|
typ: z.ZodEnum<{
|
|
@@ -3571,6 +3686,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
3571
3686
|
typ: z.ZodEnum<{
|
|
3572
3687
|
network: "network";
|
|
3573
3688
|
route: "route";
|
|
3689
|
+
output: "output";
|
|
3574
3690
|
}>;
|
|
3575
3691
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
3576
3692
|
typ: z.ZodLiteral<"network">;
|
|
@@ -3580,6 +3696,13 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
3580
3696
|
typ: z.ZodLiteral<"route">;
|
|
3581
3697
|
}, z.core.$strip>, z.ZodObject<{
|
|
3582
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>>;
|
|
3583
3706
|
}, z.core.$strip>>]>>;
|
|
3584
3707
|
}, z.core.$strip>>>;
|
|
3585
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)
|
|
@@ -323,9 +329,13 @@ export const zNetworkEdgeProps = z.object({
|
|
|
323
329
|
export const zRouteEdgeProps = z.object({
|
|
324
330
|
path: z.optional(z.string())
|
|
325
331
|
});
|
|
332
|
+
export const zOutputEdgeProps = z.object({
|
|
333
|
+
outputs: z.array(zOutputEnvironmentVariable)
|
|
334
|
+
});
|
|
326
335
|
export const zEdgeType = z.enum([
|
|
327
336
|
'network',
|
|
328
|
-
'route'
|
|
337
|
+
'route',
|
|
338
|
+
'output'
|
|
329
339
|
]);
|
|
330
340
|
export const zEdge = z.object({
|
|
331
341
|
id: z.uuid(),
|
|
@@ -338,7 +348,10 @@ export const zEdge = z.object({
|
|
|
338
348
|
}).and(zNetworkEdgeProps),
|
|
339
349
|
z.object({
|
|
340
350
|
typ: z.literal('route')
|
|
341
|
-
}).and(zRouteEdgeProps)
|
|
351
|
+
}).and(zRouteEdgeProps),
|
|
352
|
+
z.object({
|
|
353
|
+
typ: z.literal('output')
|
|
354
|
+
}).and(zOutputEdgeProps)
|
|
342
355
|
]))
|
|
343
356
|
});
|
|
344
357
|
export const zNodeType = z.enum([
|