@middlewr/contracts 0.0.39 → 0.0.41
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/cjs/index.d.ts +128 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/links.schema.d.ts +32 -0
- package/dist/cjs/links.schema.d.ts.map +1 -1
- package/dist/cjs/rules.schema.d.ts +16 -0
- package/dist/cjs/rules.schema.d.ts.map +1 -1
- package/dist/esm/index.d.ts +128 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +8 -1
- package/dist/esm/links.schema.d.ts +32 -0
- package/dist/esm/links.schema.d.ts.map +1 -1
- package/dist/esm/rules.schema.d.ts +16 -0
- package/dist/esm/rules.schema.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/rules.schema.ts +8 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -519,6 +519,14 @@ export declare const linksContract: {
|
|
|
519
519
|
}, z.core.$strip>>>;
|
|
520
520
|
}, z.core.$strip>;
|
|
521
521
|
next: z.ZodNullable<z.ZodString>;
|
|
522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
523
|
+
id: z.ZodString;
|
|
524
|
+
type: z.ZodLiteral<"password">;
|
|
525
|
+
position: z.ZodObject<{
|
|
526
|
+
x: z.ZodNumber;
|
|
527
|
+
y: z.ZodNumber;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
next: z.ZodNullable<z.ZodString>;
|
|
522
530
|
}, z.core.$strip>], "type">>;
|
|
523
531
|
}, z.core.$strip>>>;
|
|
524
532
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -651,6 +659,14 @@ export declare const linksContract: {
|
|
|
651
659
|
}, z.core.$strip>>>;
|
|
652
660
|
}, z.core.$strip>;
|
|
653
661
|
next: z.ZodNullable<z.ZodString>;
|
|
662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
type: z.ZodLiteral<"password">;
|
|
665
|
+
position: z.ZodObject<{
|
|
666
|
+
x: z.ZodNumber;
|
|
667
|
+
y: z.ZodNumber;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
next: z.ZodNullable<z.ZodString>;
|
|
654
670
|
}, z.core.$strip>], "type">>;
|
|
655
671
|
}, z.core.$strip>>>;
|
|
656
672
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -826,6 +842,14 @@ export declare const linksContract: {
|
|
|
826
842
|
}, z.core.$strip>>>;
|
|
827
843
|
}, z.core.$strip>;
|
|
828
844
|
next: z.ZodNullable<z.ZodString>;
|
|
845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
846
|
+
id: z.ZodString;
|
|
847
|
+
type: z.ZodLiteral<"password">;
|
|
848
|
+
position: z.ZodObject<{
|
|
849
|
+
x: z.ZodNumber;
|
|
850
|
+
y: z.ZodNumber;
|
|
851
|
+
}, z.core.$strip>;
|
|
852
|
+
next: z.ZodNullable<z.ZodString>;
|
|
829
853
|
}, z.core.$strip>], "type">>;
|
|
830
854
|
}, z.core.$strip>>>;
|
|
831
855
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1007,6 +1031,14 @@ export declare const linksContract: {
|
|
|
1007
1031
|
}, z.core.$strip>>>;
|
|
1008
1032
|
}, z.core.$strip>;
|
|
1009
1033
|
next: z.ZodNullable<z.ZodString>;
|
|
1034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1035
|
+
id: z.ZodString;
|
|
1036
|
+
type: z.ZodLiteral<"password">;
|
|
1037
|
+
position: z.ZodObject<{
|
|
1038
|
+
x: z.ZodNumber;
|
|
1039
|
+
y: z.ZodNumber;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1010
1042
|
}, z.core.$strip>], "type">>;
|
|
1011
1043
|
}, z.core.$strip>>>;
|
|
1012
1044
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1142,6 +1174,14 @@ export declare const linksContract: {
|
|
|
1142
1174
|
}, z.core.$strip>>>;
|
|
1143
1175
|
}, z.core.$strip>;
|
|
1144
1176
|
next: z.ZodNullable<z.ZodString>;
|
|
1177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1178
|
+
id: z.ZodString;
|
|
1179
|
+
type: z.ZodLiteral<"password">;
|
|
1180
|
+
position: z.ZodObject<{
|
|
1181
|
+
x: z.ZodNumber;
|
|
1182
|
+
y: z.ZodNumber;
|
|
1183
|
+
}, z.core.$strip>;
|
|
1184
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1145
1185
|
}, z.core.$strip>], "type">>;
|
|
1146
1186
|
}, z.core.$strip>>>;
|
|
1147
1187
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1274,6 +1314,14 @@ export declare const linksContract: {
|
|
|
1274
1314
|
}, z.core.$strip>>>;
|
|
1275
1315
|
}, z.core.$strip>;
|
|
1276
1316
|
next: z.ZodNullable<z.ZodString>;
|
|
1317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1318
|
+
id: z.ZodString;
|
|
1319
|
+
type: z.ZodLiteral<"password">;
|
|
1320
|
+
position: z.ZodObject<{
|
|
1321
|
+
x: z.ZodNumber;
|
|
1322
|
+
y: z.ZodNumber;
|
|
1323
|
+
}, z.core.$strip>;
|
|
1324
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1277
1325
|
}, z.core.$strip>], "type">>;
|
|
1278
1326
|
}, z.core.$strip>>>;
|
|
1279
1327
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1433,6 +1481,14 @@ export declare const linksContract: {
|
|
|
1433
1481
|
}, z.core.$strip>>>;
|
|
1434
1482
|
}, z.core.$strip>;
|
|
1435
1483
|
next: z.ZodNullable<z.ZodString>;
|
|
1484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1485
|
+
id: z.ZodString;
|
|
1486
|
+
type: z.ZodLiteral<"password">;
|
|
1487
|
+
position: z.ZodObject<{
|
|
1488
|
+
x: z.ZodNumber;
|
|
1489
|
+
y: z.ZodNumber;
|
|
1490
|
+
}, z.core.$strip>;
|
|
1491
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1436
1492
|
}, z.core.$strip>], "type">>;
|
|
1437
1493
|
}, z.core.$strip>>>;
|
|
1438
1494
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1577,6 +1633,14 @@ export declare const linksContract: {
|
|
|
1577
1633
|
}, z.core.$strip>>>;
|
|
1578
1634
|
}, z.core.$strip>;
|
|
1579
1635
|
next: z.ZodNullable<z.ZodString>;
|
|
1636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1637
|
+
id: z.ZodString;
|
|
1638
|
+
type: z.ZodLiteral<"password">;
|
|
1639
|
+
position: z.ZodObject<{
|
|
1640
|
+
x: z.ZodNumber;
|
|
1641
|
+
y: z.ZodNumber;
|
|
1642
|
+
}, z.core.$strip>;
|
|
1643
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1580
1644
|
}, z.core.$strip>], "type">>;
|
|
1581
1645
|
}, z.core.$strip>>>;
|
|
1582
1646
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2359,6 +2423,14 @@ export declare const contract: {
|
|
|
2359
2423
|
}, z.core.$strip>>>;
|
|
2360
2424
|
}, z.core.$strip>;
|
|
2361
2425
|
next: z.ZodNullable<z.ZodString>;
|
|
2426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2427
|
+
id: z.ZodString;
|
|
2428
|
+
type: z.ZodLiteral<"password">;
|
|
2429
|
+
position: z.ZodObject<{
|
|
2430
|
+
x: z.ZodNumber;
|
|
2431
|
+
y: z.ZodNumber;
|
|
2432
|
+
}, z.core.$strip>;
|
|
2433
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2362
2434
|
}, z.core.$strip>], "type">>;
|
|
2363
2435
|
}, z.core.$strip>>>;
|
|
2364
2436
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2491,6 +2563,14 @@ export declare const contract: {
|
|
|
2491
2563
|
}, z.core.$strip>>>;
|
|
2492
2564
|
}, z.core.$strip>;
|
|
2493
2565
|
next: z.ZodNullable<z.ZodString>;
|
|
2566
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2567
|
+
id: z.ZodString;
|
|
2568
|
+
type: z.ZodLiteral<"password">;
|
|
2569
|
+
position: z.ZodObject<{
|
|
2570
|
+
x: z.ZodNumber;
|
|
2571
|
+
y: z.ZodNumber;
|
|
2572
|
+
}, z.core.$strip>;
|
|
2573
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2494
2574
|
}, z.core.$strip>], "type">>;
|
|
2495
2575
|
}, z.core.$strip>>>;
|
|
2496
2576
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2666,6 +2746,14 @@ export declare const contract: {
|
|
|
2666
2746
|
}, z.core.$strip>>>;
|
|
2667
2747
|
}, z.core.$strip>;
|
|
2668
2748
|
next: z.ZodNullable<z.ZodString>;
|
|
2749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2750
|
+
id: z.ZodString;
|
|
2751
|
+
type: z.ZodLiteral<"password">;
|
|
2752
|
+
position: z.ZodObject<{
|
|
2753
|
+
x: z.ZodNumber;
|
|
2754
|
+
y: z.ZodNumber;
|
|
2755
|
+
}, z.core.$strip>;
|
|
2756
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2669
2757
|
}, z.core.$strip>], "type">>;
|
|
2670
2758
|
}, z.core.$strip>>>;
|
|
2671
2759
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2847,6 +2935,14 @@ export declare const contract: {
|
|
|
2847
2935
|
}, z.core.$strip>>>;
|
|
2848
2936
|
}, z.core.$strip>;
|
|
2849
2937
|
next: z.ZodNullable<z.ZodString>;
|
|
2938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2939
|
+
id: z.ZodString;
|
|
2940
|
+
type: z.ZodLiteral<"password">;
|
|
2941
|
+
position: z.ZodObject<{
|
|
2942
|
+
x: z.ZodNumber;
|
|
2943
|
+
y: z.ZodNumber;
|
|
2944
|
+
}, z.core.$strip>;
|
|
2945
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2850
2946
|
}, z.core.$strip>], "type">>;
|
|
2851
2947
|
}, z.core.$strip>>>;
|
|
2852
2948
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2982,6 +3078,14 @@ export declare const contract: {
|
|
|
2982
3078
|
}, z.core.$strip>>>;
|
|
2983
3079
|
}, z.core.$strip>;
|
|
2984
3080
|
next: z.ZodNullable<z.ZodString>;
|
|
3081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
+
id: z.ZodString;
|
|
3083
|
+
type: z.ZodLiteral<"password">;
|
|
3084
|
+
position: z.ZodObject<{
|
|
3085
|
+
x: z.ZodNumber;
|
|
3086
|
+
y: z.ZodNumber;
|
|
3087
|
+
}, z.core.$strip>;
|
|
3088
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2985
3089
|
}, z.core.$strip>], "type">>;
|
|
2986
3090
|
}, z.core.$strip>>>;
|
|
2987
3091
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3114,6 +3218,14 @@ export declare const contract: {
|
|
|
3114
3218
|
}, z.core.$strip>>>;
|
|
3115
3219
|
}, z.core.$strip>;
|
|
3116
3220
|
next: z.ZodNullable<z.ZodString>;
|
|
3221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3222
|
+
id: z.ZodString;
|
|
3223
|
+
type: z.ZodLiteral<"password">;
|
|
3224
|
+
position: z.ZodObject<{
|
|
3225
|
+
x: z.ZodNumber;
|
|
3226
|
+
y: z.ZodNumber;
|
|
3227
|
+
}, z.core.$strip>;
|
|
3228
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3117
3229
|
}, z.core.$strip>], "type">>;
|
|
3118
3230
|
}, z.core.$strip>>>;
|
|
3119
3231
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3273,6 +3385,14 @@ export declare const contract: {
|
|
|
3273
3385
|
}, z.core.$strip>>>;
|
|
3274
3386
|
}, z.core.$strip>;
|
|
3275
3387
|
next: z.ZodNullable<z.ZodString>;
|
|
3388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3389
|
+
id: z.ZodString;
|
|
3390
|
+
type: z.ZodLiteral<"password">;
|
|
3391
|
+
position: z.ZodObject<{
|
|
3392
|
+
x: z.ZodNumber;
|
|
3393
|
+
y: z.ZodNumber;
|
|
3394
|
+
}, z.core.$strip>;
|
|
3395
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3276
3396
|
}, z.core.$strip>], "type">>;
|
|
3277
3397
|
}, z.core.$strip>>>;
|
|
3278
3398
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3417,6 +3537,14 @@ export declare const contract: {
|
|
|
3417
3537
|
}, z.core.$strip>>>;
|
|
3418
3538
|
}, z.core.$strip>;
|
|
3419
3539
|
next: z.ZodNullable<z.ZodString>;
|
|
3540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3541
|
+
id: z.ZodString;
|
|
3542
|
+
type: z.ZodLiteral<"password">;
|
|
3543
|
+
position: z.ZodObject<{
|
|
3544
|
+
x: z.ZodNumber;
|
|
3545
|
+
y: z.ZodNumber;
|
|
3546
|
+
}, z.core.$strip>;
|
|
3547
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3420
3548
|
}, z.core.$strip>], "type">>;
|
|
3421
3549
|
}, z.core.$strip>>>;
|
|
3422
3550
|
tags: z.ZodArray<z.ZodObject<{
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -355,11 +355,18 @@ var TransformNodeSchema = import_zod6.z.object({
|
|
|
355
355
|
}),
|
|
356
356
|
next: import_zod6.z.string().nullable()
|
|
357
357
|
});
|
|
358
|
+
var PasswordNodeSchema = import_zod6.z.object({
|
|
359
|
+
id: import_zod6.z.string(),
|
|
360
|
+
type: import_zod6.z.literal("password"),
|
|
361
|
+
position: PositionSchema,
|
|
362
|
+
next: import_zod6.z.string().nullable()
|
|
363
|
+
});
|
|
358
364
|
var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [
|
|
359
365
|
ConditionNodeSchema,
|
|
360
366
|
SplitNodeSchema,
|
|
361
367
|
DestinationNodeSchema,
|
|
362
|
-
TransformNodeSchema
|
|
368
|
+
TransformNodeSchema,
|
|
369
|
+
PasswordNodeSchema
|
|
363
370
|
]);
|
|
364
371
|
var RuleGraphSchema = import_zod6.z.object({
|
|
365
372
|
entry: import_zod6.z.string(),
|
|
@@ -155,6 +155,14 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
155
155
|
}, z.core.$strip>>>;
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
next: z.ZodNullable<z.ZodString>;
|
|
158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
type: z.ZodLiteral<"password">;
|
|
161
|
+
position: z.ZodObject<{
|
|
162
|
+
x: z.ZodNumber;
|
|
163
|
+
y: z.ZodNumber;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
next: z.ZodNullable<z.ZodString>;
|
|
158
166
|
}, z.core.$strip>], "type">>;
|
|
159
167
|
}, z.core.$strip>>>;
|
|
160
168
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -287,6 +295,14 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
287
295
|
}, z.core.$strip>>>;
|
|
288
296
|
}, z.core.$strip>;
|
|
289
297
|
next: z.ZodNullable<z.ZodString>;
|
|
298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
type: z.ZodLiteral<"password">;
|
|
301
|
+
position: z.ZodObject<{
|
|
302
|
+
x: z.ZodNumber;
|
|
303
|
+
y: z.ZodNumber;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
next: z.ZodNullable<z.ZodString>;
|
|
290
306
|
}, z.core.$strip>], "type">>;
|
|
291
307
|
}, z.core.$strip>>>;
|
|
292
308
|
}, z.core.$strip>;
|
|
@@ -412,6 +428,14 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
412
428
|
}, z.core.$strip>>>;
|
|
413
429
|
}, z.core.$strip>;
|
|
414
430
|
next: z.ZodNullable<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
+
id: z.ZodString;
|
|
433
|
+
type: z.ZodLiteral<"password">;
|
|
434
|
+
position: z.ZodObject<{
|
|
435
|
+
x: z.ZodNumber;
|
|
436
|
+
y: z.ZodNumber;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
next: z.ZodNullable<z.ZodString>;
|
|
415
439
|
}, z.core.$strip>], "type">>;
|
|
416
440
|
}, z.core.$strip>>>;
|
|
417
441
|
}, z.core.$strip>;
|
|
@@ -610,6 +634,14 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
610
634
|
}, z.core.$strip>>>;
|
|
611
635
|
}, z.core.$strip>;
|
|
612
636
|
next: z.ZodNullable<z.ZodString>;
|
|
637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
638
|
+
id: z.ZodString;
|
|
639
|
+
type: z.ZodLiteral<"password">;
|
|
640
|
+
position: z.ZodObject<{
|
|
641
|
+
x: z.ZodNumber;
|
|
642
|
+
y: z.ZodNumber;
|
|
643
|
+
}, z.core.$strip>;
|
|
644
|
+
next: z.ZodNullable<z.ZodString>;
|
|
613
645
|
}, z.core.$strip>], "type">>;
|
|
614
646
|
}, z.core.$strip>>>;
|
|
615
647
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkC5B,CAAC;AAMP,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAyD,CAAC;AAE/F,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
|
|
@@ -71,6 +71,14 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
71
71
|
}, z.core.$strip>>>;
|
|
72
72
|
}, z.core.$strip>;
|
|
73
73
|
next: z.ZodNullable<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
type: z.ZodLiteral<"password">;
|
|
77
|
+
position: z.ZodObject<{
|
|
78
|
+
x: z.ZodNumber;
|
|
79
|
+
y: z.ZodNumber;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
next: z.ZodNullable<z.ZodString>;
|
|
74
82
|
}, z.core.$strip>], "type">;
|
|
75
83
|
export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
|
|
76
84
|
entry: z.ZodString;
|
|
@@ -146,6 +154,14 @@ export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
|
|
|
146
154
|
}, z.core.$strip>>>;
|
|
147
155
|
}, z.core.$strip>;
|
|
148
156
|
next: z.ZodNullable<z.ZodString>;
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
type: z.ZodLiteral<"password">;
|
|
160
|
+
position: z.ZodObject<{
|
|
161
|
+
x: z.ZodNumber;
|
|
162
|
+
y: z.ZodNumber;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
next: z.ZodNullable<z.ZodString>;
|
|
149
165
|
}, z.core.$strip>], "type">>;
|
|
150
166
|
}, z.core.$strip>>;
|
|
151
167
|
//# sourceMappingURL=rules.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwFxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAM9B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASb,CAAC"}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -519,6 +519,14 @@ export declare const linksContract: {
|
|
|
519
519
|
}, z.core.$strip>>>;
|
|
520
520
|
}, z.core.$strip>;
|
|
521
521
|
next: z.ZodNullable<z.ZodString>;
|
|
522
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
523
|
+
id: z.ZodString;
|
|
524
|
+
type: z.ZodLiteral<"password">;
|
|
525
|
+
position: z.ZodObject<{
|
|
526
|
+
x: z.ZodNumber;
|
|
527
|
+
y: z.ZodNumber;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
next: z.ZodNullable<z.ZodString>;
|
|
522
530
|
}, z.core.$strip>], "type">>;
|
|
523
531
|
}, z.core.$strip>>>;
|
|
524
532
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -651,6 +659,14 @@ export declare const linksContract: {
|
|
|
651
659
|
}, z.core.$strip>>>;
|
|
652
660
|
}, z.core.$strip>;
|
|
653
661
|
next: z.ZodNullable<z.ZodString>;
|
|
662
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
663
|
+
id: z.ZodString;
|
|
664
|
+
type: z.ZodLiteral<"password">;
|
|
665
|
+
position: z.ZodObject<{
|
|
666
|
+
x: z.ZodNumber;
|
|
667
|
+
y: z.ZodNumber;
|
|
668
|
+
}, z.core.$strip>;
|
|
669
|
+
next: z.ZodNullable<z.ZodString>;
|
|
654
670
|
}, z.core.$strip>], "type">>;
|
|
655
671
|
}, z.core.$strip>>>;
|
|
656
672
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -826,6 +842,14 @@ export declare const linksContract: {
|
|
|
826
842
|
}, z.core.$strip>>>;
|
|
827
843
|
}, z.core.$strip>;
|
|
828
844
|
next: z.ZodNullable<z.ZodString>;
|
|
845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
846
|
+
id: z.ZodString;
|
|
847
|
+
type: z.ZodLiteral<"password">;
|
|
848
|
+
position: z.ZodObject<{
|
|
849
|
+
x: z.ZodNumber;
|
|
850
|
+
y: z.ZodNumber;
|
|
851
|
+
}, z.core.$strip>;
|
|
852
|
+
next: z.ZodNullable<z.ZodString>;
|
|
829
853
|
}, z.core.$strip>], "type">>;
|
|
830
854
|
}, z.core.$strip>>>;
|
|
831
855
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1007,6 +1031,14 @@ export declare const linksContract: {
|
|
|
1007
1031
|
}, z.core.$strip>>>;
|
|
1008
1032
|
}, z.core.$strip>;
|
|
1009
1033
|
next: z.ZodNullable<z.ZodString>;
|
|
1034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1035
|
+
id: z.ZodString;
|
|
1036
|
+
type: z.ZodLiteral<"password">;
|
|
1037
|
+
position: z.ZodObject<{
|
|
1038
|
+
x: z.ZodNumber;
|
|
1039
|
+
y: z.ZodNumber;
|
|
1040
|
+
}, z.core.$strip>;
|
|
1041
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1010
1042
|
}, z.core.$strip>], "type">>;
|
|
1011
1043
|
}, z.core.$strip>>>;
|
|
1012
1044
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1142,6 +1174,14 @@ export declare const linksContract: {
|
|
|
1142
1174
|
}, z.core.$strip>>>;
|
|
1143
1175
|
}, z.core.$strip>;
|
|
1144
1176
|
next: z.ZodNullable<z.ZodString>;
|
|
1177
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1178
|
+
id: z.ZodString;
|
|
1179
|
+
type: z.ZodLiteral<"password">;
|
|
1180
|
+
position: z.ZodObject<{
|
|
1181
|
+
x: z.ZodNumber;
|
|
1182
|
+
y: z.ZodNumber;
|
|
1183
|
+
}, z.core.$strip>;
|
|
1184
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1145
1185
|
}, z.core.$strip>], "type">>;
|
|
1146
1186
|
}, z.core.$strip>>>;
|
|
1147
1187
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1274,6 +1314,14 @@ export declare const linksContract: {
|
|
|
1274
1314
|
}, z.core.$strip>>>;
|
|
1275
1315
|
}, z.core.$strip>;
|
|
1276
1316
|
next: z.ZodNullable<z.ZodString>;
|
|
1317
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1318
|
+
id: z.ZodString;
|
|
1319
|
+
type: z.ZodLiteral<"password">;
|
|
1320
|
+
position: z.ZodObject<{
|
|
1321
|
+
x: z.ZodNumber;
|
|
1322
|
+
y: z.ZodNumber;
|
|
1323
|
+
}, z.core.$strip>;
|
|
1324
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1277
1325
|
}, z.core.$strip>], "type">>;
|
|
1278
1326
|
}, z.core.$strip>>>;
|
|
1279
1327
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1433,6 +1481,14 @@ export declare const linksContract: {
|
|
|
1433
1481
|
}, z.core.$strip>>>;
|
|
1434
1482
|
}, z.core.$strip>;
|
|
1435
1483
|
next: z.ZodNullable<z.ZodString>;
|
|
1484
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1485
|
+
id: z.ZodString;
|
|
1486
|
+
type: z.ZodLiteral<"password">;
|
|
1487
|
+
position: z.ZodObject<{
|
|
1488
|
+
x: z.ZodNumber;
|
|
1489
|
+
y: z.ZodNumber;
|
|
1490
|
+
}, z.core.$strip>;
|
|
1491
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1436
1492
|
}, z.core.$strip>], "type">>;
|
|
1437
1493
|
}, z.core.$strip>>>;
|
|
1438
1494
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1577,6 +1633,14 @@ export declare const linksContract: {
|
|
|
1577
1633
|
}, z.core.$strip>>>;
|
|
1578
1634
|
}, z.core.$strip>;
|
|
1579
1635
|
next: z.ZodNullable<z.ZodString>;
|
|
1636
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1637
|
+
id: z.ZodString;
|
|
1638
|
+
type: z.ZodLiteral<"password">;
|
|
1639
|
+
position: z.ZodObject<{
|
|
1640
|
+
x: z.ZodNumber;
|
|
1641
|
+
y: z.ZodNumber;
|
|
1642
|
+
}, z.core.$strip>;
|
|
1643
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1580
1644
|
}, z.core.$strip>], "type">>;
|
|
1581
1645
|
}, z.core.$strip>>>;
|
|
1582
1646
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2359,6 +2423,14 @@ export declare const contract: {
|
|
|
2359
2423
|
}, z.core.$strip>>>;
|
|
2360
2424
|
}, z.core.$strip>;
|
|
2361
2425
|
next: z.ZodNullable<z.ZodString>;
|
|
2426
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2427
|
+
id: z.ZodString;
|
|
2428
|
+
type: z.ZodLiteral<"password">;
|
|
2429
|
+
position: z.ZodObject<{
|
|
2430
|
+
x: z.ZodNumber;
|
|
2431
|
+
y: z.ZodNumber;
|
|
2432
|
+
}, z.core.$strip>;
|
|
2433
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2362
2434
|
}, z.core.$strip>], "type">>;
|
|
2363
2435
|
}, z.core.$strip>>>;
|
|
2364
2436
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -2491,6 +2563,14 @@ export declare const contract: {
|
|
|
2491
2563
|
}, z.core.$strip>>>;
|
|
2492
2564
|
}, z.core.$strip>;
|
|
2493
2565
|
next: z.ZodNullable<z.ZodString>;
|
|
2566
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2567
|
+
id: z.ZodString;
|
|
2568
|
+
type: z.ZodLiteral<"password">;
|
|
2569
|
+
position: z.ZodObject<{
|
|
2570
|
+
x: z.ZodNumber;
|
|
2571
|
+
y: z.ZodNumber;
|
|
2572
|
+
}, z.core.$strip>;
|
|
2573
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2494
2574
|
}, z.core.$strip>], "type">>;
|
|
2495
2575
|
}, z.core.$strip>>>;
|
|
2496
2576
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2666,6 +2746,14 @@ export declare const contract: {
|
|
|
2666
2746
|
}, z.core.$strip>>>;
|
|
2667
2747
|
}, z.core.$strip>;
|
|
2668
2748
|
next: z.ZodNullable<z.ZodString>;
|
|
2749
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2750
|
+
id: z.ZodString;
|
|
2751
|
+
type: z.ZodLiteral<"password">;
|
|
2752
|
+
position: z.ZodObject<{
|
|
2753
|
+
x: z.ZodNumber;
|
|
2754
|
+
y: z.ZodNumber;
|
|
2755
|
+
}, z.core.$strip>;
|
|
2756
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2669
2757
|
}, z.core.$strip>], "type">>;
|
|
2670
2758
|
}, z.core.$strip>>>;
|
|
2671
2759
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2847,6 +2935,14 @@ export declare const contract: {
|
|
|
2847
2935
|
}, z.core.$strip>>>;
|
|
2848
2936
|
}, z.core.$strip>;
|
|
2849
2937
|
next: z.ZodNullable<z.ZodString>;
|
|
2938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2939
|
+
id: z.ZodString;
|
|
2940
|
+
type: z.ZodLiteral<"password">;
|
|
2941
|
+
position: z.ZodObject<{
|
|
2942
|
+
x: z.ZodNumber;
|
|
2943
|
+
y: z.ZodNumber;
|
|
2944
|
+
}, z.core.$strip>;
|
|
2945
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2850
2946
|
}, z.core.$strip>], "type">>;
|
|
2851
2947
|
}, z.core.$strip>>>;
|
|
2852
2948
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2982,6 +3078,14 @@ export declare const contract: {
|
|
|
2982
3078
|
}, z.core.$strip>>>;
|
|
2983
3079
|
}, z.core.$strip>;
|
|
2984
3080
|
next: z.ZodNullable<z.ZodString>;
|
|
3081
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
+
id: z.ZodString;
|
|
3083
|
+
type: z.ZodLiteral<"password">;
|
|
3084
|
+
position: z.ZodObject<{
|
|
3085
|
+
x: z.ZodNumber;
|
|
3086
|
+
y: z.ZodNumber;
|
|
3087
|
+
}, z.core.$strip>;
|
|
3088
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2985
3089
|
}, z.core.$strip>], "type">>;
|
|
2986
3090
|
}, z.core.$strip>>>;
|
|
2987
3091
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3114,6 +3218,14 @@ export declare const contract: {
|
|
|
3114
3218
|
}, z.core.$strip>>>;
|
|
3115
3219
|
}, z.core.$strip>;
|
|
3116
3220
|
next: z.ZodNullable<z.ZodString>;
|
|
3221
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3222
|
+
id: z.ZodString;
|
|
3223
|
+
type: z.ZodLiteral<"password">;
|
|
3224
|
+
position: z.ZodObject<{
|
|
3225
|
+
x: z.ZodNumber;
|
|
3226
|
+
y: z.ZodNumber;
|
|
3227
|
+
}, z.core.$strip>;
|
|
3228
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3117
3229
|
}, z.core.$strip>], "type">>;
|
|
3118
3230
|
}, z.core.$strip>>>;
|
|
3119
3231
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3273,6 +3385,14 @@ export declare const contract: {
|
|
|
3273
3385
|
}, z.core.$strip>>>;
|
|
3274
3386
|
}, z.core.$strip>;
|
|
3275
3387
|
next: z.ZodNullable<z.ZodString>;
|
|
3388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3389
|
+
id: z.ZodString;
|
|
3390
|
+
type: z.ZodLiteral<"password">;
|
|
3391
|
+
position: z.ZodObject<{
|
|
3392
|
+
x: z.ZodNumber;
|
|
3393
|
+
y: z.ZodNumber;
|
|
3394
|
+
}, z.core.$strip>;
|
|
3395
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3276
3396
|
}, z.core.$strip>], "type">>;
|
|
3277
3397
|
}, z.core.$strip>>>;
|
|
3278
3398
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3417,6 +3537,14 @@ export declare const contract: {
|
|
|
3417
3537
|
}, z.core.$strip>>>;
|
|
3418
3538
|
}, z.core.$strip>;
|
|
3419
3539
|
next: z.ZodNullable<z.ZodString>;
|
|
3540
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3541
|
+
id: z.ZodString;
|
|
3542
|
+
type: z.ZodLiteral<"password">;
|
|
3543
|
+
position: z.ZodObject<{
|
|
3544
|
+
x: z.ZodNumber;
|
|
3545
|
+
y: z.ZodNumber;
|
|
3546
|
+
}, z.core.$strip>;
|
|
3547
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3420
3548
|
}, z.core.$strip>], "type">>;
|
|
3421
3549
|
}, z.core.$strip>>>;
|
|
3422
3550
|
tags: z.ZodArray<z.ZodObject<{
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuDxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AAGpC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU7B,CAAC;AAGF,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYzB,CAAC;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM3B,CAAC;AAGF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAepC,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWpB,CAAC;AAEF,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC;AACvC,MAAM,MAAM,MAAM,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -262,11 +262,18 @@ var TransformNodeSchema = z6.object({
|
|
|
262
262
|
}),
|
|
263
263
|
next: z6.string().nullable()
|
|
264
264
|
});
|
|
265
|
+
var PasswordNodeSchema = z6.object({
|
|
266
|
+
id: z6.string(),
|
|
267
|
+
type: z6.literal("password"),
|
|
268
|
+
position: PositionSchema,
|
|
269
|
+
next: z6.string().nullable()
|
|
270
|
+
});
|
|
265
271
|
var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
|
|
266
272
|
ConditionNodeSchema,
|
|
267
273
|
SplitNodeSchema,
|
|
268
274
|
DestinationNodeSchema,
|
|
269
|
-
TransformNodeSchema
|
|
275
|
+
TransformNodeSchema,
|
|
276
|
+
PasswordNodeSchema
|
|
270
277
|
]);
|
|
271
278
|
var RuleGraphSchema = z6.object({
|
|
272
279
|
entry: z6.string(),
|
|
@@ -155,6 +155,14 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
155
155
|
}, z.core.$strip>>>;
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
next: z.ZodNullable<z.ZodString>;
|
|
158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
type: z.ZodLiteral<"password">;
|
|
161
|
+
position: z.ZodObject<{
|
|
162
|
+
x: z.ZodNumber;
|
|
163
|
+
y: z.ZodNumber;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
next: z.ZodNullable<z.ZodString>;
|
|
158
166
|
}, z.core.$strip>], "type">>;
|
|
159
167
|
}, z.core.$strip>>>;
|
|
160
168
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -287,6 +295,14 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
287
295
|
}, z.core.$strip>>>;
|
|
288
296
|
}, z.core.$strip>;
|
|
289
297
|
next: z.ZodNullable<z.ZodString>;
|
|
298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
299
|
+
id: z.ZodString;
|
|
300
|
+
type: z.ZodLiteral<"password">;
|
|
301
|
+
position: z.ZodObject<{
|
|
302
|
+
x: z.ZodNumber;
|
|
303
|
+
y: z.ZodNumber;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
next: z.ZodNullable<z.ZodString>;
|
|
290
306
|
}, z.core.$strip>], "type">>;
|
|
291
307
|
}, z.core.$strip>>>;
|
|
292
308
|
}, z.core.$strip>;
|
|
@@ -412,6 +428,14 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
412
428
|
}, z.core.$strip>>>;
|
|
413
429
|
}, z.core.$strip>;
|
|
414
430
|
next: z.ZodNullable<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
432
|
+
id: z.ZodString;
|
|
433
|
+
type: z.ZodLiteral<"password">;
|
|
434
|
+
position: z.ZodObject<{
|
|
435
|
+
x: z.ZodNumber;
|
|
436
|
+
y: z.ZodNumber;
|
|
437
|
+
}, z.core.$strip>;
|
|
438
|
+
next: z.ZodNullable<z.ZodString>;
|
|
415
439
|
}, z.core.$strip>], "type">>;
|
|
416
440
|
}, z.core.$strip>>>;
|
|
417
441
|
}, z.core.$strip>;
|
|
@@ -610,6 +634,14 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
610
634
|
}, z.core.$strip>>>;
|
|
611
635
|
}, z.core.$strip>;
|
|
612
636
|
next: z.ZodNullable<z.ZodString>;
|
|
637
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
638
|
+
id: z.ZodString;
|
|
639
|
+
type: z.ZodLiteral<"password">;
|
|
640
|
+
position: z.ZodObject<{
|
|
641
|
+
x: z.ZodNumber;
|
|
642
|
+
y: z.ZodNumber;
|
|
643
|
+
}, z.core.$strip>;
|
|
644
|
+
next: z.ZodNullable<z.ZodString>;
|
|
613
645
|
}, z.core.$strip>], "type">>;
|
|
614
646
|
}, z.core.$strip>>>;
|
|
615
647
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAEH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;iBAW/B,CAAC;AAE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|
73
73
|
next: z.ZodNullable<z.ZodString>;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
75
|
+
id: z.ZodString;
|
|
76
|
+
type: z.ZodLiteral<"password">;
|
|
77
|
+
position: z.ZodObject<{
|
|
78
|
+
x: z.ZodNumber;
|
|
79
|
+
y: z.ZodNumber;
|
|
80
|
+
}, z.core.$strip>;
|
|
81
|
+
next: z.ZodNullable<z.ZodString>;
|
|
74
82
|
}, z.core.$strip>], "type">;
|
|
75
83
|
export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
|
|
76
84
|
entry: z.ZodString;
|
|
@@ -146,6 +154,14 @@ export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
|
|
|
146
154
|
}, z.core.$strip>>>;
|
|
147
155
|
}, z.core.$strip>;
|
|
148
156
|
next: z.ZodNullable<z.ZodString>;
|
|
157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
158
|
+
id: z.ZodString;
|
|
159
|
+
type: z.ZodLiteral<"password">;
|
|
160
|
+
position: z.ZodObject<{
|
|
161
|
+
x: z.ZodNumber;
|
|
162
|
+
y: z.ZodNumber;
|
|
163
|
+
}, z.core.$strip>;
|
|
164
|
+
next: z.ZodNullable<z.ZodString>;
|
|
149
165
|
}, z.core.$strip>], "type">>;
|
|
150
166
|
}, z.core.$strip>>;
|
|
151
167
|
//# sourceMappingURL=rules.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"rules.schema.d.ts","sourceRoot":"","sources":["../../src/rules.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAwFxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAM9B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBASb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@middlewr/contracts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.41",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@orpc/client": "^1.13.5",
|
|
27
27
|
"@orpc/contract": "^1.13.5",
|
|
28
|
-
"esbuild": "
|
|
29
|
-
"typescript": "
|
|
30
|
-
"zod": "
|
|
28
|
+
"esbuild": "catalog:",
|
|
29
|
+
"typescript": "catalog:",
|
|
30
|
+
"zod": "catalog:"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
package/src/rules.schema.ts
CHANGED
|
@@ -79,11 +79,19 @@ const TransformNodeSchema = z.object({
|
|
|
79
79
|
next: z.string().nullable(),
|
|
80
80
|
});
|
|
81
81
|
|
|
82
|
+
const PasswordNodeSchema = z.object({
|
|
83
|
+
id: z.string(),
|
|
84
|
+
type: z.literal('password'),
|
|
85
|
+
position: PositionSchema,
|
|
86
|
+
next: z.string().nullable(),
|
|
87
|
+
});
|
|
88
|
+
|
|
82
89
|
export const RuleGraphNodeSchema = z.discriminatedUnion('type', [
|
|
83
90
|
ConditionNodeSchema,
|
|
84
91
|
SplitNodeSchema,
|
|
85
92
|
DestinationNodeSchema,
|
|
86
93
|
TransformNodeSchema,
|
|
94
|
+
PasswordNodeSchema,
|
|
87
95
|
]);
|
|
88
96
|
|
|
89
97
|
export const RuleGraphSchema = z
|