shoal-web-sdk 0.0.94 → 0.0.96
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 +36 -22
- package/dist/sdk/zod.gen.d.ts +267 -177
- package/dist/sdk/zod.gen.js +52 -33
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -248,15 +248,27 @@ export type Edge = {
|
|
|
248
248
|
id: string;
|
|
249
249
|
src: string;
|
|
250
250
|
dst: string;
|
|
251
|
+
typ: EdgeType;
|
|
252
|
+
props?: ({
|
|
253
|
+
typ: 'comment';
|
|
254
|
+
} & NetworkEdgeProps) | ({
|
|
255
|
+
typ: 'cache';
|
|
256
|
+
} & RouteEdgeProps);
|
|
257
|
+
};
|
|
258
|
+
export type NetworkEdgeProps = {
|
|
259
|
+
a?: string;
|
|
260
|
+
};
|
|
261
|
+
export type RouteEdgeProps = {
|
|
262
|
+
b?: string;
|
|
251
263
|
};
|
|
252
264
|
export type Node = {
|
|
253
265
|
id: string;
|
|
254
266
|
name?: string;
|
|
255
267
|
description?: string;
|
|
256
|
-
x
|
|
257
|
-
y
|
|
258
|
-
width
|
|
259
|
-
height
|
|
268
|
+
x: number;
|
|
269
|
+
y: number;
|
|
270
|
+
width: number;
|
|
271
|
+
height: number;
|
|
260
272
|
edges?: Array<Edge>;
|
|
261
273
|
typ: NodeType;
|
|
262
274
|
props?: ({
|
|
@@ -272,41 +284,43 @@ export type Node = {
|
|
|
272
284
|
} & DatabaseNodeProps) | ({
|
|
273
285
|
typ: 'function';
|
|
274
286
|
} & FunctionNodeProps) | ({
|
|
275
|
-
typ: '
|
|
276
|
-
} &
|
|
287
|
+
typ: 'queue';
|
|
288
|
+
} & QueueNodeProps) | ({
|
|
277
289
|
typ: 'proxy';
|
|
278
290
|
} & ProxyNodeProps) | ({
|
|
279
291
|
typ: 'vm';
|
|
280
|
-
} & VmNodeProps)
|
|
292
|
+
} & VmNodeProps) | ({
|
|
293
|
+
typ: 'scheduler';
|
|
294
|
+
} & SchedulerNodeProps);
|
|
281
295
|
};
|
|
282
|
-
export type
|
|
296
|
+
export type EdgeType = 'network' | 'route';
|
|
297
|
+
export type NodeType = 'cache' | 'comment' | 'container' | 'cronjob' | 'database' | 'function' | 'queue' | 'proxy' | 'vm' | 'scheduler';
|
|
283
298
|
export type CommentNodeProps = {
|
|
284
299
|
comment?: string;
|
|
285
300
|
};
|
|
286
301
|
export type CacheNodeProps = {
|
|
287
302
|
size?: number;
|
|
288
303
|
};
|
|
304
|
+
export type SchedulerNodeProps = {
|
|
305
|
+
url?: string;
|
|
306
|
+
expression?: string;
|
|
307
|
+
};
|
|
289
308
|
export type ContainerNodeProps = {
|
|
290
|
-
region
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
ingress?: Ingress;
|
|
309
|
+
region: Region;
|
|
310
|
+
port: number;
|
|
311
|
+
cpu: Cpu;
|
|
312
|
+
memory: Memory;
|
|
313
|
+
ingress: Ingress;
|
|
296
314
|
timeoutSeconds?: number;
|
|
297
315
|
maxInstances?: number;
|
|
298
316
|
minInstances?: number;
|
|
299
317
|
concurrency?: number;
|
|
300
318
|
allowUnauthenticated?: boolean;
|
|
301
|
-
|
|
302
|
-
gitAccount?: string;
|
|
303
|
-
gitRepo?: string;
|
|
304
|
-
gitBranch?: string;
|
|
319
|
+
uri: string;
|
|
305
320
|
};
|
|
306
|
-
export type SourceType = 'GITHUB' | 'FLAT_FILE' | 'DOCKER_IMAGE';
|
|
307
321
|
export type Region = 'africa-south1' | 'asia-east1' | 'asia-east2' | 'asia-northeast1' | 'asia-northeast2' | 'asia-northeast3' | 'asia-south1' | 'asia-southeast1' | 'asia-southeast2' | 'australia-southeast1' | 'europe-north1' | 'europe-west1' | 'europe-west2' | 'europe-west3' | 'europe-west4' | 'europe-west6' | 'northamerica-northeast1' | 'northamerica-northeast2' | 'southamerica-east1' | 'southamerica-west1' | 'us-central1' | 'us-east1' | 'us-east4' | 'us-west1' | 'us-west2' | 'us-west3' | 'us-west4';
|
|
322
|
+
export type Cpu = '1' | '2' | '4' | '6' | '8' | '16' | '32';
|
|
308
323
|
export type Memory = '128Mi' | '256Mi' | '512Mi' | '1Gi' | '2Gi' | '4Gi' | '8Gi' | '16Gi' | '32Gi';
|
|
309
|
-
export type Cpu = '1' | '2' | '4' | '6' | '8';
|
|
310
324
|
export type Ingress = 'INGRESS_TRAFFIC_ALL' | 'INGRESS_TRAFFIC_INTERNAL_ONLY' | 'INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER';
|
|
311
325
|
export type CronJobNodeProps = {
|
|
312
326
|
cronTab?: string;
|
|
@@ -317,7 +331,7 @@ export type DatabaseNodeProps = {
|
|
|
317
331
|
export type FunctionNodeProps = {
|
|
318
332
|
cpus?: number;
|
|
319
333
|
};
|
|
320
|
-
export type
|
|
334
|
+
export type QueueNodeProps = {
|
|
321
335
|
foobar?: string;
|
|
322
336
|
};
|
|
323
337
|
export type ProxyNodeProps = {
|
|
@@ -326,7 +340,7 @@ export type ProxyNodeProps = {
|
|
|
326
340
|
export type VmNodeProps = {
|
|
327
341
|
os?: string;
|
|
328
342
|
};
|
|
329
|
-
export type
|
|
343
|
+
export type SchedulerNodeProps2 = {
|
|
330
344
|
scheduleExpression?: string;
|
|
331
345
|
url?: string;
|
|
332
346
|
};
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -385,10 +385,33 @@ export declare const zKindeOrganisationBillingAgreement: z.ZodObject<{
|
|
|
385
385
|
export declare const zUuids: z.ZodObject<{
|
|
386
386
|
ids: z.ZodArray<z.ZodUUID>;
|
|
387
387
|
}, z.core.$strip>;
|
|
388
|
+
export declare const zNetworkEdgeProps: z.ZodObject<{
|
|
389
|
+
a: z.ZodOptional<z.ZodString>;
|
|
390
|
+
}, z.core.$strip>;
|
|
391
|
+
export declare const zRouteEdgeProps: z.ZodObject<{
|
|
392
|
+
b: z.ZodOptional<z.ZodString>;
|
|
393
|
+
}, z.core.$strip>;
|
|
394
|
+
export declare const zEdgeType: z.ZodEnum<{
|
|
395
|
+
network: "network";
|
|
396
|
+
route: "route";
|
|
397
|
+
}>;
|
|
388
398
|
export declare const zEdge: z.ZodObject<{
|
|
389
399
|
id: z.ZodUUID;
|
|
390
400
|
src: z.ZodUUID;
|
|
391
401
|
dst: z.ZodUUID;
|
|
402
|
+
typ: z.ZodEnum<{
|
|
403
|
+
network: "network";
|
|
404
|
+
route: "route";
|
|
405
|
+
}>;
|
|
406
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
407
|
+
typ: z.ZodLiteral<"comment">;
|
|
408
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
409
|
+
a: z.ZodOptional<z.ZodString>;
|
|
410
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
411
|
+
typ: z.ZodLiteral<"cache">;
|
|
412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
413
|
+
b: z.ZodOptional<z.ZodString>;
|
|
414
|
+
}, z.core.$strip>>]>>;
|
|
392
415
|
}, z.core.$strip>;
|
|
393
416
|
export declare const zNodeType: z.ZodEnum<{
|
|
394
417
|
function: "function";
|
|
@@ -397,7 +420,7 @@ export declare const zNodeType: z.ZodEnum<{
|
|
|
397
420
|
container: "container";
|
|
398
421
|
cronjob: "cronjob";
|
|
399
422
|
database: "database";
|
|
400
|
-
|
|
423
|
+
queue: "queue";
|
|
401
424
|
proxy: "proxy";
|
|
402
425
|
vm: "vm";
|
|
403
426
|
scheduler: "scheduler";
|
|
@@ -408,11 +431,10 @@ export declare const zCommentNodeProps: z.ZodObject<{
|
|
|
408
431
|
export declare const zCacheNodeProps: z.ZodObject<{
|
|
409
432
|
size: z.ZodOptional<z.ZodInt>;
|
|
410
433
|
}, z.core.$strip>;
|
|
411
|
-
export declare const
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}>;
|
|
434
|
+
export declare const zSchedulerNodeProps: z.ZodObject<{
|
|
435
|
+
url: z.ZodOptional<z.ZodString>;
|
|
436
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
437
|
+
}, z.core.$strip>;
|
|
416
438
|
export declare const zRegion: z.ZodEnum<{
|
|
417
439
|
"africa-south1": "africa-south1";
|
|
418
440
|
"asia-east1": "asia-east1";
|
|
@@ -442,6 +464,15 @@ export declare const zRegion: z.ZodEnum<{
|
|
|
442
464
|
"us-west3": "us-west3";
|
|
443
465
|
"us-west4": "us-west4";
|
|
444
466
|
}>;
|
|
467
|
+
export declare const zCpu: z.ZodEnum<{
|
|
468
|
+
1: "1";
|
|
469
|
+
2: "2";
|
|
470
|
+
4: "4";
|
|
471
|
+
6: "6";
|
|
472
|
+
8: "8";
|
|
473
|
+
16: "16";
|
|
474
|
+
32: "32";
|
|
475
|
+
}>;
|
|
445
476
|
export declare const zMemory: z.ZodEnum<{
|
|
446
477
|
"128Mi": "128Mi";
|
|
447
478
|
"256Mi": "256Mi";
|
|
@@ -453,20 +484,13 @@ export declare const zMemory: z.ZodEnum<{
|
|
|
453
484
|
"16Gi": "16Gi";
|
|
454
485
|
"32Gi": "32Gi";
|
|
455
486
|
}>;
|
|
456
|
-
export declare const zCpu: z.ZodEnum<{
|
|
457
|
-
1: "1";
|
|
458
|
-
2: "2";
|
|
459
|
-
4: "4";
|
|
460
|
-
6: "6";
|
|
461
|
-
8: "8";
|
|
462
|
-
}>;
|
|
463
487
|
export declare const zIngress: z.ZodEnum<{
|
|
464
488
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
465
489
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
466
490
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
467
491
|
}>;
|
|
468
492
|
export declare const zContainerNodeProps: z.ZodObject<{
|
|
469
|
-
region: z.
|
|
493
|
+
region: z.ZodEnum<{
|
|
470
494
|
"africa-south1": "africa-south1";
|
|
471
495
|
"asia-east1": "asia-east1";
|
|
472
496
|
"asia-east2": "asia-east2";
|
|
@@ -494,17 +518,18 @@ export declare const zContainerNodeProps: z.ZodObject<{
|
|
|
494
518
|
"us-west2": "us-west2";
|
|
495
519
|
"us-west3": "us-west3";
|
|
496
520
|
"us-west4": "us-west4";
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
521
|
+
}>;
|
|
522
|
+
port: z.ZodInt;
|
|
523
|
+
cpu: z.ZodEnum<{
|
|
501
524
|
1: "1";
|
|
502
525
|
2: "2";
|
|
503
526
|
4: "4";
|
|
504
527
|
6: "6";
|
|
505
528
|
8: "8";
|
|
506
|
-
|
|
507
|
-
|
|
529
|
+
16: "16";
|
|
530
|
+
32: "32";
|
|
531
|
+
}>;
|
|
532
|
+
memory: z.ZodEnum<{
|
|
508
533
|
"128Mi": "128Mi";
|
|
509
534
|
"256Mi": "256Mi";
|
|
510
535
|
"512Mi": "512Mi";
|
|
@@ -514,25 +539,18 @@ export declare const zContainerNodeProps: z.ZodObject<{
|
|
|
514
539
|
"8Gi": "8Gi";
|
|
515
540
|
"16Gi": "16Gi";
|
|
516
541
|
"32Gi": "32Gi";
|
|
517
|
-
}
|
|
518
|
-
ingress: z.
|
|
542
|
+
}>;
|
|
543
|
+
ingress: z.ZodEnum<{
|
|
519
544
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
520
545
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
521
546
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
522
|
-
}
|
|
547
|
+
}>;
|
|
523
548
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
524
549
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
525
550
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
526
551
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
527
552
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
-
|
|
529
|
-
GITHUB: "GITHUB";
|
|
530
|
-
FLAT_FILE: "FLAT_FILE";
|
|
531
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
532
|
-
}>>;
|
|
533
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
534
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
535
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
553
|
+
uri: z.ZodString;
|
|
536
554
|
}, z.core.$strip>;
|
|
537
555
|
export declare const zCronJobNodeProps: z.ZodObject<{
|
|
538
556
|
cronTab: z.ZodOptional<z.ZodString>;
|
|
@@ -543,7 +561,7 @@ export declare const zDatabaseNodeProps: z.ZodObject<{
|
|
|
543
561
|
export declare const zFunctionNodeProps: z.ZodObject<{
|
|
544
562
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
545
563
|
}, z.core.$strip>;
|
|
546
|
-
export declare const
|
|
564
|
+
export declare const zQueueNodeProps: z.ZodObject<{
|
|
547
565
|
foobar: z.ZodOptional<z.ZodString>;
|
|
548
566
|
}, z.core.$strip>;
|
|
549
567
|
export declare const zProxyNodeProps: z.ZodObject<{
|
|
@@ -556,14 +574,27 @@ export declare const zNode: z.ZodObject<{
|
|
|
556
574
|
id: z.ZodUUID;
|
|
557
575
|
name: z.ZodOptional<z.ZodString>;
|
|
558
576
|
description: z.ZodOptional<z.ZodString>;
|
|
559
|
-
x: z.
|
|
560
|
-
y: z.
|
|
561
|
-
width: z.
|
|
562
|
-
height: z.
|
|
577
|
+
x: z.ZodNumber;
|
|
578
|
+
y: z.ZodNumber;
|
|
579
|
+
width: z.ZodInt;
|
|
580
|
+
height: z.ZodInt;
|
|
563
581
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
564
582
|
id: z.ZodUUID;
|
|
565
583
|
src: z.ZodUUID;
|
|
566
584
|
dst: z.ZodUUID;
|
|
585
|
+
typ: z.ZodEnum<{
|
|
586
|
+
network: "network";
|
|
587
|
+
route: "route";
|
|
588
|
+
}>;
|
|
589
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
590
|
+
typ: z.ZodLiteral<"comment">;
|
|
591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
592
|
+
a: z.ZodOptional<z.ZodString>;
|
|
593
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
594
|
+
typ: z.ZodLiteral<"cache">;
|
|
595
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
596
|
+
b: z.ZodOptional<z.ZodString>;
|
|
597
|
+
}, z.core.$strip>>]>>;
|
|
567
598
|
}, z.core.$strip>>>;
|
|
568
599
|
typ: z.ZodEnum<{
|
|
569
600
|
function: "function";
|
|
@@ -572,7 +603,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
572
603
|
container: "container";
|
|
573
604
|
cronjob: "cronjob";
|
|
574
605
|
database: "database";
|
|
575
|
-
|
|
606
|
+
queue: "queue";
|
|
576
607
|
proxy: "proxy";
|
|
577
608
|
vm: "vm";
|
|
578
609
|
scheduler: "scheduler";
|
|
@@ -588,7 +619,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
588
619
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
589
620
|
typ: z.ZodLiteral<"container">;
|
|
590
621
|
}, z.core.$strip>, z.ZodObject<{
|
|
591
|
-
region: z.
|
|
622
|
+
region: z.ZodEnum<{
|
|
592
623
|
"africa-south1": "africa-south1";
|
|
593
624
|
"asia-east1": "asia-east1";
|
|
594
625
|
"asia-east2": "asia-east2";
|
|
@@ -616,17 +647,18 @@ export declare const zNode: z.ZodObject<{
|
|
|
616
647
|
"us-west2": "us-west2";
|
|
617
648
|
"us-west3": "us-west3";
|
|
618
649
|
"us-west4": "us-west4";
|
|
619
|
-
}
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
650
|
+
}>;
|
|
651
|
+
port: z.ZodInt;
|
|
652
|
+
cpu: z.ZodEnum<{
|
|
623
653
|
1: "1";
|
|
624
654
|
2: "2";
|
|
625
655
|
4: "4";
|
|
626
656
|
6: "6";
|
|
627
657
|
8: "8";
|
|
628
|
-
|
|
629
|
-
|
|
658
|
+
16: "16";
|
|
659
|
+
32: "32";
|
|
660
|
+
}>;
|
|
661
|
+
memory: z.ZodEnum<{
|
|
630
662
|
"128Mi": "128Mi";
|
|
631
663
|
"256Mi": "256Mi";
|
|
632
664
|
"512Mi": "512Mi";
|
|
@@ -636,25 +668,18 @@ export declare const zNode: z.ZodObject<{
|
|
|
636
668
|
"8Gi": "8Gi";
|
|
637
669
|
"16Gi": "16Gi";
|
|
638
670
|
"32Gi": "32Gi";
|
|
639
|
-
}
|
|
640
|
-
ingress: z.
|
|
671
|
+
}>;
|
|
672
|
+
ingress: z.ZodEnum<{
|
|
641
673
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
642
674
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
643
675
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
644
|
-
}
|
|
676
|
+
}>;
|
|
645
677
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
646
678
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
647
679
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
648
680
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
649
681
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
650
|
-
|
|
651
|
-
GITHUB: "GITHUB";
|
|
652
|
-
FLAT_FILE: "FLAT_FILE";
|
|
653
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
654
|
-
}>>;
|
|
655
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
656
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
657
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
682
|
+
uri: z.ZodString;
|
|
658
683
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
659
684
|
typ: z.ZodLiteral<"cronjob">;
|
|
660
685
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -668,7 +693,7 @@ export declare const zNode: z.ZodObject<{
|
|
|
668
693
|
}, z.core.$strip>, z.ZodObject<{
|
|
669
694
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
670
695
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
671
|
-
typ: z.ZodLiteral<"
|
|
696
|
+
typ: z.ZodLiteral<"queue">;
|
|
672
697
|
}, z.core.$strip>, z.ZodObject<{
|
|
673
698
|
foobar: z.ZodOptional<z.ZodString>;
|
|
674
699
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -679,6 +704,11 @@ export declare const zNode: z.ZodObject<{
|
|
|
679
704
|
typ: z.ZodLiteral<"vm">;
|
|
680
705
|
}, z.core.$strip>, z.ZodObject<{
|
|
681
706
|
os: z.ZodOptional<z.ZodString>;
|
|
707
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
708
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
709
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
710
|
+
url: z.ZodOptional<z.ZodString>;
|
|
711
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
682
712
|
}, z.core.$strip>>]>>;
|
|
683
713
|
}, z.core.$strip>;
|
|
684
714
|
export declare const zNodes: z.ZodObject<{
|
|
@@ -686,14 +716,27 @@ export declare const zNodes: z.ZodObject<{
|
|
|
686
716
|
id: z.ZodUUID;
|
|
687
717
|
name: z.ZodOptional<z.ZodString>;
|
|
688
718
|
description: z.ZodOptional<z.ZodString>;
|
|
689
|
-
x: z.
|
|
690
|
-
y: z.
|
|
691
|
-
width: z.
|
|
692
|
-
height: z.
|
|
719
|
+
x: z.ZodNumber;
|
|
720
|
+
y: z.ZodNumber;
|
|
721
|
+
width: z.ZodInt;
|
|
722
|
+
height: z.ZodInt;
|
|
693
723
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
694
724
|
id: z.ZodUUID;
|
|
695
725
|
src: z.ZodUUID;
|
|
696
726
|
dst: z.ZodUUID;
|
|
727
|
+
typ: z.ZodEnum<{
|
|
728
|
+
network: "network";
|
|
729
|
+
route: "route";
|
|
730
|
+
}>;
|
|
731
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
732
|
+
typ: z.ZodLiteral<"comment">;
|
|
733
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
734
|
+
a: z.ZodOptional<z.ZodString>;
|
|
735
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
736
|
+
typ: z.ZodLiteral<"cache">;
|
|
737
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
738
|
+
b: z.ZodOptional<z.ZodString>;
|
|
739
|
+
}, z.core.$strip>>]>>;
|
|
697
740
|
}, z.core.$strip>>>;
|
|
698
741
|
typ: z.ZodEnum<{
|
|
699
742
|
function: "function";
|
|
@@ -702,7 +745,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
702
745
|
container: "container";
|
|
703
746
|
cronjob: "cronjob";
|
|
704
747
|
database: "database";
|
|
705
|
-
|
|
748
|
+
queue: "queue";
|
|
706
749
|
proxy: "proxy";
|
|
707
750
|
vm: "vm";
|
|
708
751
|
scheduler: "scheduler";
|
|
@@ -718,7 +761,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
718
761
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
719
762
|
typ: z.ZodLiteral<"container">;
|
|
720
763
|
}, z.core.$strip>, z.ZodObject<{
|
|
721
|
-
region: z.
|
|
764
|
+
region: z.ZodEnum<{
|
|
722
765
|
"africa-south1": "africa-south1";
|
|
723
766
|
"asia-east1": "asia-east1";
|
|
724
767
|
"asia-east2": "asia-east2";
|
|
@@ -746,17 +789,18 @@ export declare const zNodes: z.ZodObject<{
|
|
|
746
789
|
"us-west2": "us-west2";
|
|
747
790
|
"us-west3": "us-west3";
|
|
748
791
|
"us-west4": "us-west4";
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
792
|
+
}>;
|
|
793
|
+
port: z.ZodInt;
|
|
794
|
+
cpu: z.ZodEnum<{
|
|
753
795
|
1: "1";
|
|
754
796
|
2: "2";
|
|
755
797
|
4: "4";
|
|
756
798
|
6: "6";
|
|
757
799
|
8: "8";
|
|
758
|
-
|
|
759
|
-
|
|
800
|
+
16: "16";
|
|
801
|
+
32: "32";
|
|
802
|
+
}>;
|
|
803
|
+
memory: z.ZodEnum<{
|
|
760
804
|
"128Mi": "128Mi";
|
|
761
805
|
"256Mi": "256Mi";
|
|
762
806
|
"512Mi": "512Mi";
|
|
@@ -766,25 +810,18 @@ export declare const zNodes: z.ZodObject<{
|
|
|
766
810
|
"8Gi": "8Gi";
|
|
767
811
|
"16Gi": "16Gi";
|
|
768
812
|
"32Gi": "32Gi";
|
|
769
|
-
}
|
|
770
|
-
ingress: z.
|
|
813
|
+
}>;
|
|
814
|
+
ingress: z.ZodEnum<{
|
|
771
815
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
772
816
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
773
817
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
774
|
-
}
|
|
818
|
+
}>;
|
|
775
819
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
776
820
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
777
821
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
778
822
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
779
823
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
780
|
-
|
|
781
|
-
GITHUB: "GITHUB";
|
|
782
|
-
FLAT_FILE: "FLAT_FILE";
|
|
783
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
784
|
-
}>>;
|
|
785
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
786
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
787
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
824
|
+
uri: z.ZodString;
|
|
788
825
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
789
826
|
typ: z.ZodLiteral<"cronjob">;
|
|
790
827
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -798,7 +835,7 @@ export declare const zNodes: z.ZodObject<{
|
|
|
798
835
|
}, z.core.$strip>, z.ZodObject<{
|
|
799
836
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
800
837
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
801
|
-
typ: z.ZodLiteral<"
|
|
838
|
+
typ: z.ZodLiteral<"queue">;
|
|
802
839
|
}, z.core.$strip>, z.ZodObject<{
|
|
803
840
|
foobar: z.ZodOptional<z.ZodString>;
|
|
804
841
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -809,6 +846,11 @@ export declare const zNodes: z.ZodObject<{
|
|
|
809
846
|
typ: z.ZodLiteral<"vm">;
|
|
810
847
|
}, z.core.$strip>, z.ZodObject<{
|
|
811
848
|
os: z.ZodOptional<z.ZodString>;
|
|
849
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
850
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
851
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
852
|
+
url: z.ZodOptional<z.ZodString>;
|
|
853
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
812
854
|
}, z.core.$strip>>]>>;
|
|
813
855
|
}, z.core.$strip>>;
|
|
814
856
|
}, z.core.$strip>;
|
|
@@ -818,14 +860,27 @@ export declare const zGraph: z.ZodObject<{
|
|
|
818
860
|
id: z.ZodUUID;
|
|
819
861
|
name: z.ZodOptional<z.ZodString>;
|
|
820
862
|
description: z.ZodOptional<z.ZodString>;
|
|
821
|
-
x: z.
|
|
822
|
-
y: z.
|
|
823
|
-
width: z.
|
|
824
|
-
height: z.
|
|
863
|
+
x: z.ZodNumber;
|
|
864
|
+
y: z.ZodNumber;
|
|
865
|
+
width: z.ZodInt;
|
|
866
|
+
height: z.ZodInt;
|
|
825
867
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
826
868
|
id: z.ZodUUID;
|
|
827
869
|
src: z.ZodUUID;
|
|
828
870
|
dst: z.ZodUUID;
|
|
871
|
+
typ: z.ZodEnum<{
|
|
872
|
+
network: "network";
|
|
873
|
+
route: "route";
|
|
874
|
+
}>;
|
|
875
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
876
|
+
typ: z.ZodLiteral<"comment">;
|
|
877
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
878
|
+
a: z.ZodOptional<z.ZodString>;
|
|
879
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
880
|
+
typ: z.ZodLiteral<"cache">;
|
|
881
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
882
|
+
b: z.ZodOptional<z.ZodString>;
|
|
883
|
+
}, z.core.$strip>>]>>;
|
|
829
884
|
}, z.core.$strip>>>;
|
|
830
885
|
typ: z.ZodEnum<{
|
|
831
886
|
function: "function";
|
|
@@ -834,7 +889,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
834
889
|
container: "container";
|
|
835
890
|
cronjob: "cronjob";
|
|
836
891
|
database: "database";
|
|
837
|
-
|
|
892
|
+
queue: "queue";
|
|
838
893
|
proxy: "proxy";
|
|
839
894
|
vm: "vm";
|
|
840
895
|
scheduler: "scheduler";
|
|
@@ -850,7 +905,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
850
905
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
851
906
|
typ: z.ZodLiteral<"container">;
|
|
852
907
|
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
-
region: z.
|
|
908
|
+
region: z.ZodEnum<{
|
|
854
909
|
"africa-south1": "africa-south1";
|
|
855
910
|
"asia-east1": "asia-east1";
|
|
856
911
|
"asia-east2": "asia-east2";
|
|
@@ -878,17 +933,18 @@ export declare const zGraph: z.ZodObject<{
|
|
|
878
933
|
"us-west2": "us-west2";
|
|
879
934
|
"us-west3": "us-west3";
|
|
880
935
|
"us-west4": "us-west4";
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
936
|
+
}>;
|
|
937
|
+
port: z.ZodInt;
|
|
938
|
+
cpu: z.ZodEnum<{
|
|
885
939
|
1: "1";
|
|
886
940
|
2: "2";
|
|
887
941
|
4: "4";
|
|
888
942
|
6: "6";
|
|
889
943
|
8: "8";
|
|
890
|
-
|
|
891
|
-
|
|
944
|
+
16: "16";
|
|
945
|
+
32: "32";
|
|
946
|
+
}>;
|
|
947
|
+
memory: z.ZodEnum<{
|
|
892
948
|
"128Mi": "128Mi";
|
|
893
949
|
"256Mi": "256Mi";
|
|
894
950
|
"512Mi": "512Mi";
|
|
@@ -898,25 +954,18 @@ export declare const zGraph: z.ZodObject<{
|
|
|
898
954
|
"8Gi": "8Gi";
|
|
899
955
|
"16Gi": "16Gi";
|
|
900
956
|
"32Gi": "32Gi";
|
|
901
|
-
}
|
|
902
|
-
ingress: z.
|
|
957
|
+
}>;
|
|
958
|
+
ingress: z.ZodEnum<{
|
|
903
959
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
904
960
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
905
961
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
906
|
-
}
|
|
962
|
+
}>;
|
|
907
963
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
908
964
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
909
965
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
910
966
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
911
967
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
-
|
|
913
|
-
GITHUB: "GITHUB";
|
|
914
|
-
FLAT_FILE: "FLAT_FILE";
|
|
915
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
916
|
-
}>>;
|
|
917
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
918
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
919
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
968
|
+
uri: z.ZodString;
|
|
920
969
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
921
970
|
typ: z.ZodLiteral<"cronjob">;
|
|
922
971
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -930,7 +979,7 @@ export declare const zGraph: z.ZodObject<{
|
|
|
930
979
|
}, z.core.$strip>, z.ZodObject<{
|
|
931
980
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
932
981
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
933
|
-
typ: z.ZodLiteral<"
|
|
982
|
+
typ: z.ZodLiteral<"queue">;
|
|
934
983
|
}, z.core.$strip>, z.ZodObject<{
|
|
935
984
|
foobar: z.ZodOptional<z.ZodString>;
|
|
936
985
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -941,10 +990,15 @@ export declare const zGraph: z.ZodObject<{
|
|
|
941
990
|
typ: z.ZodLiteral<"vm">;
|
|
942
991
|
}, z.core.$strip>, z.ZodObject<{
|
|
943
992
|
os: z.ZodOptional<z.ZodString>;
|
|
993
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
994
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
996
|
+
url: z.ZodOptional<z.ZodString>;
|
|
997
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
944
998
|
}, z.core.$strip>>]>>;
|
|
945
999
|
}, z.core.$strip>>;
|
|
946
1000
|
}, z.core.$strip>;
|
|
947
|
-
export declare const
|
|
1001
|
+
export declare const zSchedulerNodeProps2: z.ZodObject<{
|
|
948
1002
|
scheduleExpression: z.ZodOptional<z.ZodString>;
|
|
949
1003
|
url: z.ZodOptional<z.ZodString>;
|
|
950
1004
|
}, z.core.$strip>;
|
|
@@ -1055,14 +1109,27 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1055
1109
|
id: z.ZodUUID;
|
|
1056
1110
|
name: z.ZodOptional<z.ZodString>;
|
|
1057
1111
|
description: z.ZodOptional<z.ZodString>;
|
|
1058
|
-
x: z.
|
|
1059
|
-
y: z.
|
|
1060
|
-
width: z.
|
|
1061
|
-
height: z.
|
|
1112
|
+
x: z.ZodNumber;
|
|
1113
|
+
y: z.ZodNumber;
|
|
1114
|
+
width: z.ZodInt;
|
|
1115
|
+
height: z.ZodInt;
|
|
1062
1116
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1063
1117
|
id: z.ZodUUID;
|
|
1064
1118
|
src: z.ZodUUID;
|
|
1065
1119
|
dst: z.ZodUUID;
|
|
1120
|
+
typ: z.ZodEnum<{
|
|
1121
|
+
network: "network";
|
|
1122
|
+
route: "route";
|
|
1123
|
+
}>;
|
|
1124
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1125
|
+
typ: z.ZodLiteral<"comment">;
|
|
1126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1127
|
+
a: z.ZodOptional<z.ZodString>;
|
|
1128
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1129
|
+
typ: z.ZodLiteral<"cache">;
|
|
1130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1131
|
+
b: z.ZodOptional<z.ZodString>;
|
|
1132
|
+
}, z.core.$strip>>]>>;
|
|
1066
1133
|
}, z.core.$strip>>>;
|
|
1067
1134
|
typ: z.ZodEnum<{
|
|
1068
1135
|
function: "function";
|
|
@@ -1071,7 +1138,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1071
1138
|
container: "container";
|
|
1072
1139
|
cronjob: "cronjob";
|
|
1073
1140
|
database: "database";
|
|
1074
|
-
|
|
1141
|
+
queue: "queue";
|
|
1075
1142
|
proxy: "proxy";
|
|
1076
1143
|
vm: "vm";
|
|
1077
1144
|
scheduler: "scheduler";
|
|
@@ -1087,7 +1154,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1087
1154
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1088
1155
|
typ: z.ZodLiteral<"container">;
|
|
1089
1156
|
}, z.core.$strip>, z.ZodObject<{
|
|
1090
|
-
region: z.
|
|
1157
|
+
region: z.ZodEnum<{
|
|
1091
1158
|
"africa-south1": "africa-south1";
|
|
1092
1159
|
"asia-east1": "asia-east1";
|
|
1093
1160
|
"asia-east2": "asia-east2";
|
|
@@ -1115,17 +1182,18 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1115
1182
|
"us-west2": "us-west2";
|
|
1116
1183
|
"us-west3": "us-west3";
|
|
1117
1184
|
"us-west4": "us-west4";
|
|
1118
|
-
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
1185
|
+
}>;
|
|
1186
|
+
port: z.ZodInt;
|
|
1187
|
+
cpu: z.ZodEnum<{
|
|
1122
1188
|
1: "1";
|
|
1123
1189
|
2: "2";
|
|
1124
1190
|
4: "4";
|
|
1125
1191
|
6: "6";
|
|
1126
1192
|
8: "8";
|
|
1127
|
-
|
|
1128
|
-
|
|
1193
|
+
16: "16";
|
|
1194
|
+
32: "32";
|
|
1195
|
+
}>;
|
|
1196
|
+
memory: z.ZodEnum<{
|
|
1129
1197
|
"128Mi": "128Mi";
|
|
1130
1198
|
"256Mi": "256Mi";
|
|
1131
1199
|
"512Mi": "512Mi";
|
|
@@ -1135,25 +1203,18 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1135
1203
|
"8Gi": "8Gi";
|
|
1136
1204
|
"16Gi": "16Gi";
|
|
1137
1205
|
"32Gi": "32Gi";
|
|
1138
|
-
}
|
|
1139
|
-
ingress: z.
|
|
1206
|
+
}>;
|
|
1207
|
+
ingress: z.ZodEnum<{
|
|
1140
1208
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
1141
1209
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
1142
1210
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
1143
|
-
}
|
|
1211
|
+
}>;
|
|
1144
1212
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1145
1213
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
1146
1214
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1147
1215
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1148
1216
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1149
|
-
|
|
1150
|
-
GITHUB: "GITHUB";
|
|
1151
|
-
FLAT_FILE: "FLAT_FILE";
|
|
1152
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
1153
|
-
}>>;
|
|
1154
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
1155
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
1156
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
1217
|
+
uri: z.ZodString;
|
|
1157
1218
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1158
1219
|
typ: z.ZodLiteral<"cronjob">;
|
|
1159
1220
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1167,7 +1228,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1167
1228
|
}, z.core.$strip>, z.ZodObject<{
|
|
1168
1229
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
1169
1230
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1170
|
-
typ: z.ZodLiteral<"
|
|
1231
|
+
typ: z.ZodLiteral<"queue">;
|
|
1171
1232
|
}, z.core.$strip>, z.ZodObject<{
|
|
1172
1233
|
foobar: z.ZodOptional<z.ZodString>;
|
|
1173
1234
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1178,6 +1239,11 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1178
1239
|
typ: z.ZodLiteral<"vm">;
|
|
1179
1240
|
}, z.core.$strip>, z.ZodObject<{
|
|
1180
1241
|
os: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1243
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
1244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1245
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1246
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
1181
1247
|
}, z.core.$strip>>]>>;
|
|
1182
1248
|
}, z.core.$strip>>;
|
|
1183
1249
|
}, z.core.$strip>;
|
|
@@ -1763,14 +1829,27 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1763
1829
|
id: z.ZodUUID;
|
|
1764
1830
|
name: z.ZodOptional<z.ZodString>;
|
|
1765
1831
|
description: z.ZodOptional<z.ZodString>;
|
|
1766
|
-
x: z.
|
|
1767
|
-
y: z.
|
|
1768
|
-
width: z.
|
|
1769
|
-
height: z.
|
|
1832
|
+
x: z.ZodNumber;
|
|
1833
|
+
y: z.ZodNumber;
|
|
1834
|
+
width: z.ZodInt;
|
|
1835
|
+
height: z.ZodInt;
|
|
1770
1836
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1771
1837
|
id: z.ZodUUID;
|
|
1772
1838
|
src: z.ZodUUID;
|
|
1773
1839
|
dst: z.ZodUUID;
|
|
1840
|
+
typ: z.ZodEnum<{
|
|
1841
|
+
network: "network";
|
|
1842
|
+
route: "route";
|
|
1843
|
+
}>;
|
|
1844
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1845
|
+
typ: z.ZodLiteral<"comment">;
|
|
1846
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1847
|
+
a: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1849
|
+
typ: z.ZodLiteral<"cache">;
|
|
1850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1851
|
+
b: z.ZodOptional<z.ZodString>;
|
|
1852
|
+
}, z.core.$strip>>]>>;
|
|
1774
1853
|
}, z.core.$strip>>>;
|
|
1775
1854
|
typ: z.ZodEnum<{
|
|
1776
1855
|
function: "function";
|
|
@@ -1779,7 +1858,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1779
1858
|
container: "container";
|
|
1780
1859
|
cronjob: "cronjob";
|
|
1781
1860
|
database: "database";
|
|
1782
|
-
|
|
1861
|
+
queue: "queue";
|
|
1783
1862
|
proxy: "proxy";
|
|
1784
1863
|
vm: "vm";
|
|
1785
1864
|
scheduler: "scheduler";
|
|
@@ -1795,7 +1874,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1795
1874
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1796
1875
|
typ: z.ZodLiteral<"container">;
|
|
1797
1876
|
}, z.core.$strip>, z.ZodObject<{
|
|
1798
|
-
region: z.
|
|
1877
|
+
region: z.ZodEnum<{
|
|
1799
1878
|
"africa-south1": "africa-south1";
|
|
1800
1879
|
"asia-east1": "asia-east1";
|
|
1801
1880
|
"asia-east2": "asia-east2";
|
|
@@ -1823,17 +1902,18 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1823
1902
|
"us-west2": "us-west2";
|
|
1824
1903
|
"us-west3": "us-west3";
|
|
1825
1904
|
"us-west4": "us-west4";
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
1905
|
+
}>;
|
|
1906
|
+
port: z.ZodInt;
|
|
1907
|
+
cpu: z.ZodEnum<{
|
|
1830
1908
|
1: "1";
|
|
1831
1909
|
2: "2";
|
|
1832
1910
|
4: "4";
|
|
1833
1911
|
6: "6";
|
|
1834
1912
|
8: "8";
|
|
1835
|
-
|
|
1836
|
-
|
|
1913
|
+
16: "16";
|
|
1914
|
+
32: "32";
|
|
1915
|
+
}>;
|
|
1916
|
+
memory: z.ZodEnum<{
|
|
1837
1917
|
"128Mi": "128Mi";
|
|
1838
1918
|
"256Mi": "256Mi";
|
|
1839
1919
|
"512Mi": "512Mi";
|
|
@@ -1843,25 +1923,18 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1843
1923
|
"8Gi": "8Gi";
|
|
1844
1924
|
"16Gi": "16Gi";
|
|
1845
1925
|
"32Gi": "32Gi";
|
|
1846
|
-
}
|
|
1847
|
-
ingress: z.
|
|
1926
|
+
}>;
|
|
1927
|
+
ingress: z.ZodEnum<{
|
|
1848
1928
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
1849
1929
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
1850
1930
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
1851
|
-
}
|
|
1931
|
+
}>;
|
|
1852
1932
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1853
1933
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
1854
1934
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1855
1935
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1856
1936
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1857
|
-
|
|
1858
|
-
GITHUB: "GITHUB";
|
|
1859
|
-
FLAT_FILE: "FLAT_FILE";
|
|
1860
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
1861
|
-
}>>;
|
|
1862
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
1863
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
1864
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
1937
|
+
uri: z.ZodString;
|
|
1865
1938
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1866
1939
|
typ: z.ZodLiteral<"cronjob">;
|
|
1867
1940
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1875,7 +1948,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1875
1948
|
}, z.core.$strip>, z.ZodObject<{
|
|
1876
1949
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
1877
1950
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1878
|
-
typ: z.ZodLiteral<"
|
|
1951
|
+
typ: z.ZodLiteral<"queue">;
|
|
1879
1952
|
}, z.core.$strip>, z.ZodObject<{
|
|
1880
1953
|
foobar: z.ZodOptional<z.ZodString>;
|
|
1881
1954
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -1886,6 +1959,11 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
1886
1959
|
typ: z.ZodLiteral<"vm">;
|
|
1887
1960
|
}, z.core.$strip>, z.ZodObject<{
|
|
1888
1961
|
os: z.ZodOptional<z.ZodString>;
|
|
1962
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1963
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
1964
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1965
|
+
url: z.ZodOptional<z.ZodString>;
|
|
1966
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
1889
1967
|
}, z.core.$strip>>]>>;
|
|
1890
1968
|
}, z.core.$strip>>;
|
|
1891
1969
|
}, z.core.$strip>;
|
|
@@ -1895,14 +1973,27 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
1895
1973
|
id: z.ZodUUID;
|
|
1896
1974
|
name: z.ZodOptional<z.ZodString>;
|
|
1897
1975
|
description: z.ZodOptional<z.ZodString>;
|
|
1898
|
-
x: z.
|
|
1899
|
-
y: z.
|
|
1900
|
-
width: z.
|
|
1901
|
-
height: z.
|
|
1976
|
+
x: z.ZodNumber;
|
|
1977
|
+
y: z.ZodNumber;
|
|
1978
|
+
width: z.ZodInt;
|
|
1979
|
+
height: z.ZodInt;
|
|
1902
1980
|
edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1903
1981
|
id: z.ZodUUID;
|
|
1904
1982
|
src: z.ZodUUID;
|
|
1905
1983
|
dst: z.ZodUUID;
|
|
1984
|
+
typ: z.ZodEnum<{
|
|
1985
|
+
network: "network";
|
|
1986
|
+
route: "route";
|
|
1987
|
+
}>;
|
|
1988
|
+
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1989
|
+
typ: z.ZodLiteral<"comment">;
|
|
1990
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1991
|
+
a: z.ZodOptional<z.ZodString>;
|
|
1992
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1993
|
+
typ: z.ZodLiteral<"cache">;
|
|
1994
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1995
|
+
b: z.ZodOptional<z.ZodString>;
|
|
1996
|
+
}, z.core.$strip>>]>>;
|
|
1906
1997
|
}, z.core.$strip>>>;
|
|
1907
1998
|
typ: z.ZodEnum<{
|
|
1908
1999
|
function: "function";
|
|
@@ -1911,7 +2002,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
1911
2002
|
container: "container";
|
|
1912
2003
|
cronjob: "cronjob";
|
|
1913
2004
|
database: "database";
|
|
1914
|
-
|
|
2005
|
+
queue: "queue";
|
|
1915
2006
|
proxy: "proxy";
|
|
1916
2007
|
vm: "vm";
|
|
1917
2008
|
scheduler: "scheduler";
|
|
@@ -1927,7 +2018,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
1927
2018
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1928
2019
|
typ: z.ZodLiteral<"container">;
|
|
1929
2020
|
}, z.core.$strip>, z.ZodObject<{
|
|
1930
|
-
region: z.
|
|
2021
|
+
region: z.ZodEnum<{
|
|
1931
2022
|
"africa-south1": "africa-south1";
|
|
1932
2023
|
"asia-east1": "asia-east1";
|
|
1933
2024
|
"asia-east2": "asia-east2";
|
|
@@ -1955,17 +2046,18 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
1955
2046
|
"us-west2": "us-west2";
|
|
1956
2047
|
"us-west3": "us-west3";
|
|
1957
2048
|
"us-west4": "us-west4";
|
|
1958
|
-
}
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
cpu: z.ZodOptional<z.ZodEnum<{
|
|
2049
|
+
}>;
|
|
2050
|
+
port: z.ZodInt;
|
|
2051
|
+
cpu: z.ZodEnum<{
|
|
1962
2052
|
1: "1";
|
|
1963
2053
|
2: "2";
|
|
1964
2054
|
4: "4";
|
|
1965
2055
|
6: "6";
|
|
1966
2056
|
8: "8";
|
|
1967
|
-
|
|
1968
|
-
|
|
2057
|
+
16: "16";
|
|
2058
|
+
32: "32";
|
|
2059
|
+
}>;
|
|
2060
|
+
memory: z.ZodEnum<{
|
|
1969
2061
|
"128Mi": "128Mi";
|
|
1970
2062
|
"256Mi": "256Mi";
|
|
1971
2063
|
"512Mi": "512Mi";
|
|
@@ -1975,25 +2067,18 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
1975
2067
|
"8Gi": "8Gi";
|
|
1976
2068
|
"16Gi": "16Gi";
|
|
1977
2069
|
"32Gi": "32Gi";
|
|
1978
|
-
}
|
|
1979
|
-
ingress: z.
|
|
2070
|
+
}>;
|
|
2071
|
+
ingress: z.ZodEnum<{
|
|
1980
2072
|
INGRESS_TRAFFIC_ALL: "INGRESS_TRAFFIC_ALL";
|
|
1981
2073
|
INGRESS_TRAFFIC_INTERNAL_ONLY: "INGRESS_TRAFFIC_INTERNAL_ONLY";
|
|
1982
2074
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER: "INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER";
|
|
1983
|
-
}
|
|
2075
|
+
}>;
|
|
1984
2076
|
timeoutSeconds: z.ZodOptional<z.ZodInt>;
|
|
1985
2077
|
maxInstances: z.ZodOptional<z.ZodInt>;
|
|
1986
2078
|
minInstances: z.ZodOptional<z.ZodInt>;
|
|
1987
2079
|
concurrency: z.ZodOptional<z.ZodInt>;
|
|
1988
2080
|
allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
|
|
1989
|
-
|
|
1990
|
-
GITHUB: "GITHUB";
|
|
1991
|
-
FLAT_FILE: "FLAT_FILE";
|
|
1992
|
-
DOCKER_IMAGE: "DOCKER_IMAGE";
|
|
1993
|
-
}>>;
|
|
1994
|
-
gitAccount: z.ZodOptional<z.ZodString>;
|
|
1995
|
-
gitRepo: z.ZodOptional<z.ZodString>;
|
|
1996
|
-
gitBranch: z.ZodOptional<z.ZodString>;
|
|
2081
|
+
uri: z.ZodString;
|
|
1997
2082
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1998
2083
|
typ: z.ZodLiteral<"cronjob">;
|
|
1999
2084
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2007,7 +2092,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2007
2092
|
}, z.core.$strip>, z.ZodObject<{
|
|
2008
2093
|
cpus: z.ZodOptional<z.ZodInt>;
|
|
2009
2094
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2010
|
-
typ: z.ZodLiteral<"
|
|
2095
|
+
typ: z.ZodLiteral<"queue">;
|
|
2011
2096
|
}, z.core.$strip>, z.ZodObject<{
|
|
2012
2097
|
foobar: z.ZodOptional<z.ZodString>;
|
|
2013
2098
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
@@ -2018,6 +2103,11 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2018
2103
|
typ: z.ZodLiteral<"vm">;
|
|
2019
2104
|
}, z.core.$strip>, z.ZodObject<{
|
|
2020
2105
|
os: z.ZodOptional<z.ZodString>;
|
|
2106
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2107
|
+
typ: z.ZodLiteral<"scheduler">;
|
|
2108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2109
|
+
url: z.ZodOptional<z.ZodString>;
|
|
2110
|
+
expression: z.ZodOptional<z.ZodString>;
|
|
2021
2111
|
}, z.core.$strip>>]>>;
|
|
2022
2112
|
}, z.core.$strip>>;
|
|
2023
2113
|
}, z.core.$strip>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -240,10 +240,29 @@ export const zKindeOrganisationBillingAgreement = z.object({
|
|
|
240
240
|
export const zUuids = z.object({
|
|
241
241
|
ids: z.array(z.uuid())
|
|
242
242
|
});
|
|
243
|
+
export const zNetworkEdgeProps = z.object({
|
|
244
|
+
a: z.optional(z.string())
|
|
245
|
+
});
|
|
246
|
+
export const zRouteEdgeProps = z.object({
|
|
247
|
+
b: z.optional(z.string())
|
|
248
|
+
});
|
|
249
|
+
export const zEdgeType = z.enum([
|
|
250
|
+
'network',
|
|
251
|
+
'route'
|
|
252
|
+
]);
|
|
243
253
|
export const zEdge = z.object({
|
|
244
254
|
id: z.uuid(),
|
|
245
255
|
src: z.uuid(),
|
|
246
|
-
dst: z.uuid()
|
|
256
|
+
dst: z.uuid(),
|
|
257
|
+
typ: zEdgeType,
|
|
258
|
+
props: z.optional(z.union([
|
|
259
|
+
z.object({
|
|
260
|
+
typ: z.literal('comment')
|
|
261
|
+
}).and(zNetworkEdgeProps),
|
|
262
|
+
z.object({
|
|
263
|
+
typ: z.literal('cache')
|
|
264
|
+
}).and(zRouteEdgeProps)
|
|
265
|
+
]))
|
|
247
266
|
});
|
|
248
267
|
export const zNodeType = z.enum([
|
|
249
268
|
'cache',
|
|
@@ -252,7 +271,7 @@ export const zNodeType = z.enum([
|
|
|
252
271
|
'cronjob',
|
|
253
272
|
'database',
|
|
254
273
|
'function',
|
|
255
|
-
'
|
|
274
|
+
'queue',
|
|
256
275
|
'proxy',
|
|
257
276
|
'vm',
|
|
258
277
|
'scheduler'
|
|
@@ -263,11 +282,10 @@ export const zCommentNodeProps = z.object({
|
|
|
263
282
|
export const zCacheNodeProps = z.object({
|
|
264
283
|
size: z.optional(z.int())
|
|
265
284
|
});
|
|
266
|
-
export const
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
]);
|
|
285
|
+
export const zSchedulerNodeProps = z.object({
|
|
286
|
+
url: z.optional(z.string()),
|
|
287
|
+
expression: z.optional(z.string())
|
|
288
|
+
});
|
|
271
289
|
export const zRegion = z.enum([
|
|
272
290
|
'africa-south1',
|
|
273
291
|
'asia-east1',
|
|
@@ -297,6 +315,15 @@ export const zRegion = z.enum([
|
|
|
297
315
|
'us-west3',
|
|
298
316
|
'us-west4'
|
|
299
317
|
]);
|
|
318
|
+
export const zCpu = z.enum([
|
|
319
|
+
'1',
|
|
320
|
+
'2',
|
|
321
|
+
'4',
|
|
322
|
+
'6',
|
|
323
|
+
'8',
|
|
324
|
+
'16',
|
|
325
|
+
'32'
|
|
326
|
+
]);
|
|
300
327
|
export const zMemory = z.enum([
|
|
301
328
|
'128Mi',
|
|
302
329
|
'256Mi',
|
|
@@ -308,34 +335,23 @@ export const zMemory = z.enum([
|
|
|
308
335
|
'16Gi',
|
|
309
336
|
'32Gi'
|
|
310
337
|
]);
|
|
311
|
-
export const zCpu = z.enum([
|
|
312
|
-
'1',
|
|
313
|
-
'2',
|
|
314
|
-
'4',
|
|
315
|
-
'6',
|
|
316
|
-
'8'
|
|
317
|
-
]);
|
|
318
338
|
export const zIngress = z.enum([
|
|
319
339
|
'INGRESS_TRAFFIC_ALL',
|
|
320
340
|
'INGRESS_TRAFFIC_INTERNAL_ONLY',
|
|
321
341
|
'INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER'
|
|
322
342
|
]);
|
|
323
343
|
export const zContainerNodeProps = z.object({
|
|
324
|
-
region:
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
ingress: z.optional(zIngress),
|
|
344
|
+
region: zRegion,
|
|
345
|
+
port: z.int(),
|
|
346
|
+
cpu: zCpu,
|
|
347
|
+
memory: zMemory,
|
|
348
|
+
ingress: zIngress,
|
|
330
349
|
timeoutSeconds: z.optional(z.int()),
|
|
331
350
|
maxInstances: z.optional(z.int()),
|
|
332
351
|
minInstances: z.optional(z.int()),
|
|
333
352
|
concurrency: z.optional(z.int()),
|
|
334
353
|
allowUnauthenticated: z.optional(z.boolean()),
|
|
335
|
-
|
|
336
|
-
gitAccount: z.optional(z.string()),
|
|
337
|
-
gitRepo: z.optional(z.string()),
|
|
338
|
-
gitBranch: z.optional(z.string())
|
|
354
|
+
uri: z.string()
|
|
339
355
|
});
|
|
340
356
|
export const zCronJobNodeProps = z.object({
|
|
341
357
|
cronTab: z.optional(z.string())
|
|
@@ -346,7 +362,7 @@ export const zDatabaseNodeProps = z.object({
|
|
|
346
362
|
export const zFunctionNodeProps = z.object({
|
|
347
363
|
cpus: z.optional(z.int())
|
|
348
364
|
});
|
|
349
|
-
export const
|
|
365
|
+
export const zQueueNodeProps = z.object({
|
|
350
366
|
foobar: z.optional(z.string())
|
|
351
367
|
});
|
|
352
368
|
export const zProxyNodeProps = z.object({
|
|
@@ -359,10 +375,10 @@ export const zNode = z.object({
|
|
|
359
375
|
id: z.uuid(),
|
|
360
376
|
name: z.optional(z.string()),
|
|
361
377
|
description: z.optional(z.string()),
|
|
362
|
-
x: z.
|
|
363
|
-
y: z.
|
|
364
|
-
width: z.
|
|
365
|
-
height: z.
|
|
378
|
+
x: z.number(),
|
|
379
|
+
y: z.number(),
|
|
380
|
+
width: z.int(),
|
|
381
|
+
height: z.int(),
|
|
366
382
|
edges: z.optional(z.array(zEdge)),
|
|
367
383
|
typ: zNodeType,
|
|
368
384
|
props: z.optional(z.union([
|
|
@@ -385,14 +401,17 @@ export const zNode = z.object({
|
|
|
385
401
|
typ: z.literal('function')
|
|
386
402
|
}).and(zFunctionNodeProps),
|
|
387
403
|
z.object({
|
|
388
|
-
typ: z.literal('
|
|
389
|
-
}).and(
|
|
404
|
+
typ: z.literal('queue')
|
|
405
|
+
}).and(zQueueNodeProps),
|
|
390
406
|
z.object({
|
|
391
407
|
typ: z.literal('proxy')
|
|
392
408
|
}).and(zProxyNodeProps),
|
|
393
409
|
z.object({
|
|
394
410
|
typ: z.literal('vm')
|
|
395
|
-
}).and(zVmNodeProps)
|
|
411
|
+
}).and(zVmNodeProps),
|
|
412
|
+
z.object({
|
|
413
|
+
typ: z.literal('scheduler')
|
|
414
|
+
}).and(zSchedulerNodeProps)
|
|
396
415
|
]))
|
|
397
416
|
});
|
|
398
417
|
export const zNodes = z.object({
|
|
@@ -402,7 +421,7 @@ export const zGraph = z.object({
|
|
|
402
421
|
versionUUID: z.uuid(),
|
|
403
422
|
nodes: z.array(zNode)
|
|
404
423
|
});
|
|
405
|
-
export const
|
|
424
|
+
export const zSchedulerNodeProps2 = z.object({
|
|
406
425
|
scheduleExpression: z.optional(z.string()),
|
|
407
426
|
url: z.optional(z.string())
|
|
408
427
|
});
|