@middlewr/contracts 0.0.44 → 0.0.46
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 +224 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +27 -2
- package/dist/cjs/link-templates.schema.d.ts +32 -0
- package/dist/cjs/link-templates.schema.d.ts.map +1 -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 +224 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +27 -2
- package/dist/esm/link-templates.schema.d.ts +32 -0
- package/dist/esm/link-templates.schema.d.ts.map +1 -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 +1 -1
- package/src/rules.schema.ts +29 -1
package/dist/esm/index.d.ts
CHANGED
|
@@ -484,6 +484,14 @@ export declare const linkTemplatesContract: {
|
|
|
484
484
|
y: z.ZodNumber;
|
|
485
485
|
}, z.core.$strip>;
|
|
486
486
|
next: z.ZodNullable<z.ZodString>;
|
|
487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
488
|
+
id: z.ZodString;
|
|
489
|
+
type: z.ZodLiteral<"entry">;
|
|
490
|
+
position: z.ZodObject<{
|
|
491
|
+
x: z.ZodNumber;
|
|
492
|
+
y: z.ZodNumber;
|
|
493
|
+
}, z.core.$strip>;
|
|
494
|
+
next: z.ZodNullable<z.ZodString>;
|
|
487
495
|
}, z.core.$strip>], "type">>;
|
|
488
496
|
}, z.core.$strip>>>;
|
|
489
497
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -573,6 +581,14 @@ export declare const linkTemplatesContract: {
|
|
|
573
581
|
y: z.ZodNumber;
|
|
574
582
|
}, z.core.$strip>;
|
|
575
583
|
next: z.ZodNullable<z.ZodString>;
|
|
584
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
585
|
+
id: z.ZodString;
|
|
586
|
+
type: z.ZodLiteral<"entry">;
|
|
587
|
+
position: z.ZodObject<{
|
|
588
|
+
x: z.ZodNumber;
|
|
589
|
+
y: z.ZodNumber;
|
|
590
|
+
}, z.core.$strip>;
|
|
591
|
+
next: z.ZodNullable<z.ZodString>;
|
|
576
592
|
}, z.core.$strip>], "type">>;
|
|
577
593
|
}, z.core.$strip>>;
|
|
578
594
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -671,6 +687,14 @@ export declare const linkTemplatesContract: {
|
|
|
671
687
|
y: z.ZodNumber;
|
|
672
688
|
}, z.core.$strip>;
|
|
673
689
|
next: z.ZodNullable<z.ZodString>;
|
|
690
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
691
|
+
id: z.ZodString;
|
|
692
|
+
type: z.ZodLiteral<"entry">;
|
|
693
|
+
position: z.ZodObject<{
|
|
694
|
+
x: z.ZodNumber;
|
|
695
|
+
y: z.ZodNumber;
|
|
696
|
+
}, z.core.$strip>;
|
|
697
|
+
next: z.ZodNullable<z.ZodString>;
|
|
674
698
|
}, z.core.$strip>], "type">>;
|
|
675
699
|
}, z.core.$strip>>;
|
|
676
700
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -771,6 +795,14 @@ export declare const linkTemplatesContract: {
|
|
|
771
795
|
y: z.ZodNumber;
|
|
772
796
|
}, z.core.$strip>;
|
|
773
797
|
next: z.ZodNullable<z.ZodString>;
|
|
798
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
type: z.ZodLiteral<"entry">;
|
|
801
|
+
position: z.ZodObject<{
|
|
802
|
+
x: z.ZodNumber;
|
|
803
|
+
y: z.ZodNumber;
|
|
804
|
+
}, z.core.$strip>;
|
|
805
|
+
next: z.ZodNullable<z.ZodString>;
|
|
774
806
|
}, z.core.$strip>], "type">>;
|
|
775
807
|
}, z.core.$strip>>;
|
|
776
808
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -863,6 +895,14 @@ export declare const linkTemplatesContract: {
|
|
|
863
895
|
y: z.ZodNumber;
|
|
864
896
|
}, z.core.$strip>;
|
|
865
897
|
next: z.ZodNullable<z.ZodString>;
|
|
898
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
899
|
+
id: z.ZodString;
|
|
900
|
+
type: z.ZodLiteral<"entry">;
|
|
901
|
+
position: z.ZodObject<{
|
|
902
|
+
x: z.ZodNumber;
|
|
903
|
+
y: z.ZodNumber;
|
|
904
|
+
}, z.core.$strip>;
|
|
905
|
+
next: z.ZodNullable<z.ZodString>;
|
|
866
906
|
}, z.core.$strip>], "type">>;
|
|
867
907
|
}, z.core.$strip>>;
|
|
868
908
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -952,6 +992,14 @@ export declare const linkTemplatesContract: {
|
|
|
952
992
|
y: z.ZodNumber;
|
|
953
993
|
}, z.core.$strip>;
|
|
954
994
|
next: z.ZodNullable<z.ZodString>;
|
|
995
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
996
|
+
id: z.ZodString;
|
|
997
|
+
type: z.ZodLiteral<"entry">;
|
|
998
|
+
position: z.ZodObject<{
|
|
999
|
+
x: z.ZodNumber;
|
|
1000
|
+
y: z.ZodNumber;
|
|
1001
|
+
}, z.core.$strip>;
|
|
1002
|
+
next: z.ZodNullable<z.ZodString>;
|
|
955
1003
|
}, z.core.$strip>], "type">>;
|
|
956
1004
|
}, z.core.$strip>>;
|
|
957
1005
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -1093,6 +1141,14 @@ export declare const linksContract: {
|
|
|
1093
1141
|
y: z.ZodNumber;
|
|
1094
1142
|
}, z.core.$strip>;
|
|
1095
1143
|
next: z.ZodNullable<z.ZodString>;
|
|
1144
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1145
|
+
id: z.ZodString;
|
|
1146
|
+
type: z.ZodLiteral<"entry">;
|
|
1147
|
+
position: z.ZodObject<{
|
|
1148
|
+
x: z.ZodNumber;
|
|
1149
|
+
y: z.ZodNumber;
|
|
1150
|
+
}, z.core.$strip>;
|
|
1151
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1096
1152
|
}, z.core.$strip>], "type">>;
|
|
1097
1153
|
}, z.core.$strip>>>;
|
|
1098
1154
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1233,6 +1289,14 @@ export declare const linksContract: {
|
|
|
1233
1289
|
y: z.ZodNumber;
|
|
1234
1290
|
}, z.core.$strip>;
|
|
1235
1291
|
next: z.ZodNullable<z.ZodString>;
|
|
1292
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1293
|
+
id: z.ZodString;
|
|
1294
|
+
type: z.ZodLiteral<"entry">;
|
|
1295
|
+
position: z.ZodObject<{
|
|
1296
|
+
x: z.ZodNumber;
|
|
1297
|
+
y: z.ZodNumber;
|
|
1298
|
+
}, z.core.$strip>;
|
|
1299
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1236
1300
|
}, z.core.$strip>], "type">>;
|
|
1237
1301
|
}, z.core.$strip>>>;
|
|
1238
1302
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1416,6 +1480,14 @@ export declare const linksContract: {
|
|
|
1416
1480
|
y: z.ZodNumber;
|
|
1417
1481
|
}, z.core.$strip>;
|
|
1418
1482
|
next: z.ZodNullable<z.ZodString>;
|
|
1483
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1484
|
+
id: z.ZodString;
|
|
1485
|
+
type: z.ZodLiteral<"entry">;
|
|
1486
|
+
position: z.ZodObject<{
|
|
1487
|
+
x: z.ZodNumber;
|
|
1488
|
+
y: z.ZodNumber;
|
|
1489
|
+
}, z.core.$strip>;
|
|
1490
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1419
1491
|
}, z.core.$strip>], "type">>;
|
|
1420
1492
|
}, z.core.$strip>>>;
|
|
1421
1493
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1605,6 +1677,14 @@ export declare const linksContract: {
|
|
|
1605
1677
|
y: z.ZodNumber;
|
|
1606
1678
|
}, z.core.$strip>;
|
|
1607
1679
|
next: z.ZodNullable<z.ZodString>;
|
|
1680
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1681
|
+
id: z.ZodString;
|
|
1682
|
+
type: z.ZodLiteral<"entry">;
|
|
1683
|
+
position: z.ZodObject<{
|
|
1684
|
+
x: z.ZodNumber;
|
|
1685
|
+
y: z.ZodNumber;
|
|
1686
|
+
}, z.core.$strip>;
|
|
1687
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1608
1688
|
}, z.core.$strip>], "type">>;
|
|
1609
1689
|
}, z.core.$strip>>>;
|
|
1610
1690
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -1748,6 +1828,14 @@ export declare const linksContract: {
|
|
|
1748
1828
|
y: z.ZodNumber;
|
|
1749
1829
|
}, z.core.$strip>;
|
|
1750
1830
|
next: z.ZodNullable<z.ZodString>;
|
|
1831
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1832
|
+
id: z.ZodString;
|
|
1833
|
+
type: z.ZodLiteral<"entry">;
|
|
1834
|
+
position: z.ZodObject<{
|
|
1835
|
+
x: z.ZodNumber;
|
|
1836
|
+
y: z.ZodNumber;
|
|
1837
|
+
}, z.core.$strip>;
|
|
1838
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1751
1839
|
}, z.core.$strip>], "type">>;
|
|
1752
1840
|
}, z.core.$strip>>>;
|
|
1753
1841
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -1888,6 +1976,14 @@ export declare const linksContract: {
|
|
|
1888
1976
|
y: z.ZodNumber;
|
|
1889
1977
|
}, z.core.$strip>;
|
|
1890
1978
|
next: z.ZodNullable<z.ZodString>;
|
|
1979
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1980
|
+
id: z.ZodString;
|
|
1981
|
+
type: z.ZodLiteral<"entry">;
|
|
1982
|
+
position: z.ZodObject<{
|
|
1983
|
+
x: z.ZodNumber;
|
|
1984
|
+
y: z.ZodNumber;
|
|
1985
|
+
}, z.core.$strip>;
|
|
1986
|
+
next: z.ZodNullable<z.ZodString>;
|
|
1891
1987
|
}, z.core.$strip>], "type">>;
|
|
1892
1988
|
}, z.core.$strip>>>;
|
|
1893
1989
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2055,6 +2151,14 @@ export declare const linksContract: {
|
|
|
2055
2151
|
y: z.ZodNumber;
|
|
2056
2152
|
}, z.core.$strip>;
|
|
2057
2153
|
next: z.ZodNullable<z.ZodString>;
|
|
2154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2155
|
+
id: z.ZodString;
|
|
2156
|
+
type: z.ZodLiteral<"entry">;
|
|
2157
|
+
position: z.ZodObject<{
|
|
2158
|
+
x: z.ZodNumber;
|
|
2159
|
+
y: z.ZodNumber;
|
|
2160
|
+
}, z.core.$strip>;
|
|
2161
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2058
2162
|
}, z.core.$strip>], "type">>;
|
|
2059
2163
|
}, z.core.$strip>>>;
|
|
2060
2164
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2207,6 +2311,14 @@ export declare const linksContract: {
|
|
|
2207
2311
|
y: z.ZodNumber;
|
|
2208
2312
|
}, z.core.$strip>;
|
|
2209
2313
|
next: z.ZodNullable<z.ZodString>;
|
|
2314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2315
|
+
id: z.ZodString;
|
|
2316
|
+
type: z.ZodLiteral<"entry">;
|
|
2317
|
+
position: z.ZodObject<{
|
|
2318
|
+
x: z.ZodNumber;
|
|
2319
|
+
y: z.ZodNumber;
|
|
2320
|
+
}, z.core.$strip>;
|
|
2321
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2210
2322
|
}, z.core.$strip>], "type">>;
|
|
2211
2323
|
}, z.core.$strip>>>;
|
|
2212
2324
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -2953,6 +3065,14 @@ export declare const contract: {
|
|
|
2953
3065
|
y: z.ZodNumber;
|
|
2954
3066
|
}, z.core.$strip>;
|
|
2955
3067
|
next: z.ZodNullable<z.ZodString>;
|
|
3068
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3069
|
+
id: z.ZodString;
|
|
3070
|
+
type: z.ZodLiteral<"entry">;
|
|
3071
|
+
position: z.ZodObject<{
|
|
3072
|
+
x: z.ZodNumber;
|
|
3073
|
+
y: z.ZodNumber;
|
|
3074
|
+
}, z.core.$strip>;
|
|
3075
|
+
next: z.ZodNullable<z.ZodString>;
|
|
2956
3076
|
}, z.core.$strip>], "type">>;
|
|
2957
3077
|
}, z.core.$strip>>>;
|
|
2958
3078
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3042,6 +3162,14 @@ export declare const contract: {
|
|
|
3042
3162
|
y: z.ZodNumber;
|
|
3043
3163
|
}, z.core.$strip>;
|
|
3044
3164
|
next: z.ZodNullable<z.ZodString>;
|
|
3165
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3166
|
+
id: z.ZodString;
|
|
3167
|
+
type: z.ZodLiteral<"entry">;
|
|
3168
|
+
position: z.ZodObject<{
|
|
3169
|
+
x: z.ZodNumber;
|
|
3170
|
+
y: z.ZodNumber;
|
|
3171
|
+
}, z.core.$strip>;
|
|
3172
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3045
3173
|
}, z.core.$strip>], "type">>;
|
|
3046
3174
|
}, z.core.$strip>>;
|
|
3047
3175
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -3140,6 +3268,14 @@ export declare const contract: {
|
|
|
3140
3268
|
y: z.ZodNumber;
|
|
3141
3269
|
}, z.core.$strip>;
|
|
3142
3270
|
next: z.ZodNullable<z.ZodString>;
|
|
3271
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3272
|
+
id: z.ZodString;
|
|
3273
|
+
type: z.ZodLiteral<"entry">;
|
|
3274
|
+
position: z.ZodObject<{
|
|
3275
|
+
x: z.ZodNumber;
|
|
3276
|
+
y: z.ZodNumber;
|
|
3277
|
+
}, z.core.$strip>;
|
|
3278
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3143
3279
|
}, z.core.$strip>], "type">>;
|
|
3144
3280
|
}, z.core.$strip>>;
|
|
3145
3281
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -3240,6 +3376,14 @@ export declare const contract: {
|
|
|
3240
3376
|
y: z.ZodNumber;
|
|
3241
3377
|
}, z.core.$strip>;
|
|
3242
3378
|
next: z.ZodNullable<z.ZodString>;
|
|
3379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3380
|
+
id: z.ZodString;
|
|
3381
|
+
type: z.ZodLiteral<"entry">;
|
|
3382
|
+
position: z.ZodObject<{
|
|
3383
|
+
x: z.ZodNumber;
|
|
3384
|
+
y: z.ZodNumber;
|
|
3385
|
+
}, z.core.$strip>;
|
|
3386
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3243
3387
|
}, z.core.$strip>], "type">>;
|
|
3244
3388
|
}, z.core.$strip>>;
|
|
3245
3389
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -3332,6 +3476,14 @@ export declare const contract: {
|
|
|
3332
3476
|
y: z.ZodNumber;
|
|
3333
3477
|
}, z.core.$strip>;
|
|
3334
3478
|
next: z.ZodNullable<z.ZodString>;
|
|
3479
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3480
|
+
id: z.ZodString;
|
|
3481
|
+
type: z.ZodLiteral<"entry">;
|
|
3482
|
+
position: z.ZodObject<{
|
|
3483
|
+
x: z.ZodNumber;
|
|
3484
|
+
y: z.ZodNumber;
|
|
3485
|
+
}, z.core.$strip>;
|
|
3486
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3335
3487
|
}, z.core.$strip>], "type">>;
|
|
3336
3488
|
}, z.core.$strip>>;
|
|
3337
3489
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3421,6 +3573,14 @@ export declare const contract: {
|
|
|
3421
3573
|
y: z.ZodNumber;
|
|
3422
3574
|
}, z.core.$strip>;
|
|
3423
3575
|
next: z.ZodNullable<z.ZodString>;
|
|
3576
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3577
|
+
id: z.ZodString;
|
|
3578
|
+
type: z.ZodLiteral<"entry">;
|
|
3579
|
+
position: z.ZodObject<{
|
|
3580
|
+
x: z.ZodNumber;
|
|
3581
|
+
y: z.ZodNumber;
|
|
3582
|
+
}, z.core.$strip>;
|
|
3583
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3424
3584
|
}, z.core.$strip>], "type">>;
|
|
3425
3585
|
}, z.core.$strip>>;
|
|
3426
3586
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -3562,6 +3722,14 @@ export declare const contract: {
|
|
|
3562
3722
|
y: z.ZodNumber;
|
|
3563
3723
|
}, z.core.$strip>;
|
|
3564
3724
|
next: z.ZodNullable<z.ZodString>;
|
|
3725
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3726
|
+
id: z.ZodString;
|
|
3727
|
+
type: z.ZodLiteral<"entry">;
|
|
3728
|
+
position: z.ZodObject<{
|
|
3729
|
+
x: z.ZodNumber;
|
|
3730
|
+
y: z.ZodNumber;
|
|
3731
|
+
}, z.core.$strip>;
|
|
3732
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3565
3733
|
}, z.core.$strip>], "type">>;
|
|
3566
3734
|
}, z.core.$strip>>>;
|
|
3567
3735
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -3702,6 +3870,14 @@ export declare const contract: {
|
|
|
3702
3870
|
y: z.ZodNumber;
|
|
3703
3871
|
}, z.core.$strip>;
|
|
3704
3872
|
next: z.ZodNullable<z.ZodString>;
|
|
3873
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3874
|
+
id: z.ZodString;
|
|
3875
|
+
type: z.ZodLiteral<"entry">;
|
|
3876
|
+
position: z.ZodObject<{
|
|
3877
|
+
x: z.ZodNumber;
|
|
3878
|
+
y: z.ZodNumber;
|
|
3879
|
+
}, z.core.$strip>;
|
|
3880
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3705
3881
|
}, z.core.$strip>], "type">>;
|
|
3706
3882
|
}, z.core.$strip>>>;
|
|
3707
3883
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -3885,6 +4061,14 @@ export declare const contract: {
|
|
|
3885
4061
|
y: z.ZodNumber;
|
|
3886
4062
|
}, z.core.$strip>;
|
|
3887
4063
|
next: z.ZodNullable<z.ZodString>;
|
|
4064
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4065
|
+
id: z.ZodString;
|
|
4066
|
+
type: z.ZodLiteral<"entry">;
|
|
4067
|
+
position: z.ZodObject<{
|
|
4068
|
+
x: z.ZodNumber;
|
|
4069
|
+
y: z.ZodNumber;
|
|
4070
|
+
}, z.core.$strip>;
|
|
4071
|
+
next: z.ZodNullable<z.ZodString>;
|
|
3888
4072
|
}, z.core.$strip>], "type">>;
|
|
3889
4073
|
}, z.core.$strip>>>;
|
|
3890
4074
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -4074,6 +4258,14 @@ export declare const contract: {
|
|
|
4074
4258
|
y: z.ZodNumber;
|
|
4075
4259
|
}, z.core.$strip>;
|
|
4076
4260
|
next: z.ZodNullable<z.ZodString>;
|
|
4261
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4262
|
+
id: z.ZodString;
|
|
4263
|
+
type: z.ZodLiteral<"entry">;
|
|
4264
|
+
position: z.ZodObject<{
|
|
4265
|
+
x: z.ZodNumber;
|
|
4266
|
+
y: z.ZodNumber;
|
|
4267
|
+
}, z.core.$strip>;
|
|
4268
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4077
4269
|
}, z.core.$strip>], "type">>;
|
|
4078
4270
|
}, z.core.$strip>>>;
|
|
4079
4271
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -4217,6 +4409,14 @@ export declare const contract: {
|
|
|
4217
4409
|
y: z.ZodNumber;
|
|
4218
4410
|
}, z.core.$strip>;
|
|
4219
4411
|
next: z.ZodNullable<z.ZodString>;
|
|
4412
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4413
|
+
id: z.ZodString;
|
|
4414
|
+
type: z.ZodLiteral<"entry">;
|
|
4415
|
+
position: z.ZodObject<{
|
|
4416
|
+
x: z.ZodNumber;
|
|
4417
|
+
y: z.ZodNumber;
|
|
4418
|
+
}, z.core.$strip>;
|
|
4419
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4220
4420
|
}, z.core.$strip>], "type">>;
|
|
4221
4421
|
}, z.core.$strip>>>;
|
|
4222
4422
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -4357,6 +4557,14 @@ export declare const contract: {
|
|
|
4357
4557
|
y: z.ZodNumber;
|
|
4358
4558
|
}, z.core.$strip>;
|
|
4359
4559
|
next: z.ZodNullable<z.ZodString>;
|
|
4560
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4561
|
+
id: z.ZodString;
|
|
4562
|
+
type: z.ZodLiteral<"entry">;
|
|
4563
|
+
position: z.ZodObject<{
|
|
4564
|
+
x: z.ZodNumber;
|
|
4565
|
+
y: z.ZodNumber;
|
|
4566
|
+
}, z.core.$strip>;
|
|
4567
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4360
4568
|
}, z.core.$strip>], "type">>;
|
|
4361
4569
|
}, z.core.$strip>>>;
|
|
4362
4570
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -4524,6 +4732,14 @@ export declare const contract: {
|
|
|
4524
4732
|
y: z.ZodNumber;
|
|
4525
4733
|
}, z.core.$strip>;
|
|
4526
4734
|
next: z.ZodNullable<z.ZodString>;
|
|
4735
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4736
|
+
id: z.ZodString;
|
|
4737
|
+
type: z.ZodLiteral<"entry">;
|
|
4738
|
+
position: z.ZodObject<{
|
|
4739
|
+
x: z.ZodNumber;
|
|
4740
|
+
y: z.ZodNumber;
|
|
4741
|
+
}, z.core.$strip>;
|
|
4742
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4527
4743
|
}, z.core.$strip>], "type">>;
|
|
4528
4744
|
}, z.core.$strip>>>;
|
|
4529
4745
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -4676,6 +4892,14 @@ export declare const contract: {
|
|
|
4676
4892
|
y: z.ZodNumber;
|
|
4677
4893
|
}, z.core.$strip>;
|
|
4678
4894
|
next: z.ZodNullable<z.ZodString>;
|
|
4895
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4896
|
+
id: z.ZodString;
|
|
4897
|
+
type: z.ZodLiteral<"entry">;
|
|
4898
|
+
position: z.ZodObject<{
|
|
4899
|
+
x: z.ZodNumber;
|
|
4900
|
+
y: z.ZodNumber;
|
|
4901
|
+
}, z.core.$strip>;
|
|
4902
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4679
4903
|
}, z.core.$strip>], "type">>;
|
|
4680
4904
|
}, z.core.$strip>>>;
|
|
4681
4905
|
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;AA+DxB,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAE9B,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYpB,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
|
@@ -272,12 +272,19 @@ var PasswordNodeSchema = z6.object({
|
|
|
272
272
|
position: PositionSchema,
|
|
273
273
|
next: z6.string().nullable()
|
|
274
274
|
});
|
|
275
|
+
var EntryNodeSchema = z6.object({
|
|
276
|
+
id: z6.string(),
|
|
277
|
+
type: z6.literal("entry"),
|
|
278
|
+
position: PositionSchema,
|
|
279
|
+
next: z6.string().nullable()
|
|
280
|
+
});
|
|
275
281
|
var RuleGraphNodeSchema = z6.discriminatedUnion("type", [
|
|
276
282
|
ConditionNodeSchema,
|
|
277
283
|
SplitNodeSchema,
|
|
278
284
|
DestinationNodeSchema,
|
|
279
285
|
TransformNodeSchema,
|
|
280
|
-
PasswordNodeSchema
|
|
286
|
+
PasswordNodeSchema,
|
|
287
|
+
EntryNodeSchema
|
|
281
288
|
]);
|
|
282
289
|
var RuleGraphSchema = z6.object({
|
|
283
290
|
entry: z6.string(),
|
|
@@ -285,7 +292,25 @@ var RuleGraphSchema = z6.object({
|
|
|
285
292
|
}).refine((data) => data.nodes[data.entry] !== void 0, {
|
|
286
293
|
message: "Entry node must reference an existing node in the graph",
|
|
287
294
|
path: ["entry"]
|
|
288
|
-
})
|
|
295
|
+
}).refine(
|
|
296
|
+
(data) => {
|
|
297
|
+
const entryNode = data.nodes[data.entry];
|
|
298
|
+
return entryNode !== void 0 && entryNode.type === "entry";
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
message: 'Entry must point to a node of type "entry"',
|
|
302
|
+
path: ["entry"]
|
|
303
|
+
}
|
|
304
|
+
).refine(
|
|
305
|
+
(data) => {
|
|
306
|
+
const entryNodes = Object.values(data.nodes).filter((n) => n.type === "entry");
|
|
307
|
+
return entryNodes.length === 1;
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
message: "Graph must contain exactly one entry node",
|
|
311
|
+
path: ["nodes"]
|
|
312
|
+
}
|
|
313
|
+
);
|
|
289
314
|
|
|
290
315
|
// src/link-templates.schema.ts
|
|
291
316
|
var LinkTemplateSchema = z7.object({
|
|
@@ -86,6 +86,14 @@ export declare const LinkTemplateSchema: z.ZodObject<{
|
|
|
86
86
|
y: z.ZodNumber;
|
|
87
87
|
}, z.core.$strip>;
|
|
88
88
|
next: z.ZodNullable<z.ZodString>;
|
|
89
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
90
|
+
id: z.ZodString;
|
|
91
|
+
type: z.ZodLiteral<"entry">;
|
|
92
|
+
position: z.ZodObject<{
|
|
93
|
+
x: z.ZodNumber;
|
|
94
|
+
y: z.ZodNumber;
|
|
95
|
+
}, z.core.$strip>;
|
|
96
|
+
next: z.ZodNullable<z.ZodString>;
|
|
89
97
|
}, z.core.$strip>], "type">>;
|
|
90
98
|
}, z.core.$strip>>;
|
|
91
99
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -176,6 +184,14 @@ export declare const CreateLinkTemplateInputSchema: z.ZodObject<{
|
|
|
176
184
|
y: z.ZodNumber;
|
|
177
185
|
}, z.core.$strip>;
|
|
178
186
|
next: z.ZodNullable<z.ZodString>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
id: z.ZodString;
|
|
189
|
+
type: z.ZodLiteral<"entry">;
|
|
190
|
+
position: z.ZodObject<{
|
|
191
|
+
x: z.ZodNumber;
|
|
192
|
+
y: z.ZodNumber;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
next: z.ZodNullable<z.ZodString>;
|
|
179
195
|
}, z.core.$strip>], "type">>;
|
|
180
196
|
}, z.core.$strip>>>;
|
|
181
197
|
}, z.core.$strip>;
|
|
@@ -264,6 +280,14 @@ export declare const UpdateLinkTemplateInputSchema: z.ZodObject<{
|
|
|
264
280
|
y: z.ZodNumber;
|
|
265
281
|
}, z.core.$strip>;
|
|
266
282
|
next: z.ZodNullable<z.ZodString>;
|
|
283
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
284
|
+
id: z.ZodString;
|
|
285
|
+
type: z.ZodLiteral<"entry">;
|
|
286
|
+
position: z.ZodObject<{
|
|
287
|
+
x: z.ZodNumber;
|
|
288
|
+
y: z.ZodNumber;
|
|
289
|
+
}, z.core.$strip>;
|
|
290
|
+
next: z.ZodNullable<z.ZodString>;
|
|
267
291
|
}, z.core.$strip>], "type">>;
|
|
268
292
|
}, z.core.$strip>>;
|
|
269
293
|
}, z.core.$strip>;
|
|
@@ -360,6 +384,14 @@ export declare const PaginatedLinkTemplatesSchema: z.ZodObject<{
|
|
|
360
384
|
y: z.ZodNumber;
|
|
361
385
|
}, z.core.$strip>;
|
|
362
386
|
next: z.ZodNullable<z.ZodString>;
|
|
387
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
388
|
+
id: z.ZodString;
|
|
389
|
+
type: z.ZodLiteral<"entry">;
|
|
390
|
+
position: z.ZodObject<{
|
|
391
|
+
x: z.ZodNumber;
|
|
392
|
+
y: z.ZodNumber;
|
|
393
|
+
}, z.core.$strip>;
|
|
394
|
+
next: z.ZodNullable<z.ZodString>;
|
|
363
395
|
}, z.core.$strip>], "type">>;
|
|
364
396
|
}, z.core.$strip>>;
|
|
365
397
|
created_at: z.ZodCoercedDate<unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link-templates.schema.d.ts","sourceRoot":"","sources":["../../src/link-templates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"link-templates.schema.d.ts","sourceRoot":"","sources":["../../src/link-templates.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQ7B,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAIxC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;iBAIpC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAMvC,CAAC"}
|
|
@@ -163,6 +163,14 @@ export declare const LinkSchema: z.ZodObject<{
|
|
|
163
163
|
y: z.ZodNumber;
|
|
164
164
|
}, z.core.$strip>;
|
|
165
165
|
next: z.ZodNullable<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
type: z.ZodLiteral<"entry">;
|
|
169
|
+
position: z.ZodObject<{
|
|
170
|
+
x: z.ZodNumber;
|
|
171
|
+
y: z.ZodNumber;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
next: z.ZodNullable<z.ZodString>;
|
|
166
174
|
}, z.core.$strip>], "type">>;
|
|
167
175
|
}, z.core.$strip>>>;
|
|
168
176
|
tags: z.ZodArray<z.ZodObject<{
|
|
@@ -303,6 +311,14 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
|
|
|
303
311
|
y: z.ZodNumber;
|
|
304
312
|
}, z.core.$strip>;
|
|
305
313
|
next: z.ZodNullable<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
315
|
+
id: z.ZodString;
|
|
316
|
+
type: z.ZodLiteral<"entry">;
|
|
317
|
+
position: z.ZodObject<{
|
|
318
|
+
x: z.ZodNumber;
|
|
319
|
+
y: z.ZodNumber;
|
|
320
|
+
}, z.core.$strip>;
|
|
321
|
+
next: z.ZodNullable<z.ZodString>;
|
|
306
322
|
}, z.core.$strip>], "type">>;
|
|
307
323
|
}, z.core.$strip>>>;
|
|
308
324
|
}, z.core.$strip>;
|
|
@@ -436,6 +452,14 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
|
|
|
436
452
|
y: z.ZodNumber;
|
|
437
453
|
}, z.core.$strip>;
|
|
438
454
|
next: z.ZodNullable<z.ZodString>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
id: z.ZodString;
|
|
457
|
+
type: z.ZodLiteral<"entry">;
|
|
458
|
+
position: z.ZodObject<{
|
|
459
|
+
x: z.ZodNumber;
|
|
460
|
+
y: z.ZodNumber;
|
|
461
|
+
}, z.core.$strip>;
|
|
462
|
+
next: z.ZodNullable<z.ZodString>;
|
|
439
463
|
}, z.core.$strip>], "type">>;
|
|
440
464
|
}, z.core.$strip>>>;
|
|
441
465
|
}, z.core.$strip>;
|
|
@@ -642,6 +666,14 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
|
|
|
642
666
|
y: z.ZodNumber;
|
|
643
667
|
}, z.core.$strip>;
|
|
644
668
|
next: z.ZodNullable<z.ZodString>;
|
|
669
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
670
|
+
id: z.ZodString;
|
|
671
|
+
type: z.ZodLiteral<"entry">;
|
|
672
|
+
position: z.ZodObject<{
|
|
673
|
+
x: z.ZodNumber;
|
|
674
|
+
y: z.ZodNumber;
|
|
675
|
+
}, z.core.$strip>;
|
|
676
|
+
next: z.ZodNullable<z.ZodString>;
|
|
645
677
|
}, z.core.$strip>], "type">>;
|
|
646
678
|
}, z.core.$strip>>>;
|
|
647
679
|
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"}
|
|
@@ -79,6 +79,14 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
79
79
|
y: z.ZodNumber;
|
|
80
80
|
}, z.core.$strip>;
|
|
81
81
|
next: z.ZodNullable<z.ZodString>;
|
|
82
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
83
|
+
id: z.ZodString;
|
|
84
|
+
type: z.ZodLiteral<"entry">;
|
|
85
|
+
position: z.ZodObject<{
|
|
86
|
+
x: z.ZodNumber;
|
|
87
|
+
y: z.ZodNumber;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
next: z.ZodNullable<z.ZodString>;
|
|
82
90
|
}, z.core.$strip>], "type">;
|
|
83
91
|
export declare const RuleGraphSchema: z.ZodObject<{
|
|
84
92
|
entry: z.ZodString;
|
|
@@ -162,6 +170,14 @@ export declare const RuleGraphSchema: z.ZodObject<{
|
|
|
162
170
|
y: z.ZodNumber;
|
|
163
171
|
}, z.core.$strip>;
|
|
164
172
|
next: z.ZodNullable<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
+
id: z.ZodString;
|
|
175
|
+
type: z.ZodLiteral<"entry">;
|
|
176
|
+
position: z.ZodObject<{
|
|
177
|
+
x: z.ZodNumber;
|
|
178
|
+
y: z.ZodNumber;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
next: z.ZodNullable<z.ZodString>;
|
|
165
181
|
}, z.core.$strip>], "type">>;
|
|
166
182
|
}, z.core.$strip>;
|
|
167
183
|
//# 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;AA+FxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAO9B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BvB,CAAC"}
|