UNPKG

typenexus

Version:

TypeNexus is a good tool for API encapsulation and management. It provides a clean and lightweight way to package TypeORM functionality, helping you build applications faster while reducing template code redundancy and type conversion work.

35 lines (34 loc) 705 B
import { ParamType } from '../types/ParamType.js'; /** * Controller metadata used to storage information about registered parameters. */ export interface ParamMetadataArgs { /** * Parameter object. */ object: any; /** * Method on which's parameter is attached. */ method: string; /** * Index (# number) of the parameter in the method signature. */ index: number; /** * Parameter type. */ type: ParamType; /** * Parameter name. */ name?: string; /** * Indicates if this parameter is required or not */ required?: boolean; /** * Extra parameter options. */ extraOptions?: any; }