shoal-web-sdk 1.0.41 → 1.0.42

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.
@@ -447,10 +447,13 @@ export type NetworkEdgeProps = {
447
447
  export type RouteEdgeProps = {
448
448
  path?: string;
449
449
  };
450
- export type OutputEdgeProps = {
450
+ export type OutputKeyMapping = {
451
451
  output_key: string;
452
452
  local_env_var_key: string;
453
453
  };
454
+ export type OutputEdgeProps = {
455
+ mappings: Array<OutputKeyMapping>;
456
+ };
454
457
  export type Node = {
455
458
  id: string;
456
459
  name?: PlainString;
@@ -570,10 +570,16 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
570
570
  export declare const zRouteEdgeProps: z.ZodObject<{
571
571
  path: z.ZodOptional<z.ZodString>;
572
572
  }, z.core.$strip>;
573
- export declare const zOutputEdgeProps: z.ZodObject<{
573
+ export declare const zOutputKeyMapping: z.ZodObject<{
574
574
  output_key: z.ZodString;
575
575
  local_env_var_key: z.ZodString;
576
576
  }, z.core.$strip>;
577
+ export declare const zOutputEdgeProps: z.ZodObject<{
578
+ mappings: z.ZodArray<z.ZodObject<{
579
+ output_key: z.ZodString;
580
+ local_env_var_key: z.ZodString;
581
+ }, z.core.$strip>>;
582
+ }, z.core.$strip>;
577
583
  export declare const zEdgeType: z.ZodEnum<{
578
584
  network: "network";
579
585
  route: "route";
@@ -599,8 +605,10 @@ export declare const zEdge: z.ZodObject<{
599
605
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
600
606
  typ: z.ZodLiteral<"output">;
601
607
  }, z.core.$strip>, z.ZodObject<{
602
- output_key: z.ZodString;
603
- local_env_var_key: z.ZodString;
608
+ mappings: z.ZodArray<z.ZodObject<{
609
+ output_key: z.ZodString;
610
+ local_env_var_key: z.ZodString;
611
+ }, z.core.$strip>>;
604
612
  }, z.core.$strip>>]>>;
605
613
  }, z.core.$strip>;
606
614
  export declare const zNodeType: z.ZodEnum<{
@@ -797,8 +805,10 @@ export declare const zNode: z.ZodObject<{
797
805
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
798
806
  typ: z.ZodLiteral<"output">;
799
807
  }, z.core.$strip>, z.ZodObject<{
800
- output_key: z.ZodString;
801
- local_env_var_key: z.ZodString;
808
+ mappings: z.ZodArray<z.ZodObject<{
809
+ output_key: z.ZodString;
810
+ local_env_var_key: z.ZodString;
811
+ }, z.core.$strip>>;
802
812
  }, z.core.$strip>>]>>;
803
813
  }, z.core.$strip>>>;
804
814
  typ: z.ZodEnum<{
@@ -984,8 +994,10 @@ export declare const zNodes: z.ZodObject<{
984
994
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
985
995
  typ: z.ZodLiteral<"output">;
986
996
  }, z.core.$strip>, z.ZodObject<{
987
- output_key: z.ZodString;
988
- local_env_var_key: z.ZodString;
997
+ mappings: z.ZodArray<z.ZodObject<{
998
+ output_key: z.ZodString;
999
+ local_env_var_key: z.ZodString;
1000
+ }, z.core.$strip>>;
989
1001
  }, z.core.$strip>>]>>;
990
1002
  }, z.core.$strip>>>;
991
1003
  typ: z.ZodEnum<{
@@ -1174,8 +1186,10 @@ export declare const zGraph: z.ZodObject<{
1174
1186
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1175
1187
  typ: z.ZodLiteral<"output">;
1176
1188
  }, z.core.$strip>, z.ZodObject<{
1177
- output_key: z.ZodString;
1178
- local_env_var_key: z.ZodString;
1189
+ mappings: z.ZodArray<z.ZodObject<{
1190
+ output_key: z.ZodString;
1191
+ local_env_var_key: z.ZodString;
1192
+ }, z.core.$strip>>;
1179
1193
  }, z.core.$strip>>]>>;
1180
1194
  }, z.core.$strip>>>;
1181
1195
  typ: z.ZodEnum<{
@@ -1369,8 +1383,10 @@ export declare const zBlueprintDetail: z.ZodObject<{
1369
1383
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1370
1384
  typ: z.ZodLiteral<"output">;
1371
1385
  }, z.core.$strip>, z.ZodObject<{
1372
- output_key: z.ZodString;
1373
- local_env_var_key: z.ZodString;
1386
+ mappings: z.ZodArray<z.ZodObject<{
1387
+ output_key: z.ZodString;
1388
+ local_env_var_key: z.ZodString;
1389
+ }, z.core.$strip>>;
1374
1390
  }, z.core.$strip>>]>>;
1375
1391
  }, z.core.$strip>>>;
1376
1392
  typ: z.ZodEnum<{
@@ -2133,8 +2149,10 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2133
2149
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2134
2150
  typ: z.ZodLiteral<"output">;
2135
2151
  }, z.core.$strip>, z.ZodObject<{
2136
- output_key: z.ZodString;
2137
- local_env_var_key: z.ZodString;
2152
+ mappings: z.ZodArray<z.ZodObject<{
2153
+ output_key: z.ZodString;
2154
+ local_env_var_key: z.ZodString;
2155
+ }, z.core.$strip>>;
2138
2156
  }, z.core.$strip>>]>>;
2139
2157
  }, z.core.$strip>>>;
2140
2158
  typ: z.ZodEnum<{
@@ -2322,8 +2340,10 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
2322
2340
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2323
2341
  typ: z.ZodLiteral<"output">;
2324
2342
  }, z.core.$strip>, z.ZodObject<{
2325
- output_key: z.ZodString;
2326
- local_env_var_key: z.ZodString;
2343
+ mappings: z.ZodArray<z.ZodObject<{
2344
+ output_key: z.ZodString;
2345
+ local_env_var_key: z.ZodString;
2346
+ }, z.core.$strip>>;
2327
2347
  }, z.core.$strip>>]>>;
2328
2348
  }, z.core.$strip>>>;
2329
2349
  typ: z.ZodEnum<{
@@ -2528,8 +2548,10 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
2528
2548
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2529
2549
  typ: z.ZodLiteral<"output">;
2530
2550
  }, z.core.$strip>, z.ZodObject<{
2531
- output_key: z.ZodString;
2532
- local_env_var_key: z.ZodString;
2551
+ mappings: z.ZodArray<z.ZodObject<{
2552
+ output_key: z.ZodString;
2553
+ local_env_var_key: z.ZodString;
2554
+ }, z.core.$strip>>;
2533
2555
  }, z.core.$strip>>]>>;
2534
2556
  }, z.core.$strip>>>;
2535
2557
  typ: z.ZodEnum<{
@@ -2715,8 +2737,10 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
2715
2737
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2716
2738
  typ: z.ZodLiteral<"output">;
2717
2739
  }, z.core.$strip>, z.ZodObject<{
2718
- output_key: z.ZodString;
2719
- local_env_var_key: z.ZodString;
2740
+ mappings: z.ZodArray<z.ZodObject<{
2741
+ output_key: z.ZodString;
2742
+ local_env_var_key: z.ZodString;
2743
+ }, z.core.$strip>>;
2720
2744
  }, z.core.$strip>>]>>;
2721
2745
  }, z.core.$strip>>>;
2722
2746
  typ: z.ZodEnum<{
@@ -2971,8 +2995,10 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
2971
2995
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2972
2996
  typ: z.ZodLiteral<"output">;
2973
2997
  }, z.core.$strip>, z.ZodObject<{
2974
- output_key: z.ZodString;
2975
- local_env_var_key: z.ZodString;
2998
+ mappings: z.ZodArray<z.ZodObject<{
2999
+ output_key: z.ZodString;
3000
+ local_env_var_key: z.ZodString;
3001
+ }, z.core.$strip>>;
2976
3002
  }, z.core.$strip>>]>>;
2977
3003
  }, z.core.$strip>>>;
2978
3004
  typ: z.ZodEnum<{
@@ -3683,8 +3709,10 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
3683
3709
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3684
3710
  typ: z.ZodLiteral<"output">;
3685
3711
  }, z.core.$strip>, z.ZodObject<{
3686
- output_key: z.ZodString;
3687
- local_env_var_key: z.ZodString;
3712
+ mappings: z.ZodArray<z.ZodObject<{
3713
+ output_key: z.ZodString;
3714
+ local_env_var_key: z.ZodString;
3715
+ }, z.core.$strip>>;
3688
3716
  }, z.core.$strip>>]>>;
3689
3717
  }, z.core.$strip>>>;
3690
3718
  typ: z.ZodEnum<{
@@ -4645,8 +4673,10 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
4645
4673
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4646
4674
  typ: z.ZodLiteral<"output">;
4647
4675
  }, z.core.$strip>, z.ZodObject<{
4648
- output_key: z.ZodString;
4649
- local_env_var_key: z.ZodString;
4676
+ mappings: z.ZodArray<z.ZodObject<{
4677
+ output_key: z.ZodString;
4678
+ local_env_var_key: z.ZodString;
4679
+ }, z.core.$strip>>;
4650
4680
  }, z.core.$strip>>]>>;
4651
4681
  }, z.core.$strip>>>;
4652
4682
  typ: z.ZodEnum<{
@@ -4834,8 +4864,10 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
4834
4864
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4835
4865
  typ: z.ZodLiteral<"output">;
4836
4866
  }, z.core.$strip>, z.ZodObject<{
4837
- output_key: z.ZodString;
4838
- local_env_var_key: z.ZodString;
4867
+ mappings: z.ZodArray<z.ZodObject<{
4868
+ output_key: z.ZodString;
4869
+ local_env_var_key: z.ZodString;
4870
+ }, z.core.$strip>>;
4839
4871
  }, z.core.$strip>>]>>;
4840
4872
  }, z.core.$strip>>>;
4841
4873
  typ: z.ZodEnum<{
@@ -378,10 +378,13 @@ export const zNetworkEdgeProps = z.object({
378
378
  export const zRouteEdgeProps = z.object({
379
379
  path: z.optional(z.string())
380
380
  });
381
- export const zOutputEdgeProps = z.object({
381
+ export const zOutputKeyMapping = z.object({
382
382
  output_key: z.string(),
383
383
  local_env_var_key: z.string()
384
384
  });
385
+ export const zOutputEdgeProps = z.object({
386
+ mappings: z.array(zOutputKeyMapping)
387
+ });
385
388
  export const zEdgeType = z.enum([
386
389
  'network',
387
390
  'route',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",