# ParamTypes Enum
Module | import { ParamTypes } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/models/ParamTypes.ts |
# Overview
enum ParamTypes {
NEXT_FN = "NEXT_FN",
ERR = "ERR",
REQUEST = "REQUEST",
RESPONSE = "RESPONSE",
RESPONSE_DATA = "RESPONSE_DATA",
ENDPOINT_INFO = "ENDPOINT_INFO",
CONTEXT = "CONTEXT",
BODY = "BODY",
PATH = "PATH",
QUERY = "QUERY",
HEADER = "HEADER",
COOKIES = "COOKIES",
LOCALS = "LOCALS",
SESSION = "SESSION",
FORM_DATA = "FORM_DATA"
}
# Members
NEXT_FN = "NEXT_FN",
ERR = "ERR",
REQUEST = "REQUEST",
RESPONSE = "RESPONSE",
RESPONSE_DATA = "RESPONSE_DATA",
ENDPOINT_INFO = "ENDPOINT_INFO",
CONTEXT = "CONTEXT",
BODY = "BODY",
PATH = "PATH",
QUERY = "QUERY",
HEADER = "HEADER",
COOKIES = "COOKIES",
LOCALS = "LOCALS",
SESSION = "SESSION",
FORM_DATA = "FORM_DATA"
- 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