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:
33
apps/public-web/node_modules/next/dist/server/web/edge-route-module-wrapper.d.ts
generated
vendored
Normal file
33
apps/public-web/node_modules/next/dist/server/web/edge-route-module-wrapper.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
import type { AppRouteRouteModule } from '../route-modules/app-route/module';
|
||||
import './globals';
|
||||
import { type EdgeHandler } from './adapter';
|
||||
export interface WrapOptions {
|
||||
page: string;
|
||||
}
|
||||
/**
|
||||
* EdgeRouteModuleWrapper is a wrapper around a route module.
|
||||
*
|
||||
* Note that this class should only be used in the edge runtime.
|
||||
*/
|
||||
export declare class EdgeRouteModuleWrapper {
|
||||
private readonly routeModule;
|
||||
private readonly matcher;
|
||||
/**
|
||||
* The constructor is wrapped with private to ensure that it can only be
|
||||
* constructed by the static wrap method.
|
||||
*
|
||||
* @param routeModule the route module to wrap
|
||||
*/
|
||||
private constructor();
|
||||
/**
|
||||
* This will wrap a module with the EdgeModuleWrapper and return a function
|
||||
* that can be used as a handler for the edge runtime.
|
||||
*
|
||||
* @param module the module to wrap
|
||||
* @param options any options that should be passed to the adapter and
|
||||
* override the ones passed from the runtime
|
||||
* @returns a function that can be used as a handler for the edge runtime
|
||||
*/
|
||||
static wrap(routeModule: AppRouteRouteModule, options: WrapOptions): EdgeHandler;
|
||||
private handler;
|
||||
}
|
||||
Reference in New Issue
Block a user