* refactor: lucky user to service class with DI * fix: unit test filterHostsByLeadThreshold.test.ts * fixup! fix: unit test filterHostsByLeadThreshold.test.ts * fix: get lucky user test missing mocks * fix: get lucky user hosts not within interval * chore: bump platform library * chore: bump platform library * chore: add DAILY_API_KEY to turborepo.json db seed * chore: add DAILY_API_KEY to cache-db action * fixup! chore: add DAILY_API_KEY to cache-db action * chore: remove log in fixture * chore: bump platform library * chore: refactor test team-emails.e2e * only failing test * run all api v2 tests * chore: bump platform library * revert change to turbo.json and action in cache-db * chore: use inPerson location in team-emails.e2e
14 lines
553 B
TypeScript
14 lines
553 B
TypeScript
import { createModule } from "@evyweb/ioctopus";
|
|
|
|
import { DI_TOKENS } from "@calcom/lib/di/tokens";
|
|
import { LuckyUserService } from "@calcom/lib/server/getLuckyUser";
|
|
|
|
export const luckyUserServiceModule = createModule();
|
|
luckyUserServiceModule.bind(DI_TOKENS.LUCKY_USER_SERVICE).toClass(LuckyUserService, {
|
|
bookingRepository: DI_TOKENS.BOOKING_REPOSITORY,
|
|
hostRepository: DI_TOKENS.HOST_REPOSITORY,
|
|
oooRepository: DI_TOKENS.OOO_REPOSITORY,
|
|
userRepository: DI_TOKENS.USER_REPOSITORY,
|
|
attributeRepository: DI_TOKENS.ATTRIBUTE_REPOSITORY,
|
|
});
|