[CAL-988] Limit total appointment time per day/week/month/year (#7166)
Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
28 files changed
+664
-228
No files matched your search
Vendored
+2
-1
@@ -4,6 +4,7 @@ import type { calendar_v3 } from "googleapis";
|
||||
import type { Time } from "ical.js";
|
||||
import type { TFunction } from "next-i18next";
|
||||
|
||||
import type { Calendar } from "@calcom/features/calendars/weeklyview";
|
||||
import type { Frequency } from "@calcom/prisma/zod-utils";
|
||||
|
||||
import type { Ensure } from "./utils";
|
||||
@@ -115,7 +116,7 @@ export interface RecurringEvent {
|
||||
tzid?: string | undefined;
|
||||
}
|
||||
|
||||
export interface BookingLimit {
|
||||
export interface IntervalLimit {
|
||||
PER_DAY?: number | undefined;
|
||||
PER_WEEK?: number | undefined;
|
||||
PER_MONTH?: number | undefined;
|
||||
|
||||
Reference in new issue
Block a user