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
This commit is contained in:
13
apps/public-web/node_modules/next/dist/client/route-params.d.ts
generated
vendored
Normal file
13
apps/public-web/node_modules/next/dist/client/route-params.d.ts
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { DynamicParamTypesShort } from '../shared/lib/app-router-types';
|
||||
import type { NormalizedPathname, NormalizedSearch } from './components/segment-cache/cache-key';
|
||||
import type { RSCResponse } from './components/router-reducer/fetch-server-response';
|
||||
import type { ParsedUrlQuery } from 'querystring';
|
||||
export type RouteParamValue = string | Array<string> | null;
|
||||
export declare function getRenderedSearch(response: RSCResponse<unknown> | Response): NormalizedSearch;
|
||||
export declare function getRenderedPathname(response: RSCResponse<unknown> | Response): NormalizedPathname;
|
||||
export declare function parseDynamicParamFromURLPart(paramType: DynamicParamTypesShort, pathnameParts: Array<string>, partIndex: number): RouteParamValue;
|
||||
export declare function doesStaticSegmentAppearInURL(segment: string): boolean;
|
||||
export declare function getCacheKeyForDynamicParam(paramValue: RouteParamValue, renderedSearch: NormalizedSearch): string;
|
||||
export declare function urlToUrlWithoutFlightMarker(url: URL): URL;
|
||||
export declare function getParamValueFromCacheKey(paramCacheKey: string, paramType: DynamicParamTypesShort): string | string[];
|
||||
export declare function urlSearchParamsToParsedUrlQuery(searchParams: URLSearchParams): ParsedUrlQuery;
|
||||
Reference in New Issue
Block a user