Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,14 @@
import { type H3Event } from "h3";
import type { NitroRouteRules } from "nitropack/types";
export declare function createRouteRulesHandler(ctx: {
localFetch: typeof globalThis.fetch;
}): import("h3").EventHandler<import("h3").EventHandlerRequest, Promise<any> | undefined>;
export declare function getRouteRules(event: H3Event): NitroRouteRules;
type DeepReadonly<T> = T extends Record<string, any> ? {
readonly [K in keyof T]: DeepReadonly<T[K]>;
} : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T;
/**
* @param path - The path to match against route rules. This should not contain a query string.
*/
export declare function getRouteRulesForPath(path: string): DeepReadonly<NitroRouteRules>;
export {};