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

34
node_modules/zod-to-ts/dist/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,34 @@
import { ZodTypeAny } from 'zod';
import ts from 'typescript';
type ZodToTsOptions = {
/** @deprecated use `nativeEnums` instead */
resolveNativeEnums?: boolean;
nativeEnums?: 'identifier' | 'resolve' | 'union';
};
declare const resolveOptions: (raw?: ZodToTsOptions) => {
resolveNativeEnums?: boolean | undefined;
nativeEnums: 'identifier' | 'resolve' | 'union';
};
type ResolvedZodToTsOptions = ReturnType<typeof resolveOptions>;
type ZodToTsStore = {
nativeEnums: ts.EnumDeclaration[];
};
type ZodToTsReturn = {
node: ts.TypeNode;
store: ZodToTsStore;
};
type GetTypeFunction = (typescript: typeof ts, identifier: string, options: ResolvedZodToTsOptions) => ts.Identifier | ts.TypeNode;
type GetType = {
_def: {
getType?: GetTypeFunction;
};
};
declare const createTypeAlias: (node: ts.TypeNode, identifier: string, comment?: string) => ts.TypeAliasDeclaration;
declare const printNode: (node: ts.Node, printerOptions?: ts.PrinterOptions) => string;
declare const withGetType: <T extends ZodTypeAny & GetType>(schema: T, getType: GetTypeFunction) => T;
declare const zodToTs: (zod: ZodTypeAny, identifier?: string, options?: ZodToTsOptions) => ZodToTsReturn;
export { GetType, ZodToTsOptions, createTypeAlias, printNode, withGetType, zodToTs };