cal.pub0.org/packages/trpc
Alex van Andel c8744768c4
Refactored buildSlots (#6389)
* Refactored buildSlots

* Added typing for computedAvailableSlots

* Adds very simple boundary logic to make sure slots start at the right times

* Logic was cutting off too early

* Woops, should be eventLength, not frequency

* Expect 12:15 slots as availability is till 12:30 for booking

* Deliberately skip test for testing purposes

* slotInterval overrides intervals, but not duration

* Fix calendar mocking

* Another 45m length

* Unskip :(

* Fix test

Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
2023-01-11 17:33:34 +00:00
..
client Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
next Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
react feat: trpc v10 migration (#5332) 2022-11-10 23:40:01 +00:00
server Refactored buildSlots (#6389) 2023-01-11 17:33:34 +00:00
index.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
package.json Upgrades prisma / Syncs packages (#6044) 2022-12-15 15:56:48 -07:00
tsconfig.json Fix/api build (#3675) 2022-08-03 13:18:26 -06:00