* move delegation credential repository to features * mv credential repository to features * update imports * mv * fix * fix * fix * fix * fix * update imports * update imports * update eslint rule * fix * fix * mv getConnectedDestinationCalendars * fix import errors * mv getCalendarsEvents * remove getUsersCredentials * wip * revert eslint rule change for now * fix type checks * fix * format * cleanup * fix * fix * fix * fix * fix tests * migrate getUserAvailability * migrate * fix tests * fix type checks * fix * fix * migrate crmManager * update imports * migrate raqbUtils to appstore * migrate getLuckyUser to features * migrate findTeamMembersMatchingAttributeLogic to appstore * update imports * fix * fix * fix test * fix unit tests * fix * fix * add eslint config
12 lines
424 B
TypeScript
12 lines
424 B
TypeScript
import type { LuckyUserService } from "@calcom/features/bookings/lib/getLuckyUser";
|
|
|
|
import { createContainer } from "../di";
|
|
import { moduleLoader as luckyUserServiceModuleLoader } from "../modules/LuckyUser";
|
|
|
|
const container = createContainer();
|
|
|
|
export function getLuckyUserService() {
|
|
luckyUserServiceModuleLoader.loadModule(container);
|
|
return container.get<LuckyUserService>(luckyUserServiceModuleLoader.token);
|
|
}
|