UNPKG

recoder-code

Version:

🚀 AI-powered development platform - Chat with 32+ models, build projects, automate workflows. Free models included!

13 lines (12 loc) • 376 B
import { RequestMethod } from '../../enums'; import { Type } from '../type.interface'; import { VersionValue } from '../version-options.interface'; export interface RouteInfo { path: string; method: RequestMethod; version?: VersionValue; } export interface MiddlewareConfiguration<T = any> { middleware: T; forRoutes: (Type<any> | string | RouteInfo)[]; }