shoal-web-sdk 0.0.96 → 0.0.98

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.
@@ -317,6 +317,10 @@ export type ContainerNodeProps = {
317
317
  concurrency?: number;
318
318
  allowUnauthenticated?: boolean;
319
319
  uri: string;
320
+ serviceName: string;
321
+ env?: {
322
+ [key: string]: string;
323
+ };
320
324
  };
321
325
  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
326
  export type Cpu = '1' | '2' | '4' | '6' | '8' | '16' | '32';
@@ -340,10 +344,6 @@ export type ProxyNodeProps = {
340
344
  export type VmNodeProps = {
341
345
  os?: string;
342
346
  };
343
- export type SchedulerNodeProps2 = {
344
- scheduleExpression?: string;
345
- url?: string;
346
- };
347
347
  export type NodeSourceUploadResponse = {
348
348
  fileName: string;
349
349
  /**
@@ -551,6 +551,8 @@ export declare const zContainerNodeProps: z.ZodObject<{
551
551
  concurrency: z.ZodOptional<z.ZodInt>;
552
552
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
553
553
  uri: z.ZodString;
554
+ serviceName: z.ZodString;
555
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
554
556
  }, z.core.$strip>;
555
557
  export declare const zCronJobNodeProps: z.ZodObject<{
556
558
  cronTab: z.ZodOptional<z.ZodString>;
@@ -680,6 +682,8 @@ export declare const zNode: z.ZodObject<{
680
682
  concurrency: z.ZodOptional<z.ZodInt>;
681
683
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
682
684
  uri: z.ZodString;
685
+ serviceName: z.ZodString;
686
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
683
687
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
684
688
  typ: z.ZodLiteral<"cronjob">;
685
689
  }, z.core.$strip>, z.ZodObject<{
@@ -822,6 +826,8 @@ export declare const zNodes: z.ZodObject<{
822
826
  concurrency: z.ZodOptional<z.ZodInt>;
823
827
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
824
828
  uri: z.ZodString;
829
+ serviceName: z.ZodString;
830
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
825
831
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
826
832
  typ: z.ZodLiteral<"cronjob">;
827
833
  }, z.core.$strip>, z.ZodObject<{
@@ -966,6 +972,8 @@ export declare const zGraph: z.ZodObject<{
966
972
  concurrency: z.ZodOptional<z.ZodInt>;
967
973
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
968
974
  uri: z.ZodString;
975
+ serviceName: z.ZodString;
976
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
969
977
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
970
978
  typ: z.ZodLiteral<"cronjob">;
971
979
  }, z.core.$strip>, z.ZodObject<{
@@ -998,10 +1006,6 @@ export declare const zGraph: z.ZodObject<{
998
1006
  }, z.core.$strip>>]>>;
999
1007
  }, z.core.$strip>>;
1000
1008
  }, z.core.$strip>;
1001
- export declare const zSchedulerNodeProps2: z.ZodObject<{
1002
- scheduleExpression: z.ZodOptional<z.ZodString>;
1003
- url: z.ZodOptional<z.ZodString>;
1004
- }, z.core.$strip>;
1005
1009
  export declare const zNodeSourceUploadResponse: z.ZodObject<{
1006
1010
  fileName: z.ZodString;
1007
1011
  size: z.ZodCoercedBigInt<unknown>;
@@ -1215,6 +1219,8 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
1215
1219
  concurrency: z.ZodOptional<z.ZodInt>;
1216
1220
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
1217
1221
  uri: z.ZodString;
1222
+ serviceName: z.ZodString;
1223
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1218
1224
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1219
1225
  typ: z.ZodLiteral<"cronjob">;
1220
1226
  }, z.core.$strip>, z.ZodObject<{
@@ -1935,6 +1941,8 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
1935
1941
  concurrency: z.ZodOptional<z.ZodInt>;
1936
1942
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
1937
1943
  uri: z.ZodString;
1944
+ serviceName: z.ZodString;
1945
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1938
1946
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1939
1947
  typ: z.ZodLiteral<"cronjob">;
1940
1948
  }, z.core.$strip>, z.ZodObject<{
@@ -2079,6 +2087,8 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
2079
2087
  concurrency: z.ZodOptional<z.ZodInt>;
2080
2088
  allowUnauthenticated: z.ZodOptional<z.ZodBoolean>;
2081
2089
  uri: z.ZodString;
2090
+ serviceName: z.ZodString;
2091
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2082
2092
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2083
2093
  typ: z.ZodLiteral<"cronjob">;
2084
2094
  }, z.core.$strip>, z.ZodObject<{
@@ -351,7 +351,9 @@ export const zContainerNodeProps = z.object({
351
351
  minInstances: z.optional(z.int()),
352
352
  concurrency: z.optional(z.int()),
353
353
  allowUnauthenticated: z.optional(z.boolean()),
354
- uri: z.string()
354
+ uri: z.string(),
355
+ serviceName: z.string(),
356
+ env: z.optional(z.record(z.string(), z.string()))
355
357
  });
356
358
  export const zCronJobNodeProps = z.object({
357
359
  cronTab: z.optional(z.string())
@@ -421,10 +423,6 @@ export const zGraph = z.object({
421
423
  versionUUID: z.uuid(),
422
424
  nodes: z.array(zNode)
423
425
  });
424
- export const zSchedulerNodeProps2 = z.object({
425
- scheduleExpression: z.optional(z.string()),
426
- url: z.optional(z.string())
427
- });
428
426
  export const zNodeSourceUploadResponse = z.object({
429
427
  fileName: z.string(),
430
428
  size: z.coerce.bigint(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "0.0.96",
3
+ "version": "0.0.98",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",