[routing-utils] Add missing 'middlewareRawSrc' to route schema (#9564)

Need to add `middlewareRawSrc` to route schema so the build container will accept the new property.

This PR blocks https://github.com/vercel/vercel/pull/9435.

Linear: https://linear.app/vercel/issue/VCCLI-411/display-uncompressed-edge-middleware-matcher-show-the-list-of-matches
This commit is contained in:
Chris Barber
2023-02-27 21:59:06 -06:00
committed by GitHub
parent 31bc2581f3
commit ebd2e1822c

View File

@@ -155,6 +155,12 @@ export const routesSchema = {
},
middleware: { type: 'number' },
middlewarePath: { type: 'string' },
middlewareRawSrc: {
type: 'array',
items: {
type: 'string',
},
},
has: hasSchema,
missing: hasSchema,
},