cal.pub0.org/packages/trpc/server/routers/viewer
Omar López f4ea385c7f
Fixes collective availability for teams with overlapping day timezones (#3898)
* WIP

* Fix for team availability with time offsets

* Prevent empty schedule from opening up everything

* When no utcOffset or timeZone's are given, default to 0 utcOffset (UTC)

* timeZone should not be part of getUserAvailability

* Prevents {days:[X],startTime:0,endTime:0} error entry

* Added getAggregateWorkingHours() (#3913)

* Added test for getAggregateWorkingHours

* Timezone isn't used here anymore

* fix: developer docs url (#3914)

* fix: developer docs url added

* chore : remove /

* chore : import url

Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>

* Test fixes

* Reinstate prisma (generate only) and few comments

* Test fixes

* Skipping getSchedule again

* Added await to expect() as it involves async logic causing the promise to timeout

* Test cleanup

* Update jest.config.ts

Co-authored-by: Alan <alannnc@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Udit Takkar <53316345+Udit-takkar@users.noreply.github.com>
Co-authored-by: Zach Waterfield <zlwaterfield@gmail.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
2022-08-22 23:53:51 +00:00
..
apiKeys.tsx Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
availability.tsx migrate api/availability/[user] to viewer.availability.user in trpc (#3591) 2022-08-12 11:16:55 -06:00
bookings.tsx Fixes bug when changing the location of a booking (#3585) 2022-08-08 19:38:02 +00:00
eventTypes.tsx Feat/onboarding username (#3580) 2022-08-01 15:44:08 -06:00
slots.tsx Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
teams.tsx Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
webhook.tsx Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
workflows.tsx Fixes security issue when updating workflows (#3661) 2022-08-09 23:27:49 +00:00