/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/core/inspector/interfaces/entrypoint.interface.ts
24 строки
578 B
Kamil Myśliwiec
feat(core): introduce preview mode, update tests, fix minor issues
11 янв 2023, 17:14
Не верифицирован
11 янв 2023, 17:14
38f55a1
Код
Авторство
О чём код?
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; };