This commit is contained in:
Kismet Hasanaj
2026-05-02 20:07:02 +02:00
parent ce8672e283
commit 34dc9aec52
9428 changed files with 1733330 additions and 0 deletions
@@ -0,0 +1,21 @@
import type { RouteHas } from '../../../lib/load-custom-routes';
export type MiddlewareConfigInput = {
/**
* The matcher for the middleware.
*/
matcher?: string | Array<{
locale?: false;
has?: RouteHas[];
missing?: RouteHas[];
source: string;
} | string>;
/**
* The regions that the middleware should run in.
*/
regions?: string | string[];
/**
* A glob, or an array of globs, ignoring dynamic code evaluation for specific
* files. The globs are relative to your application root folder.
*/
unstable_allowDynamic?: string | string[];
};