shoal-web-sdk 1.0.25 → 1.0.26

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.
@@ -5,10 +5,6 @@ export type PlainString = string;
5
5
  export type EnvironmentVariables = {
6
6
  vars: Array<EnvironmentVariable>;
7
7
  };
8
- export type OutputEnvironmentVariable = {
9
- environmentVariableKey: string;
10
- outputValueReference: string;
11
- };
12
8
  export type EnvironmentVariable = {
13
9
  key: string;
14
10
  value: string;
@@ -392,7 +388,7 @@ export type RouteEdgeProps = {
392
388
  path?: string;
393
389
  };
394
390
  export type OutputEdgeProps = {
395
- outputs: Array<OutputEnvironmentVariable>;
391
+ keys: Array<string>;
396
392
  };
397
393
  export type Node = {
398
394
  id: string;
@@ -1,9 +1,5 @@
1
1
  import { z } from 'zod';
2
2
  export declare const zPlainString: z.ZodString;
3
- export declare const zOutputEnvironmentVariable: z.ZodObject<{
4
- environmentVariableKey: z.ZodString;
5
- outputValueReference: z.ZodString;
6
- }, z.core.$strip>;
7
3
  export declare const zEnvironmentVariable: z.ZodObject<{
8
4
  key: z.ZodString;
9
5
  value: z.ZodString;
@@ -530,10 +526,7 @@ export declare const zRouteEdgeProps: z.ZodObject<{
530
526
  path: z.ZodOptional<z.ZodString>;
531
527
  }, z.core.$strip>;
532
528
  export declare const zOutputEdgeProps: z.ZodObject<{
533
- outputs: z.ZodArray<z.ZodObject<{
534
- environmentVariableKey: z.ZodString;
535
- outputValueReference: z.ZodString;
536
- }, z.core.$strip>>;
529
+ keys: z.ZodArray<z.ZodString>;
537
530
  }, z.core.$strip>;
538
531
  export declare const zEdgeType: z.ZodEnum<{
539
532
  network: "network";
@@ -560,10 +553,7 @@ export declare const zEdge: z.ZodObject<{
560
553
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
561
554
  typ: z.ZodLiteral<"output">;
562
555
  }, z.core.$strip>, z.ZodObject<{
563
- outputs: z.ZodArray<z.ZodObject<{
564
- environmentVariableKey: z.ZodString;
565
- outputValueReference: z.ZodString;
566
- }, z.core.$strip>>;
556
+ keys: z.ZodArray<z.ZodString>;
567
557
  }, z.core.$strip>>]>>;
568
558
  }, z.core.$strip>;
569
559
  export declare const zNodeType: z.ZodEnum<{
@@ -742,10 +732,7 @@ export declare const zNode: z.ZodObject<{
742
732
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
743
733
  typ: z.ZodLiteral<"output">;
744
734
  }, z.core.$strip>, z.ZodObject<{
745
- outputs: z.ZodArray<z.ZodObject<{
746
- environmentVariableKey: z.ZodString;
747
- outputValueReference: z.ZodString;
748
- }, z.core.$strip>>;
735
+ keys: z.ZodArray<z.ZodString>;
749
736
  }, z.core.$strip>>]>>;
750
737
  }, z.core.$strip>>>;
751
738
  typ: z.ZodEnum<{
@@ -912,10 +899,7 @@ export declare const zNodes: z.ZodObject<{
912
899
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
913
900
  typ: z.ZodLiteral<"output">;
914
901
  }, z.core.$strip>, z.ZodObject<{
915
- outputs: z.ZodArray<z.ZodObject<{
916
- environmentVariableKey: z.ZodString;
917
- outputValueReference: z.ZodString;
918
- }, z.core.$strip>>;
902
+ keys: z.ZodArray<z.ZodString>;
919
903
  }, z.core.$strip>>]>>;
920
904
  }, z.core.$strip>>>;
921
905
  typ: z.ZodEnum<{
@@ -1085,10 +1069,7 @@ export declare const zGraph: z.ZodObject<{
1085
1069
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1086
1070
  typ: z.ZodLiteral<"output">;
1087
1071
  }, z.core.$strip>, z.ZodObject<{
1088
- outputs: z.ZodArray<z.ZodObject<{
1089
- environmentVariableKey: z.ZodString;
1090
- outputValueReference: z.ZodString;
1091
- }, z.core.$strip>>;
1072
+ keys: z.ZodArray<z.ZodString>;
1092
1073
  }, z.core.$strip>>]>>;
1093
1074
  }, z.core.$strip>>>;
1094
1075
  typ: z.ZodEnum<{
@@ -1725,10 +1706,7 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
1725
1706
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1726
1707
  typ: z.ZodLiteral<"output">;
1727
1708
  }, z.core.$strip>, z.ZodObject<{
1728
- outputs: z.ZodArray<z.ZodObject<{
1729
- environmentVariableKey: z.ZodString;
1730
- outputValueReference: z.ZodString;
1731
- }, z.core.$strip>>;
1709
+ keys: z.ZodArray<z.ZodString>;
1732
1710
  }, z.core.$strip>>]>>;
1733
1711
  }, z.core.$strip>>>;
1734
1712
  typ: z.ZodEnum<{
@@ -1897,10 +1875,7 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
1897
1875
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1898
1876
  typ: z.ZodLiteral<"output">;
1899
1877
  }, z.core.$strip>, z.ZodObject<{
1900
- outputs: z.ZodArray<z.ZodObject<{
1901
- environmentVariableKey: z.ZodString;
1902
- outputValueReference: z.ZodString;
1903
- }, z.core.$strip>>;
1878
+ keys: z.ZodArray<z.ZodString>;
1904
1879
  }, z.core.$strip>>]>>;
1905
1880
  }, z.core.$strip>>>;
1906
1881
  typ: z.ZodEnum<{
@@ -2086,10 +2061,7 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
2086
2061
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2087
2062
  typ: z.ZodLiteral<"output">;
2088
2063
  }, z.core.$strip>, z.ZodObject<{
2089
- outputs: z.ZodArray<z.ZodObject<{
2090
- environmentVariableKey: z.ZodString;
2091
- outputValueReference: z.ZodString;
2092
- }, z.core.$strip>>;
2064
+ keys: z.ZodArray<z.ZodString>;
2093
2065
  }, z.core.$strip>>]>>;
2094
2066
  }, z.core.$strip>>>;
2095
2067
  typ: z.ZodEnum<{
@@ -2256,10 +2228,7 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
2256
2228
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2257
2229
  typ: z.ZodLiteral<"output">;
2258
2230
  }, z.core.$strip>, z.ZodObject<{
2259
- outputs: z.ZodArray<z.ZodObject<{
2260
- environmentVariableKey: z.ZodString;
2261
- outputValueReference: z.ZodString;
2262
- }, z.core.$strip>>;
2231
+ keys: z.ZodArray<z.ZodString>;
2263
2232
  }, z.core.$strip>>]>>;
2264
2233
  }, z.core.$strip>>>;
2265
2234
  typ: z.ZodEnum<{
@@ -2738,10 +2707,7 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
2738
2707
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2739
2708
  typ: z.ZodLiteral<"output">;
2740
2709
  }, z.core.$strip>, z.ZodObject<{
2741
- outputs: z.ZodArray<z.ZodObject<{
2742
- environmentVariableKey: z.ZodString;
2743
- outputValueReference: z.ZodString;
2744
- }, z.core.$strip>>;
2710
+ keys: z.ZodArray<z.ZodString>;
2745
2711
  }, z.core.$strip>>]>>;
2746
2712
  }, z.core.$strip>>>;
2747
2713
  typ: z.ZodEnum<{
@@ -3646,10 +3612,7 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
3646
3612
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3647
3613
  typ: z.ZodLiteral<"output">;
3648
3614
  }, z.core.$strip>, z.ZodObject<{
3649
- outputs: z.ZodArray<z.ZodObject<{
3650
- environmentVariableKey: z.ZodString;
3651
- outputValueReference: z.ZodString;
3652
- }, z.core.$strip>>;
3615
+ keys: z.ZodArray<z.ZodString>;
3653
3616
  }, z.core.$strip>>]>>;
3654
3617
  }, z.core.$strip>>>;
3655
3618
  typ: z.ZodEnum<{
@@ -3818,10 +3781,7 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
3818
3781
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3819
3782
  typ: z.ZodLiteral<"output">;
3820
3783
  }, z.core.$strip>, z.ZodObject<{
3821
- outputs: z.ZodArray<z.ZodObject<{
3822
- environmentVariableKey: z.ZodString;
3823
- outputValueReference: z.ZodString;
3824
- }, z.core.$strip>>;
3784
+ keys: z.ZodArray<z.ZodString>;
3825
3785
  }, z.core.$strip>>]>>;
3826
3786
  }, z.core.$strip>>>;
3827
3787
  typ: z.ZodEnum<{
@@ -1,10 +1,6 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
  import { z } from 'zod';
3
3
  export const zPlainString = z.string().regex(/^[-a-zA-Z0-9 ']+$/);
4
- export const zOutputEnvironmentVariable = z.object({
5
- environmentVariableKey: z.string(),
6
- outputValueReference: z.string()
7
- });
8
4
  export const zEnvironmentVariable = z.object({
9
5
  key: z.string(),
10
6
  value: z.string(),
@@ -346,7 +342,7 @@ export const zRouteEdgeProps = z.object({
346
342
  path: z.optional(z.string())
347
343
  });
348
344
  export const zOutputEdgeProps = z.object({
349
- outputs: z.array(zOutputEnvironmentVariable)
345
+ keys: z.array(z.string())
350
346
  });
351
347
  export const zEdgeType = z.enum([
352
348
  'network',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",