- 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
9 lines
381 B
TypeScript
9 lines
381 B
TypeScript
import type { ZodError } from 'next/dist/compiled/zod';
|
|
import { type ZodIssue } from 'next/dist/compiled/zod';
|
|
export declare function normalizeZodErrors(error: ZodError): {
|
|
issue: ZodIssue;
|
|
message: string;
|
|
}[];
|
|
export declare function formatZodError(prefix: string, error: ZodError): Error;
|
|
export declare function reportZodError(prefix: string, error: ZodError): void;
|