@vercel/routing-utils
Advanced tools
Comparing version 1.11.4-canary.2 to 1.11.4-canary.3
@@ -147,2 +147,18 @@ export declare const hasSchema: { | ||
}; | ||
readonly middleware: { | ||
readonly type: "object"; | ||
readonly required: readonly ["id", "type"]; | ||
readonly additionalProperties: false; | ||
readonly properties: { | ||
readonly id: { | ||
readonly type: "string"; | ||
readonly maxLength: 256; | ||
}; | ||
readonly type: { | ||
readonly type: "string"; | ||
readonly maxLength: 32; | ||
readonly enum: readonly ["v8-worker"]; | ||
}; | ||
}; | ||
}; | ||
readonly has: { | ||
@@ -149,0 +165,0 @@ readonly description: "An array of requirements that are needed to match"; |
@@ -151,2 +151,18 @@ "use strict"; | ||
}, | ||
middleware: { | ||
type: 'object', | ||
required: ['id', 'type'], | ||
additionalProperties: false, | ||
properties: { | ||
id: { | ||
type: 'string', | ||
maxLength: 256, | ||
}, | ||
type: { | ||
type: 'string', | ||
maxLength: 32, | ||
enum: ['v8-worker'], | ||
}, | ||
}, | ||
}, | ||
has: exports.hasSchema, | ||
@@ -153,0 +169,0 @@ }, |
@@ -35,2 +35,6 @@ import { HandleValue } from './index'; | ||
}; | ||
middleware?: { | ||
id: string; | ||
type: 'v8-worker'; | ||
}; | ||
}; | ||
@@ -37,0 +41,0 @@ export declare type Handler = { |
{ | ||
"name": "@vercel/routing-utils", | ||
"version": "1.11.4-canary.2", | ||
"version": "1.11.4-canary.3", | ||
"description": "Vercel routing utilities", | ||
@@ -33,3 +33,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "d3d5555d792f3d206c106199e1b9976cf6bc4ac2" | ||
"gitHead": "3d7e01ebf032a5e391b3ad8df674437db23c622a" | ||
} |
78323
1662