Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.

This commit is contained in:
becarta
2025-05-23 12:43:00 +02:00
parent f40db0f5c9
commit a544759a3b
11127 changed files with 1647032 additions and 0 deletions

30
node_modules/astro/dist/events/error.d.ts generated vendored Normal file
View File

@@ -0,0 +1,30 @@
import type { ZodError } from 'zod';
import { type ErrorWithMetadata } from '../core/errors/index.js';
interface ErrorEventPayload {
name: string;
isFatal: boolean;
plugin?: string | undefined;
cliCommand: string;
anonymousMessageHint?: string | undefined;
}
interface ConfigErrorEventPayload extends ErrorEventPayload {
isConfig: true;
configErrorPaths: string[];
}
export declare function eventConfigError({ err, cmd, isFatal, }: {
err: ZodError;
cmd: string;
isFatal: boolean;
}): {
eventName: string;
payload: ConfigErrorEventPayload;
}[];
export declare function eventError({ cmd, err, isFatal, }: {
err: ErrorWithMetadata;
cmd: string;
isFatal: boolean;
}): {
eventName: string;
payload: ErrorEventPayload;
}[];
export {};