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.
31 lines (30 loc) • 674 B
TypeScript
import { ConstructorType } from '../types/ConstructorType.js';
/**
* Controller metadata used to storage information about registered parameters.
*/
export interface ParamConstructorMetadataArgs {
/**
* Parameter object.
*/
object: any;
/**
* Method on which's constructor parameter is attached.
*/
method: string;
/**
* Index (# number) of the parameter in the method signature.
*/
index: number;
/**
* Parameter type.
*/
type: ConstructorType;
/**
* Parameter name.
*/
name?: string;
/**
* Indicates if this parameter is required or not
*/
required?: boolean;
}