feat(scheduling): ignoreAllDayEvents option

This commit is contained in:
Ronni Baslund
2026-06-07 08:53:31 +02:00
parent 2cb13a1a14
commit f41475ac3b
7 changed files with 184 additions and 5 deletions
@@ -37,7 +37,9 @@ export class SlotService {
let calendarBusy
try {
calendarBusy = await this.gateway.getBusyIntervals(access, fromUtc, toUtc)
calendarBusy = await this.gateway.getBusyIntervals(access, fromUtc, toUtc, {
ignoreAllDayEvents: eventType.ignoreAllDayEvents,
})
} catch {
throw new ServiceUnavailableException('Calendar is temporarily unavailable — please retry.')
}