src/webhook/webhook.module.ts
dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_WebhookModule cluster_WebhookModule_imports cluster_WebhookModule_exports cluster_WebhookModule_providers SessionModule SessionModule WebhookModule WebhookModule SessionModule->WebhookModule OutboundUrlPolicyService OutboundUrlPolicyService WebhookModule->OutboundUrlPolicyService WebhookService WebhookService WebhookModule->WebhookService OutboundUrlPolicyService OutboundUrlPolicyService OutboundUrlPolicyService->WebhookModule WebhookService WebhookService WebhookService->WebhookModule

Description

Owns outbound webhook delivery and its SSRF protection policy.

Consumers import this module instead of registering their own copies of the providers, ensuring the application uses one shared provider instance.

Relationships

import { HttpModule } from "@nestjs/axios";
import { Module } from "@nestjs/common";
import { SessionModule } from "../session/session.module";
import { OutboundUrlPolicyService } from "./outbound-url-policy.service";
import { WebhookService } from "./webhook.service";

/**
 * Owns outbound webhook delivery and its SSRF protection policy.
 *
 * Consumers import this module instead of registering their own copies of the
 * providers, ensuring the application uses one shared provider instance.
 */
@Module({
    imports: [HttpModule, SessionModule],
    providers: [WebhookService, OutboundUrlPolicyService],
    exports: [WebhookService, OutboundUrlPolicyService],
})
export class WebhookModule {}

results matching ""

    No results matching ""