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:
28
apps/public-web/node_modules/next/dist/build/generate-routes-manifest.d.ts
generated
vendored
Normal file
28
apps/public-web/node_modules/next/dist/build/generate-routes-manifest.d.ts
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
import type { NextConfigComplete } from '../server/config-shared';
|
||||
import type { CustomRoutes } from '../lib/load-custom-routes';
|
||||
import type { DynamicManifestRoute } from './utils';
|
||||
import type { RoutesManifest } from './index';
|
||||
export interface GenerateRoutesManifestOptions {
|
||||
pageKeys: {
|
||||
pages: string[];
|
||||
app?: string[];
|
||||
};
|
||||
config: NextConfigComplete;
|
||||
redirects: CustomRoutes['redirects'];
|
||||
headers: CustomRoutes['headers'];
|
||||
rewrites: CustomRoutes['rewrites'];
|
||||
restrictedRedirectPaths: string[];
|
||||
isAppPPREnabled: boolean;
|
||||
appType: 'pages' | 'app' | 'hybrid';
|
||||
}
|
||||
export interface GenerateRoutesManifestResult {
|
||||
routesManifest: RoutesManifest;
|
||||
dynamicRoutes: Array<DynamicManifestRoute>;
|
||||
sourcePages: Map<string, string>;
|
||||
}
|
||||
/**
|
||||
* Generates the routes manifest from the given page keys and configuration.
|
||||
* This function extracts the route manifest generation logic to be reusable
|
||||
* across different build contexts (webpack build, turbopack build, analyze, etc.)
|
||||
*/
|
||||
export declare function generateRoutesManifest(options: GenerateRoutesManifestOptions): GenerateRoutesManifestResult;
|
||||
Reference in New Issue
Block a user