Skip to main content

@nestjs-mod/notifications

Notifications module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

NPM version monthly downloads Telegram Discord

Installation

npm i --save @nestjs-mod/notifications

Modules

LinkCategoryDescription
NotificationsModulefeatureNotifications module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

Modules descriptions

NotificationsModule

Notifications module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction

Shared providers

NotificationsService

Shared imports

PrismaModule, PrismaToolsModule, WebhookModule

Configuration

KeyDescriptionConstraintsDefaultValue
checkAccessValidatorExternal function for validateoptional--

Static environments

KeyDescriptionSourcesConstraintsDefaultValue
useFiltersUse filtersobj['useFilters'], process.env['NOTIFICATIONS_USE_FILTERS']optionaltruetrue
mailTransportMail transport (example: smtps://username@domain.com:password@smtp.domain.com)obj['mailTransport'], process.env['NOTIFICATIONS_MAIL_TRANSPORT']optional--
mailDefaultSenderNameDefault sender name (example: Username)obj['mailDefaultSenderName'], process.env['NOTIFICATIONS_MAIL_DEFAULT_SENDER_NAME']optional--
mailDefaultSenderEmailDefault sender email (example: username@domain.com)obj['mailDefaultSenderEmail'], process.env['NOTIFICATIONS_MAIL_DEFAULT_SENDER_EMAIL']optional--

Static configuration

KeyDescriptionConstraintsDefaultValue
guardsExternal guards for controllersoptional--
mutateControllerFunction for additional mutation of controllersoptional--

Back to Top

License

MIT