shoal-web-sdk 1.0.40 → 1.0.42
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 +47 -2
- package/dist/sdk/zod.gen.d.ts +292 -27
- package/dist/sdk/zod.gen.js +24 -1
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -447,10 +447,13 @@ export type NetworkEdgeProps = {
|
|
|
447
447
|
export type RouteEdgeProps = {
|
|
448
448
|
path?: string;
|
|
449
449
|
};
|
|
450
|
-
export type
|
|
450
|
+
export type OutputKeyMapping = {
|
|
451
451
|
output_key: string;
|
|
452
452
|
local_env_var_key: string;
|
|
453
453
|
};
|
|
454
|
+
export type OutputEdgeProps = {
|
|
455
|
+
mappings: Array<OutputKeyMapping>;
|
|
456
|
+
};
|
|
454
457
|
export type Node = {
|
|
455
458
|
id: string;
|
|
456
459
|
name?: PlainString;
|
|
@@ -476,6 +479,8 @@ export type Node = {
|
|
|
476
479
|
} & FunctionNodeProps) | ({
|
|
477
480
|
typ: 'neondb';
|
|
478
481
|
} & NeonDbNodeProps) | ({
|
|
482
|
+
typ: 'mongodb';
|
|
483
|
+
} & MongoDbNodeProps) | ({
|
|
479
484
|
typ: 'queue';
|
|
480
485
|
} & QueueNodeProps) | ({
|
|
481
486
|
typ: 'proxy';
|
|
@@ -486,7 +491,7 @@ export type Node = {
|
|
|
486
491
|
} & SchedulerNodeProps);
|
|
487
492
|
};
|
|
488
493
|
export type EdgeType = 'network' | 'route' | 'output';
|
|
489
|
-
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
494
|
+
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'neondb' | 'mongodb' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
490
495
|
export type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
|
|
491
496
|
export type CommentNodeProps = {
|
|
492
497
|
comment?: string;
|
|
@@ -549,6 +554,46 @@ export type NeonDbNodeProps = {
|
|
|
549
554
|
suspendTimeoutSeconds?: number;
|
|
550
555
|
connectionUri?: string;
|
|
551
556
|
};
|
|
557
|
+
export type MongoDbNodeProps = {
|
|
558
|
+
orgId?: string;
|
|
559
|
+
orgName?: string;
|
|
560
|
+
projectId?: string;
|
|
561
|
+
projectName?: string;
|
|
562
|
+
clusterId?: string;
|
|
563
|
+
clusterName?: string;
|
|
564
|
+
/**
|
|
565
|
+
* Atlas cloud provider for the cluster (AWS, GCP or AZURE).
|
|
566
|
+
*/
|
|
567
|
+
cloudProvider?: string;
|
|
568
|
+
/**
|
|
569
|
+
* Atlas region name for the cluster (e.g. US_EAST_1).
|
|
570
|
+
*/
|
|
571
|
+
regionName?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Atlas instance size / tier (e.g. M0, M10, M30).
|
|
574
|
+
*/
|
|
575
|
+
instanceSize?: string;
|
|
576
|
+
/**
|
|
577
|
+
* MongoDB major version (e.g. "7.0").
|
|
578
|
+
*/
|
|
579
|
+
mongoVersion?: string;
|
|
580
|
+
/**
|
|
581
|
+
* Cluster storage size in GB. Dedicated tiers only.
|
|
582
|
+
*/
|
|
583
|
+
diskSizeGb?: number;
|
|
584
|
+
/**
|
|
585
|
+
* Atlas cluster topology (REPLICASET, SHARDED or GEOSHARDED).
|
|
586
|
+
*/
|
|
587
|
+
clusterType?: string;
|
|
588
|
+
/**
|
|
589
|
+
* Whether cloud backup is enabled for the cluster.
|
|
590
|
+
*/
|
|
591
|
+
backupEnabled?: boolean;
|
|
592
|
+
/**
|
|
593
|
+
* Cluster connection string (SRV).
|
|
594
|
+
*/
|
|
595
|
+
connectionString?: string;
|
|
596
|
+
};
|
|
552
597
|
export type FunctionNodeProps = {
|
|
553
598
|
region: Region;
|
|
554
599
|
language: string;
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -570,10 +570,16 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
|
|
|
570
570
|
export declare const zRouteEdgeProps: z.ZodObject<{
|
|
571
571
|
path: z.ZodOptional<z.ZodString>;
|
|
572
572
|
}, z.core.$strip>;
|
|
573
|
-
export declare const
|
|
573
|
+
export declare const zOutputKeyMapping: z.ZodObject<{
|
|
574
574
|
output_key: z.ZodString;
|
|
575
575
|
local_env_var_key: z.ZodString;
|
|
576
576
|
}, z.core.$strip>;
|
|
577
|
+
export declare const zOutputEdgeProps: z.ZodObject<{
|
|
578
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
579
|
+
output_key: z.ZodString;
|
|
580
|
+
local_env_var_key: z.ZodString;
|
|
581
|
+
}, z.core.$strip>>;
|
|
582
|
+
}, z.core.$strip>;
|
|
577
583
|
export declare const zEdgeType: z.ZodEnum<{
|
|
578
584
|
network: "network";
|
|
579
585
|
route: "route";
|
|
@@ -599,8 +605,10 @@ export declare const zEdge: z.ZodObject<{
|
|
|
599
605
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
600
606
|
typ: z.ZodLiteral<"output">;
|
|
601
607
|
}, z.core.$strip>, z.ZodObject<{
|
|
602
|
-
|
|
603
|
-
|
|
608
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
609
|
+
output_key: z.ZodString;
|
|
610
|
+
local_env_var_key: z.ZodString;
|
|
611
|
+
}, z.core.$strip>>;
|
|
604
612
|
}, z.core.$strip>>]>>;
|
|
605
613
|
}, z.core.$strip>;
|
|
606
614
|
export declare const zNodeType: z.ZodEnum<{
|
|
@@ -611,6 +619,7 @@ export declare const zNodeType: z.ZodEnum<{
|
|
|
611
619
|
cronjob: "cronjob";
|
|
612
620
|
database: "database";
|
|
613
621
|
neondb: "neondb";
|
|
622
|
+
mongodb: "mongodb";
|
|
614
623
|
queue: "queue";
|
|
615
624
|
proxy: "proxy";
|
|
616
625
|
vm: "vm";
|
|
@@ -718,6 +727,22 @@ export declare const zNeonDbNodeProps: z.ZodObject<{
|
|
|
718
727
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
719
728
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
720
729
|
}, z.core.$strip>;
|
|
730
|
+
export declare const zMongoDbNodeProps: z.ZodObject<{
|
|
731
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
732
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
733
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
734
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
735
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
736
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
737
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
738
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
739
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
740
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
741
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
743
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
744
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
745
|
+
}, z.core.$strip>;
|
|
721
746
|
export declare const zFunctionNodeProps: z.ZodObject<{
|
|
722
747
|
region: z.ZodEnum<{
|
|
723
748
|
"europe-west2": "europe-west2";
|
|
@@ -780,8 +805,10 @@ export declare const zNode: z.ZodObject<{
|
|
|
780
805
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
781
806
|
typ: z.ZodLiteral<"output">;
|
|
782
807
|
}, z.core.$strip>, z.ZodObject<{
|
|
783
|
-
|
|
784
|
-
|
|
808
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
809
|
+
output_key: z.ZodString;
|
|
810
|
+
local_env_var_key: z.ZodString;
|
|
811
|
+
}, z.core.$strip>>;
|
|
785
812
|
}, z.core.$strip>>]>>;
|
|
786
813
|
}, z.core.$strip>>>;
|
|
787
814
|
typ: z.ZodEnum<{
|
|
@@ -792,6 +819,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
792
819
|
cronjob: "cronjob";
|
|
793
820
|
database: "database";
|
|
794
821
|
neondb: "neondb";
|
|
822
|
+
mongodb: "mongodb";
|
|
795
823
|
queue: "queue";
|
|
796
824
|
proxy: "proxy";
|
|
797
825
|
vm: "vm";
|
|
@@ -889,6 +917,23 @@ export declare const zNode: z.ZodObject<{
|
|
|
889
917
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
890
918
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
891
919
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
920
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
921
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
922
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
923
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
924
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
925
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
926
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
927
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
928
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
929
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
930
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
931
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
932
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
933
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
934
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
935
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
936
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
892
937
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
893
938
|
typ: z.ZodLiteral<"queue">;
|
|
894
939
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -949,8 +994,10 @@ export declare const zNodes: z.ZodObject<{
|
|
|
949
994
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
950
995
|
typ: z.ZodLiteral<"output">;
|
|
951
996
|
}, z.core.$strip>, z.ZodObject<{
|
|
952
|
-
|
|
953
|
-
|
|
997
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
998
|
+
output_key: z.ZodString;
|
|
999
|
+
local_env_var_key: z.ZodString;
|
|
1000
|
+
}, z.core.$strip>>;
|
|
954
1001
|
}, z.core.$strip>>]>>;
|
|
955
1002
|
}, z.core.$strip>>>;
|
|
956
1003
|
typ: z.ZodEnum<{
|
|
@@ -961,6 +1008,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
961
1008
|
cronjob: "cronjob";
|
|
962
1009
|
database: "database";
|
|
963
1010
|
neondb: "neondb";
|
|
1011
|
+
mongodb: "mongodb";
|
|
964
1012
|
queue: "queue";
|
|
965
1013
|
proxy: "proxy";
|
|
966
1014
|
vm: "vm";
|
|
@@ -1058,6 +1106,23 @@ export declare const zNodes: z.ZodObject<{
|
|
|
1058
1106
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
1059
1107
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1060
1108
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1110
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
1111
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1112
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
1113
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
1114
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
1116
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
1118
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
1120
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
1121
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
1122
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
1123
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1125
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
1061
1126
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1062
1127
|
typ: z.ZodLiteral<"queue">;
|
|
1063
1128
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1121,8 +1186,10 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1121
1186
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1122
1187
|
typ: z.ZodLiteral<"output">;
|
|
1123
1188
|
}, z.core.$strip>, z.ZodObject<{
|
|
1124
|
-
|
|
1125
|
-
|
|
1189
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
1190
|
+
output_key: z.ZodString;
|
|
1191
|
+
local_env_var_key: z.ZodString;
|
|
1192
|
+
}, z.core.$strip>>;
|
|
1126
1193
|
}, z.core.$strip>>]>>;
|
|
1127
1194
|
}, z.core.$strip>>>;
|
|
1128
1195
|
typ: z.ZodEnum<{
|
|
@@ -1133,6 +1200,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1133
1200
|
cronjob: "cronjob";
|
|
1134
1201
|
database: "database";
|
|
1135
1202
|
neondb: "neondb";
|
|
1203
|
+
mongodb: "mongodb";
|
|
1136
1204
|
queue: "queue";
|
|
1137
1205
|
proxy: "proxy";
|
|
1138
1206
|
vm: "vm";
|
|
@@ -1230,6 +1298,23 @@ export declare const zGraph: z.ZodObject<{
|
|
|
1230
1298
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
1231
1299
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1232
1300
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
1301
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1302
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
1303
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1304
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
1306
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
1309
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
1310
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
1311
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
1312
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
1313
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
1314
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
1315
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
1316
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1317
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
1233
1318
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1234
1319
|
typ: z.ZodLiteral<"queue">;
|
|
1235
1320
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1298,8 +1383,10 @@ export declare const zBlueprintDetail: z.ZodObject<{
|
|
|
1298
1383
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1299
1384
|
typ: z.ZodLiteral<"output">;
|
|
1300
1385
|
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
-
|
|
1302
|
-
|
|
1386
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
1387
|
+
output_key: z.ZodString;
|
|
1388
|
+
local_env_var_key: z.ZodString;
|
|
1389
|
+
}, z.core.$strip>>;
|
|
1303
1390
|
}, z.core.$strip>>]>>;
|
|
1304
1391
|
}, z.core.$strip>>>;
|
|
1305
1392
|
typ: z.ZodEnum<{
|
|
@@ -1310,6 +1397,7 @@ export declare const zBlueprintDetail: z.ZodObject<{
|
|
|
1310
1397
|
cronjob: "cronjob";
|
|
1311
1398
|
database: "database";
|
|
1312
1399
|
neondb: "neondb";
|
|
1400
|
+
mongodb: "mongodb";
|
|
1313
1401
|
queue: "queue";
|
|
1314
1402
|
proxy: "proxy";
|
|
1315
1403
|
vm: "vm";
|
|
@@ -1407,6 +1495,23 @@ export declare const zBlueprintDetail: z.ZodObject<{
|
|
|
1407
1495
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
1408
1496
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1409
1497
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
1498
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1499
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
1500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1501
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
1502
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
1503
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
1504
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
1505
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
1507
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
1508
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
1509
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
1510
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
1511
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
1512
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
1513
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1514
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
1410
1515
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1411
1516
|
typ: z.ZodLiteral<"queue">;
|
|
1412
1517
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2044,8 +2149,10 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
2044
2149
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2045
2150
|
typ: z.ZodLiteral<"output">;
|
|
2046
2151
|
}, z.core.$strip>, z.ZodObject<{
|
|
2047
|
-
|
|
2048
|
-
|
|
2152
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2153
|
+
output_key: z.ZodString;
|
|
2154
|
+
local_env_var_key: z.ZodString;
|
|
2155
|
+
}, z.core.$strip>>;
|
|
2049
2156
|
}, z.core.$strip>>]>>;
|
|
2050
2157
|
}, z.core.$strip>>>;
|
|
2051
2158
|
typ: z.ZodEnum<{
|
|
@@ -2056,6 +2163,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
2056
2163
|
cronjob: "cronjob";
|
|
2057
2164
|
database: "database";
|
|
2058
2165
|
neondb: "neondb";
|
|
2166
|
+
mongodb: "mongodb";
|
|
2059
2167
|
queue: "queue";
|
|
2060
2168
|
proxy: "proxy";
|
|
2061
2169
|
vm: "vm";
|
|
@@ -2153,6 +2261,23 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
2153
2261
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
2154
2262
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
2155
2263
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
2264
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2265
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
2266
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2267
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
2268
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
2269
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2270
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
2272
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
2273
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
2274
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
2275
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
2276
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
2277
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
2278
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
2279
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2280
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
2156
2281
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2157
2282
|
typ: z.ZodLiteral<"queue">;
|
|
2158
2283
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2215,8 +2340,10 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
2215
2340
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2216
2341
|
typ: z.ZodLiteral<"output">;
|
|
2217
2342
|
}, z.core.$strip>, z.ZodObject<{
|
|
2218
|
-
|
|
2219
|
-
|
|
2343
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2344
|
+
output_key: z.ZodString;
|
|
2345
|
+
local_env_var_key: z.ZodString;
|
|
2346
|
+
}, z.core.$strip>>;
|
|
2220
2347
|
}, z.core.$strip>>]>>;
|
|
2221
2348
|
}, z.core.$strip>>>;
|
|
2222
2349
|
typ: z.ZodEnum<{
|
|
@@ -2227,6 +2354,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
2227
2354
|
cronjob: "cronjob";
|
|
2228
2355
|
database: "database";
|
|
2229
2356
|
neondb: "neondb";
|
|
2357
|
+
mongodb: "mongodb";
|
|
2230
2358
|
queue: "queue";
|
|
2231
2359
|
proxy: "proxy";
|
|
2232
2360
|
vm: "vm";
|
|
@@ -2324,6 +2452,23 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
2324
2452
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
2325
2453
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
2326
2454
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
2455
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2456
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
2457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2458
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
2459
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
2460
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2461
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
2462
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
2463
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
2464
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
2465
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
2466
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
2467
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
2468
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
2469
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
2470
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2471
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
2327
2472
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2328
2473
|
typ: z.ZodLiteral<"queue">;
|
|
2329
2474
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2403,8 +2548,10 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
2403
2548
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2404
2549
|
typ: z.ZodLiteral<"output">;
|
|
2405
2550
|
}, z.core.$strip>, z.ZodObject<{
|
|
2406
|
-
|
|
2407
|
-
|
|
2551
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2552
|
+
output_key: z.ZodString;
|
|
2553
|
+
local_env_var_key: z.ZodString;
|
|
2554
|
+
}, z.core.$strip>>;
|
|
2408
2555
|
}, z.core.$strip>>]>>;
|
|
2409
2556
|
}, z.core.$strip>>>;
|
|
2410
2557
|
typ: z.ZodEnum<{
|
|
@@ -2415,6 +2562,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
2415
2562
|
cronjob: "cronjob";
|
|
2416
2563
|
database: "database";
|
|
2417
2564
|
neondb: "neondb";
|
|
2565
|
+
mongodb: "mongodb";
|
|
2418
2566
|
queue: "queue";
|
|
2419
2567
|
proxy: "proxy";
|
|
2420
2568
|
vm: "vm";
|
|
@@ -2512,6 +2660,23 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
2512
2660
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
2513
2661
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
2514
2662
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
2663
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2664
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
2665
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2666
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
2667
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
2668
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2669
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
2670
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
2671
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
2672
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
2673
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
2674
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
2675
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
2676
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
2677
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2679
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
2515
2680
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2516
2681
|
typ: z.ZodLiteral<"queue">;
|
|
2517
2682
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2572,8 +2737,10 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2572
2737
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2573
2738
|
typ: z.ZodLiteral<"output">;
|
|
2574
2739
|
}, z.core.$strip>, z.ZodObject<{
|
|
2575
|
-
|
|
2576
|
-
|
|
2740
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2741
|
+
output_key: z.ZodString;
|
|
2742
|
+
local_env_var_key: z.ZodString;
|
|
2743
|
+
}, z.core.$strip>>;
|
|
2577
2744
|
}, z.core.$strip>>]>>;
|
|
2578
2745
|
}, z.core.$strip>>>;
|
|
2579
2746
|
typ: z.ZodEnum<{
|
|
@@ -2584,6 +2751,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2584
2751
|
cronjob: "cronjob";
|
|
2585
2752
|
database: "database";
|
|
2586
2753
|
neondb: "neondb";
|
|
2754
|
+
mongodb: "mongodb";
|
|
2587
2755
|
queue: "queue";
|
|
2588
2756
|
proxy: "proxy";
|
|
2589
2757
|
vm: "vm";
|
|
@@ -2681,6 +2849,23 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
|
|
|
2681
2849
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
2682
2850
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
2683
2851
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
2852
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2853
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
2854
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2855
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
2856
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
2857
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
2858
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
2859
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
2863
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
2864
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
2866
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
2867
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2868
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
2684
2869
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2685
2870
|
typ: z.ZodLiteral<"queue">;
|
|
2686
2871
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2810,8 +2995,10 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
|
|
|
2810
2995
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2811
2996
|
typ: z.ZodLiteral<"output">;
|
|
2812
2997
|
}, z.core.$strip>, z.ZodObject<{
|
|
2813
|
-
|
|
2814
|
-
|
|
2998
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
2999
|
+
output_key: z.ZodString;
|
|
3000
|
+
local_env_var_key: z.ZodString;
|
|
3001
|
+
}, z.core.$strip>>;
|
|
2815
3002
|
}, z.core.$strip>>]>>;
|
|
2816
3003
|
}, z.core.$strip>>>;
|
|
2817
3004
|
typ: z.ZodEnum<{
|
|
@@ -2822,6 +3009,7 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
|
|
|
2822
3009
|
cronjob: "cronjob";
|
|
2823
3010
|
database: "database";
|
|
2824
3011
|
neondb: "neondb";
|
|
3012
|
+
mongodb: "mongodb";
|
|
2825
3013
|
queue: "queue";
|
|
2826
3014
|
proxy: "proxy";
|
|
2827
3015
|
vm: "vm";
|
|
@@ -2919,6 +3107,23 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
|
|
|
2919
3107
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
2920
3108
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
2921
3109
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
3110
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3111
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
3112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3113
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
3114
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
3115
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3116
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
3117
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
3118
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
3119
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
3120
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
3121
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
3122
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
3123
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
3124
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
3125
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3126
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
2922
3127
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2923
3128
|
typ: z.ZodLiteral<"queue">;
|
|
2924
3129
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3504,8 +3709,10 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
3504
3709
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3505
3710
|
typ: z.ZodLiteral<"output">;
|
|
3506
3711
|
}, z.core.$strip>, z.ZodObject<{
|
|
3507
|
-
|
|
3508
|
-
|
|
3712
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
3713
|
+
output_key: z.ZodString;
|
|
3714
|
+
local_env_var_key: z.ZodString;
|
|
3715
|
+
}, z.core.$strip>>;
|
|
3509
3716
|
}, z.core.$strip>>]>>;
|
|
3510
3717
|
}, z.core.$strip>>>;
|
|
3511
3718
|
typ: z.ZodEnum<{
|
|
@@ -3516,6 +3723,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
3516
3723
|
cronjob: "cronjob";
|
|
3517
3724
|
database: "database";
|
|
3518
3725
|
neondb: "neondb";
|
|
3726
|
+
mongodb: "mongodb";
|
|
3519
3727
|
queue: "queue";
|
|
3520
3728
|
proxy: "proxy";
|
|
3521
3729
|
vm: "vm";
|
|
@@ -3613,6 +3821,23 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
|
|
|
3613
3821
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
3614
3822
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
3615
3823
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
3824
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3825
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
3826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3827
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
3828
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
3829
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3830
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
3831
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
3832
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
3833
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
3834
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
3835
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
3836
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
3837
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
3838
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
3839
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3840
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
3616
3841
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
3617
3842
|
typ: z.ZodLiteral<"queue">;
|
|
3618
3843
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4448,8 +4673,10 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
4448
4673
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4449
4674
|
typ: z.ZodLiteral<"output">;
|
|
4450
4675
|
}, z.core.$strip>, z.ZodObject<{
|
|
4451
|
-
|
|
4452
|
-
|
|
4676
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
4677
|
+
output_key: z.ZodString;
|
|
4678
|
+
local_env_var_key: z.ZodString;
|
|
4679
|
+
}, z.core.$strip>>;
|
|
4453
4680
|
}, z.core.$strip>>]>>;
|
|
4454
4681
|
}, z.core.$strip>>>;
|
|
4455
4682
|
typ: z.ZodEnum<{
|
|
@@ -4460,6 +4687,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
4460
4687
|
cronjob: "cronjob";
|
|
4461
4688
|
database: "database";
|
|
4462
4689
|
neondb: "neondb";
|
|
4690
|
+
mongodb: "mongodb";
|
|
4463
4691
|
queue: "queue";
|
|
4464
4692
|
proxy: "proxy";
|
|
4465
4693
|
vm: "vm";
|
|
@@ -4557,6 +4785,23 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
4557
4785
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
4558
4786
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
4559
4787
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
4788
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4789
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
4790
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4791
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
4792
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
4793
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4794
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
4795
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
4796
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
4797
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
4798
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
4799
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
4800
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
4801
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
4802
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
4803
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4804
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
4560
4805
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4561
4806
|
typ: z.ZodLiteral<"queue">;
|
|
4562
4807
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4619,8 +4864,10 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
4619
4864
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4620
4865
|
typ: z.ZodLiteral<"output">;
|
|
4621
4866
|
}, z.core.$strip>, z.ZodObject<{
|
|
4622
|
-
|
|
4623
|
-
|
|
4867
|
+
mappings: z.ZodArray<z.ZodObject<{
|
|
4868
|
+
output_key: z.ZodString;
|
|
4869
|
+
local_env_var_key: z.ZodString;
|
|
4870
|
+
}, z.core.$strip>>;
|
|
4624
4871
|
}, z.core.$strip>>]>>;
|
|
4625
4872
|
}, z.core.$strip>>>;
|
|
4626
4873
|
typ: z.ZodEnum<{
|
|
@@ -4631,6 +4878,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
4631
4878
|
cronjob: "cronjob";
|
|
4632
4879
|
database: "database";
|
|
4633
4880
|
neondb: "neondb";
|
|
4881
|
+
mongodb: "mongodb";
|
|
4634
4882
|
queue: "queue";
|
|
4635
4883
|
proxy: "proxy";
|
|
4636
4884
|
vm: "vm";
|
|
@@ -4728,6 +4976,23 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
4728
4976
|
autoscalingLimitMaxCu: z.ZodOptional<z.ZodNumber>;
|
|
4729
4977
|
suspendTimeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
4730
4978
|
connectionUri: z.ZodOptional<z.ZodString>;
|
|
4979
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4980
|
+
typ: z.ZodLiteral<"mongodb">;
|
|
4981
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4982
|
+
orgId: z.ZodOptional<z.ZodString>;
|
|
4983
|
+
orgName: z.ZodOptional<z.ZodString>;
|
|
4984
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4985
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
4986
|
+
clusterId: z.ZodOptional<z.ZodString>;
|
|
4987
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
4988
|
+
cloudProvider: z.ZodOptional<z.ZodString>;
|
|
4989
|
+
regionName: z.ZodOptional<z.ZodString>;
|
|
4990
|
+
instanceSize: z.ZodOptional<z.ZodString>;
|
|
4991
|
+
mongoVersion: z.ZodOptional<z.ZodString>;
|
|
4992
|
+
diskSizeGb: z.ZodOptional<z.ZodNumber>;
|
|
4993
|
+
clusterType: z.ZodOptional<z.ZodString>;
|
|
4994
|
+
backupEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4995
|
+
connectionString: z.ZodOptional<z.ZodString>;
|
|
4731
4996
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
4732
4997
|
typ: z.ZodLiteral<"queue">;
|
|
4733
4998
|
}, z.core.$strip>, z.ZodObject<{
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -378,10 +378,13 @@ export const zNetworkEdgeProps = z.object({
|
|
|
378
378
|
export const zRouteEdgeProps = z.object({
|
|
379
379
|
path: z.optional(z.string())
|
|
380
380
|
});
|
|
381
|
-
export const
|
|
381
|
+
export const zOutputKeyMapping = z.object({
|
|
382
382
|
output_key: z.string(),
|
|
383
383
|
local_env_var_key: z.string()
|
|
384
384
|
});
|
|
385
|
+
export const zOutputEdgeProps = z.object({
|
|
386
|
+
mappings: z.array(zOutputKeyMapping)
|
|
387
|
+
});
|
|
385
388
|
export const zEdgeType = z.enum([
|
|
386
389
|
'network',
|
|
387
390
|
'route',
|
|
@@ -412,6 +415,7 @@ export const zNodeType = z.enum([
|
|
|
412
415
|
'database',
|
|
413
416
|
'function',
|
|
414
417
|
'neondb',
|
|
418
|
+
'mongodb',
|
|
415
419
|
'queue',
|
|
416
420
|
'proxy',
|
|
417
421
|
'vm',
|
|
@@ -498,6 +502,22 @@ export const zNeonDbNodeProps = z.object({
|
|
|
498
502
|
suspendTimeoutSeconds: z.optional(z.int().gte(-1).lte(604800)),
|
|
499
503
|
connectionUri: z.optional(z.string())
|
|
500
504
|
});
|
|
505
|
+
export const zMongoDbNodeProps = z.object({
|
|
506
|
+
orgId: z.optional(z.string()),
|
|
507
|
+
orgName: z.optional(z.string()),
|
|
508
|
+
projectId: z.optional(z.string()),
|
|
509
|
+
projectName: z.optional(z.string()),
|
|
510
|
+
clusterId: z.optional(z.string()),
|
|
511
|
+
clusterName: z.optional(z.string()),
|
|
512
|
+
cloudProvider: z.optional(z.string()),
|
|
513
|
+
regionName: z.optional(z.string()),
|
|
514
|
+
instanceSize: z.optional(z.string()),
|
|
515
|
+
mongoVersion: z.optional(z.string()),
|
|
516
|
+
diskSizeGb: z.optional(z.number().gte(0.5)),
|
|
517
|
+
clusterType: z.optional(z.string()),
|
|
518
|
+
backupEnabled: z.optional(z.boolean()),
|
|
519
|
+
connectionString: z.optional(z.string())
|
|
520
|
+
});
|
|
501
521
|
export const zFunctionNodeProps = z.object({
|
|
502
522
|
region: zRegion,
|
|
503
523
|
language: z.string(),
|
|
@@ -555,6 +575,9 @@ export const zNode = z.object({
|
|
|
555
575
|
z.object({
|
|
556
576
|
typ: z.literal('neondb')
|
|
557
577
|
}).and(zNeonDbNodeProps),
|
|
578
|
+
z.object({
|
|
579
|
+
typ: z.literal('mongodb')
|
|
580
|
+
}).and(zMongoDbNodeProps),
|
|
558
581
|
z.object({
|
|
559
582
|
typ: z.literal('queue')
|
|
560
583
|
}).and(zQueueNodeProps),
|