shoal-web-sdk 0.0.82 → 0.0.83

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.
@@ -263,7 +263,12 @@ export type ContainerNodeProps = {
263
263
  minInstances?: number;
264
264
  concurrency?: number;
265
265
  allowUnauthenticated?: boolean;
266
+ sourceType?: SourceType;
267
+ gitAccount?: string;
268
+ gitRepo?: string;
269
+ gitBranch?: string;
266
270
  };
271
+ export type SourceType = 'GITHUB' | 'FLAT_FILE' | 'DOCKER_IMAGE';
267
272
  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';
268
273
  export type Memory = '128Mi' | '256Mi' | '512Mi' | '1Gi' | '2Gi' | '4Gi' | '8Gi' | '16Gi' | '32Gi';
269
274
  export type Cpu = '1' | '2' | '4' | '6' | '8';
@@ -340,6 +340,11 @@ export declare const zCommentNodeProps: z.ZodObject<{
340
340
  export declare const zCacheNodeProps: z.ZodObject<{
341
341
  size: z.ZodOptional<z.ZodInt>;
342
342
  }, z.core.$strip>;
343
+ export declare const zSourceType: z.ZodEnum<{
344
+ GITHUB: "GITHUB";
345
+ FLAT_FILE: "FLAT_FILE";
346
+ DOCKER_IMAGE: "DOCKER_IMAGE";
347
+ }>;
343
348
  export declare const zRegion: z.ZodEnum<{
344
349
  "africa-south1": "africa-south1";
345
350
  "asia-east1": "asia-east1";
@@ -452,6 +457,14 @@ export declare const zContainerNodeProps: z.ZodObject<{
452
457
  minInstances: z.ZodOptional<z.ZodInt>;
453
458
  concurrency: z.ZodOptional<z.ZodInt>;
454
459
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
460
+ sourceType: z.ZodOptional<z.ZodEnum<{
461
+ GITHUB: "GITHUB";
462
+ FLAT_FILE: "FLAT_FILE";
463
+ DOCKER_IMAGE: "DOCKER_IMAGE";
464
+ }>>;
465
+ gitAccount: z.ZodOptional<z.ZodString>;
466
+ gitRepo: z.ZodOptional<z.ZodString>;
467
+ gitBranch: z.ZodOptional<z.ZodString>;
455
468
  }, z.core.$strip>;
456
469
  export declare const zCronJobNodeProps: z.ZodObject<{
457
470
  cronTab: z.ZodOptional<z.ZodString>;
@@ -565,6 +578,14 @@ export declare const zNode: z.ZodObject<{
565
578
  minInstances: z.ZodOptional<z.ZodInt>;
566
579
  concurrency: z.ZodOptional<z.ZodInt>;
567
580
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
581
+ sourceType: z.ZodOptional<z.ZodEnum<{
582
+ GITHUB: "GITHUB";
583
+ FLAT_FILE: "FLAT_FILE";
584
+ DOCKER_IMAGE: "DOCKER_IMAGE";
585
+ }>>;
586
+ gitAccount: z.ZodOptional<z.ZodString>;
587
+ gitRepo: z.ZodOptional<z.ZodString>;
588
+ gitBranch: z.ZodOptional<z.ZodString>;
568
589
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
569
590
  typ: z.ZodLiteral<"cronjob">;
570
591
  }, z.core.$strip>, z.ZodObject<{
@@ -686,6 +707,14 @@ export declare const zNodes: z.ZodObject<{
686
707
  minInstances: z.ZodOptional<z.ZodInt>;
687
708
  concurrency: z.ZodOptional<z.ZodInt>;
688
709
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
710
+ sourceType: z.ZodOptional<z.ZodEnum<{
711
+ GITHUB: "GITHUB";
712
+ FLAT_FILE: "FLAT_FILE";
713
+ DOCKER_IMAGE: "DOCKER_IMAGE";
714
+ }>>;
715
+ gitAccount: z.ZodOptional<z.ZodString>;
716
+ gitRepo: z.ZodOptional<z.ZodString>;
717
+ gitBranch: z.ZodOptional<z.ZodString>;
689
718
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
690
719
  typ: z.ZodLiteral<"cronjob">;
691
720
  }, z.core.$strip>, z.ZodObject<{
@@ -809,6 +838,14 @@ export declare const zGraph: z.ZodObject<{
809
838
  minInstances: z.ZodOptional<z.ZodInt>;
810
839
  concurrency: z.ZodOptional<z.ZodInt>;
811
840
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
841
+ sourceType: z.ZodOptional<z.ZodEnum<{
842
+ GITHUB: "GITHUB";
843
+ FLAT_FILE: "FLAT_FILE";
844
+ DOCKER_IMAGE: "DOCKER_IMAGE";
845
+ }>>;
846
+ gitAccount: z.ZodOptional<z.ZodString>;
847
+ gitRepo: z.ZodOptional<z.ZodString>;
848
+ gitBranch: z.ZodOptional<z.ZodString>;
812
849
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
813
850
  typ: z.ZodLiteral<"cronjob">;
814
851
  }, z.core.$strip>, z.ZodObject<{
@@ -1015,6 +1052,14 @@ export declare const zFetchGraphResponse: z.ZodObject<{
1015
1052
  minInstances: z.ZodOptional<z.ZodInt>;
1016
1053
  concurrency: z.ZodOptional<z.ZodInt>;
1017
1054
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
1055
+ sourceType: z.ZodOptional<z.ZodEnum<{
1056
+ GITHUB: "GITHUB";
1057
+ FLAT_FILE: "FLAT_FILE";
1058
+ DOCKER_IMAGE: "DOCKER_IMAGE";
1059
+ }>>;
1060
+ gitAccount: z.ZodOptional<z.ZodString>;
1061
+ gitRepo: z.ZodOptional<z.ZodString>;
1062
+ gitBranch: z.ZodOptional<z.ZodString>;
1018
1063
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1019
1064
  typ: z.ZodLiteral<"cronjob">;
1020
1065
  }, z.core.$strip>, z.ZodObject<{
@@ -1550,6 +1595,14 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
1550
1595
  minInstances: z.ZodOptional<z.ZodInt>;
1551
1596
  concurrency: z.ZodOptional<z.ZodInt>;
1552
1597
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
1598
+ sourceType: z.ZodOptional<z.ZodEnum<{
1599
+ GITHUB: "GITHUB";
1600
+ FLAT_FILE: "FLAT_FILE";
1601
+ DOCKER_IMAGE: "DOCKER_IMAGE";
1602
+ }>>;
1603
+ gitAccount: z.ZodOptional<z.ZodString>;
1604
+ gitRepo: z.ZodOptional<z.ZodString>;
1605
+ gitBranch: z.ZodOptional<z.ZodString>;
1553
1606
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1554
1607
  typ: z.ZodLiteral<"cronjob">;
1555
1608
  }, z.core.$strip>, z.ZodObject<{
@@ -1673,6 +1726,14 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
1673
1726
  minInstances: z.ZodOptional<z.ZodInt>;
1674
1727
  concurrency: z.ZodOptional<z.ZodInt>;
1675
1728
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
1729
+ sourceType: z.ZodOptional<z.ZodEnum<{
1730
+ GITHUB: "GITHUB";
1731
+ FLAT_FILE: "FLAT_FILE";
1732
+ DOCKER_IMAGE: "DOCKER_IMAGE";
1733
+ }>>;
1734
+ gitAccount: z.ZodOptional<z.ZodString>;
1735
+ gitRepo: z.ZodOptional<z.ZodString>;
1736
+ gitBranch: z.ZodOptional<z.ZodString>;
1676
1737
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1677
1738
  typ: z.ZodLiteral<"cronjob">;
1678
1739
  }, z.core.$strip>, z.ZodObject<{
@@ -226,6 +226,11 @@ export const zCommentNodeProps = z.object({
226
226
  export const zCacheNodeProps = z.object({
227
227
  size: z.optional(z.int())
228
228
  });
229
+ export const zSourceType = z.enum([
230
+ 'GITHUB',
231
+ 'FLAT_FILE',
232
+ 'DOCKER_IMAGE'
233
+ ]);
229
234
  export const zRegion = z.enum([
230
235
  'africa-south1',
231
236
  'asia-east1',
@@ -289,7 +294,11 @@ export const zContainerNodeProps = z.object({
289
294
  maxInstances: z.optional(z.int()),
290
295
  minInstances: z.optional(z.int()),
291
296
  concurrency: z.optional(z.int()),
292
- allowUnauthenticated: z.optional(z.boolean())
297
+ allowUnauthenticated: z.optional(z.boolean()),
298
+ sourceType: z.optional(zSourceType),
299
+ gitAccount: z.optional(z.string()),
300
+ gitRepo: z.optional(z.string()),
301
+ gitBranch: z.optional(z.string())
293
302
  });
294
303
  export const zCronJobNodeProps = z.object({
295
304
  cronTab: z.optional(z.string())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",