# IParamConstructorOptions Interface
Module | import { IParamConstructorOptions } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/models/ParamMetadata.ts |
# Overview
interface IParamConstructorOptions {
target?: Type<any>;
propertyKey?: string | symbol;
index: number;
required?: boolean;
expression?: string;
useType?: Type<any>;
/**
* @deprecated use pipe instead
*/
filter?: Type<IFilter>;
paramType?: string | ParamTypes;
pipes?: Type<IPipe>[];
}
# Members
target?: Type<any>;
propertyKey?: string | symbol;
index: number;
required?: boolean;
expression?: string;
useType?: Type<any>;
paramType?: string | ParamTypes;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing