# IParamOptions Interface
Module | import { IParamOptions } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/interfaces/IParamOptions.ts |
# Overview
interface IParamOptions<T> {
required?: boolean;
expression?: string;
useType?: Type<T>;
useConverter?: boolean;
useValidation?: boolean;
paramType?: ParamTypes | string;
}
# Members
required?: boolean;
expression?: string;
useType?: Type<T>;
useConverter?: boolean;
useValidation?: boolean;
paramType?: ParamTypes | string;
- 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