import { Adapter, ConfigOf } from "@decaf-ts/core"; import { Constructor } from "@decaf-ts/decoration"; import { Type } from "@nestjs/common"; import { DecafRequestHandler } from "../types.d.mts"; export interface DecafWebhookModuleOptions = Adapter> { conf: [ Constructor, ConfigOf, ...args: any[] | [ ...any[], any ] ][]; handlers?: Type[]; initialization?: () => Promise; /** * Router prefix for the webhook controllers. * @default "/webhooks" */ webhookApiPath?: string; }