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

33
node_modules/import-meta-resolve/lib/resolve.d.ts generated vendored Normal file
View File

@@ -0,0 +1,33 @@
/// <reference types="node" resolution-mode="require"/>
/**
* The “Resolver Algorithm Specification” as detailed in the Node docs (which is
* sync and slightly lower-level than `resolve`).
*
* @param {string} specifier
* `/example.js`, `./example.js`, `../example.js`, `some-package`, `fs`, etc.
* @param {URL} base
* Full URL (to a file) that `specifier` is resolved relative from.
* @param {Set<string>} [conditions]
* Conditions.
* @param {boolean} [preserveSymlinks]
* Keep symlinks instead of resolving them.
* @returns {URL}
* A URL object to the found thing.
*/
export function moduleResolve(specifier: string, base: URL, conditions?: Set<string> | undefined, preserveSymlinks?: boolean | undefined): URL;
/**
* @param {string} specifier
* @param {{parentURL?: string, conditions?: Array<string>}} context
* @returns {{url: string, format?: string | null}}
*/
export function defaultResolve(specifier: string, context?: {
parentURL?: string;
conditions?: Array<string>;
}): {
url: string;
format?: string | null;
};
export type Stats = import('node:fs').Stats;
export type ErrnoException = import('./errors.js').ErrnoException;
export type PackageConfig = import('./package-json-reader.js').PackageConfig;
import { URL } from 'node:url';