0e0a78c47e
* Identify owner for a timeslot and check busyness against his schedule only * Fix TS errors * Fix flatmap * Fix xisting unit tests * Prevent duplicate slots by merging, userId -> userIds (multi) * Small fix to potential undefined * Moved duplicate prevention to buildSlots function * Apply date override on a per user basis * Prevent -1 being added to computedLocalAvailability * Removed console.log * Apply override properly on COLLECTIVE * Default timeZone to UTC when undefined * isSame doesn't work when the day shifts, isBetween instead * Iterate over all slot.userIds schedules to identify the first user schedule that matches * add round-robin test Co-authored-by: Alex van Andel <me@alexvanandel.com> Co-authored-by: Peer Richelsen <peeroke@gmail.com> |
||
---|---|---|
.. | ||
@wojtekmaj__react-daterange-picker.d.ts | ||
App.d.ts | ||
AppGetServerSideProps.d.ts | ||
AppHandler.d.ts | ||
BufferedBusyTime.d.ts | ||
Calendar.d.ts | ||
Credential.d.ts | ||
Event.d.ts | ||
EventManager.d.ts | ||
SVGComponent.d.ts | ||
VideoApiAdapter.d.ts | ||
environment.d.ts | ||
ical.d.ts | ||
inferSSRProps.d.ts | ||
next-auth.d.ts | ||
next.d.ts | ||
package.json | ||
schedule.d.ts | ||
tsconfig.json | ||
utils.d.ts |