Files
PascalSchattenburg d147843c76 feat(blog): add file-based blog with dynamic slugs, MDX content and layout shell
- Introduced blog routing using Next.js App Router
- Implemented dynamic [slug] pages for blog posts
- Added MDX-based content loading via lib/posts
- Integrated shared TopBar layout with navigation
- Established clear content, lib and component separation
2026-01-22 14:14:15 +01:00

20 lines
1.1 KiB
TypeScript

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