* Integrate booking services * Fix imports --------- Co-authored-by: Volnei Munhoz <volnei.munhoz@gmail.com>
14 lines
478 B
TypeScript
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);
|
|
}
|