* chore: Add Prisma extension to block updateMany with undefined 'in'
* Fix type
* types
* Added check for deleteMany as well
* Improved in check
* type
* Updated check to only check undefined and not isArray
* Renamed the guard
* another rename
* Changed undefined check to use typeof
* Types
* Added check
* Update packages/prisma/extensions/disallow-undefined-in-delete-update-many.ts
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
* Added unit tests
* Added a good case
* Rename
* Rename fix
* Types
* Temporarily disabling the extension for testing
* Added back the extension
* Trying to also log to see if there are swallowed errors
* Update
* removed unused params
* removed console.log
---------
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
* fix: Prevent duplicate bookings with idempotency key
* Add idempotencyKey to builder.ts type fix
* Add tests for new idempotency key (booking create)
* Add endTime to idempotency key, it should be possible to book different durations
* Move reschedule before the create so the idempotency key is unset