shoal-web-sdk 0.0.142 → 0.0.143
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.
- package/dist/sdk/types.gen.d.ts +2 -2
- package/dist/sdk/zod.gen.d.ts +18 -18
- package/dist/sdk/zod.gen.js +2 -2
- package/package.json +1 -1
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -311,9 +311,9 @@ export type Edge = {
|
|
|
311
311
|
dst: string;
|
|
312
312
|
typ: EdgeType;
|
|
313
313
|
props?: ({
|
|
314
|
-
typ: '
|
|
314
|
+
typ: 'network';
|
|
315
315
|
} & NetworkEdgeProps) | ({
|
|
316
|
-
typ: '
|
|
316
|
+
typ: 'route';
|
|
317
317
|
} & RouteEdgeProps);
|
|
318
318
|
};
|
|
319
319
|
export type NetworkEdgeProps = {
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -504,11 +504,11 @@ export declare const zEdge: z.ZodObject<{
|
|
|
504
504
|
route: "route";
|
|
505
505
|
}>;
|
|
506
506
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
507
|
-
typ: z.ZodLiteral<"
|
|
507
|
+
typ: z.ZodLiteral<"network">;
|
|
508
508
|
}, z.core.$strip>, z.ZodObject<{
|
|
509
509
|
a: z.ZodOptional<z.ZodString>;
|
|
510
510
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
511
|
-
typ: z.ZodLiteral<"
|
|
511
|
+
typ: z.ZodLiteral<"route">;
|
|
512
512
|
}, z.core.$strip>, z.ZodObject<{
|
|
513
513
|
path: z.ZodOptional<z.ZodString>;
|
|
514
514
|
}, z.core.$strip>>]>>;
|
|
@@ -636,11 +636,11 @@ export declare const zNode: z.ZodObject<{
|
|
|
636
636
|
route: "route";
|
|
637
637
|
}>;
|
|
638
638
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
639
|
-
typ: z.ZodLiteral<"
|
|
639
|
+
typ: z.ZodLiteral<"network">;
|
|
640
640
|
}, z.core.$strip>, z.ZodObject<{
|
|
641
641
|
a: z.ZodOptional<z.ZodString>;
|
|
642
642
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
643
|
-
typ: z.ZodLiteral<"
|
|
643
|
+
typ: z.ZodLiteral<"route">;
|
|
644
644
|
}, z.core.$strip>, z.ZodObject<{
|
|
645
645
|
path: z.ZodOptional<z.ZodString>;
|
|
646
646
|
}, z.core.$strip>>]>>;
|
|
@@ -755,11 +755,11 @@ export declare const zNodes: z.ZodObject<{
|
|
|
755
755
|
route: "route";
|
|
756
756
|
}>;
|
|
757
757
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
758
|
-
typ: z.ZodLiteral<"
|
|
758
|
+
typ: z.ZodLiteral<"network">;
|
|
759
759
|
}, z.core.$strip>, z.ZodObject<{
|
|
760
760
|
a: z.ZodOptional<z.ZodString>;
|
|
761
761
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
762
|
-
typ: z.ZodLiteral<"
|
|
762
|
+
typ: z.ZodLiteral<"route">;
|
|
763
763
|
}, z.core.$strip>, z.ZodObject<{
|
|
764
764
|
path: z.ZodOptional<z.ZodString>;
|
|
765
765
|
}, z.core.$strip>>]>>;
|
|
@@ -876,11 +876,11 @@ export declare const zGraph: z.ZodObject<{
|
|
|
876
876
|
route: "route";
|
|
877
877
|
}>;
|
|
878
878
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
879
|
-
typ: z.ZodLiteral<"
|
|
879
|
+
typ: z.ZodLiteral<"network">;
|
|
880
880
|
}, z.core.$strip>, z.ZodObject<{
|
|
881
881
|
a: z.ZodOptional<z.ZodString>;
|
|
882
882
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
883
|
-
typ: z.ZodLiteral<"
|
|
883
|
+
typ: z.ZodLiteral<"route">;
|
|
884
884
|
}, z.core.$strip>, z.ZodObject<{
|
|
885
885
|
path: z.ZodOptional<z.ZodString>;
|
|
886
886
|
}, z.core.$strip>>]>>;
|
|
@@ -1210,11 +1210,11 @@ export declare const zFetchGraphM2mResponse: z.ZodObject<{
|
|
|
1210
1210
|
route: "route";
|
|
1211
1211
|
}>;
|
|
1212
1212
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1213
|
-
typ: z.ZodLiteral<"
|
|
1213
|
+
typ: z.ZodLiteral<"network">;
|
|
1214
1214
|
}, z.core.$strip>, z.ZodObject<{
|
|
1215
1215
|
a: z.ZodOptional<z.ZodString>;
|
|
1216
1216
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1217
|
-
typ: z.ZodLiteral<"
|
|
1217
|
+
typ: z.ZodLiteral<"route">;
|
|
1218
1218
|
}, z.core.$strip>, z.ZodObject<{
|
|
1219
1219
|
path: z.ZodOptional<z.ZodString>;
|
|
1220
1220
|
}, z.core.$strip>>]>>;
|
|
@@ -1331,11 +1331,11 @@ export declare const zUpdateGraphM2mData: z.ZodObject<{
|
|
|
1331
1331
|
route: "route";
|
|
1332
1332
|
}>;
|
|
1333
1333
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1334
|
-
typ: z.ZodLiteral<"
|
|
1334
|
+
typ: z.ZodLiteral<"network">;
|
|
1335
1335
|
}, z.core.$strip>, z.ZodObject<{
|
|
1336
1336
|
a: z.ZodOptional<z.ZodString>;
|
|
1337
1337
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1338
|
-
typ: z.ZodLiteral<"
|
|
1338
|
+
typ: z.ZodLiteral<"route">;
|
|
1339
1339
|
}, z.core.$strip>, z.ZodObject<{
|
|
1340
1340
|
path: z.ZodOptional<z.ZodString>;
|
|
1341
1341
|
}, z.core.$strip>>]>>;
|
|
@@ -1466,11 +1466,11 @@ export declare const zFetchNodeM2mResponse: z.ZodObject<{
|
|
|
1466
1466
|
route: "route";
|
|
1467
1467
|
}>;
|
|
1468
1468
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
1469
|
-
typ: z.ZodLiteral<"
|
|
1469
|
+
typ: z.ZodLiteral<"network">;
|
|
1470
1470
|
}, z.core.$strip>, z.ZodObject<{
|
|
1471
1471
|
a: z.ZodOptional<z.ZodString>;
|
|
1472
1472
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
1473
|
-
typ: z.ZodLiteral<"
|
|
1473
|
+
typ: z.ZodLiteral<"route">;
|
|
1474
1474
|
}, z.core.$strip>, z.ZodObject<{
|
|
1475
1475
|
path: z.ZodOptional<z.ZodString>;
|
|
1476
1476
|
}, z.core.$strip>>]>>;
|
|
@@ -2311,11 +2311,11 @@ export declare const zGetGraphOverviewResponse: z.ZodObject<{
|
|
|
2311
2311
|
route: "route";
|
|
2312
2312
|
}>;
|
|
2313
2313
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2314
|
-
typ: z.ZodLiteral<"
|
|
2314
|
+
typ: z.ZodLiteral<"network">;
|
|
2315
2315
|
}, z.core.$strip>, z.ZodObject<{
|
|
2316
2316
|
a: z.ZodOptional<z.ZodString>;
|
|
2317
2317
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2318
|
-
typ: z.ZodLiteral<"
|
|
2318
|
+
typ: z.ZodLiteral<"route">;
|
|
2319
2319
|
}, z.core.$strip>, z.ZodObject<{
|
|
2320
2320
|
path: z.ZodOptional<z.ZodString>;
|
|
2321
2321
|
}, z.core.$strip>>]>>;
|
|
@@ -2432,11 +2432,11 @@ export declare const zUpdateGraphStateData: z.ZodObject<{
|
|
|
2432
2432
|
route: "route";
|
|
2433
2433
|
}>;
|
|
2434
2434
|
props: z.ZodOptional<z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
2435
|
-
typ: z.ZodLiteral<"
|
|
2435
|
+
typ: z.ZodLiteral<"network">;
|
|
2436
2436
|
}, z.core.$strip>, z.ZodObject<{
|
|
2437
2437
|
a: z.ZodOptional<z.ZodString>;
|
|
2438
2438
|
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
2439
|
-
typ: z.ZodLiteral<"
|
|
2439
|
+
typ: z.ZodLiteral<"route">;
|
|
2440
2440
|
}, z.core.$strip>, z.ZodObject<{
|
|
2441
2441
|
path: z.ZodOptional<z.ZodString>;
|
|
2442
2442
|
}, z.core.$strip>>]>>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -324,10 +324,10 @@ export const zEdge = z.object({
|
|
|
324
324
|
typ: zEdgeType,
|
|
325
325
|
props: z.optional(z.union([
|
|
326
326
|
z.object({
|
|
327
|
-
typ: z.literal('
|
|
327
|
+
typ: z.literal('network')
|
|
328
328
|
}).and(zNetworkEdgeProps),
|
|
329
329
|
z.object({
|
|
330
|
-
typ: z.literal('
|
|
330
|
+
typ: z.literal('route')
|
|
331
331
|
}).and(zRouteEdgeProps)
|
|
332
332
|
]))
|
|
333
333
|
});
|