fastify.d.ts — fastify Source File
Architecture documentation for fastify.d.ts, a typescript file in the fastify codebase. 24 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR cb91d14d_6002_0517_9501_c656cef3fccb["fastify.d.ts"] 1a915d33_3ad6_638e_0832_f79c3fdde3c6["./content-type-parser"] cb91d14d_6002_0517_9501_c656cef3fccb --> 1a915d33_3ad6_638e_0832_f79c3fdde3c6 3638cb41_31a7_7190_5c54_46a811f35dac["./context"] cb91d14d_6002_0517_9501_c656cef3fccb --> 3638cb41_31a7_7190_5c54_46a811f35dac 756de467_81dd_41e8_b374_ff8e213dd3ca["./types/errors"] cb91d14d_6002_0517_9501_c656cef3fccb --> 756de467_81dd_41e8_b374_ff8e213dd3ca ce8cd88b_1c50_7142_5167_00ce90d3f4fc["./hooks"] cb91d14d_6002_0517_9501_c656cef3fccb --> ce8cd88b_1c50_7142_5167_00ce90d3f4fc 531c9fc1_aab6_113a_24da_d449700fa629["./instance"] cb91d14d_6002_0517_9501_c656cef3fccb --> 531c9fc1_aab6_113a_24da_d449700fa629 ee998eba_0ed8_8b67_66d6_d2f80d980a41["./logger"] cb91d14d_6002_0517_9501_c656cef3fccb --> ee998eba_0ed8_8b67_66d6_d2f80d980a41 ef0b4019_4e15_bb8c_0e07_0575207a4dcc["./plugin"] cb91d14d_6002_0517_9501_c656cef3fccb --> ef0b4019_4e15_bb8c_0e07_0575207a4dcc e80980b2_9d58_285b_22f1_f985aaec3d65["./register"] cb91d14d_6002_0517_9501_c656cef3fccb --> e80980b2_9d58_285b_22f1_f985aaec3d65 da3dc06e_ef04_319a_fff5_e5211e80e482["./reply"] cb91d14d_6002_0517_9501_c656cef3fccb --> da3dc06e_ef04_319a_fff5_e5211e80e482 4285dbb5_245d_95e1_f339_579e1aa1d358["./request"] cb91d14d_6002_0517_9501_c656cef3fccb --> 4285dbb5_245d_95e1_f339_579e1aa1d358 6a6fa08e_3d60_0520_25ea_dea35398fc8f["./route"] cb91d14d_6002_0517_9501_c656cef3fccb --> 6a6fa08e_3d60_0520_25ea_dea35398fc8f 79072a34_3222_2b87_85da_7f07094af121["./schema"] cb91d14d_6002_0517_9501_c656cef3fccb --> 79072a34_3222_2b87_85da_7f07094af121 e6afb4d7_0589_bd3c_7f59_ef4ac127a679["./types/server-factory"] cb91d14d_6002_0517_9501_c656cef3fccb --> e6afb4d7_0589_bd3c_7f59_ef4ac127a679 0ec7ea98_0ca5_a578_7447_eb9a7fa7cc31["./type-provider"] cb91d14d_6002_0517_9501_c656cef3fccb --> 0ec7ea98_0ca5_a578_7447_eb9a7fa7cc31 style cb91d14d_6002_0517_9501_c656cef3fccb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import * as http from 'node:http'
import * as http2 from 'node:http2'
import * as https from 'node:https'
import { Socket } from 'node:net'
import { BuildCompilerFromPool, ValidatorFactory } from '@fastify/ajv-compiler'
import { FastifyError } from '@fastify/error'
import { Options as FJSOptions, SerializerFactory } from '@fastify/fast-json-stringify-compiler'
import { Config as FindMyWayConfig, ConstraintStrategy, HTTPVersion } from 'find-my-way'
import { InjectOptions, CallbackFunc as LightMyRequestCallback, Chain as LightMyRequestChain, Response as LightMyRequestResponse } from 'light-my-request'
import { AddContentTypeParser, ConstructorAction, FastifyBodyParser, FastifyContentTypeParser, getDefaultJsonParser, hasContentTypeParser, ProtoAction } from './types/content-type-parser'
import { FastifyContextConfig, FastifyReplyContext, FastifyRequestContext } from './types/context'
import { FastifyErrorCodes } from './types/errors'
import { DoneFuncWithErrOrRes, HookHandlerDoneFunction, onCloseAsyncHookHandler, onCloseHookHandler, onErrorAsyncHookHandler, onErrorHookHandler, onListenAsyncHookHandler, onListenHookHandler, onReadyAsyncHookHandler, onReadyHookHandler, onRegisterHookHandler, onRequestAbortAsyncHookHandler, onRequestAbortHookHandler, onRequestAsyncHookHandler, onRequestHookHandler, onResponseAsyncHookHandler, onResponseHookHandler, onRouteHookHandler, onSendAsyncHookHandler, onSendHookHandler, onTimeoutAsyncHookHandler, onTimeoutHookHandler, preCloseAsyncHookHandler, preCloseHookHandler, preHandlerAsyncHookHandler, preHandlerHookHandler, preParsingAsyncHookHandler, preParsingHookHandler, preSerializationAsyncHookHandler, preSerializationHookHandler, preValidationAsyncHookHandler, preValidationHookHandler, RequestPayload } from './types/hooks'
import { FastifyInstance, FastifyListenOptions, PrintRoutesOptions } from './types/instance'
import {
FastifyBaseLogger,
FastifyChildLoggerFactory,
FastifyLogFn,
FastifyLoggerInstance,
FastifyLoggerOptions,
LogLevel,
PinoLoggerOptions
} from './types/logger'
import { FastifyPlugin, FastifyPluginAsync, FastifyPluginCallback, FastifyPluginOptions } from './types/plugin'
import { FastifyRegister, FastifyRegisterOptions, RegisterOptions } from './types/register'
import { FastifyReply } from './types/reply'
import { FastifyRequest, RequestGenericInterface } from './types/request'
import { RouteGenericInterface, RouteHandler, RouteHandlerMethod, RouteOptions, RouteShorthandMethod, RouteShorthandOptions, RouteShorthandOptionsWithHandler } from './types/route'
import { FastifySchema, FastifySchemaValidationError, FastifySchemaCompiler, FastifySerializerCompiler, SchemaErrorDataVar, SchemaErrorFormatter } from './types/schema'
import { FastifyServerFactory, FastifyServerFactoryHandler } from './types/server-factory'
import { FastifyTypeProvider, FastifyTypeProviderDefault, SafePromiseLike } from './types/type-provider'
import { ContextConfigDefault, HTTPMethods, RawReplyDefaultExpression, RawRequestDefaultExpression, RawServerBase, RawServerDefault, RequestBodyDefault, RequestHeadersDefault, RequestParamsDefault, RequestQuerystringDefault } from './types/utils'
declare module '@fastify/error' {
interface FastifyError {
validationContext?: SchemaErrorDataVar;
validation?: FastifySchemaValidationError[];
}
}
type Fastify = typeof fastify
declare namespace fastify {
export const errorCodes: FastifyErrorCodes
export type FastifyHttp2SecureOptions<
Server extends http2.Http2SecureServer,
Logger extends FastifyBaseLogger = FastifyBaseLogger
> = FastifyServerOptions<Server, Logger> & {
http2: true,
https: http2.SecureServerOptions,
http2SessionTimeout?: number
}
export type FastifyHttp2Options<
Server extends http2.Http2Server,
Logger extends FastifyBaseLogger = FastifyBaseLogger
> = FastifyServerOptions<Server, Logger> & {
// ... (193 more lines)
Domain
Subdomains
Classes
Types
Dependencies
- ./content-type-parser
- ./context
- ./hooks
- ./instance
- ./logger
- ./plugin
- ./register
- ./reply
- ./request
- ./route
- ./schema
- ./type-provider
- ./types/errors
- ./types/server-factory
- ./utils
- ajv-compiler
- error
- fast-json-stringify-compiler
- find-my-way
- light-my-request
- node:http
- node:http2
- node:https
- node:net
Source
Frequently Asked Questions
What does fastify.d.ts do?
fastify.d.ts is a source file in the fastify codebase, written in typescript. It belongs to the CoreKernel domain, InstanceFactory subdomain.
What does fastify.d.ts depend on?
fastify.d.ts imports 24 module(s): ./content-type-parser, ./context, ./hooks, ./instance, ./logger, ./plugin, ./register, ./reply, and 16 more.
Where is fastify.d.ts in the architecture?
fastify.d.ts is located at fastify.d.ts (domain: CoreKernel, subdomain: InstanceFactory).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free