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:
25
apps/public-web/node_modules/next/dist/next-devtools/server/shared.d.ts
generated
vendored
Normal file
25
apps/public-web/node_modules/next/dist/next-devtools/server/shared.d.ts
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import type { StackFrame } from '../../server/lib/parse-stack';
|
||||
export type { StackFrame };
|
||||
export interface IgnorableStackFrame extends StackFrame {
|
||||
ignored: boolean;
|
||||
}
|
||||
export interface OriginalStackFramesRequest {
|
||||
frames: readonly StackFrame[];
|
||||
isServer: boolean;
|
||||
isEdgeServer: boolean;
|
||||
isAppDirectory: boolean;
|
||||
}
|
||||
export type OriginalStackFramesResponse = OriginalStackFrameResponseResult[];
|
||||
export type OriginalStackFrameResponseResult = PromiseSettledResult<OriginalStackFrameResponse>;
|
||||
export interface OriginalStackFrameResponse {
|
||||
originalStackFrame: (StackFrame & {
|
||||
ignored: boolean;
|
||||
}) | null;
|
||||
originalCodeFrame: string | null;
|
||||
}
|
||||
export declare function ignoreListAnonymousStackFramesIfSandwiched(responses: OriginalStackFramesResponse): void;
|
||||
/**
|
||||
* It looks up the code frame of the traced source.
|
||||
* @note It ignores Next.js/React internals, as these can often be huge bundled files.
|
||||
*/
|
||||
export declare function getOriginalCodeFrame(frame: IgnorableStackFrame, source: string | null, colors?: boolean): string | null;
|
||||
Reference in New Issue
Block a user