# RegistrySettings Interface
Module | import { RegistrySettings } from "@tsed/di" |
---|---|
Source | /packages/di/src/interfaces/RegistrySettings.ts |
# Overview
interface RegistrySettings {
registry: Registry<Provider<any>, IProvider<any>>;
injectable?: boolean;
/**
*
* @param provider
* @param {Map<string | Function, any>} locals
* @param deps
*/
onInvoke?(provider: Provider<any>, locals: Map<string | Function, any>, deps: any[]): void;
}
# Members
injectable?: boolean;
onInvoke?(provider: Provider<any>, locals: Map<string | Function, any>, deps: any[]): void;
- 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