* init * updated typing, english localization text, used existing calculatePeriodLimits and isTimeViolatingFutureLimit to determine if go to next month button should be disabled * improving copy * semantic dialog heading tag, proper EN localization, * reverting * force local to origin * Translations by LLM * intit tests * moving NoAvailability to its own file. * refactor overlay component to encpsulate logic in hooks * improved tests * remove unintended change * fix: period data type import. Providing default periodData values * fix: type errors on event object * fix: updates case in type import * removing translations * remove unnecessary import * remove unnecessary import * improving mocks for booker and logger * moving tests to __tests__ folder --------- Co-authored-by: Tushar Bhatt <95581504+TusharBhatt1@users.noreply.github.com>
13 lines
486 B
TypeScript
13 lines
486 B
TypeScript
import type { EventType } from "@calcom/prisma/client";
|
|
import type { NewCalendarEventType, AdditionalInformation } from "@calcom/types/Calendar";
|
|
|
|
import type { CrmData } from "./CrmService";
|
|
import type { VideoCallData } from "./VideoApiAdapter";
|
|
|
|
export type Event = AdditionalInformation | NewCalendarEventType | VideoCallData | CrmData;
|
|
|
|
export type PeriodData = Pick<
|
|
EventType,
|
|
"periodType" | "periodStartDate" | "periodEndDate" | "periodDays" | "periodCountCalendarDays"
|
|
>;
|