| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/routing/ |
Upload File : |
import { ValidFileMatcher } from "./file-matcher.js";
import { AppRoute, AppRouteGraphRoute, RouteManifest, computeRootParamNames } from "./app-route-graph.js";
//#region src/routing/app-router.d.ts
type AppRouteGraph = {
routes: AppRouteGraphRoute[];
routeManifest: RouteManifest;
};
declare function invalidateAppRouteCache(): void;
/**
* Scan the app/ directory and return the route graph.
* TODO(#726): Layer 4 should consume this read model directly once the
* navigation planner owns route graph facts.
*
* @internal
*/
declare function appRouteGraph(appDir: string, pageExtensions?: readonly string[], matcher?: ValidFileMatcher): Promise<AppRouteGraph>;
/**
* Scan the app/ directory and return a list of routes.
*/
declare function appRouter(appDir: string, pageExtensions?: readonly string[], matcher?: ValidFileMatcher): Promise<AppRouteGraphRoute[]>;
/**
* Match a URL against App Router routes.
*/
declare function matchAppRoute(url: string, routes: AppRoute[]): {
route: AppRoute;
params: Record<string, string | string[]>;
} | null;
//#endregion
export { type AppRoute, appRouteGraph, appRouter, computeRootParamNames, invalidateAppRouteCache, matchAppRoute };
//# sourceMappingURL=app-router.d.ts.map