shoal-web-sdk 1.0.37 → 1.0.38

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.
@@ -9,7 +9,6 @@ export type EnvironmentVariable = {
9
9
  key: string;
10
10
  value: string;
11
11
  isExported: boolean;
12
- isOutput: boolean;
13
12
  };
14
13
  export type UpdateBlueprint = {
15
14
  name?: string;
@@ -445,7 +444,8 @@ export type RouteEdgeProps = {
445
444
  path?: string;
446
445
  };
447
446
  export type OutputEdgeProps = {
448
- keys: Array<string>;
447
+ output_key: string;
448
+ local_env_var_key: string;
449
449
  };
450
450
  export type Node = {
451
451
  id: string;
@@ -4,14 +4,12 @@ export declare const zEnvironmentVariable: z.ZodObject<{
4
4
  key: z.ZodString;
5
5
  value: z.ZodString;
6
6
  isExported: z.ZodBoolean;
7
- isOutput: z.ZodBoolean;
8
7
  }, z.core.$strip>;
9
8
  export declare const zEnvironmentVariables: z.ZodObject<{
10
9
  vars: z.ZodArray<z.ZodObject<{
11
10
  key: z.ZodString;
12
11
  value: z.ZodString;
13
12
  isExported: z.ZodBoolean;
14
- isOutput: z.ZodBoolean;
15
13
  }, z.core.$strip>>;
16
14
  }, z.core.$strip>;
17
15
  export declare const zUpdateBlueprint: z.ZodObject<{
@@ -41,7 +39,6 @@ export declare const zBlueprint: z.ZodObject<{
41
39
  key: z.ZodString;
42
40
  value: z.ZodString;
43
41
  isExported: z.ZodBoolean;
44
- isOutput: z.ZodBoolean;
45
42
  }, z.core.$strip>>;
46
43
  }, z.core.$strip>;
47
44
  export declare const zPlatformTier: z.ZodEnum<{
@@ -146,7 +143,6 @@ export declare const zBlueprintListItem: z.ZodObject<{
146
143
  key: z.ZodString;
147
144
  value: z.ZodString;
148
145
  isExported: z.ZodBoolean;
149
- isOutput: z.ZodBoolean;
150
146
  }, z.core.$strip>>;
151
147
  }, z.core.$strip>;
152
148
  export declare const zPaginatedBlueprints: z.ZodIntersection<z.ZodObject<{
@@ -168,7 +164,6 @@ export declare const zPaginatedBlueprints: z.ZodIntersection<z.ZodObject<{
168
164
  key: z.ZodString;
169
165
  value: z.ZodString;
170
166
  isExported: z.ZodBoolean;
171
- isOutput: z.ZodBoolean;
172
167
  }, z.core.$strip>>;
173
168
  }, z.core.$strip>>;
174
169
  }, z.core.$strip>>;
@@ -572,7 +567,8 @@ export declare const zRouteEdgeProps: z.ZodObject<{
572
567
  path: z.ZodOptional<z.ZodString>;
573
568
  }, z.core.$strip>;
574
569
  export declare const zOutputEdgeProps: z.ZodObject<{
575
- keys: z.ZodArray<z.ZodString>;
570
+ output_key: z.ZodString;
571
+ local_env_var_key: z.ZodString;
576
572
  }, z.core.$strip>;
577
573
  export declare const zEdgeType: z.ZodEnum<{
578
574
  network: "network";
@@ -599,7 +595,8 @@ export declare const zEdge: z.ZodObject<{
599
595
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
600
596
  typ: z.ZodLiteral<"output">;
601
597
  }, z.core.$strip>, z.ZodObject<{
602
- keys: z.ZodArray<z.ZodString>;
598
+ output_key: z.ZodString;
599
+ local_env_var_key: z.ZodString;
603
600
  }, z.core.$strip>>]>>;
604
601
  }, z.core.$strip>;
605
602
  export declare const zNodeType: z.ZodEnum<{
@@ -779,7 +776,8 @@ export declare const zNode: z.ZodObject<{
779
776
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
780
777
  typ: z.ZodLiteral<"output">;
781
778
  }, z.core.$strip>, z.ZodObject<{
782
- keys: z.ZodArray<z.ZodString>;
779
+ output_key: z.ZodString;
780
+ local_env_var_key: z.ZodString;
783
781
  }, z.core.$strip>>]>>;
784
782
  }, z.core.$strip>>>;
785
783
  typ: z.ZodEnum<{
@@ -947,7 +945,8 @@ export declare const zNodes: z.ZodObject<{
947
945
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
948
946
  typ: z.ZodLiteral<"output">;
949
947
  }, z.core.$strip>, z.ZodObject<{
950
- keys: z.ZodArray<z.ZodString>;
948
+ output_key: z.ZodString;
949
+ local_env_var_key: z.ZodString;
951
950
  }, z.core.$strip>>]>>;
952
951
  }, z.core.$strip>>>;
953
952
  typ: z.ZodEnum<{
@@ -1118,7 +1117,8 @@ export declare const zGraph: z.ZodObject<{
1118
1117
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1119
1118
  typ: z.ZodLiteral<"output">;
1120
1119
  }, z.core.$strip>, z.ZodObject<{
1121
- keys: z.ZodArray<z.ZodString>;
1120
+ output_key: z.ZodString;
1121
+ local_env_var_key: z.ZodString;
1122
1122
  }, z.core.$strip>>]>>;
1123
1123
  }, z.core.$strip>>>;
1124
1124
  typ: z.ZodEnum<{
@@ -1294,7 +1294,8 @@ export declare const zBlueprintDetail: z.ZodObject<{
1294
1294
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1295
1295
  typ: z.ZodLiteral<"output">;
1296
1296
  }, z.core.$strip>, z.ZodObject<{
1297
- keys: z.ZodArray<z.ZodString>;
1297
+ output_key: z.ZodString;
1298
+ local_env_var_key: z.ZodString;
1298
1299
  }, z.core.$strip>>]>>;
1299
1300
  }, z.core.$strip>>>;
1300
1301
  typ: z.ZodEnum<{
@@ -1931,7 +1932,6 @@ export declare const zGetEnvironmentVariablesM2mResponse: z.ZodObject<{
1931
1932
  key: z.ZodString;
1932
1933
  value: z.ZodString;
1933
1934
  isExported: z.ZodBoolean;
1934
- isOutput: z.ZodBoolean;
1935
1935
  }, z.core.$strip>>;
1936
1936
  }, z.core.$strip>;
1937
1937
  export declare const zGetVersionM2mData: z.ZodObject<{
@@ -2030,7 +2030,8 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2030
2030
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2031
2031
  typ: z.ZodLiteral<"output">;
2032
2032
  }, z.core.$strip>, z.ZodObject<{
2033
- keys: z.ZodArray<z.ZodString>;
2033
+ output_key: z.ZodString;
2034
+ local_env_var_key: z.ZodString;
2034
2035
  }, z.core.$strip>>]>>;
2035
2036
  }, z.core.$strip>>>;
2036
2037
  typ: z.ZodEnum<{
@@ -2200,7 +2201,8 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
2200
2201
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2201
2202
  typ: z.ZodLiteral<"output">;
2202
2203
  }, z.core.$strip>, z.ZodObject<{
2203
- keys: z.ZodArray<z.ZodString>;
2204
+ output_key: z.ZodString;
2205
+ local_env_var_key: z.ZodString;
2204
2206
  }, z.core.$strip>>]>>;
2205
2207
  }, z.core.$strip>>>;
2206
2208
  typ: z.ZodEnum<{
@@ -2387,7 +2389,8 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
2387
2389
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2388
2390
  typ: z.ZodLiteral<"output">;
2389
2391
  }, z.core.$strip>, z.ZodObject<{
2390
- keys: z.ZodArray<z.ZodString>;
2392
+ output_key: z.ZodString;
2393
+ local_env_var_key: z.ZodString;
2391
2394
  }, z.core.$strip>>]>>;
2392
2395
  }, z.core.$strip>>>;
2393
2396
  typ: z.ZodEnum<{
@@ -2555,7 +2558,8 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
2555
2558
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2556
2559
  typ: z.ZodLiteral<"output">;
2557
2560
  }, z.core.$strip>, z.ZodObject<{
2558
- keys: z.ZodArray<z.ZodString>;
2561
+ output_key: z.ZodString;
2562
+ local_env_var_key: z.ZodString;
2559
2563
  }, z.core.$strip>>]>>;
2560
2564
  }, z.core.$strip>>>;
2561
2565
  typ: z.ZodEnum<{
@@ -2792,7 +2796,8 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
2792
2796
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2793
2797
  typ: z.ZodLiteral<"output">;
2794
2798
  }, z.core.$strip>, z.ZodObject<{
2795
- keys: z.ZodArray<z.ZodString>;
2799
+ output_key: z.ZodString;
2800
+ local_env_var_key: z.ZodString;
2796
2801
  }, z.core.$strip>>]>>;
2797
2802
  }, z.core.$strip>>>;
2798
2803
  typ: z.ZodEnum<{
@@ -3485,7 +3490,8 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
3485
3490
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3486
3491
  typ: z.ZodLiteral<"output">;
3487
3492
  }, z.core.$strip>, z.ZodObject<{
3488
- keys: z.ZodArray<z.ZodString>;
3493
+ output_key: z.ZodString;
3494
+ local_env_var_key: z.ZodString;
3489
3495
  }, z.core.$strip>>]>>;
3490
3496
  }, z.core.$strip>>>;
3491
3497
  typ: z.ZodEnum<{
@@ -3660,7 +3666,6 @@ export declare const zViewBlueprintsResponse: z.ZodIntersection<z.ZodObject<{
3660
3666
  key: z.ZodString;
3661
3667
  value: z.ZodString;
3662
3668
  isExported: z.ZodBoolean;
3663
- isOutput: z.ZodBoolean;
3664
3669
  }, z.core.$strip>>;
3665
3670
  }, z.core.$strip>>;
3666
3671
  }, z.core.$strip>>;
@@ -3689,7 +3694,6 @@ export declare const zGetBlueprintResponse: z.ZodObject<{
3689
3694
  key: z.ZodString;
3690
3695
  value: z.ZodString;
3691
3696
  isExported: z.ZodBoolean;
3692
- isOutput: z.ZodBoolean;
3693
3697
  }, z.core.$strip>>;
3694
3698
  }, z.core.$strip>;
3695
3699
  export declare const zCreateSpaceData: z.ZodObject<{
@@ -4202,7 +4206,6 @@ export declare const zDeleteEnvironmentVariableResponse: z.ZodObject<{
4202
4206
  key: z.ZodString;
4203
4207
  value: z.ZodString;
4204
4208
  isExported: z.ZodBoolean;
4205
- isOutput: z.ZodBoolean;
4206
4209
  }, z.core.$strip>>;
4207
4210
  }, z.core.$strip>;
4208
4211
  export declare const zGetEnvironmentVariablesData: z.ZodObject<{
@@ -4222,7 +4225,6 @@ export declare const zGetEnvironmentVariablesResponse: z.ZodObject<{
4222
4225
  key: z.ZodString;
4223
4226
  value: z.ZodString;
4224
4227
  isExported: z.ZodBoolean;
4225
- isOutput: z.ZodBoolean;
4226
4228
  }, z.core.$strip>>;
4227
4229
  }, z.core.$strip>;
4228
4230
  export declare const zUpdateEnvironmentVariableData: z.ZodObject<{
@@ -4230,7 +4232,6 @@ export declare const zUpdateEnvironmentVariableData: z.ZodObject<{
4230
4232
  key: z.ZodString;
4231
4233
  value: z.ZodString;
4232
4234
  isExported: z.ZodBoolean;
4233
- isOutput: z.ZodBoolean;
4234
4235
  }, z.core.$strip>;
4235
4236
  path: z.ZodObject<{
4236
4237
  spaceHandle: z.ZodString;
@@ -4245,7 +4246,6 @@ export declare const zCreateEnvironmentVariableData: z.ZodObject<{
4245
4246
  key: z.ZodString;
4246
4247
  value: z.ZodString;
4247
4248
  isExported: z.ZodBoolean;
4248
- isOutput: z.ZodBoolean;
4249
4249
  }, z.core.$strip>;
4250
4250
  path: z.ZodObject<{
4251
4251
  spaceHandle: z.ZodString;
@@ -4302,7 +4302,6 @@ export declare const zUpdateBlueprintResponse: z.ZodObject<{
4302
4302
  key: z.ZodString;
4303
4303
  value: z.ZodString;
4304
4304
  isExported: z.ZodBoolean;
4305
- isOutput: z.ZodBoolean;
4306
4305
  }, z.core.$strip>>;
4307
4306
  }, z.core.$strip>;
4308
4307
  export declare const zCreateBlueprintData: z.ZodObject<{
@@ -4337,7 +4336,6 @@ export declare const zCreateBlueprintResponse: z.ZodObject<{
4337
4336
  key: z.ZodString;
4338
4337
  value: z.ZodString;
4339
4338
  isExported: z.ZodBoolean;
4340
- isOutput: z.ZodBoolean;
4341
4339
  }, z.core.$strip>>;
4342
4340
  }, z.core.$strip>;
4343
4341
  export declare const zGetVersionData: z.ZodObject<{
@@ -4436,7 +4434,8 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
4436
4434
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4437
4435
  typ: z.ZodLiteral<"output">;
4438
4436
  }, z.core.$strip>, z.ZodObject<{
4439
- keys: z.ZodArray<z.ZodString>;
4437
+ output_key: z.ZodString;
4438
+ local_env_var_key: z.ZodString;
4440
4439
  }, z.core.$strip>>]>>;
4441
4440
  }, z.core.$strip>>>;
4442
4441
  typ: z.ZodEnum<{
@@ -4606,7 +4605,8 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
4606
4605
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4607
4606
  typ: z.ZodLiteral<"output">;
4608
4607
  }, z.core.$strip>, z.ZodObject<{
4609
- keys: z.ZodArray<z.ZodString>;
4608
+ output_key: z.ZodString;
4609
+ local_env_var_key: z.ZodString;
4610
4610
  }, z.core.$strip>>]>>;
4611
4611
  }, z.core.$strip>>>;
4612
4612
  typ: z.ZodEnum<{
@@ -4806,7 +4806,6 @@ export declare const zGetNodeEnvironmentVariablesResponse: z.ZodObject<{
4806
4806
  key: z.ZodString;
4807
4807
  value: z.ZodString;
4808
4808
  isExported: z.ZodBoolean;
4809
- isOutput: z.ZodBoolean;
4810
4809
  }, z.core.$strip>>;
4811
4810
  }, z.core.$strip>;
4812
4811
  export declare const zRequestSignedUploadUrlData: z.ZodObject<{
@@ -4,8 +4,7 @@ export const zPlainString = z.string().regex(/^[-a-zA-Z0-9 ']+$/);
4
4
  export const zEnvironmentVariable = z.object({
5
5
  key: z.string(),
6
6
  value: z.string(),
7
- isExported: z.boolean(),
8
- isOutput: z.boolean()
7
+ isExported: z.boolean()
9
8
  });
10
9
  export const zEnvironmentVariables = z.object({
11
10
  vars: z.array(zEnvironmentVariable)
@@ -376,7 +375,8 @@ export const zRouteEdgeProps = z.object({
376
375
  path: z.optional(z.string())
377
376
  });
378
377
  export const zOutputEdgeProps = z.object({
379
- keys: z.array(z.string())
378
+ output_key: z.string(),
379
+ local_env_var_key: z.string()
380
380
  });
381
381
  export const zEdgeType = z.enum([
382
382
  'network',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",