shoal-web-sdk 1.0.56 → 1.0.57

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.
@@ -508,7 +508,8 @@ export type NetworkEdgeProps = {
508
508
  a?: string;
509
509
  };
510
510
  export type RouteEdgeProps = {
511
- path?: string;
511
+ path: string;
512
+ replace?: string;
512
513
  };
513
514
  export type OutputKeyMapping = {
514
515
  output_key: string;
@@ -619,7 +619,8 @@ export declare const zNetworkEdgeProps: z.ZodObject<{
619
619
  a: z.ZodOptional<z.ZodString>;
620
620
  }, z.core.$strip>;
621
621
  export declare const zRouteEdgeProps: z.ZodObject<{
622
- path: z.ZodOptional<z.ZodString>;
622
+ path: z.ZodString;
623
+ replace: z.ZodOptional<z.ZodString>;
623
624
  }, z.core.$strip>;
624
625
  export declare const zOutputKeyMapping: z.ZodObject<{
625
626
  output_key: z.ZodString;
@@ -686,7 +687,8 @@ export declare const zEdge: z.ZodObject<{
686
687
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
687
688
  typ: z.ZodLiteral<"route">;
688
689
  }, z.core.$strip>, z.ZodObject<{
689
- path: z.ZodOptional<z.ZodString>;
690
+ path: z.ZodString;
691
+ replace: z.ZodOptional<z.ZodString>;
690
692
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
691
693
  typ: z.ZodLiteral<"output">;
692
694
  }, z.core.$strip>, z.ZodObject<{
@@ -985,7 +987,8 @@ export declare const zNode: z.ZodObject<{
985
987
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
986
988
  typ: z.ZodLiteral<"route">;
987
989
  }, z.core.$strip>, z.ZodObject<{
988
- path: z.ZodOptional<z.ZodString>;
990
+ path: z.ZodString;
991
+ replace: z.ZodOptional<z.ZodString>;
989
992
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
990
993
  typ: z.ZodLiteral<"output">;
991
994
  }, z.core.$strip>, z.ZodObject<{
@@ -1215,7 +1218,8 @@ export declare const zNodes: z.ZodObject<{
1215
1218
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1216
1219
  typ: z.ZodLiteral<"route">;
1217
1220
  }, z.core.$strip>, z.ZodObject<{
1218
- path: z.ZodOptional<z.ZodString>;
1221
+ path: z.ZodString;
1222
+ replace: z.ZodOptional<z.ZodString>;
1219
1223
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1220
1224
  typ: z.ZodLiteral<"output">;
1221
1225
  }, z.core.$strip>, z.ZodObject<{
@@ -1448,7 +1452,8 @@ export declare const zGraph: z.ZodObject<{
1448
1452
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1449
1453
  typ: z.ZodLiteral<"route">;
1450
1454
  }, z.core.$strip>, z.ZodObject<{
1451
- path: z.ZodOptional<z.ZodString>;
1455
+ path: z.ZodString;
1456
+ replace: z.ZodOptional<z.ZodString>;
1452
1457
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1453
1458
  typ: z.ZodLiteral<"output">;
1454
1459
  }, z.core.$strip>, z.ZodObject<{
@@ -1686,7 +1691,8 @@ export declare const zBlueprintDetail: z.ZodObject<{
1686
1691
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1687
1692
  typ: z.ZodLiteral<"route">;
1688
1693
  }, z.core.$strip>, z.ZodObject<{
1689
- path: z.ZodOptional<z.ZodString>;
1694
+ path: z.ZodString;
1695
+ replace: z.ZodOptional<z.ZodString>;
1690
1696
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
1691
1697
  typ: z.ZodLiteral<"output">;
1692
1698
  }, z.core.$strip>, z.ZodObject<{
@@ -2542,7 +2548,8 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
2542
2548
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2543
2549
  typ: z.ZodLiteral<"route">;
2544
2550
  }, z.core.$strip>, z.ZodObject<{
2545
- path: z.ZodOptional<z.ZodString>;
2551
+ path: z.ZodString;
2552
+ replace: z.ZodOptional<z.ZodString>;
2546
2553
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2547
2554
  typ: z.ZodLiteral<"output">;
2548
2555
  }, z.core.$strip>, z.ZodObject<{
@@ -2774,7 +2781,8 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
2774
2781
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2775
2782
  typ: z.ZodLiteral<"route">;
2776
2783
  }, z.core.$strip>, z.ZodObject<{
2777
- path: z.ZodOptional<z.ZodString>;
2784
+ path: z.ZodString;
2785
+ replace: z.ZodOptional<z.ZodString>;
2778
2786
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
2779
2787
  typ: z.ZodLiteral<"output">;
2780
2788
  }, z.core.$strip>, z.ZodObject<{
@@ -3023,7 +3031,8 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
3023
3031
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3024
3032
  typ: z.ZodLiteral<"route">;
3025
3033
  }, z.core.$strip>, z.ZodObject<{
3026
- path: z.ZodOptional<z.ZodString>;
3034
+ path: z.ZodString;
3035
+ replace: z.ZodOptional<z.ZodString>;
3027
3036
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3028
3037
  typ: z.ZodLiteral<"output">;
3029
3038
  }, z.core.$strip>, z.ZodObject<{
@@ -3253,7 +3262,8 @@ export declare const zUpdateNodeM2mData: z.ZodObject<{
3253
3262
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3254
3263
  typ: z.ZodLiteral<"route">;
3255
3264
  }, z.core.$strip>, z.ZodObject<{
3256
- path: z.ZodOptional<z.ZodString>;
3265
+ path: z.ZodString;
3266
+ replace: z.ZodOptional<z.ZodString>;
3257
3267
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3258
3268
  typ: z.ZodLiteral<"output">;
3259
3269
  }, z.core.$strip>, z.ZodObject<{
@@ -3552,7 +3562,8 @@ export declare const zGetBlueprintM2mResponse: z.ZodObject<{
3552
3562
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3553
3563
  typ: z.ZodLiteral<"route">;
3554
3564
  }, z.core.$strip>, z.ZodObject<{
3555
- path: z.ZodOptional<z.ZodString>;
3565
+ path: z.ZodString;
3566
+ replace: z.ZodOptional<z.ZodString>;
3556
3567
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
3557
3568
  typ: z.ZodLiteral<"output">;
3558
3569
  }, z.core.$strip>, z.ZodObject<{
@@ -4443,7 +4454,8 @@ export declare const zPreviewBlueprintResponse: z.ZodObject<{
4443
4454
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4444
4455
  typ: z.ZodLiteral<"route">;
4445
4456
  }, z.core.$strip>, z.ZodObject<{
4446
- path: z.ZodOptional<z.ZodString>;
4457
+ path: z.ZodString;
4458
+ replace: z.ZodOptional<z.ZodString>;
4447
4459
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
4448
4460
  typ: z.ZodLiteral<"output">;
4449
4461
  }, z.core.$strip>, z.ZodObject<{
@@ -5461,7 +5473,8 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
5461
5473
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5462
5474
  typ: z.ZodLiteral<"route">;
5463
5475
  }, z.core.$strip>, z.ZodObject<{
5464
- path: z.ZodOptional<z.ZodString>;
5476
+ path: z.ZodString;
5477
+ replace: z.ZodOptional<z.ZodString>;
5465
5478
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5466
5479
  typ: z.ZodLiteral<"output">;
5467
5480
  }, z.core.$strip>, z.ZodObject<{
@@ -5693,7 +5706,8 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
5693
5706
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5694
5707
  typ: z.ZodLiteral<"route">;
5695
5708
  }, z.core.$strip>, z.ZodObject<{
5696
- path: z.ZodOptional<z.ZodString>;
5709
+ path: z.ZodString;
5710
+ replace: z.ZodOptional<z.ZodString>;
5697
5711
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5698
5712
  typ: z.ZodLiteral<"output">;
5699
5713
  }, z.core.$strip>, z.ZodObject<{
@@ -423,7 +423,8 @@ export const zNetworkEdgeProps = z.object({
423
423
  a: z.optional(z.string())
424
424
  });
425
425
  export const zRouteEdgeProps = z.object({
426
- path: z.optional(z.string())
426
+ path: z.string(),
427
+ replace: z.optional(z.string())
427
428
  });
428
429
  export const zOutputKeyMapping = z.object({
429
430
  output_key: z.string(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shoal-web-sdk",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "build-hooks": "npx tsx tanstack-codegen/generator.ts",