feat: block pending meetings for requires confirmation (#16335)
* feat: block pending meetings for requires confirmation * add i18n * fix:typecheck * fix(requires-confirmation-block): Fixes type error * fix(requires-confirmation-block): Fixes type error * Tweak to set BookingWhereInput as the explicit type instead of as * fix: type error --------- Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
1 parent
2fb4289798
commit
c8e20b0c57
14 files changed
+213
-62
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "EventType" ADD COLUMN "requiresConfirmationWillBlockSlot" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -104,6 +104,7 @@ model EventType {
|
||||
periodCountCalendarDays Boolean?
|
||||
lockTimeZoneToggleOnBookingPage Boolean @default(false)
|
||||
requiresConfirmation Boolean @default(false)
|
||||
requiresConfirmationWillBlockSlot Boolean @default(false)
|
||||
requiresBookerEmailVerification Boolean @default(false)
|
||||
/// @zod.custom(imports.recurringEventType)
|
||||
recurringEvent Json?
|
||||
|
||||
@@ -643,6 +643,7 @@ export const allManagedEventTypeProps: { [k in keyof Omit<Prisma.EventTypeSelect
|
||||
customInputs: true,
|
||||
disableGuests: true,
|
||||
requiresConfirmation: true,
|
||||
requiresConfirmationWillBlockSlot: true,
|
||||
eventName: true,
|
||||
metadata: true,
|
||||
children: true,
|
||||
|
||||
Reference in new issue
Block a user