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/esm/server/route-modules/checks.js
T
Kismet Hasanaj 34dc9aec52 .
2026-05-02 20:07:02 +02:00

15 lines
545 B
JavaScript

import { RouteKind } from '../route-kind';
export function isAppRouteRouteModule(routeModule) {
return routeModule.definition.kind === RouteKind.APP_ROUTE;
}
export function isAppPageRouteModule(routeModule) {
return routeModule.definition.kind === RouteKind.APP_PAGE;
}
export function isPagesRouteModule(routeModule) {
return routeModule.definition.kind === RouteKind.PAGES;
}
export function isPagesAPIRouteModule(routeModule) {
return routeModule.definition.kind === RouteKind.PAGES_API;
}
//# sourceMappingURL=checks.js.map