Home / Type/ RouteOptions Type — fastify Architecture

RouteOptions Type — fastify Architecture

Architecture documentation for the RouteOptions type/interface in route.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  487bb17f_2fea_07b3_dd92_b36ea138c73f["RouteOptions"]
  52813f8b_e087_562d_15f1_38c45eb87051["route.d.ts"]
  487bb17f_2fea_07b3_dd92_b36ea138c73f -->|defined in| 52813f8b_e087_562d_15f1_38c45eb87051
  style 487bb17f_2fea_07b3_dd92_b36ea138c73f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/route.d.ts lines 152–165

export interface RouteOptions<
  RawServer extends RawServerBase = RawServerDefault,
  RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
  RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>,
  RouteGeneric extends RouteGenericInterface = RouteGenericInterface,
  ContextConfig = ContextConfigDefault,
  SchemaCompiler extends FastifySchema = FastifySchema,
  TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault,
  Logger extends FastifyBaseLogger = FastifyBaseLogger
> extends RouteShorthandOptions<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger> {
  method: HTTPMethods | HTTPMethods[];
  url: string;
  handler: RouteHandlerMethod<RawServer, RawRequest, RawReply, RouteGeneric, ContextConfig, SchemaCompiler, TypeProvider, Logger>;
}

Defined In

Frequently Asked Questions

What is the RouteOptions type?
RouteOptions is a type/interface in the fastify codebase, defined in types/route.d.ts.
Where is RouteOptions defined?
RouteOptions is defined in types/route.d.ts at line 152.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free