Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
19
node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.d.ts
generated
vendored
Normal file
19
node_modules/next/dist/server/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>;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue