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.
42 lines (41 loc) • 1.02 kB
TypeScript
import { ActionMetadata } from './ActionMetadata.js';
import { ParamConstructorMetadataArgs } from './args/ParamConstructorMetadataArgs.js';
import { ConstructorType } from './types/ConstructorType.js';
/**
* Action Parameter metadata.
*/
export declare class ParamConstructorMetadata {
/**
* Parameter's action.
*/
actionMetadata: ActionMetadata;
/**
* Object on which's method's parameter this parameter is attached.
*/
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: ConstructorType;
/**
* Parameter name.
*/
name: string;
/**
* Parameter target.
*/
target: any;
/**
* Indicates if this parameter is required or not
*/
required: boolean;
constructor(actionMetadata: ActionMetadata, args: ParamConstructorMetadataArgs);
}