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
494 B
TypeScript
15 lines
494 B
TypeScript
import { createContainer } from "@calcom/features/di/di";
|
|
|
|
import {
|
|
type RegularBookingService,
|
|
moduleLoader as regularBookingServiceModule,
|
|
} from "./RegularBookingService.module";
|
|
|
|
const regularBookingServiceContainer = createContainer();
|
|
|
|
export function getRegularBookingService(): RegularBookingService {
|
|
regularBookingServiceModule.loadModule(regularBookingServiceContainer);
|
|
|
|
return regularBookingServiceContainer.get<RegularBookingService>(regularBookingServiceModule.token);
|
|
}
|