* refactor: move isRestrictionScheduleEnabled into AvailableSlotsService with DI - Remove external isRestrictionScheduleEnabled function call from AvailableSlotsService - Add IFeaturesRepository to IAvailableSlotsService interface dependencies - Implement checkRestrictionScheduleEnabled private method within AvailableSlotsService - Update DI module to inject featuresRepo dependency - Update API v2 service to pass featuresRepository to base service - Resolves TODO comment about implementing DI for isRestrictionScheduleEnabled Co-Authored-By: [email protected] <[email protected]> * chore: bump platform libs * fix: api v2 di for qualifiedHostsService * chore: bump platform libs * fix unit test --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Morgan <[email protected]>
13 lines
477 B
TypeScript
13 lines
477 B
TypeScript
import { FilterHostsService } from "@calcom/lib/bookings/filterHostsBySameRoundRobinHost";
|
|
import { QualifiedHostsService } from "@calcom/lib/bookings/findQualifiedHostsWithDelegationCredentials";
|
|
import { BusyTimesService } from "@calcom/lib/getBusyTimes";
|
|
import { AvailableSlotsService } from "@calcom/trpc/server/routers/viewer/slots/util";
|
|
|
|
export { AvailableSlotsService };
|
|
|
|
export { BusyTimesService };
|
|
|
|
export { QualifiedHostsService };
|
|
|
|
export { FilterHostsService };
|