Initial boiler plate project
This commit is contained in:
19
node_modules/next/dist/server/future/route-matcher-managers/dev-route-matcher-manager.d.ts
generated
vendored
Normal file
19
node_modules/next/dist/server/future/route-matcher-managers/dev-route-matcher-manager.d.ts
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
import { RouteKind } from '../route-kind';
|
||||
import type { RouteMatch } from '../route-matches/route-match';
|
||||
import type { RouteDefinition } from '../route-definitions/route-definition';
|
||||
import { DefaultRouteMatcherManager } from './default-route-matcher-manager';
|
||||
import type { MatchOptions, RouteMatcherManager } from './route-matcher-manager';
|
||||
import type { RouteMatcher } from '../route-matchers/route-matcher';
|
||||
export interface RouteEnsurer {
|
||||
ensure(match: RouteMatch, pathname: string): Promise<void>;
|
||||
}
|
||||
export declare class DevRouteMatcherManager extends DefaultRouteMatcherManager {
|
||||
private readonly production;
|
||||
private readonly ensurer;
|
||||
private readonly dir;
|
||||
constructor(production: RouteMatcherManager, ensurer: RouteEnsurer, dir: string);
|
||||
test(pathname: string, options: MatchOptions): Promise<boolean>;
|
||||
protected validate(pathname: string, matcher: RouteMatcher, options: MatchOptions): RouteMatch | null;
|
||||
matchAll(pathname: string, options: MatchOptions): AsyncGenerator<RouteMatch<RouteDefinition<RouteKind>>, null, undefined>;
|
||||
reload(): Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user