# MongoosePlugin Decorator mongoose class
Module | import { MongoosePlugin } from "@tsed/mongoose" |
---|---|
Source | /packages/mongoose/src/decorators/mongoosePlugin.ts |
# Overview
function MongoosePlugin(plugin: (schema: mongoose.Schema, options?: any) => void, options?: any): Function;
- 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