# Filter Decorator deprecated classDecorator
Module | import { Filter } from "@tsed/common" |
---|---|
Source | /packages/common/src/mvc/decorators/class/filter.ts |
# Overview
function Filter(): Function;
# Description
Filter decorator a class as new Filter component.
See filters section for more information.
- 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