feat: Made booker layout settings more user friendly (#9397)
* Made booker layout settings more user friendly * Fixed tyeps and default values in appearance form for booker layout * Enable all layouts by default
This commit is contained in:
1 parent
7f13fc58b9
commit
93fc036d2c
5 files changed
+40
-17
No files matched your search
@@ -55,6 +55,12 @@ export const bookerLayouts = z
|
||||
})
|
||||
.nullable();
|
||||
|
||||
export const defaultBookerLayoutSettings = {
|
||||
defaultLayout: BookerLayouts.MONTH_VIEW,
|
||||
// if the user has no explicit layouts set (not in user profile and not in event settings), all layouts are enabled.
|
||||
enabledLayouts: bookerLayoutOptions,
|
||||
};
|
||||
|
||||
export type BookerLayoutSettings = z.infer<typeof bookerLayouts>;
|
||||
|
||||
export const RequiresConfirmationThresholdUnits: z.ZodType<UnitTypeLongPlural> = z.enum(["hours", "minutes"]);
|
||||
|
||||
Reference in new issue
Block a user