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]>
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);
|
|
}
|