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

47
node_modules/vfile-location/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,47 @@
import type {Point as UnistPoint} from 'unist'
export {location} from './lib/index.js'
/**
* Accessors for index.
*/
export interface Location {
/**
* Get the `offset` from a line/column based `Point` in the bound indices;
* returns `undefined` when given out of bounds input.
*
* @param point
* Line/column based `Point`.
* @returns
* Offset.
*/
toOffset(point?: PointLike | null | undefined): number | undefined
/**
* Get the line/column based `Point` for `offset` in the bound indices;
* returns `undefined` when given out of bounds input.
*
* @param offset
* Offset.
* @returns
* `Point`.
*/
toPoint(offset?: number | null | undefined): UnistPoint | undefined
}
/**
* Point from `unist`, allowed as input.
*/
interface PointLike {
/**
* Column.
*/
column?: number | null | undefined
/**
* Line.
*/
line?: number | null | undefined
/**
* Offset.
*/
offset?: number | null | undefined
}