// generated by fetchdts, strategy table+union, 3 routes // (2 static, 0 dynamic, 1 wildcard) import type { AnyHTTPMethod, Endpoint, HTTPMethod, TypedFetchErrorBody, TypedFetchMethods, TypedFetchRequestBody, TypedFetchRequestHeaders, TypedFetchRequestQuery, TypedFetchRequires, TypedFetchResponseBody, TypedFetchResponseHeaders, ValidFetchInput, WildcardParam } from 'nuxt/app' import type { ServerRoutes } from '@nuxt/schema' import type { Serialize } from 'nuxt/app' import type { RequestBodyOf, RequestQueryOf } from '@nuxt/nitro-server/request-types' type AugmentedServerRoutes = GeneratedServerRoutes & ServerRoutes export interface GeneratedServerRoutes { "/__nuxt_error": { [Endpoint]: Record>> "body": RequestBodyOf "query": RequestQueryOf }> } "/__nuxt_island": { [WildcardParam]: { [Endpoint]: Record>> "body": RequestBodyOf "query": RequestQueryOf }> } } "/sitemap.xml": { [Endpoint]: Record>> "body": RequestBodyOf "query": RequestQueryOf }> } } /** * Every path whose every segment is known, mapped to the endpoints registered on it. * * A fast path rather than the authority: a lookup that misses falls through to the tree, which * costs nothing, since a path reached through a parameter has to walk either way. */ export interface Exact { "/__nuxt_error": GeneratedServerRoutes["/__nuxt_error"][typeof Endpoint] "/sitemap.xml": GeneratedServerRoutes["/sitemap.xml"][typeof Endpoint] } export type Path = | "/__nuxt_error" | `/__nuxt_island/${string}${string}` | "/__nuxt_island" | "/sitemap.xml" /** * Whether a path resolves, for use in parameter position: `input: T & ValidInput`. * * Does not consult `Exact`: a lookup where the path is still a type parameter relates a `keyof` * of every static path once per program, so the table stays where the path is resolved. */ export type ValidInput = ValidFetchInput export type Response = Path_ extends keyof Exact ? Uppercase extends keyof Exact[Path_] ? 'response' extends keyof Exact[Path_][Uppercase] ? Exact[Path_][Uppercase]['response'] : unknown : TypedFetchResponseBody : TypedFetchResponseBody export type Methods = TypedFetchMethods export type ResponseHeaders = TypedFetchResponseHeaders export type ErrorBody = TypedFetchErrorBody export type RequestBody = TypedFetchRequestBody export type RequestQuery> = TypedFetchRequestQuery export type RequestHeaders = TypedFetchRequestHeaders export type Requires = TypedFetchRequires export type StrictFetchPaths = false export type RouteTypesEngine = 'internal-api'