1.2.1 • Published 10 months ago

@nestjs-mod/webhook v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@nestjs-mod/webhook

Webhook 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/webhook

Modules

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

Modules descriptions

WebhookModule

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

Shared providers

WebhookService, WebhookUsersService

Shared imports

HttpModule, PrismaModule

Configuration

KeyDescriptionConstraintsDefaultValue
eventsList of available eventsoptional--
syncModeWhen we run an application in a serverless environment, our background tasks do not have time to complete, to disable background tasks and process requests on demand, we need to switch this property to trueoptionalfalse-

Static environments

KeyDescriptionSourcesConstraintsDefaultValue
useGuardsUse guardsobj['useGuards'], process.env['WEBHOOK_USE_GUARDS']optionaltruetrue
useFiltersUse filtersobj['useFilters'], process.env['WEBHOOK_USE_FILTERS']optionaltruetrue
autoCreateUserAuto create user from guardobj['autoCreateUser'], process.env['WEBHOOK_AUTO_CREATE_USER']optionaltruetrue
skipGuardErrorsSkip any guard errorsobj['skipGuardErrors'], process.env['WEBHOOK_SKIP_GUARD_ERRORS']optionalfalsefalse
cacheTTLTTL for cached dataobj['cacheTTL'], process.env['WEBHOOK_CACHE_TTL']optional1500015000

Static configuration

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

Feature configuration

KeyDescriptionConstraintsDefaultValue
eventsList of available eventsoptional--

Back to Top

Links

License

MIT

1.2.1

10 months ago

1.2.0

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago