SYMBOL INDEX (819 symbols across 254 files) FILE: automd.config.ts type FileEntry (line 5) | interface FileEntry { constant DEFAULT_IGNORE (line 12) | const DEFAULT_IGNORE = [ constant EXTENSION_LANGUAGE_MAP (line 28) | const EXTENSION_LANGUAGE_MAP: Record = { function parseGitignore (line 49) | async function parseGitignore(dir: string): Promise { function shouldIgnore (line 62) | function shouldIgnore(name: string, ignorePatterns: string[], defaultIgn... function getLanguage (line 79) | function getLanguage(filePath: string): string { function collectFiles (line 84) | async function collectFiles( function sortFiles (line 134) | function sortFiles(files: FileEntry[]): FileEntry[] { function generateCodeTree (line 149) | function generateCodeTree( function resolvePath (line 181) | function resolvePath(srcPath: string, options: { url?: string; dir?: str... method generate (line 194) | async generate(ctx) { method generate (line 213) | async generate({ FILE: build.config.ts method rolldownConfig (line 47) | rolldownConfig(config) { method rolldownOutput (line 77) | rolldownOutput(config) { method end (line 145) | async end() { FILE: examples/auto-imports/server/utils/hello.ts function makeGreeting (line 1) | function makeGreeting(name: string) { FILE: examples/database/tasks/db/migrate.ts method run (line 8) | async run() { FILE: examples/hello-world/server.ts method fetch (line 2) | fetch(req: Request) { FILE: examples/import-alias/server/utils/math.ts function rand (line 1) | function rand(min: number, max: number): number { function sum (line 5) | function sum(a: number, b: number): number { FILE: examples/renderer/renderer.ts function renderer (line 3) | async function renderer({ url }: { req: Request; url: URL }) { FILE: examples/vite-rsc/app/action.tsx function getServerCounter (line 5) | async function getServerCounter() { function updateServerCounter (line 9) | async function updateServerCounter(change: number) { FILE: examples/vite-rsc/app/client.tsx function ClientCounter (line 5) | function ClientCounter() { FILE: examples/vite-rsc/app/framework/entry.browser.tsx function main (line 15) | async function main() { function listenNavigation (line 91) | function listenNavigation(onNavigation: () => void) { FILE: examples/vite-rsc/app/framework/entry.rsc.tsx type RscPayload (line 15) | type RscPayload = { function handler (line 30) | async function handler(request: Request): Promise { FILE: examples/vite-rsc/app/framework/entry.ssr.tsx function renderHTML (line 18) | async function renderHTML( FILE: examples/vite-rsc/app/framework/error-boundary.tsx function GlobalErrorBoundary (line 6) | function GlobalErrorBoundary(props: { children?: React.ReactNode }) { class ErrorBoundary (line 12) | class ErrorBoundary extends React.Component<{ method getDerivedStateFromError (line 21) | static getDerivedStateFromError(error: Error) { method render (line 29) | override render() { function DefaultGlobalErrorPage (line 40) | function DefaultGlobalErrorPage(props: { error: Error; reset: () => void... FILE: examples/vite-rsc/app/framework/request.tsx constant URL_POSTFIX (line 4) | const URL_POSTFIX = "_.rsc"; constant HEADER_ACTION_ID (line 5) | const HEADER_ACTION_ID = "x-rsc-action"; type RenderRequest (line 9) | type RenderRequest = { function createRscRenderRequest (line 17) | function createRscRenderRequest( function parseRenderRequest (line 34) | function parseRenderRequest(request: Request): RenderRequest { FILE: examples/vite-rsc/app/root.tsx function Root (line 8) | function Root(props: { url: URL }) { function App (line 25) | function App(props: { url: URL }) { FILE: examples/vite-ssr-html/app/entry-server.ts method fetch (line 4) | async fetch() { function tokenizedStream (line 12) | function tokenizedStream(text: string, delay: number): ReadableStream { function Root (line 17) | function Root(props: { appHTML?: string }) { FILE: examples/vite-ssr-tsr-react/src/main.tsx type Register (line 13) | interface Register { FILE: examples/vite-ssr-tsr-react/src/routeTree.gen.ts type FileRoutesByFullPath (line 20) | interface FileRoutesByFullPath { type FileRoutesByTo (line 23) | interface FileRoutesByTo { type FileRoutesById (line 26) | interface FileRoutesById { type FileRouteTypes (line 30) | interface FileRouteTypes { type RootRouteChildren (line 38) | interface RootRouteChildren { type FileRoutesByPath (line 43) | interface FileRoutesByPath { FILE: examples/vite-ssr-tsr-react/src/routes/index.tsx function Index (line 11) | function Index() { FILE: examples/vite-ssr-tss-react/server.ts method fetch (line 4) | fetch(request) { FILE: examples/vite-ssr-tss-react/src/routeTree.gen.ts type FileRoutesByFullPath (line 26) | interface FileRoutesByFullPath { type FileRoutesByTo (line 30) | interface FileRoutesByTo { type FileRoutesById (line 34) | interface FileRoutesById { type FileRouteTypes (line 39) | interface FileRouteTypes { type RootRouteChildren (line 47) | interface RootRouteChildren { type FileRoutesByPath (line 53) | interface FileRoutesByPath { type Register (line 82) | interface Register { FILE: examples/vite-ssr-tss-react/src/router.tsx function getRouter (line 4) | function getRouter() { FILE: examples/vite-ssr-tss-react/src/routes/__root.tsx function RootDocument (line 21) | function RootDocument({ children }: { children: React.ReactNode }) { FILE: examples/vite-ssr-tss-react/src/routes/index.tsx function Home (line 5) | function Home() { FILE: examples/vite-ssr-vue-router/app/entry-client.ts function main (line 5) | async function main() { FILE: examples/vite-ssr-vue-router/app/entry-server.ts function handler (line 10) | async function handler(request: Request): Promise { function htmlTemplate (line 49) | function htmlTemplate(body: string): string { FILE: examples/vite-ssr-vue-router/vite.config.mjs function patchVueExclude (line 15) | function patchVueExclude(plugin, exclude) { FILE: examples/vite-trpc/server/trpc.ts type AppRouter (line 19) | type AppRouter = typeof appRouter; method fetch (line 22) | async fetch(request: Request): Promise { FILE: examples/websocket/routes/_ws.ts method open (line 4) | open(peer) { method message (line 9) | message(peer, message) { method close (line 21) | close(peer) { FILE: playground/server.ts method fetch (line 2) | fetch(req: Request) { FILE: scripts/bump-nightly.ts function loadPackage (line 10) | async function loadPackage(dir: string) { type ThenArg (line 43) | type ThenArg = T extends PromiseLike ? U : T; type Package (line 44) | type Package = ThenArg>; function loadWorkspace (line 46) | async function loadWorkspace(dir: string) { function fmtDate (line 105) | function fmtDate(d: Date): string { function joinNumbers (line 112) | function joinNumbers(items: number[]): string { function main (line 116) | async function main() { FILE: scripts/bump-version.ts function fmtDate (line 14) | function fmtDate(d: Date): string { function fetchExistingVersions (line 21) | async function fetchExistingVersions(pkgName: string): Promise { function resolveVersion (line 39) | async function resolveVersion( function main (line 68) | async function main() { FILE: scripts/release.ts function main (line 27) | async function main() { function run (line 74) | function run(cmd: string, opts?: { silent?: boolean; quiet?: boolean }) { function precheck (line 84) | async function precheck() { FILE: src/build/assets.ts constant NEGATION_RE (line 8) | const NEGATION_RE = /^(!?)(.*)$/; constant PARENT_DIR_GLOB_RE (line 9) | const PARENT_DIR_GLOB_RE = /!?\.\.\//; function scanUnprefixedPublicAssets (line 11) | async function scanUnprefixedPublicAssets(nitro: Nitro) { function copyPublicAssets (line 32) | async function copyPublicAssets(nitro: Nitro) { function getIncludePatterns (line 63) | function getIncludePatterns( FILE: src/build/build.ts function build (line 3) | async function build(nitro: Nitro) { FILE: src/build/chunks.ts constant NODE_MODULES_RE (line 7) | const NODE_MODULES_RE = /node_modules[/\\](?!(?:nitro|nitro-nightly)[/\\... function libChunkName (line 9) | function libChunkName(id: string) { function pathToPkgName (line 14) | function pathToPkgName(path: string): string | undefined { function getChunkName (line 24) | function getChunkName(chunk: { name: string; moduleIds: string[] }, nitr... function joinPkgNames (line 95) | function joinPkgNames(moduleIds: string[]): string { function routeToFsPath (line 107) | function routeToFsPath(route: string) { FILE: src/build/config.ts type BaseBuildConfig (line 6) | type BaseBuildConfig = ReturnType; function baseBuildConfig (line 8) | function baseBuildConfig(nitro: Nitro) { function getNoExternals (line 68) | function getNoExternals(nitro: Nitro): RegExp[] { function resolveAliases (line 96) | function resolveAliases(_aliases: Record) { FILE: src/build/info.ts constant NITRO_WELLKNOWN_DIR (line 11) | const NITRO_WELLKNOWN_DIR = "node_modules/.nitro"; function getBuildInfo (line 13) | async function getBuildInfo( function findLastBuildDir (line 38) | async function findLastBuildDir(root: string): Promise { function writeBuildInfo (line 47) | async function writeBuildInfo( function writeDevBuildInfo (line 90) | async function writeDevBuildInfo(nitro: Nitro, addr?: WorkerAddress): Pr... FILE: src/build/plugins.ts function baseBuildPlugins (line 15) | async function baseBuildPlugins(nitro: Nitro, base: BaseBuildConfig) { FILE: src/build/plugins/externals.ts type ExternalsOptions (line 12) | type ExternalsOptions = { constant PLUGIN_NAME (line 20) | const PLUGIN_NAME = "nitro:externals"; function externals (line 22) | function externals(opts: ExternalsOptions): Plugin { constant NODE_MODULES_RE (line 180) | const NODE_MODULES_RE = constant IMPORT_RE (line 183) | const IMPORT_RE = /^(?!\.)(?[^@/\\]+|@[^/\\]+[/\\][^/\\]+)(?:[/\\]... function toImport (line 185) | function toImport(id: string): string | undefined { function guessSubpath (line 196) | function guessSubpath(path: string, conditions: string[]): string | unde... function getPkgJSON (line 227) | function getPkgJSON(dir: string): PackageJson | undefined { function flattenExports (line 242) | function flattenExports( FILE: src/build/plugins/oxc.ts function oxc (line 5) | async function oxc( FILE: src/build/plugins/raw.ts constant HELPER_ID (line 5) | const HELPER_ID = "virtual:nitro-raw-helpers"; constant RESOLVED_PREFIX (line 6) | const RESOLVED_PREFIX = "virtual:nitro:raw:"; constant PREFIX (line 7) | const PREFIX = "raw:"; function raw (line 9) | function raw(): Plugin { function isBinary (line 70) | function isBinary(id: string) { function getHelpers (line 81) | function getHelpers() { function rawAssetMap (line 95) | function rawAssetMap(id: string) { FILE: src/build/plugins/route-meta.ts constant PREFIX (line 8) | const PREFIX = "\0nitro:route-meta:"; function routeMeta (line 10) | async function routeMeta(nitro: Nitro) { function astToObject (line 87) | function astToObject(node: Expression | Literal): any { FILE: src/build/plugins/server-main.ts function serverMain (line 4) | function serverMain(nitro: Nitro): Plugin { FILE: src/build/plugins/sourcemap-min.ts function sourcemapMinify (line 3) | function sourcemapMinify() { FILE: src/build/plugins/virtual.ts type VirtualModule (line 5) | type VirtualModule = { function virtual (line 11) | function virtual(input: VirtualModule[]): Plugin { function virtualDeps (line 63) | function virtualDeps(): Plugin { FILE: src/build/prepare.ts function prepare (line 4) | async function prepare(nitro: Nitro) { function prepareDir (line 14) | async function prepareDir(dir: string) { FILE: src/build/rolldown/build.ts function rolldownBuild (line 6) | async function rolldownBuild(nitro: Nitro) { FILE: src/build/rolldown/config.ts method onwarn (line 35) | onwarn(warning, warn) { method moduleSideEffects (line 42) | moduleSideEffects(id) { method sourcemapIgnoreList (line 61) | sourcemapIgnoreList(relativePath) { FILE: src/build/rolldown/dev.ts function watchDev (line 10) | async function watchDev(nitro: Nitro, config: RolldownOptions) { FILE: src/build/rolldown/prod.ts function buildProduction (line 12) | async function buildProduction(nitro: Nitro, config: RolldownOptions) { FILE: src/build/rollup/build.ts function rollupBuild (line 6) | async function rollupBuild(nitro: Nitro) { FILE: src/build/rollup/config.ts method onwarn (line 54) | onwarn(warning, rollupWarn) { method moduleSideEffects (line 60) | moduleSideEffects(id) { method manualChunks (line 74) | manualChunks(id: string) { FILE: src/build/rollup/dev.ts function watchDev (line 12) | async function watchDev(nitro: Nitro, rollupConfig: RollupConfig) { FILE: src/build/rollup/error.ts function formatRollupError (line 4) | function formatRollupError(_error: rollup.RollupError) { FILE: src/build/rollup/prod.ts function buildProduction (line 10) | async function buildProduction(nitro: Nitro, rollupConfig: RollupConfig) { FILE: src/build/types.ts function writeTypes (line 16) | async function writeTypes(nitro: Nitro) { constant RELATIVE_RE (line 282) | const RELATIVE_RE = /^\.{1,2}\//; function relativeWithDot (line 284) | function relativeWithDot(from: string, to: string) { FILE: src/build/virtual/_all.ts type VirtualTemplate (line 17) | type VirtualTemplate = { function virtualTemplates (line 22) | function virtualTemplates(nitro: Nitro, _polyfills: string[]): VirtualTe... FILE: src/build/virtual/database.ts function database (line 5) | function database(nitro: Nitro) { FILE: src/build/virtual/error-handler.ts function errorHandler (line 5) | function errorHandler(nitro: Nitro) { FILE: src/build/virtual/feature-flags.ts function featureFlags (line 3) | function featureFlags(nitro: Nitro) { FILE: src/build/virtual/plugins.ts function plugins (line 4) | function plugins(nitro: Nitro) { FILE: src/build/virtual/polyfills.ts function polyfills (line 3) | function polyfills(_nitro: Nitro, polyfills: string[]) { FILE: src/build/virtual/public-assets.ts function publicAssets (line 22) | function publicAssets(nitro: Nitro) { FILE: src/build/virtual/renderer-template.ts function rendererTemplate (line 5) | function rendererTemplate(nitro: Nitro) { FILE: src/build/virtual/routing-meta.ts function routingMeta (line 3) | function routingMeta(nitro: Nitro) { function uniqueBy (line 29) | function uniqueBy(arr: T[], key: keyof T): T[] { FILE: src/build/virtual/routing.ts function routing (line 5) | function routing(nitro: Nitro) { function uniqueBy (line 56) | function uniqueBy(arr: T[], key: keyof T): T[] { type MaybeArray (line 62) | type MaybeArray = T | T[]; function serializeHandler (line 64) | function serializeHandler(h: MaybeArray Promise; type DevServer (line 23) | interface DevServer extends RunnerRPCHooks { function createFetchableDevEnvironment (line 30) | function createFetchableDevEnvironment( class FetchableDevEnvironment (line 42) | class FetchableDevEnvironment extends DevEnvironment { method constructor (line 48) | constructor( method fetchModule (line 62) | override async fetchModule( method dispatchFetch (line 88) | async dispatchFetch(request: Request): Promise { method init (line 92) | override async init(...args: any[]): Promise { function configureViteDevServer (line 105) | async function configureViteDevServer(ctx: NitroPluginContext, server: V... FILE: src/build/vite/env.ts function createNitroEnvironment (line 12) | function createNitroEnvironment(ctx: NitroPluginContext): EnvironmentOpt... function createServiceEnvironment (line 62) | function createServiceEnvironment( function createServiceEnvironments (line 99) | function createServiceEnvironments( function initEnvRunner (line 110) | async function initEnvRunner(ctx: NitroPluginContext) { function getEnvRunner (line 149) | function getEnvRunner(ctx: NitroPluginContext) { function reloadEnvRunner (line 156) | async function reloadEnvRunner(ctx: NitroPluginContext) { function _loadRunner (line 165) | async function _loadRunner(ctx: NitroPluginContext, manager: RunnerManag... function _isWorkerdRunner (line 188) | function _isWorkerdRunner(ctx: NitroPluginContext): boolean { function tryResolve (line 194) | function tryResolve(id: string) { FILE: src/build/vite/plugin.ts constant DEFAULT_EXTENSIONS (line 35) | const DEFAULT_EXTENSIONS = [".ts", ".js", ".mts", ".mjs", ".tsx", ".jsx"]; function nitro (line 41) | function nitro(pluginConfig: NitroPluginConfig = {}): VitePlugin[] { function nitroInit (line 64) | function nitroInit(ctx: NitroPluginContext): VitePlugin { function nitroEnv (line 92) | function nitroEnv(ctx: NitroPluginContext): VitePlugin { function nitroMain (line 173) | function nitroMain(ctx: NitroPluginContext): VitePlugin { function nitroPrepare (line 281) | function nitroPrepare(ctx: NitroPluginContext): VitePlugin { function nitroService (line 299) | function nitroService(ctx: NitroPluginContext): VitePlugin { function createContext (line 330) | function createContext(pluginConfig: NitroPluginConfig): NitroPluginCont... function useNitro (line 338) | function useNitro(ctx: NitroPluginContext) { function setupNitroContext (line 345) | async function setupNitroContext( function getEntry (line 471) | function getEntry(input: InputOption | undefined): string | undefined { function flattenPlugins (line 481) | function flattenPlugins(plugins: PluginOption[]): VitePlugin[] { FILE: src/build/vite/preview.ts function nitroPreviewPlugin (line 5) | function nitroPreviewPlugin(ctx: NitroPluginContext): VitePlugin { FILE: src/build/vite/prod.ts function buildEnvironments (line 20) | async function buildEnvironments(ctx: NitroPluginContext, builder: ViteB... function prodSetup (line 129) | function prodSetup(ctx: NitroPluginContext): string { FILE: src/build/vite/types.ts type UserConfig (line 8) | interface UserConfig { type Plugin (line 15) | interface Plugin { type NitroPluginConfig (line 20) | interface NitroPluginConfig extends NitroConfig { type ServiceConfig (line 50) | interface ServiceConfig { type NitroPluginContext (line 54) | interface NitroPluginContext { FILE: src/cli/commands/build.ts method run (line 35) | async run({ args }) { FILE: src/cli/commands/deploy.ts method run (line 20) | async run(ctx) { FILE: src/cli/commands/dev.ts method run (line 21) | async run({ args }) { FILE: src/cli/commands/docs.ts method run (line 12) | run({ rawArgs }) { FILE: src/cli/commands/prepare.ts method run (line 14) | async run({ args }) { FILE: src/cli/commands/preview.ts method run (line 18) | async run({ args }) { FILE: src/cli/commands/task/list.ts method run (line 17) | async run({ args }) { FILE: src/cli/commands/task/run.ts method run (line 27) | async run({ args }) { FILE: src/config/loader.ts function loadOptions (line 46) | async function loadOptions( function _loadUserConfig (line 57) | async function _loadUserConfig( FILE: src/config/resolvers/assets.ts function resolveAssetsOptions (line 7) | async function resolveAssetsOptions(options: NitroOptions) { FILE: src/config/resolvers/builder.ts constant VALID_BUILDERS (line 7) | const VALID_BUILDERS = ["rolldown", "rollup", "vite"] as const; function resolveBuilder (line 9) | async function resolveBuilder(options: NitroOptions) { function isPkgInstalled (line 50) | function isPkgInstalled(pkg: string, root: string) { function installPkg (line 59) | async function installPkg(pkg: string, root: string) { function hasNitroViteConfig (line 64) | function hasNitroViteConfig(options: NitroOptions): boolean { FILE: src/config/resolvers/compatibility.ts function resolveCompatibilityOptions (line 4) | async function resolveCompatibilityOptions(options: NitroOptions) { FILE: src/config/resolvers/database.ts function resolveDatabaseOptions (line 3) | async function resolveDatabaseOptions(options: NitroOptions) { FILE: src/config/resolvers/error.ts function resolveErrorOptions (line 6) | async function resolveErrorOptions(options: NitroOptions) { FILE: src/config/resolvers/export-conditions.ts function resolveExportConditionsOptions (line 3) | async function resolveExportConditionsOptions(options: NitroOptions) { function _resolveExportConditions (line 11) | function _resolveExportConditions( FILE: src/config/resolvers/imports.ts function resolveImportsOptions (line 5) | async function resolveImportsOptions(options: NitroOptions) { FILE: src/config/resolvers/open-api.ts function resolveOpenAPIOptions (line 5) | async function resolveOpenAPIOptions(options: NitroOptions) { FILE: src/config/resolvers/paths.ts constant RESOLVE_EXTENSIONS (line 10) | const RESOLVE_EXTENSIONS = [".ts", ".js", ".mts", ".mjs", ".tsx", ".jsx"]; function resolvePathOptions (line 12) | async function resolvePathOptions(options: NitroOptions) { FILE: src/config/resolvers/route-rules.ts function resolveRouteRulesOptions (line 4) | async function resolveRouteRulesOptions(options: NitroOptions) { function normalizeRouteRules (line 8) | function normalizeRouteRules(config: NitroConfig): Record) { function checkSerializableRuntimeConfig (line 39) | function checkSerializableRuntimeConfig(obj: any, path: string[] = []) { function isPrimitiveValue (line 67) | function isPrimitiveValue(value: any) { FILE: src/config/resolvers/storage.ts function resolveStorageOptions (line 3) | async function resolveStorageOptions(options: NitroOptions) { FILE: src/config/resolvers/tsconfig.ts function resolveTsconfig (line 6) | async function resolveTsconfig(options: NitroOptions) { function loadTsconfig (line 13) | async function loadTsconfig(root: string): Promise { FILE: src/config/resolvers/unenv.ts function resolveUnenv (line 41) | async function resolveUnenv(options: NitroOptions) { FILE: src/config/resolvers/url.ts function resolveURLOptions (line 4) | async function resolveURLOptions(options: NitroOptions) { FILE: src/config/update.ts function updateNitroConfig (line 6) | async function updateNitroConfig(nitro: Nitro, config: NitroDynamicConfi... FILE: src/dev/app.ts class NitroDevApp (line 19) | class NitroDevApp { method constructor (line 23) | constructor(nitro: Nitro, catchAllHandler?: HTTPHandler) { method #createApp (line 29) | #createApp(catchAllHandler?: HTTPHandler) { function serveStaticDir (line 98) | function serveStaticDir( function createHTTPProxy (line 145) | function createHTTPProxy(defaults: ProxyServerOptions = {}) { FILE: src/dev/server.ts function createDevServer (line 21) | function createDevServer(nitro: Nitro): NitroDevServer { class NitroDevServer (line 25) | class NitroDevServer extends NitroDevApp implements RunnerRPCHooks { method constructor (line 38) | constructor(nitro: Nitro) { method upgrade (line 125) | async upgrade(req: IncomingMessage, socket: Socket, head: any) { method listen (line 135) | listen(opts?: Partial>): Server { method close (line 148) | async close() { method reload (line 166) | reload() { method #reload (line 177) | async #reload() { method sendMessage (line 187) | sendMessage(message: unknown) { method onMessage (line 191) | onMessage(listener: RunnerMessageListener) { method offMessage (line 195) | offMessage(listener: RunnerMessageListener) { method #waitForBuild (line 203) | async #waitForBuild() { method #generateError (line 208) | #generateError() { FILE: src/dev/vfs.ts function createVFSHandler (line 4) | function createVFSHandler(nitro: Nitro) { FILE: src/global.ts function registerNitroInstance (line 13) | function registerNitroInstance(nitro: Nitro) { function globalInit (line 27) | function globalInit() { FILE: src/module.ts function installModules (line 4) | async function installModules(nitro: Nitro) { function _resolveNitroModule (line 19) | async function _resolveNitroModule( FILE: src/nitro.ts function createNitro (line 11) | async function createNitro( FILE: src/prerender/prerender.ts function prerender (line 21) | async function prerender(nitro: Nitro) { FILE: src/prerender/utils.ts constant HTML_ENTITIES (line 10) | const HTML_ENTITIES = { function escapeHtml (line 18) | function escapeHtml(text: string) { function extractLinks (line 22) | async function extractLinks(html: string, from: string, res: Response, c... constant EXT_REGEX (line 66) | const EXT_REGEX = /\.[\da-z]+$/; function getExtension (line 68) | function getExtension(link: string): string { function formatPrerenderRoute (line 73) | function formatPrerenderRoute(route: PrerenderRoute) { type IgnorePattern (line 95) | type IgnorePattern = function matchesIgnorePattern (line 99) | function matchesIgnorePattern(path: string, pattern: IgnorePattern) { FILE: src/presets/_resolve.ts function resolvePreset (line 16) | async function resolvePreset( FILE: src/presets/_static/preset.ts method compiled (line 39) | async compiled(nitro) { FILE: src/presets/_types.gen.ts type PresetOptions (line 12) | interface PresetOptions { type PresetName (line 25) | type PresetName = "alwaysdata" | "aws-amplify" | "aws-lambda" | "azure-s... type PresetNameInput (line 27) | type PresetNameInput = "alwaysdata" | "aws-amplify" | "awsAmplify" | "aw... FILE: src/presets/_utils/fs.ts function prettyPath (line 6) | function prettyPath(p: string, highlight = true) { function writeFile (line 11) | async function writeFile(file: string, contents: Buffer | string, log = ... function isDirectory (line 19) | async function isDirectory(path: string) { FILE: src/presets/_utils/preset.ts function defineNitroPreset (line 6) | function defineNitroPreset

{ FILE: src/presets/aws-lambda/runtime/aws-lambda-streaming.ts method start (line 29) | start(controller) { function streamToNodeStream (line 43) | async function streamToNodeStream( FILE: src/presets/aws-lambda/runtime/aws-lambda.ts function handler (line 15) | async function handler( FILE: src/presets/aws-lambda/types.ts type AwsLambdaOptions (line 1) | interface AwsLambdaOptions { FILE: src/presets/azure/preset.ts method compiled (line 18) | async compiled(ctx: Nitro) { FILE: src/presets/azure/runtime/_utils.ts function getAzureParsedCookiesFromHeaders (line 4) | function getAzureParsedCookiesFromHeaders(headers: Headers): Cookie[] { function parseNumberOrDate (line 35) | function parseNumberOrDate(expires: string) { function parseNumber (line 47) | function parseNumber(maxAge: string) { FILE: src/presets/azure/runtime/azure-swa.ts function handle (line 10) | async function handle(context: { res: HttpResponse }, req: HttpRequest) { FILE: src/presets/azure/types.ts type AzureOptions (line 1) | interface AzureOptions { FILE: src/presets/azure/utils.ts function writeSWARoutes (line 6) | async function writeSWARoutes(nitro: Nitro) { FILE: src/presets/cloudflare/dev.ts function cloudflareDevModule (line 8) | async function cloudflareDevModule(nitro: Nitro) { FILE: src/presets/cloudflare/entry-exports.ts constant RESOLVE_EXTENSIONS (line 5) | const RESOLVE_EXTENSIONS = [".ts", ".js", ".mts", ".mjs"]; function setupEntryExports (line 7) | async function setupEntryExports(nitro: Nitro) { function resolveExportsEntry (line 21) | function resolveExportsEntry(nitro: Nitro) { FILE: src/presets/cloudflare/preset.ts function guardCreateRequire (line 24) | function guardCreateRequire(): Plugin { method compiled (line 80) | async compiled(nitro: Nitro) { method compiled (line 106) | async compiled(nitro: Nitro) { method compiled (line 164) | async compiled(nitro: Nitro) { FILE: src/presets/cloudflare/runtime/_module-handler.ts type MaybePromise (line 8) | type MaybePromise = T | Promise; function createHandler (line 10) | function createHandler(hooks: { function augmentReq (line 113) | function augmentReq( FILE: src/presets/cloudflare/runtime/cloudflare-durable.ts constant DURABLE_BINDING (line 11) | const DURABLE_BINDING = "$DurableObject"; constant DURABLE_INSTANCE (line 12) | const DURABLE_INSTANCE = "server"; type Env (line 14) | interface Env { method fetch (line 40) | fetch(request, env, context, url, ctxExt) { class $DurableObject (line 57) | class $DurableObject extends DurableObject { method constructor (line 58) | constructor(state: DurableObjectState, env: Record) { method fetch (line 71) | override fetch(request: Request) { method alarm (line 84) | override alarm(): void | Promise { method webSocketMessage (line 88) | override async webSocketMessage(client: WebSocket, message: ArrayBuffe... method webSocketClose (line 94) | override async webSocketClose( FILE: src/presets/cloudflare/runtime/cloudflare-module.ts type Env (line 11) | interface Env { method fetch (line 16) | fetch(cfRequest, env, context, url) { FILE: src/presets/cloudflare/runtime/cloudflare-pages.ts type CFPagesEnv (line 20) | interface CFPagesEnv { method fetch (line 34) | async fetch(cfReq: CFRequest, env: CFPagesEnv, context: EventContext { method match (line 99) | match() { method put (line 104) | put(): Promise { FILE: src/presets/cloudflare/runtime/shims/workers.dev.mjs function waitUntil (line 6) | async function waitUntil(promise) { function withEnv (line 10) | function withEnv(newEnv, fn) { class NotImplemented (line 14) | class NotImplemented { method constructor (line 15) | constructor() { class DurableObject (line 20) | class DurableObject extends NotImplemented {} class RpcPromise (line 21) | class RpcPromise extends NotImplemented {} class RpcProperty (line 22) | class RpcProperty extends NotImplemented {} class RpcStub (line 23) | class RpcStub extends NotImplemented {} class RpcTarget (line 24) | class RpcTarget extends NotImplemented {} class ServiceStub (line 25) | class ServiceStub extends NotImplemented {} class WorkerEntrypoint (line 26) | class WorkerEntrypoint extends NotImplemented {} class WorkflowEntrypoint (line 27) | class WorkflowEntrypoint extends NotImplemented {} FILE: src/presets/cloudflare/types.ts type WranglerConfig (line 12) | type WranglerConfig = Partial>; type CloudflarePagesRoutes (line 17) | interface CloudflarePagesRoutes { type CloudflareOptions (line 28) | interface CloudflareOptions { type DurableObjectState (line 99) | type DurableObjectState = ConstructorParameters[0]; type NitroRuntimeHooks (line 102) | interface NitroRuntimeHooks { FILE: src/presets/cloudflare/utils.ts function writeCFRoutes (line 21) | async function writeCFRoutes(nitro: Nitro) { function comparePaths (line 93) | function comparePaths(a: string, b: string) { function writeCFHeaders (line 97) | async function writeCFHeaders(nitro: Nitro, outdir: "public" | "output") { function writeCFPagesRedirects (line 134) | async function writeCFPagesRedirects(nitro: Nitro) { function enableNodeCompat (line 168) | async function enableNodeCompat(nitro: Nitro) { function readWranglerConfig (line 186) | async function readWranglerConfig( function writeWranglerConfig (line 206) | async function writeWranglerConfig(nitro: Nitro, cfTarget: "pages" | "mo... function generateWorkerName (line 323) | async function generateWorkerName(nitro: Nitro) { FILE: src/presets/cloudflare/wrangler/_utils.ts type PascalCase (line 2) | type PascalCase = string extends S type CamelCase (line 8) | type CamelCase = string extends S type CamelCaseKey (line 14) | type CamelCaseKey = K extends string ? Exclude & PagesConfigFiel... type RawConfig (line 35) | type RawConfig = Partial> & type ComputedFields (line 41) | interface ComputedFields { type ConfigFields (line 55) | interface ConfigFields { type PagesConfigFields (line 196) | interface PagesConfigFields { type DevConfig (line 207) | interface DevConfig { type RawDevConfig (line 252) | type RawDevConfig = Partial; type DeprecatedConfigFields (line 254) | interface DeprecatedConfigFields { type EnvironmentMap (line 280) | interface EnvironmentMap { type OnlyCamelCase (line 300) | type OnlyCamelCase> = { FILE: src/presets/cloudflare/wrangler/environment.ts type Environment (line 15) | interface Environment extends EnvironmentInheritable, EnvironmentNonInhe... type SimpleRoute (line 17) | type SimpleRoute = string; type ZoneIdRoute (line 18) | type ZoneIdRoute = { type ZoneNameRoute (line 23) | type ZoneNameRoute = { type CustomDomainRoute (line 28) | type CustomDomainRoute = { pattern: string; custom_domain: boolean }; type Route (line 29) | type Route = SimpleRoute | ZoneIdRoute | ZoneNameRoute | CustomDomainRoute; type CloudchamberConfig (line 34) | type CloudchamberConfig = { type ContainerApp (line 46) | type ContainerApp = { type DurableObjectMigration (line 155) | type DurableObjectMigration = { type EnvironmentInheritable (line 175) | interface EnvironmentInheritable { type DurableObjectBindings (line 489) | type DurableObjectBindings = { type WorkflowBinding (line 500) | type WorkflowBinding = { type EnvironmentNonInheritable (line 520) | interface EnvironmentNonInheritable { type RawEnvironment (line 1065) | type RawEnvironment = Partial; type Rule (line 1070) | type Rule = { type ConfigModuleRuleType (line 1079) | type ConfigModuleRuleType = type TailConsumer (line 1088) | type TailConsumer = { type DispatchNamespaceOutbound (line 1095) | interface DispatchNamespaceOutbound { type UserLimits (line 1104) | interface UserLimits { type Assets (line 1109) | type Assets = { type Observability (line 1126) | interface Observability { type DockerConfiguration (line 1140) | type DockerConfiguration = { type ContainerEngine (line 1145) | type ContainerEngine = FILE: src/presets/deno/preset.ts method compiled (line 54) | async compiled(nitro) { FILE: src/presets/firebase/preset.ts method compiled (line 15) | async compiled(nitro) { FILE: src/presets/firebase/types.ts type FirebaseOptions (line 1) | interface FirebaseOptions { type AppHostingOutputBundleConfig (line 6) | interface AppHostingOutputBundleConfig { FILE: src/presets/iis/preset.ts method compiled (line 10) | async compiled(nitro: Nitro) { method compiled (line 25) | async compiled(nitro: Nitro) { FILE: src/presets/iis/utils.ts function writeIISFiles (line 8) | async function writeIISFiles(nitro: Nitro) { function writeIISNodeFiles (line 12) | async function writeIISNodeFiles(nitro: Nitro) { function iisnodeXmlTemplate (line 27) | async function iisnodeXmlTemplate(nitro: Nitro) { function iisXmlTemplate (line 109) | async function iisXmlTemplate(nitro: Nitro) { function parseXmlDoc (line 142) | async function parseXmlDoc(xml: string): Promise> { function buildNewXmlDoc (line 156) | async function buildNewXmlDoc(xmlObj: Record): Promise<... FILE: src/presets/netlify/preset.ts method compiled (line 40) | async compiled(nitro: Nitro) { method compiled (line 95) | async compiled(nitro: Nitro) { method compiled (line 146) | async compiled(nitro: Nitro) { FILE: src/presets/netlify/runtime/netlify-edge.ts function netlifyEdge (line 10) | async function netlifyEdge(netlifyReq: Request, context: Context) { FILE: src/presets/netlify/runtime/netlify.ts constant ONE_YEAR_IN_SECONDS (line 7) | const ONE_YEAR_IN_SECONDS = 365 * 24 * 60 * 60; FILE: src/presets/netlify/types.ts type NetlifyOptions (line 3) | interface NetlifyOptions { type NetlifyConfigJson (line 12) | interface NetlifyConfigJson { type NetlifyEdgeFunctionDeclaration (line 21) | interface NetlifyEdgeFunctionDeclaration { type NetlifyFunctionsConfig (line 31) | interface NetlifyFunctionsConfig extends NetlifyFunctionInlineConfig { type NetlifyFunctionsConfigByPattern (line 35) | type NetlifyFunctionsConfigByPattern = Record) ... FILE: src/presets/vercel/types.ts type VercelBuildConfigV3 (line 5) | interface VercelBuildConfigV3 { type VercelServerlessFunctionConfig (line 59) | interface VercelServerlessFunctionConfig { type VercelOptions (line 111) | interface VercelOptions { type PrerenderFunctionConfig (line 155) | type PrerenderFunctionConfig = { FILE: src/presets/vercel/utils.ts constant SUPPORTED_NODE_VERSIONS (line 18) | const SUPPORTED_NODE_VERSIONS = [20, 22, 24]; constant UNSUPPORTED_PROXY_OPTIONS (line 22) | const UNSUPPORTED_PROXY_OPTIONS = [ constant FALLBACK_ROUTE (line 32) | const FALLBACK_ROUTE = "/__server"; constant ISR_SUFFIX (line 34) | const ISR_SUFFIX = "-isr"; constant SAFE_FS_CHAR_RE (line 36) | const SAFE_FS_CHAR_RE = /[^a-zA-Z0-9_.[\]/]/g; function getSystemNodeVersion (line 38) | function getSystemNodeVersion() { function generateFunctionFiles (line 44) | async function generateFunctionFiles(nitro: Nitro) { function generateEdgeFunctionFiles (line 106) | async function generateEdgeFunctionFiles(nitro: Nitro) { function generateStaticFiles (line 120) | async function generateStaticFiles(nitro: Nitro) { function generateBuildConfig (line 126) | function generateBuildConfig(nitro: Nitro, o11Routes?: ObservabilityRout... function deprecateSWR (line 296) | function deprecateSWR(nitro: Nitro) { type VercelConfig (line 328) | interface VercelConfig { function resolveVercelRuntime (line 332) | async function resolveVercelRuntime(nitro: Nitro) { function readVercelConfig (line 364) | async function readVercelConfig(rootDir: string): Promise { function _hasProp (line 373) | function _hasProp(obj: any, prop: string) { function canUseVercelRewrite (line 382) | function canUseVercelRewrite(proxy: NitroRouteRules["proxy"]): proxy is ... type ObservabilityRoute (line 401) | type ObservabilityRoute = { function getObservabilityRoutes (line 406) | function getObservabilityRoutes(nitro: Nitro): ObservabilityRoute[] { function normalizeRoutes (line 444) | function normalizeRoutes(routes: string[]) { function normalizeRouteSrc (line 459) | function normalizeRouteSrc(route: string): string { function namedGroup (line 481) | function namedGroup(input = "") { function normalizeRouteDest (line 489) | function normalizeRouteDest(route: string) { function writePrerenderConfig (line 515) | async function writePrerenderConfig( FILE: src/presets/winterjs/runtime/winterjs.ts type ExecuteRequest (line 8) | interface ExecuteRequest { type FetchEvent (line 16) | interface FetchEvent extends Event { function _handleEvent (line 28) | async function _handleEvent(event: FetchEvent) { function toBuffer (line 67) | function toBuffer(data: ReadableStream): Promise { method get (line 99) | get() { method constructor (line 108) | constructor(url: string | URL, base: string | URL) { method constructor (line 122) | constructor(body, init) { method body (line 127) | get body() { FILE: src/presets/zeabur/preset.ts method compiled (line 18) | async compiled(nitro: Nitro) { FILE: src/presets/zephyr/preset.ts constant LOGGER_TAG (line 8) | const LOGGER_TAG = "zephyr-nitro-preset"; type ZephyrAgentModule (line 9) | type ZephyrAgentModule = Pick { class Router (line 137) | class Router { method constructor (line 143) | constructor(baseURL?: string) { method routes (line 151) | get routes() { method _update (line 155) | _update(routes: Route[], opts?: { merge?: boolean }) { method hasRoutes (line 167) | hasRoutes() { method compileToString (line 171) | compileToString(opts?: RouterCompilerOptions) { method match (line 196) | match(method: string, path: string): undefined | T { method matchAll (line 200) | matchAll(method: string, path: string): T[] { function mergeCatchAll (line 206) | function mergeCatchAll(router: RouterContext) { FILE: src/runtime/config.ts function defineConfig (line 3) | function defineConfig(config: Omit): Omit { function serverFetch (line 63) | function serverFetch( function resolveWebsocketHooks (line 78) | async function resolveWebsocketHooks(req: ServerRequest): Promise( function defineCachedHandler (line 46) | function defineCachedHandler( FILE: src/runtime/internal/context.ts function useRequest (line 23) | function useRequest(): ServerRequest { FILE: src/runtime/internal/database.ts function useDatabase (line 7) | function useDatabase(name = "default"): Database { FILE: src/runtime/internal/error/dev.ts function defaultHandler (line 24) | async function defaultHandler( function loadStackTrace (line 101) | async function loadStackTrace(error: any): Promise { type SourceLoader (line 119) | type SourceLoader = Parameters[0]; type StackFrame (line 120) | type StackFrame = Parameters[0]; function sourceLoader (line 121) | async function sourceLoader(frame: StackFrame) { function fmtFrame (line 147) | function fmtFrame(frame: StackFrame) { FILE: src/runtime/internal/error/hooks.ts function _captureError (line 3) | function _captureError(error: Error, type: string): void { function trapUnhandledErrors (line 8) | function trapUnhandledErrors(): void { FILE: src/runtime/internal/error/prod.ts function defaultHandler (line 16) | function defaultHandler(error: HTTPError, event: HTTPEvent): InternalHan... FILE: src/runtime/internal/error/utils.ts function defineNitroErrorHandler (line 3) | function defineNitroErrorHandler(handler: NitroErrorHandler): NitroError... type InternalHandlerResponse (line 7) | type InternalHandlerResponse = { FILE: src/runtime/internal/meta.ts function defineRouteMeta (line 3) | function defineRouteMeta(meta: NitroRouteMeta): NitroRouteMeta { FILE: src/runtime/internal/plugin.ts function defineNitroPlugin (line 3) | function defineNitroPlugin(def: NitroAppPlugin): NitroAppPlugin { FILE: src/runtime/internal/route-rules.ts type RouteRuleCtor (line 9) | type RouteRuleCtor = (m: MatchedRouteRu... FILE: src/runtime/internal/routes/openapi.ts type OpenAPIGlobals (line 57) | type OpenAPIGlobals = Pick & Extensable; function getHandlersMeta (line 59) | function getHandlersMeta(): { function normalizeRoute (line 98) | function normalizeRoute(_route: string) { function defaultTags (line 127) | function defaultTags(route: string) { FILE: src/runtime/internal/routes/renderer-template.dev.ts function renderIndexHTML (line 11) | async function renderIndexHTML(event: H3Event): Promise(base = ""): S... FILE: src/runtime/internal/task.ts function defineTask (line 7) | function defineTask(def: Task): Task { function runTask (line 19) | async function runTask( function startScheduleRunner (line 54) | function startScheduleRunner({ function getCronTasks (line 84) | function getCronTasks(cron: string): string[] { function runCronTasks (line 89) | function runCronTasks( FILE: src/runtime/internal/vite/dev-worker.mjs class WorkerdModuleEvaluator (line 6) | class WorkerdModuleEvaluator { method runInlinedModule (line 9) | async runInlinedModule(context, code) { method runExternalModule (line 17) | runExternalModule(filepath) { class ViteEnvRunner (line 34) | class ViteEnvRunner { method constructor (line 35) | constructor({ name, entry }) { method reload (line 56) | async reload() { method fetch (line 66) | async fetch(req, init) { function rpc (line 95) | function rpc(name, data, timeout = 3000) { function reload (line 128) | async function reload() { function fetch (line 151) | function fetch(req) { function upgrade (line 160) | function upgrade(context) { method onOpen (line 168) | onOpen(ctx) { method onMessage (line 171) | onMessage(message) { method onClose (line 202) | onClose() {} function httpError (line 207) | function httpError(status, message) { function renderError (line 214) | async function renderError(req, error) { FILE: src/runtime/internal/vite/ssr-renderer.mjs function ssrRenderer (line 4) | function ssrRenderer({ req }) { FILE: src/runtime/nitro.ts function defineConfig (line 6) | function defineConfig(config: Omit): Omit; type EReturn (line 6) | type EReturn = ReturnType; FILE: src/runtime/virtual/renderer-template.ts function rendererTemplate (line 3) | function rendererTemplate(_req: Request): string | Promise { FILE: src/runtime/virtual/routing.ts function findRoute (line 7) | function findRoute(_method: string, _path: string): MatchedRoute(_id: string): Promise { function statAsset (line 12) | function statAsset(_id: string): Promise { function getKeys (line 16) | function getKeys(): Promise { FILE: src/runtime/virtual/storage.ts function initStorage (line 4) | function initStorage(): Storage { FILE: src/runtime/vite.ts type FetchableEnv (line 3) | type FetchableEnv = { function fetchViteEnv (line 11) | function fetchViteEnv( FILE: src/scan.ts constant GLOB_SCAN_PATTERN (line 6) | const GLOB_SCAN_PATTERN = "**/*.{js,mjs,cjs,ts,mts,cts,tsx,jsx}"; type FileInfo (line 7) | type FileInfo = { path: string; fullPath: string }; type MatchedMethodSuffix (line 13) | type MatchedMethodSuffix = "connect" | "delete" | "get" | "head" | "opti... type MatchedEnvSuffix (line 14) | type MatchedEnvSuffix = "dev" | "prod" | "prerender"; function scanAndSyncOptions (line 16) | async function scanAndSyncOptions(nitro: Nitro) { function scanHandlers (line 52) | async function scanHandlers(nitro: Nitro) { function scanMiddleware (line 74) | async function scanMiddleware(nitro: Nitro) { function scanServerRoutes (line 85) | async function scanServerRoutes(nitro: Nitro, dir: string, prefix = "/") { function scanPlugins (line 118) | async function scanPlugins(nitro: Nitro) { function scanTasks (line 123) | async function scanTasks(nitro: Nitro) { function scanModules (line 134) | async function scanModules(nitro: Nitro) { function scanFiles (line 139) | async function scanFiles(nitro: Nitro, name: string): Promise { function scanDir (line 146) | async function scanDir(nitro: Nitro, dir: string, name: string): Promise... FILE: src/task.ts function runTask (line 12) | async function runTask( function listTasks (line 25) | async function listTasks(opts?: TaskRunnerOptions) { function _getTasksContext (line 37) | async function _getTasksContext(opts?: TaskRunnerOptions) { function _pidIsRunning (line 113) | function _pidIsRunning(pid: number) { FILE: src/types/_utils.ts type Enumerate (line 1) | type Enumerate = Acc["lengt... type IntRange (line 5) | type IntRange = Exclude... type ExcludeFunctions (line 7) | type ExcludeFunctions> = Pick< type KebabCase (line 13) | type KebabCase = T extends `${i... FILE: src/types/build.ts type RollupConfig (line 13) | type RollupConfig = RollupInputOptions & { type RolldownConfig (line 17) | type RolldownConfig = RolldownInputOptions & { type OXCOptions (line 21) | interface OXCOptions { FILE: src/types/config.ts type RollupCommonJSOptions (line 33) | type RollupCommonJSOptions = NonNullable... type TupleIfDiff (line 19) | type TupleIfDiff< type MaxTuple (line 25) | type MaxTuple = { type CalcMatchScore (line 30) | type CalcMatchScore< type _MatchedRoutes (line 54) | type _MatchedRoutes< type MatchedRoutes (line 71) | type MatchedRoutes< FILE: src/types/fetch/_serialize.ts type JsonPrimitive (line 4) | type JsonPrimitive = string | number | boolean | string | number | boole... type NonJsonPrimitive (line 6) | type NonJsonPrimitive = undefined | Function | symbol; type IsAny (line 12) | type IsAny = 0 extends 1 & T ? true : false; type FilterKeys (line 14) | type FilterKeys = { type Serialize (line 19) | type Serialize = IsAny extends true type SerializeTuple (line 40) | type SerializeTuple = { type SerializeObject (line 45) | type SerializeObject = { type Simplify (line 52) | type Simplify = TType extends any[] | Date FILE: src/types/fetch/fetch.ts type InternalApi (line 6) | interface InternalApi {} type RouterMethod (line 9) | type RouterMethod = Lowercase; type NitroFetchRequest (line 11) | type NitroFetchRequest = type MiddlewareOf (line 16) | type MiddlewareOf< type TypedInternalResponse (line 23) | type TypedInternalResponse< type AvailableRouterMethod (line 41) | type AvailableRouterMethod = R extends string type NitroFetchOptions (line 51) | interface NitroFetchOptions< type ExtractedRouteMethod (line 59) | type ExtractedRouteMethod< type Base$Fetch (line 68) | type Base$Fetch< type $Fetch (line 82) | interface $Fetch< FILE: src/types/global.ts type NitroImportMeta (line 3) | interface NitroImportMeta { type ImportMeta (line 18) | interface ImportMeta extends NitroImportMeta {} FILE: src/types/h3.ts type H3EventFetch (line 7) | type H3EventFetch = (request: NitroFetchRequest, init?: RequestInit) => ... type H3Event$Fetch (line 9) | type H3Event$Fetch = Base$Fetch; type ServerRequestContext (line 12) | interface ServerRequestContext { FILE: src/types/handler.ts type MaybeArray (line 5) | type MaybeArray = T | T[]; type NitroRouteMeta (line 8) | interface NitroRouteMeta { type NitroHandlerCommon (line 14) | interface NitroHandlerCommon { type EventHandlerFormat (line 38) | type EventHandlerFormat = "web" | "node"; type NitroEventHandler (line 40) | interface NitroEventHandler extends NitroHandlerCommon { type NitroDevEventHandler (line 64) | interface NitroDevEventHandler extends NitroHandlerCommon { type MaybePromise (line 71) | type MaybePromise = T | Promise; type NitroErrorHandler (line 73) | type NitroErrorHandler = ( FILE: src/types/hooks.ts type HookResult (line 7) | type HookResult = void | Promise; type NitroHooks (line 9) | interface NitroHooks { FILE: src/types/module.ts type NitroModuleInput (line 3) | type NitroModuleInput = string | NitroModule | NitroModule["setup"] | { ... type NitroModule (line 5) | interface NitroModule { FILE: src/types/nitro.ts type MaybeArray (line 15) | type MaybeArray = T | T[]; type Nitro (line 17) | interface Nitro { type NitroDynamicConfig (line 40) | type NitroDynamicConfig = Pick; type ExampleObject (line 373) | interface ExampleObject extends Extensable { type LinkObject (line 388) | interface LinkObject extends Extensable { type HeaderObject (line 411) | type HeaderObject = Omit; type TagObject (line 417) | interface TagObject extends Extensable { type ReferenceObject (line 430) | interface ReferenceObject extends Extensable { type SchemaObject (line 443) | type SchemaObject = { type StringSubtype (line 483) | interface StringSubtype { type NumberSubtype (line 488) | interface NumberSubtype { type IntegerSubtype (line 495) | interface IntegerSubtype { type ArraySubtype (line 502) | interface ArraySubtype { type BooleanSubtype (line 511) | interface BooleanSubtype { type NullSubtype (line 516) | interface NullSubtype { type ObjectSubtype (line 520) | interface ObjectSubtype { type DiscriminatorObject (line 535) | interface DiscriminatorObject { type XMLObject (line 548) | interface XMLObject extends Extensable { type SecuritySchemeObject (line 565) | type SecuritySchemeObject = { type OAuthFlowsObject (line 608) | interface OAuthFlowsObject extends Extensable { type OAuthFlowObject (line 623) | interface OAuthFlowObject extends Extensable { type SecurityRequirementObject (line 638) | type SecurityRequirementObject = { type $defs (line 642) | type $defs = Record; FILE: src/types/openapi.ts type NitroOpenAPIConfig (line 6) | interface NitroOpenAPIConfig { FILE: src/types/prerender.ts type PrerenderRoute (line 3) | interface PrerenderRoute { type PrerenderGenerateRoute (line 15) | type PrerenderGenerateRoute = PrerenderRoute; FILE: src/types/preset.ts type NitroPreset (line 5) | type NitroPreset = NitroConfig | (() => NitroConfig); type NitroPresetMeta (line 7) | interface NitroPresetMeta { FILE: src/types/route-rules.ts type HTTPstatus (line 5) | type HTTPstatus = IntRange<100, 600>; type NitroRouteConfig (line 7) | interface NitroRouteConfig { type NitroRouteRules (line 22) | interface NitroRouteRules extends Omit< type MatchedRouteRule (line 31) | type MatchedRouteRule = { type MatchedRouteRules (line 39) | type MatchedRouteRules = { type VercelISRConfig (line 44) | interface VercelISRConfig { FILE: src/types/runtime/asset.ts type PublicAsset (line 1) | interface PublicAsset { type AssetMeta (line 11) | interface AssetMeta { FILE: src/types/runtime/cache.ts type CachedEventHandlerOptions (line 5) | interface CachedEventHandlerOptions extends Omit< FILE: src/types/runtime/nitro.ts type NitroApp (line 5) | interface NitroApp { type NitroAppPlugin (line 12) | interface NitroAppPlugin { type NitroAsyncContext (line 20) | interface NitroAsyncContext { type RenderResponse (line 24) | interface RenderResponse { type RenderHandler (line 31) | type RenderHandler = ( type RenderContext (line 35) | interface RenderContext { type CapturedErrorContext (line 41) | interface CapturedErrorContext { type CaptureError (line 46) | type CaptureError = (error: Error, context: CapturedErrorContext) => void; type NitroRuntimeHooks (line 48) | interface NitroRuntimeHooks { FILE: src/types/runtime/task.ts type MaybePromise (line 1) | type MaybePromise = T | Promise; type TaskContext (line 4) | interface TaskContext {} type TaskPayload (line 7) | interface TaskPayload { type TaskMeta (line 12) | interface TaskMeta { type TaskEvent (line 18) | interface TaskEvent { type TaskResult (line 25) | interface TaskResult { type Task (line 30) | interface Task { type TaskRunnerOptions (line 36) | interface TaskRunnerOptions { FILE: src/utils/compress.ts function compressPublicAssets (line 11) | async function compressPublicAssets(nitro: Nitro) { function isTextMime (line 93) | function isTextMime(mimeType: string) { constant COMPRESSIBLE_MIMES_RE (line 99) | const COMPRESSIBLE_MIMES_RE = new Set([ function isCompressibleMime (line 150) | function isCompressibleMime(mimeType: string) { FILE: src/utils/dep.ts function importDep (line 5) | async function importDep( FILE: src/utils/fs-tree.ts function generateFSTree (line 10) | async function generateFSTree(dir: string, options: { compressedSizes?: ... FILE: src/utils/fs.ts function prettyPath (line 9) | function prettyPath(p: string, highlight = true) { function resolveNitroPath (line 14) | function resolveNitroPath( function _compilePathTemplate (line 39) | function _compilePathTemplate(contents: string) { function writeFile (line 50) | async function writeFile(file: string, contents: Buffer | string, log = ... function isDirectory (line 58) | async function isDirectory(path: string) { FILE: src/utils/parallel.ts function runParallel (line 1) | async function runParallel( FILE: src/utils/regex.ts function escapeRegExp (line 3) | function escapeRegExp(string: string): string { function pathRegExp (line 7) | function pathRegExp(string: string): string { function toPathRegExp (line 18) | function toPathRegExp(input: string | RegExp): RegExp { FILE: test/examples.test.ts function setupTest (line 40) | function setupTest(name: string) { FILE: test/fixture/exports.cloudflare.ts function myScheduled (line 1) | function myScheduled() { FILE: test/fixture/server.ts method fetch (line 2) | async fetch(req: Request) { FILE: test/fixture/server/routes/assets/all.ts function isPureObject (line 23) | function isPureObject(value: unknown): boolean { FILE: test/fixture/server/routes/context.ts function useTest (line 9) | function useTest() { FILE: test/fixture/server/routes/icon.png.ts function _getLogoBase64 (line 8) | function _getLogoBase64() { function _base64ToArray (line 12) | function _base64ToArray(base64: string) { FILE: test/fixture/server/routes/node-compat.ts function testFn (line 61) | async function testFn(fn: () => any) { FILE: test/fixture/server/routes/stream.ts method start (line 4) | start(controller) { FILE: test/fixture/server/tasks/db/migrate.ts method run (line 7) | run() { FILE: test/fixture/server/tasks/test.ts method run (line 7) | async run(taskEvent) { FILE: test/minimal/minimal.test.ts function analyzeDir (line 75) | async function analyzeDir(cwd: string) { FILE: test/minimal/server.ts method fetch (line 2) | fetch(_req: Request) { FILE: test/presets/aws-lambda.test.ts function webResponse (line 73) | function webResponse(awsResponse: any) { FILE: test/tests.ts type Context (line 24) | interface Context { function setupTest (line 61) | async function setupTest( function startServer (line 167) | async function startServer(ctx: Context, handle: RequestListener) { type TestHandlerResult (line 186) | type TestHandlerResult = { type TestHandler (line 192) | type TestHandler = (options: any) => Promise; function testNitro (line 194) | function testNitro( FILE: test/unit/bump-version.test.ts function mockRegistry (line 14) | function mockRegistry(versions: string[]) { FILE: test/unit/chunks.test.ts function createChunk (line 11) | function createChunk(name: string, moduleIds: string[]): { name: string;... function createNitro (line 15) | function createNitro(overrides: Partial = {}): Nitro { FILE: test/unit/config-loader-env.test.ts function createFixtureConfig (line 17) | async function createFixtureConfig() { FILE: test/unit/sourcemap-min.test.ts type BundleAsset (line 4) | type BundleAsset = { type: "asset"; source: string }; function createSourcemapAsset (line 6) | function createSourcemapAsset(sourcemap: { function runPlugin (line 23) | function runPlugin(bundle: Record) { FILE: test/unit/static-middleware.test.ts function createEvent (line 17) | function createEvent(pathname: string, acceptEncoding = "") { FILE: test/unit/zephyr-preset.test.ts constant ZEPHYR_PRESET_PATH (line 3) | const ZEPHYR_PRESET_PATH = "../../src/presets/zephyr/preset.ts"; function getZephyrPreset (line 10) | async function getZephyrPreset() { FILE: test/vite/hmr.test.ts function openFileForEditing (line 95) | function openFileForEditing(path: string) { function waitFor (line 114) | function waitFor(check: () => boolean, duration: number): Promise { function pollResponse (line 128) | function pollResponse(