@vercel/routing-utils 5.0.5 → 5.0.6

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/schemas.d.ts CHANGED
@@ -14,9 +14,85 @@ export declare const hasSchema: {
14
14
  readonly enum: readonly ["host"];
15
15
  };
16
16
  readonly value: {
17
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
18
- readonly type: "string";
19
- readonly maxLength: 4096;
17
+ description: string;
18
+ anyOf: ({
19
+ description: string;
20
+ type: string;
21
+ maxLength: number;
22
+ additionalProperties?: undefined;
23
+ minProperties?: undefined;
24
+ properties?: undefined;
25
+ } | {
26
+ description: string;
27
+ type: string;
28
+ additionalProperties: boolean;
29
+ minProperties: number;
30
+ properties: {
31
+ eq: {
32
+ description: string;
33
+ anyOf: ({
34
+ type: string;
35
+ maxLength: number;
36
+ } | {
37
+ type: string;
38
+ maxLength?: undefined;
39
+ })[];
40
+ };
41
+ neq: {
42
+ description: string;
43
+ type: string;
44
+ maxLength: number;
45
+ };
46
+ inc: {
47
+ description: string;
48
+ type: string;
49
+ items: {
50
+ type: string;
51
+ maxLength: number;
52
+ };
53
+ };
54
+ ninc: {
55
+ description: string;
56
+ type: string;
57
+ items: {
58
+ type: string;
59
+ maxLength: number;
60
+ };
61
+ };
62
+ pre: {
63
+ description: string;
64
+ type: string;
65
+ maxLength: number;
66
+ };
67
+ suf: {
68
+ description: string;
69
+ type: string;
70
+ maxLength: number;
71
+ };
72
+ re: {
73
+ description: string;
74
+ type: string;
75
+ maxLength: number;
76
+ };
77
+ gt: {
78
+ description: string;
79
+ type: string;
80
+ };
81
+ gte: {
82
+ description: string;
83
+ type: string;
84
+ };
85
+ lt: {
86
+ description: string;
87
+ type: string;
88
+ };
89
+ lte: {
90
+ description: string;
91
+ type: string;
92
+ };
93
+ };
94
+ maxLength?: undefined;
95
+ })[];
20
96
  };
21
97
  };
22
98
  }, {
@@ -35,9 +111,85 @@ export declare const hasSchema: {
35
111
  readonly maxLength: 4096;
36
112
  };
37
113
  readonly value: {
38
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
39
- readonly type: "string";
40
- readonly maxLength: 4096;
114
+ description: string;
115
+ anyOf: ({
116
+ description: string;
117
+ type: string;
118
+ maxLength: number;
119
+ additionalProperties?: undefined;
120
+ minProperties?: undefined;
121
+ properties?: undefined;
122
+ } | {
123
+ description: string;
124
+ type: string;
125
+ additionalProperties: boolean;
126
+ minProperties: number;
127
+ properties: {
128
+ eq: {
129
+ description: string;
130
+ anyOf: ({
131
+ type: string;
132
+ maxLength: number;
133
+ } | {
134
+ type: string;
135
+ maxLength?: undefined;
136
+ })[];
137
+ };
138
+ neq: {
139
+ description: string;
140
+ type: string;
141
+ maxLength: number;
142
+ };
143
+ inc: {
144
+ description: string;
145
+ type: string;
146
+ items: {
147
+ type: string;
148
+ maxLength: number;
149
+ };
150
+ };
151
+ ninc: {
152
+ description: string;
153
+ type: string;
154
+ items: {
155
+ type: string;
156
+ maxLength: number;
157
+ };
158
+ };
159
+ pre: {
160
+ description: string;
161
+ type: string;
162
+ maxLength: number;
163
+ };
164
+ suf: {
165
+ description: string;
166
+ type: string;
167
+ maxLength: number;
168
+ };
169
+ re: {
170
+ description: string;
171
+ type: string;
172
+ maxLength: number;
173
+ };
174
+ gt: {
175
+ description: string;
176
+ type: string;
177
+ };
178
+ gte: {
179
+ description: string;
180
+ type: string;
181
+ };
182
+ lt: {
183
+ description: string;
184
+ type: string;
185
+ };
186
+ lte: {
187
+ description: string;
188
+ type: string;
189
+ };
190
+ };
191
+ maxLength?: undefined;
192
+ })[];
41
193
  };
42
194
  };
43
195
  }];
@@ -178,9 +330,85 @@ export declare const routesSchema: {
178
330
  readonly enum: readonly ["host"];
179
331
  };
180
332
  readonly value: {
181
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
182
- readonly type: "string";
183
- readonly maxLength: 4096;
333
+ description: string;
334
+ anyOf: ({
335
+ description: string;
336
+ type: string;
337
+ maxLength: number;
338
+ additionalProperties?: undefined;
339
+ minProperties?: undefined;
340
+ properties?: undefined;
341
+ } | {
342
+ description: string;
343
+ type: string;
344
+ additionalProperties: boolean;
345
+ minProperties: number;
346
+ properties: {
347
+ eq: {
348
+ description: string;
349
+ anyOf: ({
350
+ type: string;
351
+ maxLength: number;
352
+ } | {
353
+ type: string;
354
+ maxLength?: undefined;
355
+ })[];
356
+ };
357
+ neq: {
358
+ description: string;
359
+ type: string;
360
+ maxLength: number;
361
+ };
362
+ inc: {
363
+ description: string;
364
+ type: string;
365
+ items: {
366
+ type: string;
367
+ maxLength: number;
368
+ };
369
+ };
370
+ ninc: {
371
+ description: string;
372
+ type: string;
373
+ items: {
374
+ type: string;
375
+ maxLength: number;
376
+ };
377
+ };
378
+ pre: {
379
+ description: string;
380
+ type: string;
381
+ maxLength: number;
382
+ };
383
+ suf: {
384
+ description: string;
385
+ type: string;
386
+ maxLength: number;
387
+ };
388
+ re: {
389
+ description: string;
390
+ type: string;
391
+ maxLength: number;
392
+ };
393
+ gt: {
394
+ description: string;
395
+ type: string;
396
+ };
397
+ gte: {
398
+ description: string;
399
+ type: string;
400
+ };
401
+ lt: {
402
+ description: string;
403
+ type: string;
404
+ };
405
+ lte: {
406
+ description: string;
407
+ type: string;
408
+ };
409
+ };
410
+ maxLength?: undefined;
411
+ })[];
184
412
  };
185
413
  };
186
414
  }, {
@@ -199,9 +427,85 @@ export declare const routesSchema: {
199
427
  readonly maxLength: 4096;
200
428
  };
201
429
  readonly value: {
202
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
203
- readonly type: "string";
204
- readonly maxLength: 4096;
430
+ description: string;
431
+ anyOf: ({
432
+ description: string;
433
+ type: string;
434
+ maxLength: number;
435
+ additionalProperties?: undefined;
436
+ minProperties?: undefined;
437
+ properties?: undefined;
438
+ } | {
439
+ description: string;
440
+ type: string;
441
+ additionalProperties: boolean;
442
+ minProperties: number;
443
+ properties: {
444
+ eq: {
445
+ description: string;
446
+ anyOf: ({
447
+ type: string;
448
+ maxLength: number;
449
+ } | {
450
+ type: string;
451
+ maxLength?: undefined;
452
+ })[];
453
+ };
454
+ neq: {
455
+ description: string;
456
+ type: string;
457
+ maxLength: number;
458
+ };
459
+ inc: {
460
+ description: string;
461
+ type: string;
462
+ items: {
463
+ type: string;
464
+ maxLength: number;
465
+ };
466
+ };
467
+ ninc: {
468
+ description: string;
469
+ type: string;
470
+ items: {
471
+ type: string;
472
+ maxLength: number;
473
+ };
474
+ };
475
+ pre: {
476
+ description: string;
477
+ type: string;
478
+ maxLength: number;
479
+ };
480
+ suf: {
481
+ description: string;
482
+ type: string;
483
+ maxLength: number;
484
+ };
485
+ re: {
486
+ description: string;
487
+ type: string;
488
+ maxLength: number;
489
+ };
490
+ gt: {
491
+ description: string;
492
+ type: string;
493
+ };
494
+ gte: {
495
+ description: string;
496
+ type: string;
497
+ };
498
+ lt: {
499
+ description: string;
500
+ type: string;
501
+ };
502
+ lte: {
503
+ description: string;
504
+ type: string;
505
+ };
506
+ };
507
+ maxLength?: undefined;
508
+ })[];
205
509
  };
206
510
  };
207
511
  }];
@@ -223,9 +527,85 @@ export declare const routesSchema: {
223
527
  readonly enum: readonly ["host"];
224
528
  };
225
529
  readonly value: {
226
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
227
- readonly type: "string";
228
- readonly maxLength: 4096;
530
+ description: string;
531
+ anyOf: ({
532
+ description: string;
533
+ type: string;
534
+ maxLength: number;
535
+ additionalProperties?: undefined;
536
+ minProperties?: undefined;
537
+ properties?: undefined;
538
+ } | {
539
+ description: string;
540
+ type: string;
541
+ additionalProperties: boolean;
542
+ minProperties: number;
543
+ properties: {
544
+ eq: {
545
+ description: string;
546
+ anyOf: ({
547
+ type: string;
548
+ maxLength: number;
549
+ } | {
550
+ type: string;
551
+ maxLength?: undefined;
552
+ })[];
553
+ };
554
+ neq: {
555
+ description: string;
556
+ type: string;
557
+ maxLength: number;
558
+ };
559
+ inc: {
560
+ description: string;
561
+ type: string;
562
+ items: {
563
+ type: string;
564
+ maxLength: number;
565
+ };
566
+ };
567
+ ninc: {
568
+ description: string;
569
+ type: string;
570
+ items: {
571
+ type: string;
572
+ maxLength: number;
573
+ };
574
+ };
575
+ pre: {
576
+ description: string;
577
+ type: string;
578
+ maxLength: number;
579
+ };
580
+ suf: {
581
+ description: string;
582
+ type: string;
583
+ maxLength: number;
584
+ };
585
+ re: {
586
+ description: string;
587
+ type: string;
588
+ maxLength: number;
589
+ };
590
+ gt: {
591
+ description: string;
592
+ type: string;
593
+ };
594
+ gte: {
595
+ description: string;
596
+ type: string;
597
+ };
598
+ lt: {
599
+ description: string;
600
+ type: string;
601
+ };
602
+ lte: {
603
+ description: string;
604
+ type: string;
605
+ };
606
+ };
607
+ maxLength?: undefined;
608
+ })[];
229
609
  };
230
610
  };
231
611
  }, {
@@ -244,14 +624,103 @@ export declare const routesSchema: {
244
624
  readonly maxLength: 4096;
245
625
  };
246
626
  readonly value: {
247
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
248
- readonly type: "string";
249
- readonly maxLength: 4096;
627
+ description: string;
628
+ anyOf: ({
629
+ description: string;
630
+ type: string;
631
+ maxLength: number;
632
+ additionalProperties?: undefined;
633
+ minProperties?: undefined;
634
+ properties?: undefined;
635
+ } | {
636
+ description: string;
637
+ type: string;
638
+ additionalProperties: boolean;
639
+ minProperties: number;
640
+ properties: {
641
+ eq: {
642
+ description: string;
643
+ anyOf: ({
644
+ type: string;
645
+ maxLength: number;
646
+ } | {
647
+ type: string;
648
+ maxLength?: undefined;
649
+ })[];
650
+ };
651
+ neq: {
652
+ description: string;
653
+ type: string;
654
+ maxLength: number;
655
+ };
656
+ inc: {
657
+ description: string;
658
+ type: string;
659
+ items: {
660
+ type: string;
661
+ maxLength: number;
662
+ };
663
+ };
664
+ ninc: {
665
+ description: string;
666
+ type: string;
667
+ items: {
668
+ type: string;
669
+ maxLength: number;
670
+ };
671
+ };
672
+ pre: {
673
+ description: string;
674
+ type: string;
675
+ maxLength: number;
676
+ };
677
+ suf: {
678
+ description: string;
679
+ type: string;
680
+ maxLength: number;
681
+ };
682
+ re: {
683
+ description: string;
684
+ type: string;
685
+ maxLength: number;
686
+ };
687
+ gt: {
688
+ description: string;
689
+ type: string;
690
+ };
691
+ gte: {
692
+ description: string;
693
+ type: string;
694
+ };
695
+ lt: {
696
+ description: string;
697
+ type: string;
698
+ };
699
+ lte: {
700
+ description: string;
701
+ type: string;
702
+ };
703
+ };
704
+ maxLength?: undefined;
705
+ })[];
250
706
  };
251
707
  };
252
708
  }];
253
709
  };
254
710
  };
711
+ readonly mitigate: {
712
+ readonly description: "Mitigation action to take on a route";
713
+ readonly type: "object";
714
+ readonly additionalProperties: false;
715
+ readonly required: readonly ["action"];
716
+ readonly properties: {
717
+ readonly action: {
718
+ readonly description: "The mitigation action to take";
719
+ readonly type: "string";
720
+ readonly enum: readonly ["challenge", "deny"];
721
+ };
722
+ };
723
+ };
255
724
  };
256
725
  }, {
257
726
  readonly type: "object";
@@ -302,9 +771,85 @@ export declare const rewritesSchema: {
302
771
  readonly enum: readonly ["host"];
303
772
  };
304
773
  readonly value: {
305
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
306
- readonly type: "string";
307
- readonly maxLength: 4096;
774
+ description: string;
775
+ anyOf: ({
776
+ description: string;
777
+ type: string;
778
+ maxLength: number;
779
+ additionalProperties?: undefined;
780
+ minProperties?: undefined;
781
+ properties?: undefined;
782
+ } | {
783
+ description: string;
784
+ type: string;
785
+ additionalProperties: boolean;
786
+ minProperties: number;
787
+ properties: {
788
+ eq: {
789
+ description: string;
790
+ anyOf: ({
791
+ type: string;
792
+ maxLength: number;
793
+ } | {
794
+ type: string;
795
+ maxLength?: undefined;
796
+ })[];
797
+ };
798
+ neq: {
799
+ description: string;
800
+ type: string;
801
+ maxLength: number;
802
+ };
803
+ inc: {
804
+ description: string;
805
+ type: string;
806
+ items: {
807
+ type: string;
808
+ maxLength: number;
809
+ };
810
+ };
811
+ ninc: {
812
+ description: string;
813
+ type: string;
814
+ items: {
815
+ type: string;
816
+ maxLength: number;
817
+ };
818
+ };
819
+ pre: {
820
+ description: string;
821
+ type: string;
822
+ maxLength: number;
823
+ };
824
+ suf: {
825
+ description: string;
826
+ type: string;
827
+ maxLength: number;
828
+ };
829
+ re: {
830
+ description: string;
831
+ type: string;
832
+ maxLength: number;
833
+ };
834
+ gt: {
835
+ description: string;
836
+ type: string;
837
+ };
838
+ gte: {
839
+ description: string;
840
+ type: string;
841
+ };
842
+ lt: {
843
+ description: string;
844
+ type: string;
845
+ };
846
+ lte: {
847
+ description: string;
848
+ type: string;
849
+ };
850
+ };
851
+ maxLength?: undefined;
852
+ })[];
308
853
  };
309
854
  };
310
855
  }, {
@@ -323,9 +868,85 @@ export declare const rewritesSchema: {
323
868
  readonly maxLength: 4096;
324
869
  };
325
870
  readonly value: {
326
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
327
- readonly type: "string";
328
- readonly maxLength: 4096;
871
+ description: string;
872
+ anyOf: ({
873
+ description: string;
874
+ type: string;
875
+ maxLength: number;
876
+ additionalProperties?: undefined;
877
+ minProperties?: undefined;
878
+ properties?: undefined;
879
+ } | {
880
+ description: string;
881
+ type: string;
882
+ additionalProperties: boolean;
883
+ minProperties: number;
884
+ properties: {
885
+ eq: {
886
+ description: string;
887
+ anyOf: ({
888
+ type: string;
889
+ maxLength: number;
890
+ } | {
891
+ type: string;
892
+ maxLength?: undefined;
893
+ })[];
894
+ };
895
+ neq: {
896
+ description: string;
897
+ type: string;
898
+ maxLength: number;
899
+ };
900
+ inc: {
901
+ description: string;
902
+ type: string;
903
+ items: {
904
+ type: string;
905
+ maxLength: number;
906
+ };
907
+ };
908
+ ninc: {
909
+ description: string;
910
+ type: string;
911
+ items: {
912
+ type: string;
913
+ maxLength: number;
914
+ };
915
+ };
916
+ pre: {
917
+ description: string;
918
+ type: string;
919
+ maxLength: number;
920
+ };
921
+ suf: {
922
+ description: string;
923
+ type: string;
924
+ maxLength: number;
925
+ };
926
+ re: {
927
+ description: string;
928
+ type: string;
929
+ maxLength: number;
930
+ };
931
+ gt: {
932
+ description: string;
933
+ type: string;
934
+ };
935
+ gte: {
936
+ description: string;
937
+ type: string;
938
+ };
939
+ lt: {
940
+ description: string;
941
+ type: string;
942
+ };
943
+ lte: {
944
+ description: string;
945
+ type: string;
946
+ };
947
+ };
948
+ maxLength?: undefined;
949
+ })[];
329
950
  };
330
951
  };
331
952
  }];
@@ -347,9 +968,85 @@ export declare const rewritesSchema: {
347
968
  readonly enum: readonly ["host"];
348
969
  };
349
970
  readonly value: {
350
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
351
- readonly type: "string";
352
- readonly maxLength: 4096;
971
+ description: string;
972
+ anyOf: ({
973
+ description: string;
974
+ type: string;
975
+ maxLength: number;
976
+ additionalProperties?: undefined;
977
+ minProperties?: undefined;
978
+ properties?: undefined;
979
+ } | {
980
+ description: string;
981
+ type: string;
982
+ additionalProperties: boolean;
983
+ minProperties: number;
984
+ properties: {
985
+ eq: {
986
+ description: string;
987
+ anyOf: ({
988
+ type: string;
989
+ maxLength: number;
990
+ } | {
991
+ type: string;
992
+ maxLength?: undefined;
993
+ })[];
994
+ };
995
+ neq: {
996
+ description: string;
997
+ type: string;
998
+ maxLength: number;
999
+ };
1000
+ inc: {
1001
+ description: string;
1002
+ type: string;
1003
+ items: {
1004
+ type: string;
1005
+ maxLength: number;
1006
+ };
1007
+ };
1008
+ ninc: {
1009
+ description: string;
1010
+ type: string;
1011
+ items: {
1012
+ type: string;
1013
+ maxLength: number;
1014
+ };
1015
+ };
1016
+ pre: {
1017
+ description: string;
1018
+ type: string;
1019
+ maxLength: number;
1020
+ };
1021
+ suf: {
1022
+ description: string;
1023
+ type: string;
1024
+ maxLength: number;
1025
+ };
1026
+ re: {
1027
+ description: string;
1028
+ type: string;
1029
+ maxLength: number;
1030
+ };
1031
+ gt: {
1032
+ description: string;
1033
+ type: string;
1034
+ };
1035
+ gte: {
1036
+ description: string;
1037
+ type: string;
1038
+ };
1039
+ lt: {
1040
+ description: string;
1041
+ type: string;
1042
+ };
1043
+ lte: {
1044
+ description: string;
1045
+ type: string;
1046
+ };
1047
+ };
1048
+ maxLength?: undefined;
1049
+ })[];
353
1050
  };
354
1051
  };
355
1052
  }, {
@@ -368,9 +1065,85 @@ export declare const rewritesSchema: {
368
1065
  readonly maxLength: 4096;
369
1066
  };
370
1067
  readonly value: {
371
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
372
- readonly type: "string";
373
- readonly maxLength: 4096;
1068
+ description: string;
1069
+ anyOf: ({
1070
+ description: string;
1071
+ type: string;
1072
+ maxLength: number;
1073
+ additionalProperties?: undefined;
1074
+ minProperties?: undefined;
1075
+ properties?: undefined;
1076
+ } | {
1077
+ description: string;
1078
+ type: string;
1079
+ additionalProperties: boolean;
1080
+ minProperties: number;
1081
+ properties: {
1082
+ eq: {
1083
+ description: string;
1084
+ anyOf: ({
1085
+ type: string;
1086
+ maxLength: number;
1087
+ } | {
1088
+ type: string;
1089
+ maxLength?: undefined;
1090
+ })[];
1091
+ };
1092
+ neq: {
1093
+ description: string;
1094
+ type: string;
1095
+ maxLength: number;
1096
+ };
1097
+ inc: {
1098
+ description: string;
1099
+ type: string;
1100
+ items: {
1101
+ type: string;
1102
+ maxLength: number;
1103
+ };
1104
+ };
1105
+ ninc: {
1106
+ description: string;
1107
+ type: string;
1108
+ items: {
1109
+ type: string;
1110
+ maxLength: number;
1111
+ };
1112
+ };
1113
+ pre: {
1114
+ description: string;
1115
+ type: string;
1116
+ maxLength: number;
1117
+ };
1118
+ suf: {
1119
+ description: string;
1120
+ type: string;
1121
+ maxLength: number;
1122
+ };
1123
+ re: {
1124
+ description: string;
1125
+ type: string;
1126
+ maxLength: number;
1127
+ };
1128
+ gt: {
1129
+ description: string;
1130
+ type: string;
1131
+ };
1132
+ gte: {
1133
+ description: string;
1134
+ type: string;
1135
+ };
1136
+ lt: {
1137
+ description: string;
1138
+ type: string;
1139
+ };
1140
+ lte: {
1141
+ description: string;
1142
+ type: string;
1143
+ };
1144
+ };
1145
+ maxLength?: undefined;
1146
+ })[];
374
1147
  };
375
1148
  };
376
1149
  }];
@@ -432,9 +1205,85 @@ export declare const redirectsSchema: {
432
1205
  readonly enum: readonly ["host"];
433
1206
  };
434
1207
  readonly value: {
435
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
436
- readonly type: "string";
437
- readonly maxLength: 4096;
1208
+ description: string;
1209
+ anyOf: ({
1210
+ description: string;
1211
+ type: string;
1212
+ maxLength: number;
1213
+ additionalProperties?: undefined;
1214
+ minProperties?: undefined;
1215
+ properties?: undefined;
1216
+ } | {
1217
+ description: string;
1218
+ type: string;
1219
+ additionalProperties: boolean;
1220
+ minProperties: number;
1221
+ properties: {
1222
+ eq: {
1223
+ description: string;
1224
+ anyOf: ({
1225
+ type: string;
1226
+ maxLength: number;
1227
+ } | {
1228
+ type: string;
1229
+ maxLength?: undefined;
1230
+ })[];
1231
+ };
1232
+ neq: {
1233
+ description: string;
1234
+ type: string;
1235
+ maxLength: number;
1236
+ };
1237
+ inc: {
1238
+ description: string;
1239
+ type: string;
1240
+ items: {
1241
+ type: string;
1242
+ maxLength: number;
1243
+ };
1244
+ };
1245
+ ninc: {
1246
+ description: string;
1247
+ type: string;
1248
+ items: {
1249
+ type: string;
1250
+ maxLength: number;
1251
+ };
1252
+ };
1253
+ pre: {
1254
+ description: string;
1255
+ type: string;
1256
+ maxLength: number;
1257
+ };
1258
+ suf: {
1259
+ description: string;
1260
+ type: string;
1261
+ maxLength: number;
1262
+ };
1263
+ re: {
1264
+ description: string;
1265
+ type: string;
1266
+ maxLength: number;
1267
+ };
1268
+ gt: {
1269
+ description: string;
1270
+ type: string;
1271
+ };
1272
+ gte: {
1273
+ description: string;
1274
+ type: string;
1275
+ };
1276
+ lt: {
1277
+ description: string;
1278
+ type: string;
1279
+ };
1280
+ lte: {
1281
+ description: string;
1282
+ type: string;
1283
+ };
1284
+ };
1285
+ maxLength?: undefined;
1286
+ })[];
438
1287
  };
439
1288
  };
440
1289
  }, {
@@ -453,9 +1302,85 @@ export declare const redirectsSchema: {
453
1302
  readonly maxLength: 4096;
454
1303
  };
455
1304
  readonly value: {
456
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
457
- readonly type: "string";
458
- readonly maxLength: 4096;
1305
+ description: string;
1306
+ anyOf: ({
1307
+ description: string;
1308
+ type: string;
1309
+ maxLength: number;
1310
+ additionalProperties?: undefined;
1311
+ minProperties?: undefined;
1312
+ properties?: undefined;
1313
+ } | {
1314
+ description: string;
1315
+ type: string;
1316
+ additionalProperties: boolean;
1317
+ minProperties: number;
1318
+ properties: {
1319
+ eq: {
1320
+ description: string;
1321
+ anyOf: ({
1322
+ type: string;
1323
+ maxLength: number;
1324
+ } | {
1325
+ type: string;
1326
+ maxLength?: undefined;
1327
+ })[];
1328
+ };
1329
+ neq: {
1330
+ description: string;
1331
+ type: string;
1332
+ maxLength: number;
1333
+ };
1334
+ inc: {
1335
+ description: string;
1336
+ type: string;
1337
+ items: {
1338
+ type: string;
1339
+ maxLength: number;
1340
+ };
1341
+ };
1342
+ ninc: {
1343
+ description: string;
1344
+ type: string;
1345
+ items: {
1346
+ type: string;
1347
+ maxLength: number;
1348
+ };
1349
+ };
1350
+ pre: {
1351
+ description: string;
1352
+ type: string;
1353
+ maxLength: number;
1354
+ };
1355
+ suf: {
1356
+ description: string;
1357
+ type: string;
1358
+ maxLength: number;
1359
+ };
1360
+ re: {
1361
+ description: string;
1362
+ type: string;
1363
+ maxLength: number;
1364
+ };
1365
+ gt: {
1366
+ description: string;
1367
+ type: string;
1368
+ };
1369
+ gte: {
1370
+ description: string;
1371
+ type: string;
1372
+ };
1373
+ lt: {
1374
+ description: string;
1375
+ type: string;
1376
+ };
1377
+ lte: {
1378
+ description: string;
1379
+ type: string;
1380
+ };
1381
+ };
1382
+ maxLength?: undefined;
1383
+ })[];
459
1384
  };
460
1385
  };
461
1386
  }];
@@ -477,9 +1402,85 @@ export declare const redirectsSchema: {
477
1402
  readonly enum: readonly ["host"];
478
1403
  };
479
1404
  readonly value: {
480
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
481
- readonly type: "string";
482
- readonly maxLength: 4096;
1405
+ description: string;
1406
+ anyOf: ({
1407
+ description: string;
1408
+ type: string;
1409
+ maxLength: number;
1410
+ additionalProperties?: undefined;
1411
+ minProperties?: undefined;
1412
+ properties?: undefined;
1413
+ } | {
1414
+ description: string;
1415
+ type: string;
1416
+ additionalProperties: boolean;
1417
+ minProperties: number;
1418
+ properties: {
1419
+ eq: {
1420
+ description: string;
1421
+ anyOf: ({
1422
+ type: string;
1423
+ maxLength: number;
1424
+ } | {
1425
+ type: string;
1426
+ maxLength?: undefined;
1427
+ })[];
1428
+ };
1429
+ neq: {
1430
+ description: string;
1431
+ type: string;
1432
+ maxLength: number;
1433
+ };
1434
+ inc: {
1435
+ description: string;
1436
+ type: string;
1437
+ items: {
1438
+ type: string;
1439
+ maxLength: number;
1440
+ };
1441
+ };
1442
+ ninc: {
1443
+ description: string;
1444
+ type: string;
1445
+ items: {
1446
+ type: string;
1447
+ maxLength: number;
1448
+ };
1449
+ };
1450
+ pre: {
1451
+ description: string;
1452
+ type: string;
1453
+ maxLength: number;
1454
+ };
1455
+ suf: {
1456
+ description: string;
1457
+ type: string;
1458
+ maxLength: number;
1459
+ };
1460
+ re: {
1461
+ description: string;
1462
+ type: string;
1463
+ maxLength: number;
1464
+ };
1465
+ gt: {
1466
+ description: string;
1467
+ type: string;
1468
+ };
1469
+ gte: {
1470
+ description: string;
1471
+ type: string;
1472
+ };
1473
+ lt: {
1474
+ description: string;
1475
+ type: string;
1476
+ };
1477
+ lte: {
1478
+ description: string;
1479
+ type: string;
1480
+ };
1481
+ };
1482
+ maxLength?: undefined;
1483
+ })[];
483
1484
  };
484
1485
  };
485
1486
  }, {
@@ -498,9 +1499,85 @@ export declare const redirectsSchema: {
498
1499
  readonly maxLength: 4096;
499
1500
  };
500
1501
  readonly value: {
501
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
502
- readonly type: "string";
503
- readonly maxLength: 4096;
1502
+ description: string;
1503
+ anyOf: ({
1504
+ description: string;
1505
+ type: string;
1506
+ maxLength: number;
1507
+ additionalProperties?: undefined;
1508
+ minProperties?: undefined;
1509
+ properties?: undefined;
1510
+ } | {
1511
+ description: string;
1512
+ type: string;
1513
+ additionalProperties: boolean;
1514
+ minProperties: number;
1515
+ properties: {
1516
+ eq: {
1517
+ description: string;
1518
+ anyOf: ({
1519
+ type: string;
1520
+ maxLength: number;
1521
+ } | {
1522
+ type: string;
1523
+ maxLength?: undefined;
1524
+ })[];
1525
+ };
1526
+ neq: {
1527
+ description: string;
1528
+ type: string;
1529
+ maxLength: number;
1530
+ };
1531
+ inc: {
1532
+ description: string;
1533
+ type: string;
1534
+ items: {
1535
+ type: string;
1536
+ maxLength: number;
1537
+ };
1538
+ };
1539
+ ninc: {
1540
+ description: string;
1541
+ type: string;
1542
+ items: {
1543
+ type: string;
1544
+ maxLength: number;
1545
+ };
1546
+ };
1547
+ pre: {
1548
+ description: string;
1549
+ type: string;
1550
+ maxLength: number;
1551
+ };
1552
+ suf: {
1553
+ description: string;
1554
+ type: string;
1555
+ maxLength: number;
1556
+ };
1557
+ re: {
1558
+ description: string;
1559
+ type: string;
1560
+ maxLength: number;
1561
+ };
1562
+ gt: {
1563
+ description: string;
1564
+ type: string;
1565
+ };
1566
+ gte: {
1567
+ description: string;
1568
+ type: string;
1569
+ };
1570
+ lt: {
1571
+ description: string;
1572
+ type: string;
1573
+ };
1574
+ lte: {
1575
+ description: string;
1576
+ type: string;
1577
+ };
1578
+ };
1579
+ maxLength?: undefined;
1580
+ })[];
504
1581
  };
505
1582
  };
506
1583
  }];
@@ -559,9 +1636,85 @@ export declare const headersSchema: {
559
1636
  readonly enum: readonly ["host"];
560
1637
  };
561
1638
  readonly value: {
562
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
563
- readonly type: "string";
564
- readonly maxLength: 4096;
1639
+ description: string;
1640
+ anyOf: ({
1641
+ description: string;
1642
+ type: string;
1643
+ maxLength: number;
1644
+ additionalProperties?: undefined;
1645
+ minProperties?: undefined;
1646
+ properties?: undefined;
1647
+ } | {
1648
+ description: string;
1649
+ type: string;
1650
+ additionalProperties: boolean;
1651
+ minProperties: number;
1652
+ properties: {
1653
+ eq: {
1654
+ description: string;
1655
+ anyOf: ({
1656
+ type: string;
1657
+ maxLength: number;
1658
+ } | {
1659
+ type: string;
1660
+ maxLength?: undefined;
1661
+ })[];
1662
+ };
1663
+ neq: {
1664
+ description: string;
1665
+ type: string;
1666
+ maxLength: number;
1667
+ };
1668
+ inc: {
1669
+ description: string;
1670
+ type: string;
1671
+ items: {
1672
+ type: string;
1673
+ maxLength: number;
1674
+ };
1675
+ };
1676
+ ninc: {
1677
+ description: string;
1678
+ type: string;
1679
+ items: {
1680
+ type: string;
1681
+ maxLength: number;
1682
+ };
1683
+ };
1684
+ pre: {
1685
+ description: string;
1686
+ type: string;
1687
+ maxLength: number;
1688
+ };
1689
+ suf: {
1690
+ description: string;
1691
+ type: string;
1692
+ maxLength: number;
1693
+ };
1694
+ re: {
1695
+ description: string;
1696
+ type: string;
1697
+ maxLength: number;
1698
+ };
1699
+ gt: {
1700
+ description: string;
1701
+ type: string;
1702
+ };
1703
+ gte: {
1704
+ description: string;
1705
+ type: string;
1706
+ };
1707
+ lt: {
1708
+ description: string;
1709
+ type: string;
1710
+ };
1711
+ lte: {
1712
+ description: string;
1713
+ type: string;
1714
+ };
1715
+ };
1716
+ maxLength?: undefined;
1717
+ })[];
565
1718
  };
566
1719
  };
567
1720
  }, {
@@ -580,9 +1733,85 @@ export declare const headersSchema: {
580
1733
  readonly maxLength: 4096;
581
1734
  };
582
1735
  readonly value: {
583
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
584
- readonly type: "string";
585
- readonly maxLength: 4096;
1736
+ description: string;
1737
+ anyOf: ({
1738
+ description: string;
1739
+ type: string;
1740
+ maxLength: number;
1741
+ additionalProperties?: undefined;
1742
+ minProperties?: undefined;
1743
+ properties?: undefined;
1744
+ } | {
1745
+ description: string;
1746
+ type: string;
1747
+ additionalProperties: boolean;
1748
+ minProperties: number;
1749
+ properties: {
1750
+ eq: {
1751
+ description: string;
1752
+ anyOf: ({
1753
+ type: string;
1754
+ maxLength: number;
1755
+ } | {
1756
+ type: string;
1757
+ maxLength?: undefined;
1758
+ })[];
1759
+ };
1760
+ neq: {
1761
+ description: string;
1762
+ type: string;
1763
+ maxLength: number;
1764
+ };
1765
+ inc: {
1766
+ description: string;
1767
+ type: string;
1768
+ items: {
1769
+ type: string;
1770
+ maxLength: number;
1771
+ };
1772
+ };
1773
+ ninc: {
1774
+ description: string;
1775
+ type: string;
1776
+ items: {
1777
+ type: string;
1778
+ maxLength: number;
1779
+ };
1780
+ };
1781
+ pre: {
1782
+ description: string;
1783
+ type: string;
1784
+ maxLength: number;
1785
+ };
1786
+ suf: {
1787
+ description: string;
1788
+ type: string;
1789
+ maxLength: number;
1790
+ };
1791
+ re: {
1792
+ description: string;
1793
+ type: string;
1794
+ maxLength: number;
1795
+ };
1796
+ gt: {
1797
+ description: string;
1798
+ type: string;
1799
+ };
1800
+ gte: {
1801
+ description: string;
1802
+ type: string;
1803
+ };
1804
+ lt: {
1805
+ description: string;
1806
+ type: string;
1807
+ };
1808
+ lte: {
1809
+ description: string;
1810
+ type: string;
1811
+ };
1812
+ };
1813
+ maxLength?: undefined;
1814
+ })[];
586
1815
  };
587
1816
  };
588
1817
  }];
@@ -604,9 +1833,85 @@ export declare const headersSchema: {
604
1833
  readonly enum: readonly ["host"];
605
1834
  };
606
1835
  readonly value: {
607
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
608
- readonly type: "string";
609
- readonly maxLength: 4096;
1836
+ description: string;
1837
+ anyOf: ({
1838
+ description: string;
1839
+ type: string;
1840
+ maxLength: number;
1841
+ additionalProperties?: undefined;
1842
+ minProperties?: undefined;
1843
+ properties?: undefined;
1844
+ } | {
1845
+ description: string;
1846
+ type: string;
1847
+ additionalProperties: boolean;
1848
+ minProperties: number;
1849
+ properties: {
1850
+ eq: {
1851
+ description: string;
1852
+ anyOf: ({
1853
+ type: string;
1854
+ maxLength: number;
1855
+ } | {
1856
+ type: string;
1857
+ maxLength?: undefined;
1858
+ })[];
1859
+ };
1860
+ neq: {
1861
+ description: string;
1862
+ type: string;
1863
+ maxLength: number;
1864
+ };
1865
+ inc: {
1866
+ description: string;
1867
+ type: string;
1868
+ items: {
1869
+ type: string;
1870
+ maxLength: number;
1871
+ };
1872
+ };
1873
+ ninc: {
1874
+ description: string;
1875
+ type: string;
1876
+ items: {
1877
+ type: string;
1878
+ maxLength: number;
1879
+ };
1880
+ };
1881
+ pre: {
1882
+ description: string;
1883
+ type: string;
1884
+ maxLength: number;
1885
+ };
1886
+ suf: {
1887
+ description: string;
1888
+ type: string;
1889
+ maxLength: number;
1890
+ };
1891
+ re: {
1892
+ description: string;
1893
+ type: string;
1894
+ maxLength: number;
1895
+ };
1896
+ gt: {
1897
+ description: string;
1898
+ type: string;
1899
+ };
1900
+ gte: {
1901
+ description: string;
1902
+ type: string;
1903
+ };
1904
+ lt: {
1905
+ description: string;
1906
+ type: string;
1907
+ };
1908
+ lte: {
1909
+ description: string;
1910
+ type: string;
1911
+ };
1912
+ };
1913
+ maxLength?: undefined;
1914
+ })[];
610
1915
  };
611
1916
  };
612
1917
  }, {
@@ -625,9 +1930,85 @@ export declare const headersSchema: {
625
1930
  readonly maxLength: 4096;
626
1931
  };
627
1932
  readonly value: {
628
- readonly description: "A regular expression used to match the value. Named groups can be used in the destination";
629
- readonly type: "string";
630
- readonly maxLength: 4096;
1933
+ description: string;
1934
+ anyOf: ({
1935
+ description: string;
1936
+ type: string;
1937
+ maxLength: number;
1938
+ additionalProperties?: undefined;
1939
+ minProperties?: undefined;
1940
+ properties?: undefined;
1941
+ } | {
1942
+ description: string;
1943
+ type: string;
1944
+ additionalProperties: boolean;
1945
+ minProperties: number;
1946
+ properties: {
1947
+ eq: {
1948
+ description: string;
1949
+ anyOf: ({
1950
+ type: string;
1951
+ maxLength: number;
1952
+ } | {
1953
+ type: string;
1954
+ maxLength?: undefined;
1955
+ })[];
1956
+ };
1957
+ neq: {
1958
+ description: string;
1959
+ type: string;
1960
+ maxLength: number;
1961
+ };
1962
+ inc: {
1963
+ description: string;
1964
+ type: string;
1965
+ items: {
1966
+ type: string;
1967
+ maxLength: number;
1968
+ };
1969
+ };
1970
+ ninc: {
1971
+ description: string;
1972
+ type: string;
1973
+ items: {
1974
+ type: string;
1975
+ maxLength: number;
1976
+ };
1977
+ };
1978
+ pre: {
1979
+ description: string;
1980
+ type: string;
1981
+ maxLength: number;
1982
+ };
1983
+ suf: {
1984
+ description: string;
1985
+ type: string;
1986
+ maxLength: number;
1987
+ };
1988
+ re: {
1989
+ description: string;
1990
+ type: string;
1991
+ maxLength: number;
1992
+ };
1993
+ gt: {
1994
+ description: string;
1995
+ type: string;
1996
+ };
1997
+ gte: {
1998
+ description: string;
1999
+ type: string;
2000
+ };
2001
+ lt: {
2002
+ description: string;
2003
+ type: string;
2004
+ };
2005
+ lte: {
2006
+ description: string;
2007
+ type: string;
2008
+ };
2009
+ };
2010
+ maxLength?: undefined;
2011
+ })[];
631
2012
  };
632
2013
  };
633
2014
  }];