- 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
11 lines
497 B
TypeScript
11 lines
497 B
TypeScript
import type { RouteMatch } from './route-match';
|
|
import type { PagesAPIRouteDefinition } from '../route-definitions/pages-api-route-definition';
|
|
export interface PagesAPIRouteMatch extends RouteMatch<PagesAPIRouteDefinition> {
|
|
}
|
|
/**
|
|
* Checks if the given match is a Pages API route match.
|
|
* @param match the match to check
|
|
* @returns true if the match is a Pages API route match, false otherwise
|
|
*/
|
|
export declare function isPagesAPIRouteMatch(match: RouteMatch): match is PagesAPIRouteMatch;
|