@vercel/routing-utils 5.0.5 → 5.0.7
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 +1345 -54
- package/dist/schemas.js +99 -11
- package/dist/superstatic.js +14 -2
- package/dist/types.d.ts +20 -2
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -14,9 +14,80 @@ export declare const hasSchema: {
|
|
|
14
14
|
readonly enum: readonly ["host"];
|
|
15
15
|
};
|
|
16
16
|
readonly value: {
|
|
17
|
-
readonly description: "A
|
|
18
|
-
readonly
|
|
19
|
-
|
|
17
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
18
|
+
readonly anyOf: readonly [{
|
|
19
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
20
|
+
readonly type: "string";
|
|
21
|
+
readonly maxLength: 4096;
|
|
22
|
+
}, {
|
|
23
|
+
readonly description: "A condition operation object";
|
|
24
|
+
readonly type: "object";
|
|
25
|
+
readonly additionalProperties: false;
|
|
26
|
+
readonly minProperties: 1;
|
|
27
|
+
readonly properties: {
|
|
28
|
+
readonly eq: {
|
|
29
|
+
readonly description: "Equal to";
|
|
30
|
+
readonly anyOf: readonly [{
|
|
31
|
+
readonly type: "string";
|
|
32
|
+
readonly maxLength: 4096;
|
|
33
|
+
}, {
|
|
34
|
+
readonly type: "number";
|
|
35
|
+
}];
|
|
36
|
+
};
|
|
37
|
+
readonly neq: {
|
|
38
|
+
readonly description: "Not equal";
|
|
39
|
+
readonly type: "string";
|
|
40
|
+
readonly maxLength: 4096;
|
|
41
|
+
};
|
|
42
|
+
readonly inc: {
|
|
43
|
+
readonly description: "In array";
|
|
44
|
+
readonly type: "array";
|
|
45
|
+
readonly items: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly maxLength: 4096;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
readonly ninc: {
|
|
51
|
+
readonly description: "Not in array";
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly type: "string";
|
|
55
|
+
readonly maxLength: 4096;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
readonly pre: {
|
|
59
|
+
readonly description: "Starts with";
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly maxLength: 4096;
|
|
62
|
+
};
|
|
63
|
+
readonly suf: {
|
|
64
|
+
readonly description: "Ends with";
|
|
65
|
+
readonly type: "string";
|
|
66
|
+
readonly maxLength: 4096;
|
|
67
|
+
};
|
|
68
|
+
readonly re: {
|
|
69
|
+
readonly description: "Regex";
|
|
70
|
+
readonly type: "string";
|
|
71
|
+
readonly maxLength: 4096;
|
|
72
|
+
};
|
|
73
|
+
readonly gt: {
|
|
74
|
+
readonly description: "Greater than";
|
|
75
|
+
readonly type: "number";
|
|
76
|
+
};
|
|
77
|
+
readonly gte: {
|
|
78
|
+
readonly description: "Greater than or equal to";
|
|
79
|
+
readonly type: "number";
|
|
80
|
+
};
|
|
81
|
+
readonly lt: {
|
|
82
|
+
readonly description: "Less than";
|
|
83
|
+
readonly type: "number";
|
|
84
|
+
};
|
|
85
|
+
readonly lte: {
|
|
86
|
+
readonly description: "Less than or equal to";
|
|
87
|
+
readonly type: "number";
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}];
|
|
20
91
|
};
|
|
21
92
|
};
|
|
22
93
|
}, {
|
|
@@ -35,9 +106,80 @@ export declare const hasSchema: {
|
|
|
35
106
|
readonly maxLength: 4096;
|
|
36
107
|
};
|
|
37
108
|
readonly value: {
|
|
38
|
-
readonly description: "A
|
|
39
|
-
readonly
|
|
40
|
-
|
|
109
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
110
|
+
readonly anyOf: readonly [{
|
|
111
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
112
|
+
readonly type: "string";
|
|
113
|
+
readonly maxLength: 4096;
|
|
114
|
+
}, {
|
|
115
|
+
readonly description: "A condition operation object";
|
|
116
|
+
readonly type: "object";
|
|
117
|
+
readonly additionalProperties: false;
|
|
118
|
+
readonly minProperties: 1;
|
|
119
|
+
readonly properties: {
|
|
120
|
+
readonly eq: {
|
|
121
|
+
readonly description: "Equal to";
|
|
122
|
+
readonly anyOf: readonly [{
|
|
123
|
+
readonly type: "string";
|
|
124
|
+
readonly maxLength: 4096;
|
|
125
|
+
}, {
|
|
126
|
+
readonly type: "number";
|
|
127
|
+
}];
|
|
128
|
+
};
|
|
129
|
+
readonly neq: {
|
|
130
|
+
readonly description: "Not equal";
|
|
131
|
+
readonly type: "string";
|
|
132
|
+
readonly maxLength: 4096;
|
|
133
|
+
};
|
|
134
|
+
readonly inc: {
|
|
135
|
+
readonly description: "In array";
|
|
136
|
+
readonly type: "array";
|
|
137
|
+
readonly items: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly maxLength: 4096;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
readonly ninc: {
|
|
143
|
+
readonly description: "Not in array";
|
|
144
|
+
readonly type: "array";
|
|
145
|
+
readonly items: {
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly maxLength: 4096;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
readonly pre: {
|
|
151
|
+
readonly description: "Starts with";
|
|
152
|
+
readonly type: "string";
|
|
153
|
+
readonly maxLength: 4096;
|
|
154
|
+
};
|
|
155
|
+
readonly suf: {
|
|
156
|
+
readonly description: "Ends with";
|
|
157
|
+
readonly type: "string";
|
|
158
|
+
readonly maxLength: 4096;
|
|
159
|
+
};
|
|
160
|
+
readonly re: {
|
|
161
|
+
readonly description: "Regex";
|
|
162
|
+
readonly type: "string";
|
|
163
|
+
readonly maxLength: 4096;
|
|
164
|
+
};
|
|
165
|
+
readonly gt: {
|
|
166
|
+
readonly description: "Greater than";
|
|
167
|
+
readonly type: "number";
|
|
168
|
+
};
|
|
169
|
+
readonly gte: {
|
|
170
|
+
readonly description: "Greater than or equal to";
|
|
171
|
+
readonly type: "number";
|
|
172
|
+
};
|
|
173
|
+
readonly lt: {
|
|
174
|
+
readonly description: "Less than";
|
|
175
|
+
readonly type: "number";
|
|
176
|
+
};
|
|
177
|
+
readonly lte: {
|
|
178
|
+
readonly description: "Less than or equal to";
|
|
179
|
+
readonly type: "number";
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
}];
|
|
41
183
|
};
|
|
42
184
|
};
|
|
43
185
|
}];
|
|
@@ -178,9 +320,80 @@ export declare const routesSchema: {
|
|
|
178
320
|
readonly enum: readonly ["host"];
|
|
179
321
|
};
|
|
180
322
|
readonly value: {
|
|
181
|
-
readonly description: "A
|
|
182
|
-
readonly
|
|
183
|
-
|
|
323
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
324
|
+
readonly anyOf: readonly [{
|
|
325
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
326
|
+
readonly type: "string";
|
|
327
|
+
readonly maxLength: 4096;
|
|
328
|
+
}, {
|
|
329
|
+
readonly description: "A condition operation object";
|
|
330
|
+
readonly type: "object";
|
|
331
|
+
readonly additionalProperties: false;
|
|
332
|
+
readonly minProperties: 1;
|
|
333
|
+
readonly properties: {
|
|
334
|
+
readonly eq: {
|
|
335
|
+
readonly description: "Equal to";
|
|
336
|
+
readonly anyOf: readonly [{
|
|
337
|
+
readonly type: "string";
|
|
338
|
+
readonly maxLength: 4096;
|
|
339
|
+
}, {
|
|
340
|
+
readonly type: "number";
|
|
341
|
+
}];
|
|
342
|
+
};
|
|
343
|
+
readonly neq: {
|
|
344
|
+
readonly description: "Not equal";
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
readonly maxLength: 4096;
|
|
347
|
+
};
|
|
348
|
+
readonly inc: {
|
|
349
|
+
readonly description: "In array";
|
|
350
|
+
readonly type: "array";
|
|
351
|
+
readonly items: {
|
|
352
|
+
readonly type: "string";
|
|
353
|
+
readonly maxLength: 4096;
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly ninc: {
|
|
357
|
+
readonly description: "Not in array";
|
|
358
|
+
readonly type: "array";
|
|
359
|
+
readonly items: {
|
|
360
|
+
readonly type: "string";
|
|
361
|
+
readonly maxLength: 4096;
|
|
362
|
+
};
|
|
363
|
+
};
|
|
364
|
+
readonly pre: {
|
|
365
|
+
readonly description: "Starts with";
|
|
366
|
+
readonly type: "string";
|
|
367
|
+
readonly maxLength: 4096;
|
|
368
|
+
};
|
|
369
|
+
readonly suf: {
|
|
370
|
+
readonly description: "Ends with";
|
|
371
|
+
readonly type: "string";
|
|
372
|
+
readonly maxLength: 4096;
|
|
373
|
+
};
|
|
374
|
+
readonly re: {
|
|
375
|
+
readonly description: "Regex";
|
|
376
|
+
readonly type: "string";
|
|
377
|
+
readonly maxLength: 4096;
|
|
378
|
+
};
|
|
379
|
+
readonly gt: {
|
|
380
|
+
readonly description: "Greater than";
|
|
381
|
+
readonly type: "number";
|
|
382
|
+
};
|
|
383
|
+
readonly gte: {
|
|
384
|
+
readonly description: "Greater than or equal to";
|
|
385
|
+
readonly type: "number";
|
|
386
|
+
};
|
|
387
|
+
readonly lt: {
|
|
388
|
+
readonly description: "Less than";
|
|
389
|
+
readonly type: "number";
|
|
390
|
+
};
|
|
391
|
+
readonly lte: {
|
|
392
|
+
readonly description: "Less than or equal to";
|
|
393
|
+
readonly type: "number";
|
|
394
|
+
};
|
|
395
|
+
};
|
|
396
|
+
}];
|
|
184
397
|
};
|
|
185
398
|
};
|
|
186
399
|
}, {
|
|
@@ -199,9 +412,80 @@ export declare const routesSchema: {
|
|
|
199
412
|
readonly maxLength: 4096;
|
|
200
413
|
};
|
|
201
414
|
readonly value: {
|
|
202
|
-
readonly description: "A
|
|
203
|
-
readonly
|
|
204
|
-
|
|
415
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
416
|
+
readonly anyOf: readonly [{
|
|
417
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
418
|
+
readonly type: "string";
|
|
419
|
+
readonly maxLength: 4096;
|
|
420
|
+
}, {
|
|
421
|
+
readonly description: "A condition operation object";
|
|
422
|
+
readonly type: "object";
|
|
423
|
+
readonly additionalProperties: false;
|
|
424
|
+
readonly minProperties: 1;
|
|
425
|
+
readonly properties: {
|
|
426
|
+
readonly eq: {
|
|
427
|
+
readonly description: "Equal to";
|
|
428
|
+
readonly anyOf: readonly [{
|
|
429
|
+
readonly type: "string";
|
|
430
|
+
readonly maxLength: 4096;
|
|
431
|
+
}, {
|
|
432
|
+
readonly type: "number";
|
|
433
|
+
}];
|
|
434
|
+
};
|
|
435
|
+
readonly neq: {
|
|
436
|
+
readonly description: "Not equal";
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
readonly maxLength: 4096;
|
|
439
|
+
};
|
|
440
|
+
readonly inc: {
|
|
441
|
+
readonly description: "In array";
|
|
442
|
+
readonly type: "array";
|
|
443
|
+
readonly items: {
|
|
444
|
+
readonly type: "string";
|
|
445
|
+
readonly maxLength: 4096;
|
|
446
|
+
};
|
|
447
|
+
};
|
|
448
|
+
readonly ninc: {
|
|
449
|
+
readonly description: "Not in array";
|
|
450
|
+
readonly type: "array";
|
|
451
|
+
readonly items: {
|
|
452
|
+
readonly type: "string";
|
|
453
|
+
readonly maxLength: 4096;
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
readonly pre: {
|
|
457
|
+
readonly description: "Starts with";
|
|
458
|
+
readonly type: "string";
|
|
459
|
+
readonly maxLength: 4096;
|
|
460
|
+
};
|
|
461
|
+
readonly suf: {
|
|
462
|
+
readonly description: "Ends with";
|
|
463
|
+
readonly type: "string";
|
|
464
|
+
readonly maxLength: 4096;
|
|
465
|
+
};
|
|
466
|
+
readonly re: {
|
|
467
|
+
readonly description: "Regex";
|
|
468
|
+
readonly type: "string";
|
|
469
|
+
readonly maxLength: 4096;
|
|
470
|
+
};
|
|
471
|
+
readonly gt: {
|
|
472
|
+
readonly description: "Greater than";
|
|
473
|
+
readonly type: "number";
|
|
474
|
+
};
|
|
475
|
+
readonly gte: {
|
|
476
|
+
readonly description: "Greater than or equal to";
|
|
477
|
+
readonly type: "number";
|
|
478
|
+
};
|
|
479
|
+
readonly lt: {
|
|
480
|
+
readonly description: "Less than";
|
|
481
|
+
readonly type: "number";
|
|
482
|
+
};
|
|
483
|
+
readonly lte: {
|
|
484
|
+
readonly description: "Less than or equal to";
|
|
485
|
+
readonly type: "number";
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
}];
|
|
205
489
|
};
|
|
206
490
|
};
|
|
207
491
|
}];
|
|
@@ -223,9 +507,80 @@ export declare const routesSchema: {
|
|
|
223
507
|
readonly enum: readonly ["host"];
|
|
224
508
|
};
|
|
225
509
|
readonly value: {
|
|
226
|
-
readonly description: "A
|
|
227
|
-
readonly
|
|
228
|
-
|
|
510
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
511
|
+
readonly anyOf: readonly [{
|
|
512
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
513
|
+
readonly type: "string";
|
|
514
|
+
readonly maxLength: 4096;
|
|
515
|
+
}, {
|
|
516
|
+
readonly description: "A condition operation object";
|
|
517
|
+
readonly type: "object";
|
|
518
|
+
readonly additionalProperties: false;
|
|
519
|
+
readonly minProperties: 1;
|
|
520
|
+
readonly properties: {
|
|
521
|
+
readonly eq: {
|
|
522
|
+
readonly description: "Equal to";
|
|
523
|
+
readonly anyOf: readonly [{
|
|
524
|
+
readonly type: "string";
|
|
525
|
+
readonly maxLength: 4096;
|
|
526
|
+
}, {
|
|
527
|
+
readonly type: "number";
|
|
528
|
+
}];
|
|
529
|
+
};
|
|
530
|
+
readonly neq: {
|
|
531
|
+
readonly description: "Not equal";
|
|
532
|
+
readonly type: "string";
|
|
533
|
+
readonly maxLength: 4096;
|
|
534
|
+
};
|
|
535
|
+
readonly inc: {
|
|
536
|
+
readonly description: "In array";
|
|
537
|
+
readonly type: "array";
|
|
538
|
+
readonly items: {
|
|
539
|
+
readonly type: "string";
|
|
540
|
+
readonly maxLength: 4096;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
readonly ninc: {
|
|
544
|
+
readonly description: "Not in array";
|
|
545
|
+
readonly type: "array";
|
|
546
|
+
readonly items: {
|
|
547
|
+
readonly type: "string";
|
|
548
|
+
readonly maxLength: 4096;
|
|
549
|
+
};
|
|
550
|
+
};
|
|
551
|
+
readonly pre: {
|
|
552
|
+
readonly description: "Starts with";
|
|
553
|
+
readonly type: "string";
|
|
554
|
+
readonly maxLength: 4096;
|
|
555
|
+
};
|
|
556
|
+
readonly suf: {
|
|
557
|
+
readonly description: "Ends with";
|
|
558
|
+
readonly type: "string";
|
|
559
|
+
readonly maxLength: 4096;
|
|
560
|
+
};
|
|
561
|
+
readonly re: {
|
|
562
|
+
readonly description: "Regex";
|
|
563
|
+
readonly type: "string";
|
|
564
|
+
readonly maxLength: 4096;
|
|
565
|
+
};
|
|
566
|
+
readonly gt: {
|
|
567
|
+
readonly description: "Greater than";
|
|
568
|
+
readonly type: "number";
|
|
569
|
+
};
|
|
570
|
+
readonly gte: {
|
|
571
|
+
readonly description: "Greater than or equal to";
|
|
572
|
+
readonly type: "number";
|
|
573
|
+
};
|
|
574
|
+
readonly lt: {
|
|
575
|
+
readonly description: "Less than";
|
|
576
|
+
readonly type: "number";
|
|
577
|
+
};
|
|
578
|
+
readonly lte: {
|
|
579
|
+
readonly description: "Less than or equal to";
|
|
580
|
+
readonly type: "number";
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
}];
|
|
229
584
|
};
|
|
230
585
|
};
|
|
231
586
|
}, {
|
|
@@ -244,14 +599,98 @@ export declare const routesSchema: {
|
|
|
244
599
|
readonly maxLength: 4096;
|
|
245
600
|
};
|
|
246
601
|
readonly value: {
|
|
247
|
-
readonly description: "A
|
|
248
|
-
readonly
|
|
249
|
-
|
|
602
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
603
|
+
readonly anyOf: readonly [{
|
|
604
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
605
|
+
readonly type: "string";
|
|
606
|
+
readonly maxLength: 4096;
|
|
607
|
+
}, {
|
|
608
|
+
readonly description: "A condition operation object";
|
|
609
|
+
readonly type: "object";
|
|
610
|
+
readonly additionalProperties: false;
|
|
611
|
+
readonly minProperties: 1;
|
|
612
|
+
readonly properties: {
|
|
613
|
+
readonly eq: {
|
|
614
|
+
readonly description: "Equal to";
|
|
615
|
+
readonly anyOf: readonly [{
|
|
616
|
+
readonly type: "string";
|
|
617
|
+
readonly maxLength: 4096;
|
|
618
|
+
}, {
|
|
619
|
+
readonly type: "number";
|
|
620
|
+
}];
|
|
621
|
+
};
|
|
622
|
+
readonly neq: {
|
|
623
|
+
readonly description: "Not equal";
|
|
624
|
+
readonly type: "string";
|
|
625
|
+
readonly maxLength: 4096;
|
|
626
|
+
};
|
|
627
|
+
readonly inc: {
|
|
628
|
+
readonly description: "In array";
|
|
629
|
+
readonly type: "array";
|
|
630
|
+
readonly items: {
|
|
631
|
+
readonly type: "string";
|
|
632
|
+
readonly maxLength: 4096;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
readonly ninc: {
|
|
636
|
+
readonly description: "Not in array";
|
|
637
|
+
readonly type: "array";
|
|
638
|
+
readonly items: {
|
|
639
|
+
readonly type: "string";
|
|
640
|
+
readonly maxLength: 4096;
|
|
641
|
+
};
|
|
642
|
+
};
|
|
643
|
+
readonly pre: {
|
|
644
|
+
readonly description: "Starts with";
|
|
645
|
+
readonly type: "string";
|
|
646
|
+
readonly maxLength: 4096;
|
|
647
|
+
};
|
|
648
|
+
readonly suf: {
|
|
649
|
+
readonly description: "Ends with";
|
|
650
|
+
readonly type: "string";
|
|
651
|
+
readonly maxLength: 4096;
|
|
652
|
+
};
|
|
653
|
+
readonly re: {
|
|
654
|
+
readonly description: "Regex";
|
|
655
|
+
readonly type: "string";
|
|
656
|
+
readonly maxLength: 4096;
|
|
657
|
+
};
|
|
658
|
+
readonly gt: {
|
|
659
|
+
readonly description: "Greater than";
|
|
660
|
+
readonly type: "number";
|
|
661
|
+
};
|
|
662
|
+
readonly gte: {
|
|
663
|
+
readonly description: "Greater than or equal to";
|
|
664
|
+
readonly type: "number";
|
|
665
|
+
};
|
|
666
|
+
readonly lt: {
|
|
667
|
+
readonly description: "Less than";
|
|
668
|
+
readonly type: "number";
|
|
669
|
+
};
|
|
670
|
+
readonly lte: {
|
|
671
|
+
readonly description: "Less than or equal to";
|
|
672
|
+
readonly type: "number";
|
|
673
|
+
};
|
|
674
|
+
};
|
|
675
|
+
}];
|
|
250
676
|
};
|
|
251
677
|
};
|
|
252
678
|
}];
|
|
253
679
|
};
|
|
254
680
|
};
|
|
681
|
+
readonly mitigate: {
|
|
682
|
+
readonly description: "Mitigation action to take on a route";
|
|
683
|
+
readonly type: "object";
|
|
684
|
+
readonly additionalProperties: false;
|
|
685
|
+
readonly required: readonly ["action"];
|
|
686
|
+
readonly properties: {
|
|
687
|
+
readonly action: {
|
|
688
|
+
readonly description: "The mitigation action to take";
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
readonly enum: readonly ["challenge", "deny"];
|
|
691
|
+
};
|
|
692
|
+
};
|
|
693
|
+
};
|
|
255
694
|
};
|
|
256
695
|
}, {
|
|
257
696
|
readonly type: "object";
|
|
@@ -302,9 +741,80 @@ export declare const rewritesSchema: {
|
|
|
302
741
|
readonly enum: readonly ["host"];
|
|
303
742
|
};
|
|
304
743
|
readonly value: {
|
|
305
|
-
readonly description: "A
|
|
306
|
-
readonly
|
|
307
|
-
|
|
744
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
745
|
+
readonly anyOf: readonly [{
|
|
746
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
747
|
+
readonly type: "string";
|
|
748
|
+
readonly maxLength: 4096;
|
|
749
|
+
}, {
|
|
750
|
+
readonly description: "A condition operation object";
|
|
751
|
+
readonly type: "object";
|
|
752
|
+
readonly additionalProperties: false;
|
|
753
|
+
readonly minProperties: 1;
|
|
754
|
+
readonly properties: {
|
|
755
|
+
readonly eq: {
|
|
756
|
+
readonly description: "Equal to";
|
|
757
|
+
readonly anyOf: readonly [{
|
|
758
|
+
readonly type: "string";
|
|
759
|
+
readonly maxLength: 4096;
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "number";
|
|
762
|
+
}];
|
|
763
|
+
};
|
|
764
|
+
readonly neq: {
|
|
765
|
+
readonly description: "Not equal";
|
|
766
|
+
readonly type: "string";
|
|
767
|
+
readonly maxLength: 4096;
|
|
768
|
+
};
|
|
769
|
+
readonly inc: {
|
|
770
|
+
readonly description: "In array";
|
|
771
|
+
readonly type: "array";
|
|
772
|
+
readonly items: {
|
|
773
|
+
readonly type: "string";
|
|
774
|
+
readonly maxLength: 4096;
|
|
775
|
+
};
|
|
776
|
+
};
|
|
777
|
+
readonly ninc: {
|
|
778
|
+
readonly description: "Not in array";
|
|
779
|
+
readonly type: "array";
|
|
780
|
+
readonly items: {
|
|
781
|
+
readonly type: "string";
|
|
782
|
+
readonly maxLength: 4096;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
readonly pre: {
|
|
786
|
+
readonly description: "Starts with";
|
|
787
|
+
readonly type: "string";
|
|
788
|
+
readonly maxLength: 4096;
|
|
789
|
+
};
|
|
790
|
+
readonly suf: {
|
|
791
|
+
readonly description: "Ends with";
|
|
792
|
+
readonly type: "string";
|
|
793
|
+
readonly maxLength: 4096;
|
|
794
|
+
};
|
|
795
|
+
readonly re: {
|
|
796
|
+
readonly description: "Regex";
|
|
797
|
+
readonly type: "string";
|
|
798
|
+
readonly maxLength: 4096;
|
|
799
|
+
};
|
|
800
|
+
readonly gt: {
|
|
801
|
+
readonly description: "Greater than";
|
|
802
|
+
readonly type: "number";
|
|
803
|
+
};
|
|
804
|
+
readonly gte: {
|
|
805
|
+
readonly description: "Greater than or equal to";
|
|
806
|
+
readonly type: "number";
|
|
807
|
+
};
|
|
808
|
+
readonly lt: {
|
|
809
|
+
readonly description: "Less than";
|
|
810
|
+
readonly type: "number";
|
|
811
|
+
};
|
|
812
|
+
readonly lte: {
|
|
813
|
+
readonly description: "Less than or equal to";
|
|
814
|
+
readonly type: "number";
|
|
815
|
+
};
|
|
816
|
+
};
|
|
817
|
+
}];
|
|
308
818
|
};
|
|
309
819
|
};
|
|
310
820
|
}, {
|
|
@@ -323,9 +833,80 @@ export declare const rewritesSchema: {
|
|
|
323
833
|
readonly maxLength: 4096;
|
|
324
834
|
};
|
|
325
835
|
readonly value: {
|
|
326
|
-
readonly description: "A
|
|
327
|
-
readonly
|
|
328
|
-
|
|
836
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
837
|
+
readonly anyOf: readonly [{
|
|
838
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
839
|
+
readonly type: "string";
|
|
840
|
+
readonly maxLength: 4096;
|
|
841
|
+
}, {
|
|
842
|
+
readonly description: "A condition operation object";
|
|
843
|
+
readonly type: "object";
|
|
844
|
+
readonly additionalProperties: false;
|
|
845
|
+
readonly minProperties: 1;
|
|
846
|
+
readonly properties: {
|
|
847
|
+
readonly eq: {
|
|
848
|
+
readonly description: "Equal to";
|
|
849
|
+
readonly anyOf: readonly [{
|
|
850
|
+
readonly type: "string";
|
|
851
|
+
readonly maxLength: 4096;
|
|
852
|
+
}, {
|
|
853
|
+
readonly type: "number";
|
|
854
|
+
}];
|
|
855
|
+
};
|
|
856
|
+
readonly neq: {
|
|
857
|
+
readonly description: "Not equal";
|
|
858
|
+
readonly type: "string";
|
|
859
|
+
readonly maxLength: 4096;
|
|
860
|
+
};
|
|
861
|
+
readonly inc: {
|
|
862
|
+
readonly description: "In array";
|
|
863
|
+
readonly type: "array";
|
|
864
|
+
readonly items: {
|
|
865
|
+
readonly type: "string";
|
|
866
|
+
readonly maxLength: 4096;
|
|
867
|
+
};
|
|
868
|
+
};
|
|
869
|
+
readonly ninc: {
|
|
870
|
+
readonly description: "Not in array";
|
|
871
|
+
readonly type: "array";
|
|
872
|
+
readonly items: {
|
|
873
|
+
readonly type: "string";
|
|
874
|
+
readonly maxLength: 4096;
|
|
875
|
+
};
|
|
876
|
+
};
|
|
877
|
+
readonly pre: {
|
|
878
|
+
readonly description: "Starts with";
|
|
879
|
+
readonly type: "string";
|
|
880
|
+
readonly maxLength: 4096;
|
|
881
|
+
};
|
|
882
|
+
readonly suf: {
|
|
883
|
+
readonly description: "Ends with";
|
|
884
|
+
readonly type: "string";
|
|
885
|
+
readonly maxLength: 4096;
|
|
886
|
+
};
|
|
887
|
+
readonly re: {
|
|
888
|
+
readonly description: "Regex";
|
|
889
|
+
readonly type: "string";
|
|
890
|
+
readonly maxLength: 4096;
|
|
891
|
+
};
|
|
892
|
+
readonly gt: {
|
|
893
|
+
readonly description: "Greater than";
|
|
894
|
+
readonly type: "number";
|
|
895
|
+
};
|
|
896
|
+
readonly gte: {
|
|
897
|
+
readonly description: "Greater than or equal to";
|
|
898
|
+
readonly type: "number";
|
|
899
|
+
};
|
|
900
|
+
readonly lt: {
|
|
901
|
+
readonly description: "Less than";
|
|
902
|
+
readonly type: "number";
|
|
903
|
+
};
|
|
904
|
+
readonly lte: {
|
|
905
|
+
readonly description: "Less than or equal to";
|
|
906
|
+
readonly type: "number";
|
|
907
|
+
};
|
|
908
|
+
};
|
|
909
|
+
}];
|
|
329
910
|
};
|
|
330
911
|
};
|
|
331
912
|
}];
|
|
@@ -347,9 +928,80 @@ export declare const rewritesSchema: {
|
|
|
347
928
|
readonly enum: readonly ["host"];
|
|
348
929
|
};
|
|
349
930
|
readonly value: {
|
|
350
|
-
readonly description: "A
|
|
351
|
-
readonly
|
|
352
|
-
|
|
931
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
932
|
+
readonly anyOf: readonly [{
|
|
933
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
934
|
+
readonly type: "string";
|
|
935
|
+
readonly maxLength: 4096;
|
|
936
|
+
}, {
|
|
937
|
+
readonly description: "A condition operation object";
|
|
938
|
+
readonly type: "object";
|
|
939
|
+
readonly additionalProperties: false;
|
|
940
|
+
readonly minProperties: 1;
|
|
941
|
+
readonly properties: {
|
|
942
|
+
readonly eq: {
|
|
943
|
+
readonly description: "Equal to";
|
|
944
|
+
readonly anyOf: readonly [{
|
|
945
|
+
readonly type: "string";
|
|
946
|
+
readonly maxLength: 4096;
|
|
947
|
+
}, {
|
|
948
|
+
readonly type: "number";
|
|
949
|
+
}];
|
|
950
|
+
};
|
|
951
|
+
readonly neq: {
|
|
952
|
+
readonly description: "Not equal";
|
|
953
|
+
readonly type: "string";
|
|
954
|
+
readonly maxLength: 4096;
|
|
955
|
+
};
|
|
956
|
+
readonly inc: {
|
|
957
|
+
readonly description: "In array";
|
|
958
|
+
readonly type: "array";
|
|
959
|
+
readonly items: {
|
|
960
|
+
readonly type: "string";
|
|
961
|
+
readonly maxLength: 4096;
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
readonly ninc: {
|
|
965
|
+
readonly description: "Not in array";
|
|
966
|
+
readonly type: "array";
|
|
967
|
+
readonly items: {
|
|
968
|
+
readonly type: "string";
|
|
969
|
+
readonly maxLength: 4096;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly pre: {
|
|
973
|
+
readonly description: "Starts with";
|
|
974
|
+
readonly type: "string";
|
|
975
|
+
readonly maxLength: 4096;
|
|
976
|
+
};
|
|
977
|
+
readonly suf: {
|
|
978
|
+
readonly description: "Ends with";
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
readonly maxLength: 4096;
|
|
981
|
+
};
|
|
982
|
+
readonly re: {
|
|
983
|
+
readonly description: "Regex";
|
|
984
|
+
readonly type: "string";
|
|
985
|
+
readonly maxLength: 4096;
|
|
986
|
+
};
|
|
987
|
+
readonly gt: {
|
|
988
|
+
readonly description: "Greater than";
|
|
989
|
+
readonly type: "number";
|
|
990
|
+
};
|
|
991
|
+
readonly gte: {
|
|
992
|
+
readonly description: "Greater than or equal to";
|
|
993
|
+
readonly type: "number";
|
|
994
|
+
};
|
|
995
|
+
readonly lt: {
|
|
996
|
+
readonly description: "Less than";
|
|
997
|
+
readonly type: "number";
|
|
998
|
+
};
|
|
999
|
+
readonly lte: {
|
|
1000
|
+
readonly description: "Less than or equal to";
|
|
1001
|
+
readonly type: "number";
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
}];
|
|
353
1005
|
};
|
|
354
1006
|
};
|
|
355
1007
|
}, {
|
|
@@ -368,9 +1020,80 @@ export declare const rewritesSchema: {
|
|
|
368
1020
|
readonly maxLength: 4096;
|
|
369
1021
|
};
|
|
370
1022
|
readonly value: {
|
|
371
|
-
readonly description: "A
|
|
372
|
-
readonly
|
|
373
|
-
|
|
1023
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1024
|
+
readonly anyOf: readonly [{
|
|
1025
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1026
|
+
readonly type: "string";
|
|
1027
|
+
readonly maxLength: 4096;
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly description: "A condition operation object";
|
|
1030
|
+
readonly type: "object";
|
|
1031
|
+
readonly additionalProperties: false;
|
|
1032
|
+
readonly minProperties: 1;
|
|
1033
|
+
readonly properties: {
|
|
1034
|
+
readonly eq: {
|
|
1035
|
+
readonly description: "Equal to";
|
|
1036
|
+
readonly anyOf: readonly [{
|
|
1037
|
+
readonly type: "string";
|
|
1038
|
+
readonly maxLength: 4096;
|
|
1039
|
+
}, {
|
|
1040
|
+
readonly type: "number";
|
|
1041
|
+
}];
|
|
1042
|
+
};
|
|
1043
|
+
readonly neq: {
|
|
1044
|
+
readonly description: "Not equal";
|
|
1045
|
+
readonly type: "string";
|
|
1046
|
+
readonly maxLength: 4096;
|
|
1047
|
+
};
|
|
1048
|
+
readonly inc: {
|
|
1049
|
+
readonly description: "In array";
|
|
1050
|
+
readonly type: "array";
|
|
1051
|
+
readonly items: {
|
|
1052
|
+
readonly type: "string";
|
|
1053
|
+
readonly maxLength: 4096;
|
|
1054
|
+
};
|
|
1055
|
+
};
|
|
1056
|
+
readonly ninc: {
|
|
1057
|
+
readonly description: "Not in array";
|
|
1058
|
+
readonly type: "array";
|
|
1059
|
+
readonly items: {
|
|
1060
|
+
readonly type: "string";
|
|
1061
|
+
readonly maxLength: 4096;
|
|
1062
|
+
};
|
|
1063
|
+
};
|
|
1064
|
+
readonly pre: {
|
|
1065
|
+
readonly description: "Starts with";
|
|
1066
|
+
readonly type: "string";
|
|
1067
|
+
readonly maxLength: 4096;
|
|
1068
|
+
};
|
|
1069
|
+
readonly suf: {
|
|
1070
|
+
readonly description: "Ends with";
|
|
1071
|
+
readonly type: "string";
|
|
1072
|
+
readonly maxLength: 4096;
|
|
1073
|
+
};
|
|
1074
|
+
readonly re: {
|
|
1075
|
+
readonly description: "Regex";
|
|
1076
|
+
readonly type: "string";
|
|
1077
|
+
readonly maxLength: 4096;
|
|
1078
|
+
};
|
|
1079
|
+
readonly gt: {
|
|
1080
|
+
readonly description: "Greater than";
|
|
1081
|
+
readonly type: "number";
|
|
1082
|
+
};
|
|
1083
|
+
readonly gte: {
|
|
1084
|
+
readonly description: "Greater than or equal to";
|
|
1085
|
+
readonly type: "number";
|
|
1086
|
+
};
|
|
1087
|
+
readonly lt: {
|
|
1088
|
+
readonly description: "Less than";
|
|
1089
|
+
readonly type: "number";
|
|
1090
|
+
};
|
|
1091
|
+
readonly lte: {
|
|
1092
|
+
readonly description: "Less than or equal to";
|
|
1093
|
+
readonly type: "number";
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
}];
|
|
374
1097
|
};
|
|
375
1098
|
};
|
|
376
1099
|
}];
|
|
@@ -432,9 +1155,80 @@ export declare const redirectsSchema: {
|
|
|
432
1155
|
readonly enum: readonly ["host"];
|
|
433
1156
|
};
|
|
434
1157
|
readonly value: {
|
|
435
|
-
readonly description: "A
|
|
436
|
-
readonly
|
|
437
|
-
|
|
1158
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1159
|
+
readonly anyOf: readonly [{
|
|
1160
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1161
|
+
readonly type: "string";
|
|
1162
|
+
readonly maxLength: 4096;
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly description: "A condition operation object";
|
|
1165
|
+
readonly type: "object";
|
|
1166
|
+
readonly additionalProperties: false;
|
|
1167
|
+
readonly minProperties: 1;
|
|
1168
|
+
readonly properties: {
|
|
1169
|
+
readonly eq: {
|
|
1170
|
+
readonly description: "Equal to";
|
|
1171
|
+
readonly anyOf: readonly [{
|
|
1172
|
+
readonly type: "string";
|
|
1173
|
+
readonly maxLength: 4096;
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly type: "number";
|
|
1176
|
+
}];
|
|
1177
|
+
};
|
|
1178
|
+
readonly neq: {
|
|
1179
|
+
readonly description: "Not equal";
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
readonly maxLength: 4096;
|
|
1182
|
+
};
|
|
1183
|
+
readonly inc: {
|
|
1184
|
+
readonly description: "In array";
|
|
1185
|
+
readonly type: "array";
|
|
1186
|
+
readonly items: {
|
|
1187
|
+
readonly type: "string";
|
|
1188
|
+
readonly maxLength: 4096;
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
readonly ninc: {
|
|
1192
|
+
readonly description: "Not in array";
|
|
1193
|
+
readonly type: "array";
|
|
1194
|
+
readonly items: {
|
|
1195
|
+
readonly type: "string";
|
|
1196
|
+
readonly maxLength: 4096;
|
|
1197
|
+
};
|
|
1198
|
+
};
|
|
1199
|
+
readonly pre: {
|
|
1200
|
+
readonly description: "Starts with";
|
|
1201
|
+
readonly type: "string";
|
|
1202
|
+
readonly maxLength: 4096;
|
|
1203
|
+
};
|
|
1204
|
+
readonly suf: {
|
|
1205
|
+
readonly description: "Ends with";
|
|
1206
|
+
readonly type: "string";
|
|
1207
|
+
readonly maxLength: 4096;
|
|
1208
|
+
};
|
|
1209
|
+
readonly re: {
|
|
1210
|
+
readonly description: "Regex";
|
|
1211
|
+
readonly type: "string";
|
|
1212
|
+
readonly maxLength: 4096;
|
|
1213
|
+
};
|
|
1214
|
+
readonly gt: {
|
|
1215
|
+
readonly description: "Greater than";
|
|
1216
|
+
readonly type: "number";
|
|
1217
|
+
};
|
|
1218
|
+
readonly gte: {
|
|
1219
|
+
readonly description: "Greater than or equal to";
|
|
1220
|
+
readonly type: "number";
|
|
1221
|
+
};
|
|
1222
|
+
readonly lt: {
|
|
1223
|
+
readonly description: "Less than";
|
|
1224
|
+
readonly type: "number";
|
|
1225
|
+
};
|
|
1226
|
+
readonly lte: {
|
|
1227
|
+
readonly description: "Less than or equal to";
|
|
1228
|
+
readonly type: "number";
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
}];
|
|
438
1232
|
};
|
|
439
1233
|
};
|
|
440
1234
|
}, {
|
|
@@ -453,9 +1247,80 @@ export declare const redirectsSchema: {
|
|
|
453
1247
|
readonly maxLength: 4096;
|
|
454
1248
|
};
|
|
455
1249
|
readonly value: {
|
|
456
|
-
readonly description: "A
|
|
457
|
-
readonly
|
|
458
|
-
|
|
1250
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1251
|
+
readonly anyOf: readonly [{
|
|
1252
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1253
|
+
readonly type: "string";
|
|
1254
|
+
readonly maxLength: 4096;
|
|
1255
|
+
}, {
|
|
1256
|
+
readonly description: "A condition operation object";
|
|
1257
|
+
readonly type: "object";
|
|
1258
|
+
readonly additionalProperties: false;
|
|
1259
|
+
readonly minProperties: 1;
|
|
1260
|
+
readonly properties: {
|
|
1261
|
+
readonly eq: {
|
|
1262
|
+
readonly description: "Equal to";
|
|
1263
|
+
readonly anyOf: readonly [{
|
|
1264
|
+
readonly type: "string";
|
|
1265
|
+
readonly maxLength: 4096;
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly type: "number";
|
|
1268
|
+
}];
|
|
1269
|
+
};
|
|
1270
|
+
readonly neq: {
|
|
1271
|
+
readonly description: "Not equal";
|
|
1272
|
+
readonly type: "string";
|
|
1273
|
+
readonly maxLength: 4096;
|
|
1274
|
+
};
|
|
1275
|
+
readonly inc: {
|
|
1276
|
+
readonly description: "In array";
|
|
1277
|
+
readonly type: "array";
|
|
1278
|
+
readonly items: {
|
|
1279
|
+
readonly type: "string";
|
|
1280
|
+
readonly maxLength: 4096;
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
readonly ninc: {
|
|
1284
|
+
readonly description: "Not in array";
|
|
1285
|
+
readonly type: "array";
|
|
1286
|
+
readonly items: {
|
|
1287
|
+
readonly type: "string";
|
|
1288
|
+
readonly maxLength: 4096;
|
|
1289
|
+
};
|
|
1290
|
+
};
|
|
1291
|
+
readonly pre: {
|
|
1292
|
+
readonly description: "Starts with";
|
|
1293
|
+
readonly type: "string";
|
|
1294
|
+
readonly maxLength: 4096;
|
|
1295
|
+
};
|
|
1296
|
+
readonly suf: {
|
|
1297
|
+
readonly description: "Ends with";
|
|
1298
|
+
readonly type: "string";
|
|
1299
|
+
readonly maxLength: 4096;
|
|
1300
|
+
};
|
|
1301
|
+
readonly re: {
|
|
1302
|
+
readonly description: "Regex";
|
|
1303
|
+
readonly type: "string";
|
|
1304
|
+
readonly maxLength: 4096;
|
|
1305
|
+
};
|
|
1306
|
+
readonly gt: {
|
|
1307
|
+
readonly description: "Greater than";
|
|
1308
|
+
readonly type: "number";
|
|
1309
|
+
};
|
|
1310
|
+
readonly gte: {
|
|
1311
|
+
readonly description: "Greater than or equal to";
|
|
1312
|
+
readonly type: "number";
|
|
1313
|
+
};
|
|
1314
|
+
readonly lt: {
|
|
1315
|
+
readonly description: "Less than";
|
|
1316
|
+
readonly type: "number";
|
|
1317
|
+
};
|
|
1318
|
+
readonly lte: {
|
|
1319
|
+
readonly description: "Less than or equal to";
|
|
1320
|
+
readonly type: "number";
|
|
1321
|
+
};
|
|
1322
|
+
};
|
|
1323
|
+
}];
|
|
459
1324
|
};
|
|
460
1325
|
};
|
|
461
1326
|
}];
|
|
@@ -477,9 +1342,80 @@ export declare const redirectsSchema: {
|
|
|
477
1342
|
readonly enum: readonly ["host"];
|
|
478
1343
|
};
|
|
479
1344
|
readonly value: {
|
|
480
|
-
readonly description: "A
|
|
481
|
-
readonly
|
|
482
|
-
|
|
1345
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1346
|
+
readonly anyOf: readonly [{
|
|
1347
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1348
|
+
readonly type: "string";
|
|
1349
|
+
readonly maxLength: 4096;
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly description: "A condition operation object";
|
|
1352
|
+
readonly type: "object";
|
|
1353
|
+
readonly additionalProperties: false;
|
|
1354
|
+
readonly minProperties: 1;
|
|
1355
|
+
readonly properties: {
|
|
1356
|
+
readonly eq: {
|
|
1357
|
+
readonly description: "Equal to";
|
|
1358
|
+
readonly anyOf: readonly [{
|
|
1359
|
+
readonly type: "string";
|
|
1360
|
+
readonly maxLength: 4096;
|
|
1361
|
+
}, {
|
|
1362
|
+
readonly type: "number";
|
|
1363
|
+
}];
|
|
1364
|
+
};
|
|
1365
|
+
readonly neq: {
|
|
1366
|
+
readonly description: "Not equal";
|
|
1367
|
+
readonly type: "string";
|
|
1368
|
+
readonly maxLength: 4096;
|
|
1369
|
+
};
|
|
1370
|
+
readonly inc: {
|
|
1371
|
+
readonly description: "In array";
|
|
1372
|
+
readonly type: "array";
|
|
1373
|
+
readonly items: {
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
readonly maxLength: 4096;
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
readonly ninc: {
|
|
1379
|
+
readonly description: "Not in array";
|
|
1380
|
+
readonly type: "array";
|
|
1381
|
+
readonly items: {
|
|
1382
|
+
readonly type: "string";
|
|
1383
|
+
readonly maxLength: 4096;
|
|
1384
|
+
};
|
|
1385
|
+
};
|
|
1386
|
+
readonly pre: {
|
|
1387
|
+
readonly description: "Starts with";
|
|
1388
|
+
readonly type: "string";
|
|
1389
|
+
readonly maxLength: 4096;
|
|
1390
|
+
};
|
|
1391
|
+
readonly suf: {
|
|
1392
|
+
readonly description: "Ends with";
|
|
1393
|
+
readonly type: "string";
|
|
1394
|
+
readonly maxLength: 4096;
|
|
1395
|
+
};
|
|
1396
|
+
readonly re: {
|
|
1397
|
+
readonly description: "Regex";
|
|
1398
|
+
readonly type: "string";
|
|
1399
|
+
readonly maxLength: 4096;
|
|
1400
|
+
};
|
|
1401
|
+
readonly gt: {
|
|
1402
|
+
readonly description: "Greater than";
|
|
1403
|
+
readonly type: "number";
|
|
1404
|
+
};
|
|
1405
|
+
readonly gte: {
|
|
1406
|
+
readonly description: "Greater than or equal to";
|
|
1407
|
+
readonly type: "number";
|
|
1408
|
+
};
|
|
1409
|
+
readonly lt: {
|
|
1410
|
+
readonly description: "Less than";
|
|
1411
|
+
readonly type: "number";
|
|
1412
|
+
};
|
|
1413
|
+
readonly lte: {
|
|
1414
|
+
readonly description: "Less than or equal to";
|
|
1415
|
+
readonly type: "number";
|
|
1416
|
+
};
|
|
1417
|
+
};
|
|
1418
|
+
}];
|
|
483
1419
|
};
|
|
484
1420
|
};
|
|
485
1421
|
}, {
|
|
@@ -498,9 +1434,80 @@ export declare const redirectsSchema: {
|
|
|
498
1434
|
readonly maxLength: 4096;
|
|
499
1435
|
};
|
|
500
1436
|
readonly value: {
|
|
501
|
-
readonly description: "A
|
|
502
|
-
readonly
|
|
503
|
-
|
|
1437
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1438
|
+
readonly anyOf: readonly [{
|
|
1439
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1440
|
+
readonly type: "string";
|
|
1441
|
+
readonly maxLength: 4096;
|
|
1442
|
+
}, {
|
|
1443
|
+
readonly description: "A condition operation object";
|
|
1444
|
+
readonly type: "object";
|
|
1445
|
+
readonly additionalProperties: false;
|
|
1446
|
+
readonly minProperties: 1;
|
|
1447
|
+
readonly properties: {
|
|
1448
|
+
readonly eq: {
|
|
1449
|
+
readonly description: "Equal to";
|
|
1450
|
+
readonly anyOf: readonly [{
|
|
1451
|
+
readonly type: "string";
|
|
1452
|
+
readonly maxLength: 4096;
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly type: "number";
|
|
1455
|
+
}];
|
|
1456
|
+
};
|
|
1457
|
+
readonly neq: {
|
|
1458
|
+
readonly description: "Not equal";
|
|
1459
|
+
readonly type: "string";
|
|
1460
|
+
readonly maxLength: 4096;
|
|
1461
|
+
};
|
|
1462
|
+
readonly inc: {
|
|
1463
|
+
readonly description: "In array";
|
|
1464
|
+
readonly type: "array";
|
|
1465
|
+
readonly items: {
|
|
1466
|
+
readonly type: "string";
|
|
1467
|
+
readonly maxLength: 4096;
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
readonly ninc: {
|
|
1471
|
+
readonly description: "Not in array";
|
|
1472
|
+
readonly type: "array";
|
|
1473
|
+
readonly items: {
|
|
1474
|
+
readonly type: "string";
|
|
1475
|
+
readonly maxLength: 4096;
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
readonly pre: {
|
|
1479
|
+
readonly description: "Starts with";
|
|
1480
|
+
readonly type: "string";
|
|
1481
|
+
readonly maxLength: 4096;
|
|
1482
|
+
};
|
|
1483
|
+
readonly suf: {
|
|
1484
|
+
readonly description: "Ends with";
|
|
1485
|
+
readonly type: "string";
|
|
1486
|
+
readonly maxLength: 4096;
|
|
1487
|
+
};
|
|
1488
|
+
readonly re: {
|
|
1489
|
+
readonly description: "Regex";
|
|
1490
|
+
readonly type: "string";
|
|
1491
|
+
readonly maxLength: 4096;
|
|
1492
|
+
};
|
|
1493
|
+
readonly gt: {
|
|
1494
|
+
readonly description: "Greater than";
|
|
1495
|
+
readonly type: "number";
|
|
1496
|
+
};
|
|
1497
|
+
readonly gte: {
|
|
1498
|
+
readonly description: "Greater than or equal to";
|
|
1499
|
+
readonly type: "number";
|
|
1500
|
+
};
|
|
1501
|
+
readonly lt: {
|
|
1502
|
+
readonly description: "Less than";
|
|
1503
|
+
readonly type: "number";
|
|
1504
|
+
};
|
|
1505
|
+
readonly lte: {
|
|
1506
|
+
readonly description: "Less than or equal to";
|
|
1507
|
+
readonly type: "number";
|
|
1508
|
+
};
|
|
1509
|
+
};
|
|
1510
|
+
}];
|
|
504
1511
|
};
|
|
505
1512
|
};
|
|
506
1513
|
}];
|
|
@@ -559,9 +1566,80 @@ export declare const headersSchema: {
|
|
|
559
1566
|
readonly enum: readonly ["host"];
|
|
560
1567
|
};
|
|
561
1568
|
readonly value: {
|
|
562
|
-
readonly description: "A
|
|
563
|
-
readonly
|
|
564
|
-
|
|
1569
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1570
|
+
readonly anyOf: readonly [{
|
|
1571
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1572
|
+
readonly type: "string";
|
|
1573
|
+
readonly maxLength: 4096;
|
|
1574
|
+
}, {
|
|
1575
|
+
readonly description: "A condition operation object";
|
|
1576
|
+
readonly type: "object";
|
|
1577
|
+
readonly additionalProperties: false;
|
|
1578
|
+
readonly minProperties: 1;
|
|
1579
|
+
readonly properties: {
|
|
1580
|
+
readonly eq: {
|
|
1581
|
+
readonly description: "Equal to";
|
|
1582
|
+
readonly anyOf: readonly [{
|
|
1583
|
+
readonly type: "string";
|
|
1584
|
+
readonly maxLength: 4096;
|
|
1585
|
+
}, {
|
|
1586
|
+
readonly type: "number";
|
|
1587
|
+
}];
|
|
1588
|
+
};
|
|
1589
|
+
readonly neq: {
|
|
1590
|
+
readonly description: "Not equal";
|
|
1591
|
+
readonly type: "string";
|
|
1592
|
+
readonly maxLength: 4096;
|
|
1593
|
+
};
|
|
1594
|
+
readonly inc: {
|
|
1595
|
+
readonly description: "In array";
|
|
1596
|
+
readonly type: "array";
|
|
1597
|
+
readonly items: {
|
|
1598
|
+
readonly type: "string";
|
|
1599
|
+
readonly maxLength: 4096;
|
|
1600
|
+
};
|
|
1601
|
+
};
|
|
1602
|
+
readonly ninc: {
|
|
1603
|
+
readonly description: "Not in array";
|
|
1604
|
+
readonly type: "array";
|
|
1605
|
+
readonly items: {
|
|
1606
|
+
readonly type: "string";
|
|
1607
|
+
readonly maxLength: 4096;
|
|
1608
|
+
};
|
|
1609
|
+
};
|
|
1610
|
+
readonly pre: {
|
|
1611
|
+
readonly description: "Starts with";
|
|
1612
|
+
readonly type: "string";
|
|
1613
|
+
readonly maxLength: 4096;
|
|
1614
|
+
};
|
|
1615
|
+
readonly suf: {
|
|
1616
|
+
readonly description: "Ends with";
|
|
1617
|
+
readonly type: "string";
|
|
1618
|
+
readonly maxLength: 4096;
|
|
1619
|
+
};
|
|
1620
|
+
readonly re: {
|
|
1621
|
+
readonly description: "Regex";
|
|
1622
|
+
readonly type: "string";
|
|
1623
|
+
readonly maxLength: 4096;
|
|
1624
|
+
};
|
|
1625
|
+
readonly gt: {
|
|
1626
|
+
readonly description: "Greater than";
|
|
1627
|
+
readonly type: "number";
|
|
1628
|
+
};
|
|
1629
|
+
readonly gte: {
|
|
1630
|
+
readonly description: "Greater than or equal to";
|
|
1631
|
+
readonly type: "number";
|
|
1632
|
+
};
|
|
1633
|
+
readonly lt: {
|
|
1634
|
+
readonly description: "Less than";
|
|
1635
|
+
readonly type: "number";
|
|
1636
|
+
};
|
|
1637
|
+
readonly lte: {
|
|
1638
|
+
readonly description: "Less than or equal to";
|
|
1639
|
+
readonly type: "number";
|
|
1640
|
+
};
|
|
1641
|
+
};
|
|
1642
|
+
}];
|
|
565
1643
|
};
|
|
566
1644
|
};
|
|
567
1645
|
}, {
|
|
@@ -580,9 +1658,80 @@ export declare const headersSchema: {
|
|
|
580
1658
|
readonly maxLength: 4096;
|
|
581
1659
|
};
|
|
582
1660
|
readonly value: {
|
|
583
|
-
readonly description: "A
|
|
584
|
-
readonly
|
|
585
|
-
|
|
1661
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1662
|
+
readonly anyOf: readonly [{
|
|
1663
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1664
|
+
readonly type: "string";
|
|
1665
|
+
readonly maxLength: 4096;
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly description: "A condition operation object";
|
|
1668
|
+
readonly type: "object";
|
|
1669
|
+
readonly additionalProperties: false;
|
|
1670
|
+
readonly minProperties: 1;
|
|
1671
|
+
readonly properties: {
|
|
1672
|
+
readonly eq: {
|
|
1673
|
+
readonly description: "Equal to";
|
|
1674
|
+
readonly anyOf: readonly [{
|
|
1675
|
+
readonly type: "string";
|
|
1676
|
+
readonly maxLength: 4096;
|
|
1677
|
+
}, {
|
|
1678
|
+
readonly type: "number";
|
|
1679
|
+
}];
|
|
1680
|
+
};
|
|
1681
|
+
readonly neq: {
|
|
1682
|
+
readonly description: "Not equal";
|
|
1683
|
+
readonly type: "string";
|
|
1684
|
+
readonly maxLength: 4096;
|
|
1685
|
+
};
|
|
1686
|
+
readonly inc: {
|
|
1687
|
+
readonly description: "In array";
|
|
1688
|
+
readonly type: "array";
|
|
1689
|
+
readonly items: {
|
|
1690
|
+
readonly type: "string";
|
|
1691
|
+
readonly maxLength: 4096;
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
readonly ninc: {
|
|
1695
|
+
readonly description: "Not in array";
|
|
1696
|
+
readonly type: "array";
|
|
1697
|
+
readonly items: {
|
|
1698
|
+
readonly type: "string";
|
|
1699
|
+
readonly maxLength: 4096;
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
readonly pre: {
|
|
1703
|
+
readonly description: "Starts with";
|
|
1704
|
+
readonly type: "string";
|
|
1705
|
+
readonly maxLength: 4096;
|
|
1706
|
+
};
|
|
1707
|
+
readonly suf: {
|
|
1708
|
+
readonly description: "Ends with";
|
|
1709
|
+
readonly type: "string";
|
|
1710
|
+
readonly maxLength: 4096;
|
|
1711
|
+
};
|
|
1712
|
+
readonly re: {
|
|
1713
|
+
readonly description: "Regex";
|
|
1714
|
+
readonly type: "string";
|
|
1715
|
+
readonly maxLength: 4096;
|
|
1716
|
+
};
|
|
1717
|
+
readonly gt: {
|
|
1718
|
+
readonly description: "Greater than";
|
|
1719
|
+
readonly type: "number";
|
|
1720
|
+
};
|
|
1721
|
+
readonly gte: {
|
|
1722
|
+
readonly description: "Greater than or equal to";
|
|
1723
|
+
readonly type: "number";
|
|
1724
|
+
};
|
|
1725
|
+
readonly lt: {
|
|
1726
|
+
readonly description: "Less than";
|
|
1727
|
+
readonly type: "number";
|
|
1728
|
+
};
|
|
1729
|
+
readonly lte: {
|
|
1730
|
+
readonly description: "Less than or equal to";
|
|
1731
|
+
readonly type: "number";
|
|
1732
|
+
};
|
|
1733
|
+
};
|
|
1734
|
+
}];
|
|
586
1735
|
};
|
|
587
1736
|
};
|
|
588
1737
|
}];
|
|
@@ -604,9 +1753,80 @@ export declare const headersSchema: {
|
|
|
604
1753
|
readonly enum: readonly ["host"];
|
|
605
1754
|
};
|
|
606
1755
|
readonly value: {
|
|
607
|
-
readonly description: "A
|
|
608
|
-
readonly
|
|
609
|
-
|
|
1756
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1757
|
+
readonly anyOf: readonly [{
|
|
1758
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1759
|
+
readonly type: "string";
|
|
1760
|
+
readonly maxLength: 4096;
|
|
1761
|
+
}, {
|
|
1762
|
+
readonly description: "A condition operation object";
|
|
1763
|
+
readonly type: "object";
|
|
1764
|
+
readonly additionalProperties: false;
|
|
1765
|
+
readonly minProperties: 1;
|
|
1766
|
+
readonly properties: {
|
|
1767
|
+
readonly eq: {
|
|
1768
|
+
readonly description: "Equal to";
|
|
1769
|
+
readonly anyOf: readonly [{
|
|
1770
|
+
readonly type: "string";
|
|
1771
|
+
readonly maxLength: 4096;
|
|
1772
|
+
}, {
|
|
1773
|
+
readonly type: "number";
|
|
1774
|
+
}];
|
|
1775
|
+
};
|
|
1776
|
+
readonly neq: {
|
|
1777
|
+
readonly description: "Not equal";
|
|
1778
|
+
readonly type: "string";
|
|
1779
|
+
readonly maxLength: 4096;
|
|
1780
|
+
};
|
|
1781
|
+
readonly inc: {
|
|
1782
|
+
readonly description: "In array";
|
|
1783
|
+
readonly type: "array";
|
|
1784
|
+
readonly items: {
|
|
1785
|
+
readonly type: "string";
|
|
1786
|
+
readonly maxLength: 4096;
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
readonly ninc: {
|
|
1790
|
+
readonly description: "Not in array";
|
|
1791
|
+
readonly type: "array";
|
|
1792
|
+
readonly items: {
|
|
1793
|
+
readonly type: "string";
|
|
1794
|
+
readonly maxLength: 4096;
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
readonly pre: {
|
|
1798
|
+
readonly description: "Starts with";
|
|
1799
|
+
readonly type: "string";
|
|
1800
|
+
readonly maxLength: 4096;
|
|
1801
|
+
};
|
|
1802
|
+
readonly suf: {
|
|
1803
|
+
readonly description: "Ends with";
|
|
1804
|
+
readonly type: "string";
|
|
1805
|
+
readonly maxLength: 4096;
|
|
1806
|
+
};
|
|
1807
|
+
readonly re: {
|
|
1808
|
+
readonly description: "Regex";
|
|
1809
|
+
readonly type: "string";
|
|
1810
|
+
readonly maxLength: 4096;
|
|
1811
|
+
};
|
|
1812
|
+
readonly gt: {
|
|
1813
|
+
readonly description: "Greater than";
|
|
1814
|
+
readonly type: "number";
|
|
1815
|
+
};
|
|
1816
|
+
readonly gte: {
|
|
1817
|
+
readonly description: "Greater than or equal to";
|
|
1818
|
+
readonly type: "number";
|
|
1819
|
+
};
|
|
1820
|
+
readonly lt: {
|
|
1821
|
+
readonly description: "Less than";
|
|
1822
|
+
readonly type: "number";
|
|
1823
|
+
};
|
|
1824
|
+
readonly lte: {
|
|
1825
|
+
readonly description: "Less than or equal to";
|
|
1826
|
+
readonly type: "number";
|
|
1827
|
+
};
|
|
1828
|
+
};
|
|
1829
|
+
}];
|
|
610
1830
|
};
|
|
611
1831
|
};
|
|
612
1832
|
}, {
|
|
@@ -625,9 +1845,80 @@ export declare const headersSchema: {
|
|
|
625
1845
|
readonly maxLength: 4096;
|
|
626
1846
|
};
|
|
627
1847
|
readonly value: {
|
|
628
|
-
readonly description: "A
|
|
629
|
-
readonly
|
|
630
|
-
|
|
1848
|
+
readonly description: "A value to match against. Can be a string (regex) or a condition operation object";
|
|
1849
|
+
readonly anyOf: readonly [{
|
|
1850
|
+
readonly description: "A regular expression used to match thev value. Named groups can be used in the destination.";
|
|
1851
|
+
readonly type: "string";
|
|
1852
|
+
readonly maxLength: 4096;
|
|
1853
|
+
}, {
|
|
1854
|
+
readonly description: "A condition operation object";
|
|
1855
|
+
readonly type: "object";
|
|
1856
|
+
readonly additionalProperties: false;
|
|
1857
|
+
readonly minProperties: 1;
|
|
1858
|
+
readonly properties: {
|
|
1859
|
+
readonly eq: {
|
|
1860
|
+
readonly description: "Equal to";
|
|
1861
|
+
readonly anyOf: readonly [{
|
|
1862
|
+
readonly type: "string";
|
|
1863
|
+
readonly maxLength: 4096;
|
|
1864
|
+
}, {
|
|
1865
|
+
readonly type: "number";
|
|
1866
|
+
}];
|
|
1867
|
+
};
|
|
1868
|
+
readonly neq: {
|
|
1869
|
+
readonly description: "Not equal";
|
|
1870
|
+
readonly type: "string";
|
|
1871
|
+
readonly maxLength: 4096;
|
|
1872
|
+
};
|
|
1873
|
+
readonly inc: {
|
|
1874
|
+
readonly description: "In array";
|
|
1875
|
+
readonly type: "array";
|
|
1876
|
+
readonly items: {
|
|
1877
|
+
readonly type: "string";
|
|
1878
|
+
readonly maxLength: 4096;
|
|
1879
|
+
};
|
|
1880
|
+
};
|
|
1881
|
+
readonly ninc: {
|
|
1882
|
+
readonly description: "Not in array";
|
|
1883
|
+
readonly type: "array";
|
|
1884
|
+
readonly items: {
|
|
1885
|
+
readonly type: "string";
|
|
1886
|
+
readonly maxLength: 4096;
|
|
1887
|
+
};
|
|
1888
|
+
};
|
|
1889
|
+
readonly pre: {
|
|
1890
|
+
readonly description: "Starts with";
|
|
1891
|
+
readonly type: "string";
|
|
1892
|
+
readonly maxLength: 4096;
|
|
1893
|
+
};
|
|
1894
|
+
readonly suf: {
|
|
1895
|
+
readonly description: "Ends with";
|
|
1896
|
+
readonly type: "string";
|
|
1897
|
+
readonly maxLength: 4096;
|
|
1898
|
+
};
|
|
1899
|
+
readonly re: {
|
|
1900
|
+
readonly description: "Regex";
|
|
1901
|
+
readonly type: "string";
|
|
1902
|
+
readonly maxLength: 4096;
|
|
1903
|
+
};
|
|
1904
|
+
readonly gt: {
|
|
1905
|
+
readonly description: "Greater than";
|
|
1906
|
+
readonly type: "number";
|
|
1907
|
+
};
|
|
1908
|
+
readonly gte: {
|
|
1909
|
+
readonly description: "Greater than or equal to";
|
|
1910
|
+
readonly type: "number";
|
|
1911
|
+
};
|
|
1912
|
+
readonly lt: {
|
|
1913
|
+
readonly description: "Less than";
|
|
1914
|
+
readonly type: "number";
|
|
1915
|
+
};
|
|
1916
|
+
readonly lte: {
|
|
1917
|
+
readonly description: "Less than or equal to";
|
|
1918
|
+
readonly type: "number";
|
|
1919
|
+
};
|
|
1920
|
+
};
|
|
1921
|
+
}];
|
|
631
1922
|
};
|
|
632
1923
|
};
|
|
633
1924
|
}];
|