mirror of
https://github.com/hanzoai/calendar.git
synced 2026-10-30 14:46:43 +00:00
* Integrate booking services * Fix imports --------- Co-authored-by: Volnei Munhoz <[email protected]>
15 lines
447 B
TypeScript
15 lines
447 B
TypeScript
import { createContainer } from "@calcom/features/di/di";
|
|
|
|
import {
|
|
type RecurringBookingService,
|
|
moduleLoader as recurringBookingServiceModule,
|
|
} from "./RecurringBookingService.module";
|
|
|
|
const container = createContainer();
|
|
|
|
export function getRecurringBookingService(): RecurringBookingService {
|
|
recurringBookingServiceModule.loadModule(container);
|
|
|
|
return container.get<RecurringBookingService>(recurringBookingServiceModule.token);
|
|
}
|