@vercel/routing-utils 5.2.1 → 5.3.0
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 +12 -2
- package/dist/schemas.js +12 -2
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/schemas.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ export declare const routesSchema: {
|
|
|
218
218
|
readonly patternProperties: {
|
|
219
219
|
readonly '^.{1,256}$': {
|
|
220
220
|
readonly type: "string";
|
|
221
|
-
readonly maxLength:
|
|
221
|
+
readonly maxLength: 32768;
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
224
|
};
|
|
@@ -801,6 +801,16 @@ export declare const routesSchema: {
|
|
|
801
801
|
};
|
|
802
802
|
}];
|
|
803
803
|
};
|
|
804
|
+
readonly env: {
|
|
805
|
+
readonly description: "An array of environment variable names that should be replaced at runtime in the args value";
|
|
806
|
+
readonly type: "array";
|
|
807
|
+
readonly minItems: 1;
|
|
808
|
+
readonly maxItems: 64;
|
|
809
|
+
readonly items: {
|
|
810
|
+
readonly type: "string";
|
|
811
|
+
readonly maxLength: 256;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
804
814
|
};
|
|
805
815
|
readonly allOf: readonly [{
|
|
806
816
|
readonly if: {
|
|
@@ -1714,7 +1724,7 @@ export declare const headersSchema: {
|
|
|
1714
1724
|
};
|
|
1715
1725
|
readonly value: {
|
|
1716
1726
|
readonly type: "string";
|
|
1717
|
-
readonly maxLength:
|
|
1727
|
+
readonly maxLength: 32768;
|
|
1718
1728
|
};
|
|
1719
1729
|
};
|
|
1720
1730
|
};
|
package/dist/schemas.js
CHANGED
|
@@ -283,6 +283,16 @@ const transformsSchema = {
|
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
]
|
|
286
|
+
},
|
|
287
|
+
env: {
|
|
288
|
+
description: "An array of environment variable names that should be replaced at runtime in the args value",
|
|
289
|
+
type: "array",
|
|
290
|
+
minItems: 1,
|
|
291
|
+
maxItems: 64,
|
|
292
|
+
items: {
|
|
293
|
+
type: "string",
|
|
294
|
+
maxLength: 256
|
|
295
|
+
}
|
|
286
296
|
}
|
|
287
297
|
},
|
|
288
298
|
allOf: [
|
|
@@ -380,7 +390,7 @@ const routesSchema = {
|
|
|
380
390
|
patternProperties: {
|
|
381
391
|
"^.{1,256}$": {
|
|
382
392
|
type: "string",
|
|
383
|
-
maxLength:
|
|
393
|
+
maxLength: 32768
|
|
384
394
|
}
|
|
385
395
|
}
|
|
386
396
|
},
|
|
@@ -577,7 +587,7 @@ const headersSchema = {
|
|
|
577
587
|
},
|
|
578
588
|
value: {
|
|
579
589
|
type: "string",
|
|
580
|
-
maxLength:
|
|
590
|
+
maxLength: 32768
|
|
581
591
|
}
|
|
582
592
|
}
|
|
583
593
|
}
|
package/dist/types.d.ts
CHANGED