@middlewr/contracts 0.0.28 → 0.0.29

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.
@@ -431,6 +431,33 @@ export declare const linksContract: {
431
431
  y: z.ZodNumber;
432
432
  }, z.core.$strip>;
433
433
  url: z.ZodString;
434
+ }, z.core.$strip>, z.ZodObject<{
435
+ id: z.ZodString;
436
+ type: z.ZodLiteral<"transform">;
437
+ position: z.ZodObject<{
438
+ x: z.ZodNumber;
439
+ y: z.ZodNumber;
440
+ }, z.core.$strip>;
441
+ transforms: z.ZodObject<{
442
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
443
+ key: z.ZodString;
444
+ value: z.ZodString;
445
+ mode: z.ZodEnum<{
446
+ set: "set";
447
+ append: "append";
448
+ }>;
449
+ }, z.core.$strip>>>;
450
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
451
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
452
+ key: z.ZodString;
453
+ value: z.ZodString;
454
+ mode: z.ZodEnum<{
455
+ set: "set";
456
+ append: "append";
457
+ }>;
458
+ }, z.core.$strip>>>;
459
+ }, z.core.$strip>;
460
+ next: z.ZodNullable<z.ZodString>;
434
461
  }, z.core.$strip>], "type">>;
435
462
  }, z.core.$strip>>>;
436
463
  }, z.core.$strip>, z.ZodObject<{
@@ -533,6 +560,33 @@ export declare const linksContract: {
533
560
  y: z.ZodNumber;
534
561
  }, z.core.$strip>;
535
562
  url: z.ZodString;
563
+ }, z.core.$strip>, z.ZodObject<{
564
+ id: z.ZodString;
565
+ type: z.ZodLiteral<"transform">;
566
+ position: z.ZodObject<{
567
+ x: z.ZodNumber;
568
+ y: z.ZodNumber;
569
+ }, z.core.$strip>;
570
+ transforms: z.ZodObject<{
571
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
572
+ key: z.ZodString;
573
+ value: z.ZodString;
574
+ mode: z.ZodEnum<{
575
+ set: "set";
576
+ append: "append";
577
+ }>;
578
+ }, z.core.$strip>>>;
579
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
580
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
+ key: z.ZodString;
582
+ value: z.ZodString;
583
+ mode: z.ZodEnum<{
584
+ set: "set";
585
+ append: "append";
586
+ }>;
587
+ }, z.core.$strip>>>;
588
+ }, z.core.$strip>;
589
+ next: z.ZodNullable<z.ZodString>;
536
590
  }, z.core.$strip>], "type">>;
537
591
  }, z.core.$strip>>>;
538
592
  tags: z.ZodArray<z.ZodObject<{
@@ -678,6 +732,33 @@ export declare const linksContract: {
678
732
  y: z.ZodNumber;
679
733
  }, z.core.$strip>;
680
734
  url: z.ZodString;
735
+ }, z.core.$strip>, z.ZodObject<{
736
+ id: z.ZodString;
737
+ type: z.ZodLiteral<"transform">;
738
+ position: z.ZodObject<{
739
+ x: z.ZodNumber;
740
+ y: z.ZodNumber;
741
+ }, z.core.$strip>;
742
+ transforms: z.ZodObject<{
743
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
744
+ key: z.ZodString;
745
+ value: z.ZodString;
746
+ mode: z.ZodEnum<{
747
+ set: "set";
748
+ append: "append";
749
+ }>;
750
+ }, z.core.$strip>>>;
751
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
752
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
753
+ key: z.ZodString;
754
+ value: z.ZodString;
755
+ mode: z.ZodEnum<{
756
+ set: "set";
757
+ append: "append";
758
+ }>;
759
+ }, z.core.$strip>>>;
760
+ }, z.core.$strip>;
761
+ next: z.ZodNullable<z.ZodString>;
681
762
  }, z.core.$strip>], "type">>;
682
763
  }, z.core.$strip>>>;
683
764
  tags: z.ZodArray<z.ZodObject<{
@@ -797,6 +878,33 @@ export declare const linksContract: {
797
878
  y: z.ZodNumber;
798
879
  }, z.core.$strip>;
799
880
  url: z.ZodString;
881
+ }, z.core.$strip>, z.ZodObject<{
882
+ id: z.ZodString;
883
+ type: z.ZodLiteral<"transform">;
884
+ position: z.ZodObject<{
885
+ x: z.ZodNumber;
886
+ y: z.ZodNumber;
887
+ }, z.core.$strip>;
888
+ transforms: z.ZodObject<{
889
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
890
+ key: z.ZodString;
891
+ value: z.ZodString;
892
+ mode: z.ZodEnum<{
893
+ set: "set";
894
+ append: "append";
895
+ }>;
896
+ }, z.core.$strip>>>;
897
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
898
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
899
+ key: z.ZodString;
900
+ value: z.ZodString;
901
+ mode: z.ZodEnum<{
902
+ set: "set";
903
+ append: "append";
904
+ }>;
905
+ }, z.core.$strip>>>;
906
+ }, z.core.$strip>;
907
+ next: z.ZodNullable<z.ZodString>;
800
908
  }, z.core.$strip>], "type">>;
801
909
  }, z.core.$strip>>>;
802
910
  tags: z.ZodArray<z.ZodObject<{
@@ -904,6 +1012,33 @@ export declare const linksContract: {
904
1012
  y: z.ZodNumber;
905
1013
  }, z.core.$strip>;
906
1014
  url: z.ZodString;
1015
+ }, z.core.$strip>, z.ZodObject<{
1016
+ id: z.ZodString;
1017
+ type: z.ZodLiteral<"transform">;
1018
+ position: z.ZodObject<{
1019
+ x: z.ZodNumber;
1020
+ y: z.ZodNumber;
1021
+ }, z.core.$strip>;
1022
+ transforms: z.ZodObject<{
1023
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
1024
+ key: z.ZodString;
1025
+ value: z.ZodString;
1026
+ mode: z.ZodEnum<{
1027
+ set: "set";
1028
+ append: "append";
1029
+ }>;
1030
+ }, z.core.$strip>>>;
1031
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
1032
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1033
+ key: z.ZodString;
1034
+ value: z.ZodString;
1035
+ mode: z.ZodEnum<{
1036
+ set: "set";
1037
+ append: "append";
1038
+ }>;
1039
+ }, z.core.$strip>>>;
1040
+ }, z.core.$strip>;
1041
+ next: z.ZodNullable<z.ZodString>;
907
1042
  }, z.core.$strip>], "type">>;
908
1043
  }, z.core.$strip>>>;
909
1044
  }, z.core.$strip>, z.ZodObject<{
@@ -1006,6 +1141,33 @@ export declare const linksContract: {
1006
1141
  y: z.ZodNumber;
1007
1142
  }, z.core.$strip>;
1008
1143
  url: z.ZodString;
1144
+ }, z.core.$strip>, z.ZodObject<{
1145
+ id: z.ZodString;
1146
+ type: z.ZodLiteral<"transform">;
1147
+ position: z.ZodObject<{
1148
+ x: z.ZodNumber;
1149
+ y: z.ZodNumber;
1150
+ }, z.core.$strip>;
1151
+ transforms: z.ZodObject<{
1152
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
1153
+ key: z.ZodString;
1154
+ value: z.ZodString;
1155
+ mode: z.ZodEnum<{
1156
+ set: "set";
1157
+ append: "append";
1158
+ }>;
1159
+ }, z.core.$strip>>>;
1160
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
1161
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1162
+ key: z.ZodString;
1163
+ value: z.ZodString;
1164
+ mode: z.ZodEnum<{
1165
+ set: "set";
1166
+ append: "append";
1167
+ }>;
1168
+ }, z.core.$strip>>>;
1169
+ }, z.core.$strip>;
1170
+ next: z.ZodNullable<z.ZodString>;
1009
1171
  }, z.core.$strip>], "type">>;
1010
1172
  }, z.core.$strip>>>;
1011
1173
  tags: z.ZodArray<z.ZodObject<{
@@ -1674,6 +1836,33 @@ export declare const contract: {
1674
1836
  y: z.ZodNumber;
1675
1837
  }, z.core.$strip>;
1676
1838
  url: z.ZodString;
1839
+ }, z.core.$strip>, z.ZodObject<{
1840
+ id: z.ZodString;
1841
+ type: z.ZodLiteral<"transform">;
1842
+ position: z.ZodObject<{
1843
+ x: z.ZodNumber;
1844
+ y: z.ZodNumber;
1845
+ }, z.core.$strip>;
1846
+ transforms: z.ZodObject<{
1847
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
1848
+ key: z.ZodString;
1849
+ value: z.ZodString;
1850
+ mode: z.ZodEnum<{
1851
+ set: "set";
1852
+ append: "append";
1853
+ }>;
1854
+ }, z.core.$strip>>>;
1855
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
1856
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1857
+ key: z.ZodString;
1858
+ value: z.ZodString;
1859
+ mode: z.ZodEnum<{
1860
+ set: "set";
1861
+ append: "append";
1862
+ }>;
1863
+ }, z.core.$strip>>>;
1864
+ }, z.core.$strip>;
1865
+ next: z.ZodNullable<z.ZodString>;
1677
1866
  }, z.core.$strip>], "type">>;
1678
1867
  }, z.core.$strip>>>;
1679
1868
  }, z.core.$strip>, z.ZodObject<{
@@ -1776,6 +1965,33 @@ export declare const contract: {
1776
1965
  y: z.ZodNumber;
1777
1966
  }, z.core.$strip>;
1778
1967
  url: z.ZodString;
1968
+ }, z.core.$strip>, z.ZodObject<{
1969
+ id: z.ZodString;
1970
+ type: z.ZodLiteral<"transform">;
1971
+ position: z.ZodObject<{
1972
+ x: z.ZodNumber;
1973
+ y: z.ZodNumber;
1974
+ }, z.core.$strip>;
1975
+ transforms: z.ZodObject<{
1976
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
1977
+ key: z.ZodString;
1978
+ value: z.ZodString;
1979
+ mode: z.ZodEnum<{
1980
+ set: "set";
1981
+ append: "append";
1982
+ }>;
1983
+ }, z.core.$strip>>>;
1984
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
1985
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1986
+ key: z.ZodString;
1987
+ value: z.ZodString;
1988
+ mode: z.ZodEnum<{
1989
+ set: "set";
1990
+ append: "append";
1991
+ }>;
1992
+ }, z.core.$strip>>>;
1993
+ }, z.core.$strip>;
1994
+ next: z.ZodNullable<z.ZodString>;
1779
1995
  }, z.core.$strip>], "type">>;
1780
1996
  }, z.core.$strip>>>;
1781
1997
  tags: z.ZodArray<z.ZodObject<{
@@ -1921,6 +2137,33 @@ export declare const contract: {
1921
2137
  y: z.ZodNumber;
1922
2138
  }, z.core.$strip>;
1923
2139
  url: z.ZodString;
2140
+ }, z.core.$strip>, z.ZodObject<{
2141
+ id: z.ZodString;
2142
+ type: z.ZodLiteral<"transform">;
2143
+ position: z.ZodObject<{
2144
+ x: z.ZodNumber;
2145
+ y: z.ZodNumber;
2146
+ }, z.core.$strip>;
2147
+ transforms: z.ZodObject<{
2148
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
2149
+ key: z.ZodString;
2150
+ value: z.ZodString;
2151
+ mode: z.ZodEnum<{
2152
+ set: "set";
2153
+ append: "append";
2154
+ }>;
2155
+ }, z.core.$strip>>>;
2156
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2157
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2158
+ key: z.ZodString;
2159
+ value: z.ZodString;
2160
+ mode: z.ZodEnum<{
2161
+ set: "set";
2162
+ append: "append";
2163
+ }>;
2164
+ }, z.core.$strip>>>;
2165
+ }, z.core.$strip>;
2166
+ next: z.ZodNullable<z.ZodString>;
1924
2167
  }, z.core.$strip>], "type">>;
1925
2168
  }, z.core.$strip>>>;
1926
2169
  tags: z.ZodArray<z.ZodObject<{
@@ -2040,6 +2283,33 @@ export declare const contract: {
2040
2283
  y: z.ZodNumber;
2041
2284
  }, z.core.$strip>;
2042
2285
  url: z.ZodString;
2286
+ }, z.core.$strip>, z.ZodObject<{
2287
+ id: z.ZodString;
2288
+ type: z.ZodLiteral<"transform">;
2289
+ position: z.ZodObject<{
2290
+ x: z.ZodNumber;
2291
+ y: z.ZodNumber;
2292
+ }, z.core.$strip>;
2293
+ transforms: z.ZodObject<{
2294
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
2295
+ key: z.ZodString;
2296
+ value: z.ZodString;
2297
+ mode: z.ZodEnum<{
2298
+ set: "set";
2299
+ append: "append";
2300
+ }>;
2301
+ }, z.core.$strip>>>;
2302
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2303
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2304
+ key: z.ZodString;
2305
+ value: z.ZodString;
2306
+ mode: z.ZodEnum<{
2307
+ set: "set";
2308
+ append: "append";
2309
+ }>;
2310
+ }, z.core.$strip>>>;
2311
+ }, z.core.$strip>;
2312
+ next: z.ZodNullable<z.ZodString>;
2043
2313
  }, z.core.$strip>], "type">>;
2044
2314
  }, z.core.$strip>>>;
2045
2315
  tags: z.ZodArray<z.ZodObject<{
@@ -2147,6 +2417,33 @@ export declare const contract: {
2147
2417
  y: z.ZodNumber;
2148
2418
  }, z.core.$strip>;
2149
2419
  url: z.ZodString;
2420
+ }, z.core.$strip>, z.ZodObject<{
2421
+ id: z.ZodString;
2422
+ type: z.ZodLiteral<"transform">;
2423
+ position: z.ZodObject<{
2424
+ x: z.ZodNumber;
2425
+ y: z.ZodNumber;
2426
+ }, z.core.$strip>;
2427
+ transforms: z.ZodObject<{
2428
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
2429
+ key: z.ZodString;
2430
+ value: z.ZodString;
2431
+ mode: z.ZodEnum<{
2432
+ set: "set";
2433
+ append: "append";
2434
+ }>;
2435
+ }, z.core.$strip>>>;
2436
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2437
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2438
+ key: z.ZodString;
2439
+ value: z.ZodString;
2440
+ mode: z.ZodEnum<{
2441
+ set: "set";
2442
+ append: "append";
2443
+ }>;
2444
+ }, z.core.$strip>>>;
2445
+ }, z.core.$strip>;
2446
+ next: z.ZodNullable<z.ZodString>;
2150
2447
  }, z.core.$strip>], "type">>;
2151
2448
  }, z.core.$strip>>>;
2152
2449
  }, z.core.$strip>, z.ZodObject<{
@@ -2249,6 +2546,33 @@ export declare const contract: {
2249
2546
  y: z.ZodNumber;
2250
2547
  }, z.core.$strip>;
2251
2548
  url: z.ZodString;
2549
+ }, z.core.$strip>, z.ZodObject<{
2550
+ id: z.ZodString;
2551
+ type: z.ZodLiteral<"transform">;
2552
+ position: z.ZodObject<{
2553
+ x: z.ZodNumber;
2554
+ y: z.ZodNumber;
2555
+ }, z.core.$strip>;
2556
+ transforms: z.ZodObject<{
2557
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
2558
+ key: z.ZodString;
2559
+ value: z.ZodString;
2560
+ mode: z.ZodEnum<{
2561
+ set: "set";
2562
+ append: "append";
2563
+ }>;
2564
+ }, z.core.$strip>>>;
2565
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
2566
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
2567
+ key: z.ZodString;
2568
+ value: z.ZodString;
2569
+ mode: z.ZodEnum<{
2570
+ set: "set";
2571
+ append: "append";
2572
+ }>;
2573
+ }, z.core.$strip>>>;
2574
+ }, z.core.$strip>;
2575
+ next: z.ZodNullable<z.ZodString>;
2252
2576
  }, z.core.$strip>], "type">>;
2253
2577
  }, z.core.$strip>>>;
2254
2578
  tags: z.ZodArray<z.ZodObject<{
@@ -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;AAwCxB,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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;C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string().url()
272
272
  });
273
- var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [ConditionNodeSchema, SplitNodeSchema, DestinationNodeSchema]);
273
+ var FORBIDDEN_HEADERS = ["set-cookie", "authorization", "host", "transfer-encoding"];
274
+ var TransformNodeSchema = import_zod6.z.object({
275
+ id: import_zod6.z.string(),
276
+ type: import_zod6.z.literal("transform"),
277
+ position: PositionSchema,
278
+ transforms: import_zod6.z.object({
279
+ query_params: import_zod6.z.array(
280
+ import_zod6.z.object({
281
+ key: import_zod6.z.string().min(1),
282
+ value: import_zod6.z.string(),
283
+ mode: import_zod6.z.enum(["set", "append"])
284
+ })
285
+ ).optional(),
286
+ redirect_status: import_zod6.z.union([import_zod6.z.literal(301), import_zod6.z.literal(302), import_zod6.z.literal(307), import_zod6.z.literal(308)]).optional(),
287
+ response_headers: import_zod6.z.array(
288
+ import_zod6.z.object({
289
+ key: import_zod6.z.string().min(1).refine((k) => !FORBIDDEN_HEADERS.includes(k.toLowerCase()), {
290
+ message: "This header is not allowed"
291
+ }),
292
+ value: import_zod6.z.string().regex(/^[^\r\n]*$/, "Header value must not contain newlines"),
293
+ mode: import_zod6.z.enum(["set", "append"])
294
+ })
295
+ ).optional()
296
+ }),
297
+ next: import_zod6.z.string().nullable()
298
+ });
299
+ var RuleGraphNodeSchema = import_zod6.z.discriminatedUnion("type", [
300
+ ConditionNodeSchema,
301
+ SplitNodeSchema,
302
+ DestinationNodeSchema,
303
+ TransformNodeSchema
304
+ ]);
274
305
  var RuleGraphSchema = import_zod6.z.object({
275
306
  entry: import_zod6.z.string(),
276
307
  nodes: import_zod6.z.record(import_zod6.z.string(), RuleGraphNodeSchema)
@@ -124,6 +124,33 @@ export declare const LinkSchema: z.ZodObject<{
124
124
  y: z.ZodNumber;
125
125
  }, z.core.$strip>;
126
126
  url: z.ZodString;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ id: z.ZodString;
129
+ type: z.ZodLiteral<"transform">;
130
+ position: z.ZodObject<{
131
+ x: z.ZodNumber;
132
+ y: z.ZodNumber;
133
+ }, z.core.$strip>;
134
+ transforms: z.ZodObject<{
135
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
136
+ key: z.ZodString;
137
+ value: z.ZodString;
138
+ mode: z.ZodEnum<{
139
+ set: "set";
140
+ append: "append";
141
+ }>;
142
+ }, z.core.$strip>>>;
143
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
144
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
145
+ key: z.ZodString;
146
+ value: z.ZodString;
147
+ mode: z.ZodEnum<{
148
+ set: "set";
149
+ append: "append";
150
+ }>;
151
+ }, z.core.$strip>>>;
152
+ }, z.core.$strip>;
153
+ next: z.ZodNullable<z.ZodString>;
127
154
  }, z.core.$strip>], "type">>;
128
155
  }, z.core.$strip>>>;
129
156
  tags: z.ZodArray<z.ZodObject<{
@@ -228,6 +255,33 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
228
255
  y: z.ZodNumber;
229
256
  }, z.core.$strip>;
230
257
  url: z.ZodString;
258
+ }, z.core.$strip>, z.ZodObject<{
259
+ id: z.ZodString;
260
+ type: z.ZodLiteral<"transform">;
261
+ position: z.ZodObject<{
262
+ x: z.ZodNumber;
263
+ y: z.ZodNumber;
264
+ }, z.core.$strip>;
265
+ transforms: z.ZodObject<{
266
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
267
+ key: z.ZodString;
268
+ value: z.ZodString;
269
+ mode: z.ZodEnum<{
270
+ set: "set";
271
+ append: "append";
272
+ }>;
273
+ }, z.core.$strip>>>;
274
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
275
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
276
+ key: z.ZodString;
277
+ value: z.ZodString;
278
+ mode: z.ZodEnum<{
279
+ set: "set";
280
+ append: "append";
281
+ }>;
282
+ }, z.core.$strip>>>;
283
+ }, z.core.$strip>;
284
+ next: z.ZodNullable<z.ZodString>;
231
285
  }, z.core.$strip>], "type">>;
232
286
  }, z.core.$strip>>>;
233
287
  }, z.core.$strip>;
@@ -325,6 +379,33 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
325
379
  y: z.ZodNumber;
326
380
  }, z.core.$strip>;
327
381
  url: z.ZodString;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ id: z.ZodString;
384
+ type: z.ZodLiteral<"transform">;
385
+ position: z.ZodObject<{
386
+ x: z.ZodNumber;
387
+ y: z.ZodNumber;
388
+ }, z.core.$strip>;
389
+ transforms: z.ZodObject<{
390
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
391
+ key: z.ZodString;
392
+ value: z.ZodString;
393
+ mode: z.ZodEnum<{
394
+ set: "set";
395
+ append: "append";
396
+ }>;
397
+ }, z.core.$strip>>>;
398
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
399
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
400
+ key: z.ZodString;
401
+ value: z.ZodString;
402
+ mode: z.ZodEnum<{
403
+ set: "set";
404
+ append: "append";
405
+ }>;
406
+ }, z.core.$strip>>>;
407
+ }, z.core.$strip>;
408
+ next: z.ZodNullable<z.ZodString>;
328
409
  }, z.core.$strip>], "type">>;
329
410
  }, z.core.$strip>>>;
330
411
  }, z.core.$strip>;
@@ -462,6 +543,33 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
462
543
  y: z.ZodNumber;
463
544
  }, z.core.$strip>;
464
545
  url: z.ZodString;
546
+ }, z.core.$strip>, z.ZodObject<{
547
+ id: z.ZodString;
548
+ type: z.ZodLiteral<"transform">;
549
+ position: z.ZodObject<{
550
+ x: z.ZodNumber;
551
+ y: z.ZodNumber;
552
+ }, z.core.$strip>;
553
+ transforms: z.ZodObject<{
554
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
555
+ key: z.ZodString;
556
+ value: z.ZodString;
557
+ mode: z.ZodEnum<{
558
+ set: "set";
559
+ append: "append";
560
+ }>;
561
+ }, z.core.$strip>>>;
562
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
563
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
+ key: z.ZodString;
565
+ value: z.ZodString;
566
+ mode: z.ZodEnum<{
567
+ set: "set";
568
+ append: "append";
569
+ }>;
570
+ }, z.core.$strip>>>;
571
+ }, z.core.$strip>;
572
+ next: z.ZodNullable<z.ZodString>;
465
573
  }, z.core.$strip>], "type">>;
466
574
  }, z.core.$strip>>>;
467
575
  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;;;;;;;;;;;;;;;;;;;;;;;;iBAU/B,CAAC;AAEH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4BrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiC5B,CAAC;AAEP,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;iBAYxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAG/B,CAAC"}
@@ -44,6 +44,33 @@ export declare const RuleGraphNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
44
44
  y: z.ZodNumber;
45
45
  }, z.core.$strip>;
46
46
  url: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ id: z.ZodString;
49
+ type: z.ZodLiteral<"transform">;
50
+ position: z.ZodObject<{
51
+ x: z.ZodNumber;
52
+ y: z.ZodNumber;
53
+ }, z.core.$strip>;
54
+ transforms: z.ZodObject<{
55
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
+ key: z.ZodString;
57
+ value: z.ZodString;
58
+ mode: z.ZodEnum<{
59
+ set: "set";
60
+ append: "append";
61
+ }>;
62
+ }, z.core.$strip>>>;
63
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
64
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
65
+ key: z.ZodString;
66
+ value: z.ZodString;
67
+ mode: z.ZodEnum<{
68
+ set: "set";
69
+ append: "append";
70
+ }>;
71
+ }, z.core.$strip>>>;
72
+ }, z.core.$strip>;
73
+ next: z.ZodNullable<z.ZodString>;
47
74
  }, z.core.$strip>], "type">;
48
75
  export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
49
76
  entry: z.ZodString;
@@ -92,6 +119,33 @@ export declare const RuleGraphSchema: z.ZodNullable<z.ZodObject<{
92
119
  y: z.ZodNumber;
93
120
  }, z.core.$strip>;
94
121
  url: z.ZodString;
122
+ }, z.core.$strip>, z.ZodObject<{
123
+ id: z.ZodString;
124
+ type: z.ZodLiteral<"transform">;
125
+ position: z.ZodObject<{
126
+ x: z.ZodNumber;
127
+ y: z.ZodNumber;
128
+ }, z.core.$strip>;
129
+ transforms: z.ZodObject<{
130
+ query_params: z.ZodOptional<z.ZodArray<z.ZodObject<{
131
+ key: z.ZodString;
132
+ value: z.ZodString;
133
+ mode: z.ZodEnum<{
134
+ set: "set";
135
+ append: "append";
136
+ }>;
137
+ }, z.core.$strip>>>;
138
+ redirect_status: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<307>, z.ZodLiteral<308>]>>;
139
+ response_headers: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ key: z.ZodString;
141
+ value: z.ZodString;
142
+ mode: z.ZodEnum<{
143
+ set: "set";
144
+ append: "append";
145
+ }>;
146
+ }, z.core.$strip>>>;
147
+ }, z.core.$strip>;
148
+ next: z.ZodNullable<z.ZodString>;
95
149
  }, z.core.$strip>], "type">>;
96
150
  }, z.core.$strip>>;
97
151
  //# sourceMappingURL=rules.schema.d.ts.map