Files
calendar/packages/features/di/webhooks/modules/OOOWebhookDataFetcher.module.ts
T
Syed Ali ShahbazandGitHub c4c62369e5 chore: Infrastructure scaffolding for Webhook's Producer/Consumer approach before wiring (#25954)
* --INIT

* fixes

* better comments and some clean up

* test and type fix

* clean up

* address feedback

* fix erroneous booking_confirmed to booking_rescheduled
2026-01-22 18:33:34 +05:30

11 lines
466 B
TypeScript

import { OOOWebhookDataFetcher } from "@calcom/features/webhooks/lib/service/data-fetchers/OOOWebhookDataFetcher";
import { createModule } from "@evyweb/ioctopus";
import { SHARED_TOKENS } from "../../shared/shared.tokens";
import { WEBHOOK_TOKENS } from "../Webhooks.tokens";
export const oooWebhookDataFetcherModule = createModule();
oooWebhookDataFetcherModule
.bind(WEBHOOK_TOKENS.OOO_DATA_FETCHER)
.toClass(OOOWebhookDataFetcher, [SHARED_TOKENS.LOGGER]);