This repository has been archived on 2026-05-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
novarix-networks-homepage/node_modules/next/dist/build/segment-config/middleware/middleware-config.d.ts
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

22 lines
632 B
TypeScript

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[];
};