Files
calendar/packages/features/bookings/di/InstantBookingCreateService.container.ts
T
3bcce02b92 chore: [Booking flow refactor - 2] Integrate Booking services (#23156)
* Integrate booking services

* Fix imports

---------

Co-authored-by: Volnei Munhoz <volnei.munhoz@gmail.com>
2025-10-09 18:21:55 -03:00

14 lines
478 B
TypeScript

import { createContainer } from "@calcom/features/di/di";
import {
type InstantBookingCreateService,
moduleLoader as instantBookingCreateServiceModule,
} from "./InstantBookingCreateService.module";
const container = createContainer();
export function getInstantBookingCreateService(): InstantBookingCreateService {
instantBookingCreateServiceModule.loadModule(container);
return container.get<InstantBookingCreateService>(instantBookingCreateServiceModule.token);
}