UNPKG

recoder-code

Version:

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

24 lines (23 loc) • 614 B
import { RequestMethod } from '@nestjs/common'; import { VersionValue } from '@nestjs/common/interfaces'; export type HttpEntrypointMetadata = { path: string; requestMethod: keyof typeof RequestMethod; methodVersion?: VersionValue; controllerVersion?: VersionValue; }; export type MiddlewareEntrypointMetadata = { path: string; requestMethod: keyof typeof RequestMethod; version?: VersionValue; }; export type Entrypoint<T> = { id?: string; type: string; methodName: string; className: string; classNodeId: string; metadata: { key: string; } & T; };