@nestjs-mod/webhook
Version:
Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction
14 lines (13 loc) • 392 B
TypeScript
import { WebhookEvent } from './types/webhook-event';
import { Type } from '@nestjs/common';
export declare class WebhookConfiguration {
events?: WebhookEvent[];
syncMode?: boolean;
}
export declare class WebhookStaticConfiguration {
guards?: Type[];
mutateController?: (ctrl: Type) => Type;
}
export declare class WebhookFeatureConfiguration {
events?: WebhookEvent[];
}