Scheduling infrastructure for absolutely everyone.
Enforces explicit type imports (#7158)
Omar López7c749299bb40
diff --git a/README.md b/README.mdindex 55315635722..249baaa30f9 100644--- a/README.md+++ b/README.md@@ -339,18 +339,18 @@ Please see our [contributing guide](/CONTRIBUTING.md).### Good First IssuesWe have a list of [help wanted](https://github.com/calcom/cal.com/issues?q=is:issue+is:open+label:%22%F0%9F%99%8B%F0%9F%8F%BB%E2%80%8D%E2%99%82%EF%B8%8Fhelp+wanted%22) that contain small features and bugs which have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.-+<!-- BOUNTIES -->### Bounties-+<a href="https://console.algora.io/org/cal/bounties?status=open"><picture><source media="(prefers-color-scheme: dark)" srcset="https://console.algora.io/api/og/cal/bounties.png?p=0&status=open&theme=dark"><img alt="Bounties of cal" src="https://console.algora.io/api/og/cal/bounties.png?p=0&status=open&theme=light"></picture></a>-+<!-- TRANSLATIONS -->diff --git a/apps/docs/README.md b/apps/docs/README.mdindex 8b137891791..e69de29bb2d 100644--- a/apps/docs/README.md+++ b/apps/docs/README.md@@ -1 +0,0 @@-diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex 89083b5cdfd..6c4d2445ebb 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -25,6 +25,6 @@},"devDependencies": {"@calcom/config": "*",- "eslint": "^8.22.0"+ "eslint": "^8.34.0"}}diff --git a/apps/docs/pages/_app.tsx b/apps/docs/pages/_app.tsxindex 6c92686cfb8..e8aad3b9264 100644--- a/apps/docs/pages/_app.tsx+++ b/apps/docs/pages/_app.tsx@@ -1,4 +1,4 @@-import { AppProps } from "next/app";+import type { AppProps } from "next/app";import "nextra-theme-docs/style.css";import "./style.css";diff --git a/apps/storybook/package.json b/apps/storybook/package.jsonindex f0791e14eff..082834a9180 100644--- a/apps/storybook/package.json+++ b/apps/storybook/package.json@@ -15,7 +15,7 @@"@radix-ui/react-dialog": "^1.0.0","@radix-ui/react-dropdown-menu": "^1.0.0","@radix-ui/react-id": "^1.0.0",- "@radix-ui/react-popover": "^1.0.0",+ "@radix-ui/react-popover": "^1.0.2","@radix-ui/react-radio-group": "^1.0.0","@radix-ui/react-slider": "^1.0.0","@radix-ui/react-switch": "^1.0.0",@@ -36,8 +36,8 @@"@storybook/manager-webpack5": "^6.5.13","@storybook/react": "^6.5.13","@storybook/testing-library": "^0.0.13",- "@types/react": "^18.0.17",- "@types/react-dom": "^18.0.6",+ "@types/react": "18.0.26",+ "@types/react-dom": "18.0.9","@vitejs/plugin-react": "^2.1.0","autoprefixer": "^10.4.12","babel-loader": "^8.2.5",diff --git a/apps/swagger/package.json b/apps/swagger/package.jsonindex 69fe1c4ee98..4d0580860a8 100644--- a/apps/swagger/package.json+++ b/apps/swagger/package.json@@ -22,8 +22,8 @@},"devDependencies": {"@types/node": "16.9.1",- "@types/react": "^18.0.17",- "@types/react-dom": "^18.0.6",+ "@types/react": "18.0.26",+ "@types/react-dom": "18.0.9","typescript": "^4.9.4"}}diff --git a/apps/swagger/pages/index.tsx b/apps/swagger/pages/index.tsxindex 6fc36fe4519..10dbee9c13c 100644--- a/apps/swagger/pages/index.tsx+++ b/apps/swagger/pages/index.tsx@@ -1,5 +1,5 @@import dynamic from "next/dynamic";-import { SwaggerUI } from "swagger-ui-react";+import type { SwaggerUI } from "swagger-ui-react";import { SnippedGenerator, requestSnippets } from "@lib/snippets";diff --git a/apps/web/components/AdditionalCalendarSelector.tsx b/apps/web/components/AdditionalCalendarSelector.tsxindex 0faf3880ae4..30b020b6793 100644--- a/apps/web/components/AdditionalCalendarSelector.tsx+++ b/apps/web/components/AdditionalCalendarSelector.tsx@@ -1,6 +1,6 @@import React from "react";import Select from "react-select";-import { OptionProps } from "react-select";+import type { OptionProps } from "react-select";import { InstallAppButton } from "@calcom/app-store/components";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/AppListCard.tsx b/apps/web/components/AppListCard.tsxindex 621a7497c30..4a1696e6b9f 100644--- a/apps/web/components/AppListCard.tsx+++ b/apps/web/components/AppListCard.tsx@@ -1,5 +1,6 @@import { useRouter } from "next/router";-import { ReactNode, useEffect, useRef, useState } from "react";+import type { ReactNode } from "react";+import { useEffect, useRef, useState } from "react";import { z } from "zod";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/DestinationCalendarSelector.tsx b/apps/web/components/DestinationCalendarSelector.tsxindex 78889b0434d..d2e752dd845 100644--- a/apps/web/components/DestinationCalendarSelector.tsx+++ b/apps/web/components/DestinationCalendarSelector.tsx@@ -3,7 +3,7 @@ import React, { useEffect, useState } from "react";import Select from "react-select";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { DestinationCalendar } from "@calcom/prisma/client";+import type { DestinationCalendar } from "@calcom/prisma/client";import { trpc } from "@calcom/trpc/react";interface Props {diff --git a/apps/web/components/Embed.tsx b/apps/web/components/Embed.tsxindex b7fb17a5a88..503e50b8daf 100644--- a/apps/web/components/Embed.tsx+++ b/apps/web/components/Embed.tsx@@ -1,8 +1,11 @@import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";import classNames from "classnames";-import { NextRouter, useRouter } from "next/router";-import { createRef, forwardRef, MutableRefObject, RefObject, useRef, useState } from "react";-import { components, ControlProps } from "react-select";+import type { NextRouter } from "next/router";+import { useRouter } from "next/router";+import type { MutableRefObject, RefObject } from "react";+import { createRef, forwardRef, useRef, useState } from "react";+import type { ControlProps } from "react-select";+import { components } from "react-select";import { APP_NAME, EMBED_LIB_URL, WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";@@ -675,7 +678,7 @@ const EmbedTypeCodeAndPreviewDialogContent = ({return `${router.asPath.split("?")[0]}?${searchParams.toString()}`;};const parsedTabs = tabs.map((t) => ({ ...t, href: s(t.href) }));- const embedCodeRefs: Record<typeof tabs[0]["name"], RefObject<HTMLTextAreaElement>> = {};+ const embedCodeRefs: Record<(typeof tabs)[0]["name"], RefObject<HTMLTextAreaElement>> = {};tabs.filter((tab) => tab.type === "code").forEach((codeTab) => {@@ -719,7 +722,7 @@ const EmbedTypeCodeAndPreviewDialogContent = ({const calLink = decodeURIComponent(embedUrl);- const addToPalette = (update: typeof previewState["palette"]) => {+ const addToPalette = (update: (typeof previewState)["palette"]) => {setPreviewState((previewState) => {return {...previewState,@@ -1060,7 +1063,7 @@ const EmbedTypeCodeAndPreviewDialogContent = ({defaultValue="#000000"onChange={(color) => {addToPalette({- [palette.name as keyof typeof previewState["palette"]]: color,+ [palette.name as keyof (typeof previewState)["palette"]]: color,});}}/>diff --git a/apps/web/components/Gates.tsx b/apps/web/components/Gates.tsxindex 2b86cb88e1d..77bba763ff6 100644--- a/apps/web/components/Gates.tsx+++ b/apps/web/components/Gates.tsx@@ -1,6 +1,7 @@import dynamic from "next/dynamic";-import { Dispatch, useState, useEffect } from "react";-import { JSONObject } from "superjson/dist/types";+import type { Dispatch } from "react";+import { useState, useEffect } from "react";+import type { JSONObject } from "superjson/dist/types";export type Gate = undefined | "rainbow"; // Add more like ` | "geolocation" | "payment"`diff --git a/apps/web/components/ImageUploader.tsx b/apps/web/components/ImageUploader.tsxindex 11ceeeb3948..9bc0b51cce9 100644--- a/apps/web/components/ImageUploader.tsx+++ b/apps/web/components/ImageUploader.tsx@@ -1,10 +1,12 @@-import { FormEvent, useCallback, useEffect, useState } from "react";+import type { FormEvent } from "react";+import { useCallback, useEffect, useState } from "react";import Cropper from "react-easy-crop";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Button, Dialog, DialogClose, DialogContent, DialogTrigger } from "@calcom/ui";-import { Area, getCroppedImg } from "@lib/cropImage";+import type { Area } from "@lib/cropImage";+import { getCroppedImg } from "@lib/cropImage";import { useFileReader } from "@lib/hooks/useFileReader";import Slider from "@components/Slider";diff --git a/apps/web/components/NavTabs.tsx b/apps/web/components/NavTabs.tsxindex 99fca441642..06e4c30b477 100644--- a/apps/web/components/NavTabs.tsx+++ b/apps/web/components/NavTabs.tsx@@ -1,13 +1,15 @@import { AdminRequired } from "components/ui/AdminRequired";import noop from "lodash/noop";-import Link, { LinkProps } from "next/link";+import type { LinkProps } from "next/link";+import Link from "next/link";import { useRouter } from "next/router";-import { FC, Fragment, MouseEventHandler } from "react";+import type { FC, MouseEventHandler } from "react";+import { Fragment } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";import classNames from "@lib/classNames";-import { SVGComponent } from "@lib/types/SVGComponent";+import type { SVGComponent } from "@lib/types/SVGComponent";export interface NavTabProps {tabs: {diff --git a/apps/web/components/SettingsShell.tsx b/apps/web/components/SettingsShell.tsxindex 67ffc46f3c9..d5f0b2c9053 100644--- a/apps/web/components/SettingsShell.tsx+++ b/apps/web/components/SettingsShell.tsx@@ -1,4 +1,5 @@-import React, { ComponentProps } from "react";+import type { ComponentProps } from "react";+import React from "react";import Shell from "@calcom/features/shell/Shell";import { ErrorBoundary } from "@calcom/ui";diff --git a/apps/web/components/apps/AdditionalCalendarSelector.tsx b/apps/web/components/apps/AdditionalCalendarSelector.tsxindex d264da6f068..85f76483d69 100644--- a/apps/web/components/apps/AdditionalCalendarSelector.tsx+++ b/apps/web/components/apps/AdditionalCalendarSelector.tsx@@ -1,4 +1,4 @@-import { OptionProps } from "react-select";+import type { OptionProps } from "react-select";import { InstallAppButton } from "@calcom/app-store/components";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/apps/App.tsx b/apps/web/components/apps/App.tsxindex cca5dd5cdf7..529836ea8db 100644--- a/apps/web/components/apps/App.tsx+++ b/apps/web/components/apps/App.tsx@@ -11,7 +11,7 @@ import classNames from "@calcom/lib/classNames";import { APP_NAME, COMPANY_NAME, SUPPORT_MAIL_ADDRESS } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";-import { App as AppType } from "@calcom/types/App";+import type { App as AppType } from "@calcom/types/App";import { Button, showToast, SkeletonButton, SkeletonText, HeadSeo, Badge } from "@calcom/ui";import {FiBookOpen,diff --git a/apps/web/components/apps/DestinationCalendarSelector.tsx b/apps/web/components/apps/DestinationCalendarSelector.tsxindex fe033fcbd7c..bf73456fe65 100644--- a/apps/web/components/apps/DestinationCalendarSelector.tsx+++ b/apps/web/components/apps/DestinationCalendarSelector.tsx@@ -3,7 +3,7 @@ import React, { useEffect, useState } from "react";import Select from "react-select";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { DestinationCalendar } from "@calcom/prisma/client";+import type { DestinationCalendar } from "@calcom/prisma/client";import { trpc } from "@calcom/trpc/react";interface Props {diff --git a/apps/web/components/apps/layouts/AppsLayout.tsx b/apps/web/components/apps/layouts/AppsLayout.tsxindex 9ed24585106..737aa990a77 100644--- a/apps/web/components/apps/layouts/AppsLayout.tsx+++ b/apps/web/components/apps/layouts/AppsLayout.tsx@@ -1,6 +1,7 @@import { useSession } from "next-auth/react";import { useRouter } from "next/router";-import React, { ComponentProps } from "react";+import type { ComponentProps } from "react";+import React from "react";import Shell from "@calcom/features/shell/Shell";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx b/apps/web/components/apps/layouts/InstalledAppsLayout.tsxindex 69a13aa7e1b..42481f299d6 100644--- a/apps/web/components/apps/layouts/InstalledAppsLayout.tsx+++ b/apps/web/components/apps/layouts/InstalledAppsLayout.tsx@@ -1,7 +1,8 @@-import React, { ComponentProps } from "react";+import type { ComponentProps } from "react";+import React from "react";import AppCategoryNavigation from "@calcom/app-store/_components/AppCategoryNavigation";-import { InstalledAppVariants } from "@calcom/app-store/utils";+import type { InstalledAppVariants } from "@calcom/app-store/utils";import Shell from "@calcom/features/shell/Shell";import { trpc } from "@calcom/trpc/react";import type { HorizontalTabItemProps, VerticalTabItemProps } from "@calcom/ui";@@ -44,7 +45,7 @@ export default function InstalledAppsLayout({children,...rest}: { children: React.ReactNode } & ComponentProps<typeof Shell>) {- const variant: typeof InstalledAppVariants[number] = "payment";+ const variant: (typeof InstalledAppVariants)[number] = "payment";const query = trpc.viewer.integrations.useQuery({variant,diff --git a/apps/web/components/auth/layouts/AdminLayout.tsx b/apps/web/components/auth/layouts/AdminLayout.tsxindex efa0aeb7331..6d992b687d6 100644--- a/apps/web/components/auth/layouts/AdminLayout.tsx+++ b/apps/web/components/auth/layouts/AdminLayout.tsx@@ -1,13 +1,13 @@+import { UserPermissionRole } from "@prisma/client";import { useSession } from "next-auth/react";import { useRouter } from "next/router";-import React, { ComponentProps, useEffect } from "react";+import type { ComponentProps } from "react";+import React, { useEffect } from "react";import SettingsLayout from "@calcom/features/settings/layouts/SettingsLayout";-import Shell from "@calcom/features/shell/Shell";+import type Shell from "@calcom/features/shell/Shell";import { ErrorBoundary } from "@calcom/ui";-import { UserPermissionRole } from ".prisma/client";-export default function AdminLayout({children,diff --git a/apps/web/components/booking/AvailableEventLocations.tsx b/apps/web/components/booking/AvailableEventLocations.tsxindex e8d0b9d1b5d..16825862c8d 100644--- a/apps/web/components/booking/AvailableEventLocations.tsx+++ b/apps/web/components/booking/AvailableEventLocations.tsx@@ -4,7 +4,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";import { Tooltip } from "@calcom/ui";import { FiLink } from "@calcom/ui/components/icon";-import { Props } from "./pages/AvailabilityPage";+import type { Props } from "./pages/AvailabilityPage";export function AvailableEventLocations({ locations }: { locations: Props["eventType"]["locations"] }) {const { t } = useLocale();diff --git a/apps/web/components/booking/AvailableTimes.tsx b/apps/web/components/booking/AvailableTimes.tsxindex 83fa5731405..2a05ba94e3e 100644--- a/apps/web/components/booking/AvailableTimes.tsx+++ b/apps/web/components/booking/AvailableTimes.tsx@@ -1,8 +1,10 @@import Link from "next/link";import { useRouter } from "next/router";-import { FC, useEffect, useState } from "react";+import type { FC } from "react";+import { useEffect, useState } from "react";-import dayjs, { Dayjs } from "@calcom/dayjs";+import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import { useLocale } from "@calcom/lib/hooks/useLocale";import { TimeFormat } from "@calcom/lib/timeFormat";import { nameOfDay } from "@calcom/lib/weekday";diff --git a/apps/web/components/booking/BookingDescription.tsx b/apps/web/components/booking/BookingDescription.tsxindex b8df86e024b..2a639616b28 100644--- a/apps/web/components/booking/BookingDescription.tsx+++ b/apps/web/components/booking/BookingDescription.tsx@@ -1,5 +1,6 @@import { SchedulingType } from "@prisma/client";-import { FC, ReactNode, useEffect } from "react";+import type { FC, ReactNode } from "react";+import { useEffect } from "react";import dayjs from "@calcom/dayjs";import { classNames } from "@calcom/lib";diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsxindex 0e0f66db79c..01086f7dfa7 100644--- a/apps/web/components/booking/BookingListItem.tsx+++ b/apps/web/components/booking/BookingListItem.tsx@@ -2,14 +2,17 @@ import { BookingStatus } from "@prisma/client";import { useRouter } from "next/router";import { useState } from "react";-import { EventLocationType, getEventLocationType } from "@calcom/app-store/locations";+import type { EventLocationType } from "@calcom/app-store/locations";+import { getEventLocationType } from "@calcom/app-store/locations";import dayjs from "@calcom/dayjs";import ViewRecordingsDialog from "@calcom/features/ee/video/ViewRecordingsDialog";import classNames from "@calcom/lib/classNames";import { formatTime } from "@calcom/lib/date-fns";import { useLocale } from "@calcom/lib/hooks/useLocale";import { getEveryFreqFor } from "@calcom/lib/recurringStrings";-import { RouterInputs, RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterInputs, RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";+import type { ActionType } from "@calcom/ui";import {Badge,Button,@@ -20,7 +23,6 @@ import {MeetingTimeInTimezones,showToast,Tooltip,- ActionType,TableActions,TextAreaField,} from "@calcom/ui";diff --git a/apps/web/components/booking/TimeOptions.tsx b/apps/web/components/booking/TimeOptions.tsxindex eb498dd51ab..e700e80acc4 100644--- a/apps/web/components/booking/TimeOptions.tsx+++ b/apps/web/components/booking/TimeOptions.tsx@@ -1,7 +1,9 @@-import { FC, useEffect, useState } from "react";+import type { FC } from "react";+import { useEffect, useState } from "react";import useTheme from "@calcom/lib/hooks/useTheme";-import { ITimezoneOption, TimezoneSelect } from "@calcom/ui";+import type { ITimezoneOption } from "@calcom/ui";+import { TimezoneSelect } from "@calcom/ui";import useMeQuery from "@lib/hooks/useMeQuery";diff --git a/apps/web/components/booking/UserAvatars.tsx b/apps/web/components/booking/UserAvatars.tsxindex c34bda5216d..da87a2aba4e 100644--- a/apps/web/components/booking/UserAvatars.tsx+++ b/apps/web/components/booking/UserAvatars.tsx@@ -1,5 +1,6 @@import { CAL_URL } from "@calcom/lib/constants";-import { AvatarGroup, AvatarGroupProps } from "@calcom/ui";+import type { AvatarGroupProps } from "@calcom/ui";+import { AvatarGroup } from "@calcom/ui";export const UserAvatars = ({profile,diff --git a/apps/web/components/booking/pages/AvailabilityPage.tsx b/apps/web/components/booking/pages/AvailabilityPage.tsxindex 7ce78097788..5a76522b8e7 100644--- a/apps/web/components/booking/pages/AvailabilityPage.tsx+++ b/apps/web/components/booking/pages/AvailabilityPage.tsx@@ -1,5 +1,5 @@import { useAutoAnimate } from "@formkit/auto-animate/react";-import { EventType } from "@prisma/client";+import type { EventType } from "@prisma/client";import dynamic from "next/dynamic";import { useRouter } from "next/router";import { useEffect, useMemo, useReducer, useState } from "react";@@ -9,7 +9,8 @@ import { z } from "zod";import BookingPageTagManager from "@calcom/app-store/BookingPageTagManager";import { getEventTypeAppData } from "@calcom/app-store/utils";-import dayjs, { Dayjs } from "@calcom/dayjs";+import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import {useEmbedNonStylesConfig,useEmbedStyles,@@ -27,7 +28,7 @@ import notEmpty from "@calcom/lib/notEmpty";import { getRecurringFreq } from "@calcom/lib/recurringStrings";import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";import { detectBrowserTimeFormat, setIs24hClockInLocalStorage, TimeFormat } from "@calcom/lib/timeFormat";-import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";+import type { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { trpc } from "@calcom/trpc/react";import { HeadSeo } from "@calcom/ui";import { FiCreditCard, FiGlobe, FiRefreshCcw } from "@calcom/ui/components/icon";@@ -35,7 +36,8 @@ import { FiCreditCard, FiGlobe, FiRefreshCcw } from "@calcom/ui/components/icon"import { timeZone as localStorageTimeZone } from "@lib/clock";import useRouterQuery from "@lib/hooks/useRouterQuery";-import Gates, { Gate, GateState } from "@components/Gates";+import type { Gate, GateState } from "@components/Gates";+import Gates from "@components/Gates";import BookingDescription from "@components/booking/BookingDescription";import TimeOptions from "@components/booking/TimeOptions";diff --git a/apps/web/components/booking/pages/BookingPage.tsx b/apps/web/components/booking/pages/BookingPage.tsxindex 879f579c064..2c5f905b722 100644--- a/apps/web/components/booking/pages/BookingPage.tsx+++ b/apps/web/components/booking/pages/BookingPage.tsx@@ -12,8 +12,8 @@ import { v4 as uuidv4 } from "uuid";import { z } from "zod";import BookingPageTagManager from "@calcom/app-store/BookingPageTagManager";+import type { EventLocationType } from "@calcom/app-store/locations";import {- EventLocationType,getEventLocationType,getEventLocationValue,getHumanReadableLocationValue,@@ -21,7 +21,8 @@ import {} from "@calcom/app-store/locations";import { createPaymentLink } from "@calcom/app-store/stripepayment/lib/client";import { getEventTypeAppData } from "@calcom/app-store/utils";-import { LocationObject, LocationType } from "@calcom/core/location";+import type { LocationObject } from "@calcom/core/location";+import { LocationType } from "@calcom/core/location";import dayjs from "@calcom/dayjs";import {useEmbedNonStylesConfig,@@ -69,12 +70,13 @@ import createBooking from "@lib/mutations/bookings/create-booking";import createRecurringBooking from "@lib/mutations/bookings/create-recurring-booking";import { parseDate, parseRecurringDates } from "@lib/parseDate";-import Gates, { Gate, GateState } from "@components/Gates";+import type { Gate, GateState } from "@components/Gates";+import Gates from "@components/Gates";import BookingDescription from "@components/booking/BookingDescription";-import { BookPageProps } from "../../../pages/[user]/book";-import { HashLinkPageProps } from "../../../pages/d/[link]/book";-import { TeamBookingPageProps } from "../../../pages/team/[slug]/book";+import type { BookPageProps } from "../../../pages/[user]/book";+import type { HashLinkPageProps } from "../../../pages/d/[link]/book";+import type { TeamBookingPageProps } from "../../../pages/team/[slug]/book";type BookingPageProps = BookPageProps | TeamBookingPageProps | HashLinkPageProps;diff --git a/apps/web/components/dialog/EditLocationDialog.tsx b/apps/web/components/dialog/EditLocationDialog.tsxindex 6b851b51847..c4317816b54 100644--- a/apps/web/components/dialog/EditLocationDialog.tsx+++ b/apps/web/components/dialog/EditLocationDialog.tsx@@ -7,23 +7,24 @@ import { useEffect } from "react";import { Controller, useForm, useWatch } from "react-hook-form";import { z } from "zod";+import type { EventLocationType, LocationObject } from "@calcom/app-store/locations";import {- EventLocationType,getEventLocationType,getHumanReadableLocationValue,getMessageForOrganizer,- LocationObject,LocationType,} from "@calcom/app-store/locations";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import { Button, Dialog, DialogContent, DialogFooter, Form, PhoneInput } from "@calcom/ui";import { FiMapPin } from "@calcom/ui/components/icon";import { QueryCell } from "@lib/QueryCell";import CheckboxField from "@components/ui/form/CheckboxField";-import LocationSelect, { LocationOption } from "@components/ui/form/LocationSelect";+import type { LocationOption } from "@components/ui/form/LocationSelect";+import LocationSelect from "@components/ui/form/LocationSelect";type BookingItem = RouterOutputs["viewer"]["bookings"]["get"]["bookings"][number];diff --git a/apps/web/components/dialog/RescheduleDialog.tsx b/apps/web/components/dialog/RescheduleDialog.tsxindex 6b910f19092..efbf219027a 100644--- a/apps/web/components/dialog/RescheduleDialog.tsx+++ b/apps/web/components/dialog/RescheduleDialog.tsx@@ -1,4 +1,5 @@-import { Dispatch, SetStateAction, useState } from "react";+import type { Dispatch, SetStateAction } from "react";+import { useState } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";diff --git a/apps/web/components/eventtype/AvailabilityTab.tsx b/apps/web/components/eventtype/AvailabilityTab.tsxindex 33da1573544..656a252c7f8 100644--- a/apps/web/components/eventtype/AvailabilityTab.tsx+++ b/apps/web/components/eventtype/AvailabilityTab.tsx@@ -1,6 +1,7 @@-import { FormValues } from "pages/event-types/[type]";+import type { FormValues } from "pages/event-types/[type]";import { Controller, useFormContext } from "react-hook-form";-import { components, OptionProps, SingleValueProps } from "react-select";+import type { OptionProps, SingleValueProps } from "react-select";+import { components } from "react-select";import dayjs from "@calcom/dayjs";import classNames from "@calcom/lib/classNames";diff --git a/apps/web/components/eventtype/CustomInputTypeForm.tsx b/apps/web/components/eventtype/CustomInputTypeForm.tsxindex b5874852a7c..6fd098f69b5 100644--- a/apps/web/components/eventtype/CustomInputTypeForm.tsx+++ b/apps/web/components/eventtype/CustomInputTypeForm.tsx@@ -1,8 +1,9 @@import { useAutoAnimate } from "@formkit/auto-animate/react";import { EventTypeCustomInputType } from "@prisma/client";import type { CustomInputParsed } from "pages/event-types/[type]";-import { FC } from "react";-import { Control, Controller, useFieldArray, useForm, UseFormRegister, useWatch } from "react-hook-form";+import type { FC } from "react";+import type { Control, UseFormRegister } from "react-hook-form";+import { Controller, useFieldArray, useForm, useWatch } from "react-hook-form";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Button, Label, Select, TextField } from "@calcom/ui";diff --git a/apps/web/components/eventtype/EventAppsTab.tsx b/apps/web/components/eventtype/EventAppsTab.tsxindex 958aa67ef2c..725a3f0a4f0 100644--- a/apps/web/components/eventtype/EventAppsTab.tsx+++ b/apps/web/components/eventtype/EventAppsTab.tsx@@ -1,10 +1,10 @@-import { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";import { useFormContext } from "react-hook-form";-import { GetAppData, SetAppData } from "@calcom/app-store/EventTypeAppContext";+import type { GetAppData, SetAppData } from "@calcom/app-store/EventTypeAppContext";import { EventTypeAppCard } from "@calcom/app-store/_components/EventTypeAppCardInterface";-import { EventTypeAppCardComponentProps } from "@calcom/app-store/types";-import { EventTypeAppsList } from "@calcom/app-store/utils";+import type { EventTypeAppCardComponentProps } from "@calcom/app-store/types";+import type { EventTypeAppsList } from "@calcom/app-store/utils";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";import { Button, EmptyScreen } from "@calcom/ui";diff --git a/apps/web/components/eventtype/EventLimitsTab.tsx b/apps/web/components/eventtype/EventLimitsTab.tsxindex a5e7a30d2ae..ffa7ba5e14b 100644--- a/apps/web/components/eventtype/EventLimitsTab.tsx+++ b/apps/web/components/eventtype/EventLimitsTab.tsx@@ -1,14 +1,16 @@import { useAutoAnimate } from "@formkit/auto-animate/react";import * as RadioGroup from "@radix-ui/react-radio-group";-import { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";import React, { useEffect, useState } from "react";-import { Controller, useFormContext, UseFormRegisterReturn, useWatch } from "react-hook-form";+import type { UseFormRegisterReturn } from "react-hook-form";+import { Controller, useFormContext, useWatch } from "react-hook-form";import { classNames } from "@calcom/lib";-import convertToNewDurationType, { DurationType } from "@calcom/lib/convertToNewDurationType";+import type { DurationType } from "@calcom/lib/convertToNewDurationType";+import convertToNewDurationType from "@calcom/lib/convertToNewDurationType";import findDurationType from "@calcom/lib/findDurationType";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { PeriodType } from "@calcom/prisma/client";+import type { PeriodType } from "@calcom/prisma/client";import type { BookingLimit } from "@calcom/types/Calendar";import { Button, DateRangePicker, Input, InputField, Label, Select, SettingsToggle } from "@calcom/ui";import { FiPlus, FiTrash } from "@calcom/ui/components/icon";diff --git a/apps/web/components/eventtype/EventRecurringTab.tsx b/apps/web/components/eventtype/EventRecurringTab.tsxindex 1c55f6f6c37..2b41ca4679b 100644--- a/apps/web/components/eventtype/EventRecurringTab.tsx+++ b/apps/web/components/eventtype/EventRecurringTab.tsx@@ -1,4 +1,4 @@-import { EventTypeSetupProps } from "pages/event-types/[type]";+import type { EventTypeSetupProps } from "pages/event-types/[type]";import getPaymentAppData from "@calcom/lib/getPaymentAppData";diff --git a/apps/web/components/eventtype/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsxindex 4f427e2874b..0633b7288b5 100644--- a/apps/web/components/eventtype/EventSetupTab.tsx+++ b/apps/web/components/eventtype/EventSetupTab.tsx@@ -6,15 +6,11 @@ import Link from "next/link";import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";import { useState } from "react";import { Controller, useForm, useFormContext } from "react-hook-form";-import { MultiValue } from "react-select";+import type { MultiValue } from "react-select";import { z } from "zod";-import {- EventLocationType,- getEventLocationType,- MeetLocationType,- LocationType,-} from "@calcom/app-store/locations";+import type { EventLocationType } from "@calcom/app-store/locations";+import { getEventLocationType, MeetLocationType, LocationType } from "@calcom/app-store/locations";import { CAL_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { slugify } from "@calcom/lib/slugify";@@ -22,10 +18,8 @@ import { Button, Label, Select, SettingsToggle, Skeleton, TextField } from "@calimport { FiEdit2, FiCheck, FiX, FiPlus } from "@calcom/ui/components/icon";import { EditLocationDialog } from "@components/dialog/EditLocationDialog";-import LocationSelect, {- SingleValueLocationOption,- LocationOption,-} from "@components/ui/form/LocationSelect";+import type { SingleValueLocationOption, LocationOption } from "@components/ui/form/LocationSelect";+import LocationSelect from "@components/ui/form/LocationSelect";const getLocationFromType = (type: EventLocationType["type"],@@ -81,7 +75,7 @@ export const EventSetupTab = (setShowLocationModal(true);};- const removeLocation = (selectedLocation: typeof eventType.locations[number]) => {+ const removeLocation = (selectedLocation: (typeof eventType.locations)[number]) => {formMethods.setValue("locations",formMethods.getValues("locations").filter((location) => {diff --git a/apps/web/components/eventtype/EventTeamTab.tsx b/apps/web/components/eventtype/EventTeamTab.tsxindex afe0b0ba49b..1014ac0d0ce 100644--- a/apps/web/components/eventtype/EventTeamTab.tsx+++ b/apps/web/components/eventtype/EventTeamTab.tsx@@ -1,12 +1,12 @@import { SchedulingType } from "@prisma/client";-import { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";-import { ComponentProps } from "react";-import { Controller, useFormContext, useWatch, Control } from "react-hook-form";-import { Options } from "react-select";+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";+import type { ComponentProps } from "react";+import type { Control } from "react-hook-form";+import { Controller, useFormContext, useWatch } from "react-hook-form";+import type { Options } from "react-select";-import CheckedTeamSelect, {- CheckedSelectOption,-} from "@calcom/features/eventtypes/components/CheckedTeamSelect";+import type { CheckedSelectOption } from "@calcom/features/eventtypes/components/CheckedTeamSelect";+import CheckedTeamSelect from "@calcom/features/eventtypes/components/CheckedTeamSelect";import { WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Label, Select } from "@calcom/ui";diff --git a/apps/web/components/eventtype/EventTeamWebhooksTab.tsx b/apps/web/components/eventtype/EventTeamWebhooksTab.tsxindex 54eeb2b8f8e..4a293c4745d 100644--- a/apps/web/components/eventtype/EventTeamWebhooksTab.tsx+++ b/apps/web/components/eventtype/EventTeamWebhooksTab.tsx@@ -1,13 +1,13 @@-import { EventTypeSetupProps } from "pages/event-types/[type]";+import type { EventTypeSetupProps } from "pages/event-types/[type]";import { useState } from "react";import { TbWebhook } from "react-icons/tb";import { WebhookForm } from "@calcom/features/webhooks/components";-import { WebhookFormSubmitData } from "@calcom/features/webhooks/components/WebhookForm";+import type { WebhookFormSubmitData } from "@calcom/features/webhooks/components/WebhookForm";import WebhookListItem from "@calcom/features/webhooks/components/WebhookListItem";import { APP_NAME } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { Webhook } from "@calcom/prisma/client";+import type { Webhook } from "@calcom/prisma/client";import { trpc } from "@calcom/trpc/react";import { Button, Dialog, DialogContent, EmptyScreen, showToast } from "@calcom/ui";import { FiPlus } from "@calcom/ui/components/icon";diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsxindex 6afeea1dff7..f2916939656 100644--- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx+++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx@@ -1,8 +1,8 @@-import { TFunction } from "next-i18next";+import type { TFunction } from "next-i18next";import { useRouter } from "next/router";-import { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";+import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]";import { useMemo, useState, Suspense } from "react";-import { UseFormReturn } from "react-hook-form";+import type { UseFormReturn } from "react-hook-form";import { TbWebhook } from "react-icons/tb";import Shell from "@calcom/features/shell/Shell";diff --git a/apps/web/components/eventtype/RequiresConfirmationController.tsx b/apps/web/components/eventtype/RequiresConfirmationController.tsxindex 2be9a068912..bc628b9be0a 100644--- a/apps/web/components/eventtype/RequiresConfirmationController.tsx+++ b/apps/web/components/eventtype/RequiresConfirmationController.tsx@@ -1,13 +1,14 @@import * as RadioGroup from "@radix-ui/react-radio-group";-import { UnitTypeLongPlural } from "dayjs";+import type { UnitTypeLongPlural } from "dayjs";import { Trans } from "next-i18next";import type { FormValues } from "pages/event-types/[type]";-import { Dispatch, SetStateAction, useEffect, useState } from "react";+import type { Dispatch, SetStateAction } from "react";+import { useEffect, useState } from "react";import { Controller, useFormContext } from "react-hook-form";-import z from "zod";+import type z from "zod";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";+import type { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { Alert, Input, Label, SettingsToggle } from "@calcom/ui";type RequiresConfirmationControllerProps = {diff --git a/apps/web/components/getting-started/components/CreateEventsOnCalendarSelect.tsx b/apps/web/components/getting-started/components/CreateEventsOnCalendarSelect.tsxindex e170a7763e0..5aa3edffa3a 100644--- a/apps/web/components/getting-started/components/CreateEventsOnCalendarSelect.tsx+++ b/apps/web/components/getting-started/components/CreateEventsOnCalendarSelect.tsx@@ -1,5 +1,6 @@import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterInputs, trpc } from "@calcom/trpc/react";+import type { RouterInputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import DestinationCalendarSelector from "@components/DestinationCalendarSelector";diff --git a/apps/web/components/getting-started/steps-views/SetupAvailability.tsx b/apps/web/components/getting-started/steps-views/SetupAvailability.tsxindex 25cac4fe45d..38a3a8675b1 100644--- a/apps/web/components/getting-started/steps-views/SetupAvailability.tsx+++ b/apps/web/components/getting-started/steps-views/SetupAvailability.tsx@@ -5,8 +5,9 @@ import { useForm } from "react-hook-form";import { Schedule } from "@calcom/features/schedules";import { DEFAULT_SCHEDULE } from "@calcom/lib/availability";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { trpc, TRPCClientErrorLike } from "@calcom/trpc/react";-import { AppRouter } from "@calcom/trpc/server/routers/_app";+import type { TRPCClientErrorLike } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";+import type { AppRouter } from "@calcom/trpc/server/routers/_app";import { Button, Form } from "@calcom/ui";interface ISetupAvailabilityProps {diff --git a/apps/web/components/getting-started/steps-views/UserProfile.tsx b/apps/web/components/getting-started/steps-views/UserProfile.tsxindex cd2abba87ba..0e4e894fd7a 100644--- a/apps/web/components/getting-started/steps-views/UserProfile.tsx+++ b/apps/web/components/getting-started/steps-views/UserProfile.tsx@@ -1,7 +1,8 @@import { ArrowRightIcon } from "@heroicons/react/solid";import MarkdownIt from "markdown-it";import { useRouter } from "next/router";-import { FormEvent, useRef, useState } from "react";+import type { FormEvent } from "react";+import { useRef, useState } from "react";import { useForm } from "react-hook-form";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/integrations/SubHeadingTitleWithConnections.tsx b/apps/web/components/integrations/SubHeadingTitleWithConnections.tsxindex 44178c6aa52..bc9e4d5a6a1 100644--- a/apps/web/components/integrations/SubHeadingTitleWithConnections.tsx+++ b/apps/web/components/integrations/SubHeadingTitleWithConnections.tsx@@ -1,4 +1,4 @@-import { ReactNode } from "react";+import type { ReactNode } from "react";import { Badge } from "@calcom/ui";diff --git a/apps/web/components/security/ChangePasswordSection.tsx b/apps/web/components/security/ChangePasswordSection.tsxindex 93cfce7e2e3..e64d68285ac 100644--- a/apps/web/components/security/ChangePasswordSection.tsx+++ b/apps/web/components/security/ChangePasswordSection.tsx@@ -1,4 +1,5 @@-import { SyntheticEvent, useState } from "react";+import type { SyntheticEvent } from "react";+import { useState } from "react";import { ErrorCode } from "@calcom/lib/auth";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/security/EnableTwoFactorModal.tsx b/apps/web/components/security/EnableTwoFactorModal.tsxindex 9dfdcb7d131..ba787152a74 100644--- a/apps/web/components/security/EnableTwoFactorModal.tsx+++ b/apps/web/components/security/EnableTwoFactorModal.tsx@@ -1,4 +1,5 @@-import React, { BaseSyntheticEvent, useState } from "react";+import type { BaseSyntheticEvent } from "react";+import React, { useState } from "react";import { useForm } from "react-hook-form";import { ErrorCode } from "@calcom/lib/auth";diff --git a/apps/web/components/settings/EnableTwoFactorModal.tsx b/apps/web/components/settings/EnableTwoFactorModal.tsxindex 5e800b0a1fe..ef4060864da 100644--- a/apps/web/components/settings/EnableTwoFactorModal.tsx+++ b/apps/web/components/settings/EnableTwoFactorModal.tsx@@ -1,4 +1,5 @@-import React, { BaseSyntheticEvent, useState } from "react";+import type { BaseSyntheticEvent } from "react";+import React, { useState } from "react";import { useForm } from "react-hook-form";import { ErrorCode } from "@calcom/lib/auth";diff --git a/apps/web/components/setup/EnterpriseLicense.tsx b/apps/web/components/setup/EnterpriseLicense.tsxindex 88fded6c58e..4f596891da7 100644--- a/apps/web/components/setup/EnterpriseLicense.tsx+++ b/apps/web/components/setup/EnterpriseLicense.tsx@@ -7,7 +7,8 @@ import * as z from "zod";import { classNames } from "@calcom/lib";import { CONSOLE_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterInputs, RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterInputs, RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import { Button, TextField } from "@calcom/ui";import { FiCheck, FiExternalLink, FiLoader } from "@calcom/ui/components/icon";diff --git a/apps/web/components/setup/StepDone.tsx b/apps/web/components/setup/StepDone.tsxindex 88c8b004c75..c4ca401efa2 100644--- a/apps/web/components/setup/StepDone.tsx+++ b/apps/web/components/setup/StepDone.tsx@@ -1,5 +1,5 @@import { useRouter } from "next/router";-import { Dispatch, SetStateAction } from "react";+import type { Dispatch, SetStateAction } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";import { FiCheck } from "@calcom/ui/components/icon";diff --git a/apps/web/components/team/screens/Team.tsx b/apps/web/components/team/screens/Team.tsxindex c3527cc6fc4..f8b245ac9e3 100644--- a/apps/web/components/team/screens/Team.tsx+++ b/apps/web/components/team/screens/Team.tsx@@ -1,6 +1,6 @@import MarkdownIt from "markdown-it";import Link from "next/link";-import { TeamPageProps } from "pages/team/[slug]";+import type { TeamPageProps } from "pages/team/[slug]";import { WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/components/ui/AdminRequired.tsx b/apps/web/components/ui/AdminRequired.tsxindex 97b33f4e40c..34458396b0e 100644--- a/apps/web/components/ui/AdminRequired.tsx+++ b/apps/web/components/ui/AdminRequired.tsx@@ -1,5 +1,6 @@import { useSession } from "next-auth/react";-import { FC, Fragment } from "react";+import type { FC } from "react";+import { Fragment } from "react";type AdminRequiredProps = {as?: keyof JSX.IntrinsicElements;diff --git a/apps/web/components/ui/EditableHeading.tsx b/apps/web/components/ui/EditableHeading.tsxindex 9d36025d277..fa57a8e428d 100644--- a/apps/web/components/ui/EditableHeading.tsx+++ b/apps/web/components/ui/EditableHeading.tsx@@ -1,6 +1,6 @@import classNames from "classnames";import { useState } from "react";-import { ControllerRenderProps } from "react-hook-form";+import type { ControllerRenderProps } from "react-hook-form";import { FiEdit2 } from "@calcom/ui/components/icon";diff --git a/apps/web/components/ui/LinkIconButton.tsx b/apps/web/components/ui/LinkIconButton.tsxindex 7835330edb2..00ca1e926ec 100644--- a/apps/web/components/ui/LinkIconButton.tsx+++ b/apps/web/components/ui/LinkIconButton.tsx@@ -1,6 +1,6 @@import React from "react";-import { SVGComponent } from "@lib/types/SVGComponent";+import type { SVGComponent } from "@lib/types/SVGComponent";interface LinkIconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {Icon: SVGComponent;diff --git a/apps/web/components/ui/ModalContainer.tsx b/apps/web/components/ui/ModalContainer.tsxindex 03d061fc117..a55e63cc116 100644--- a/apps/web/components/ui/ModalContainer.tsx+++ b/apps/web/components/ui/ModalContainer.tsx@@ -1,5 +1,6 @@import classNames from "classnames";-import React, { PropsWithChildren } from "react";+import type { PropsWithChildren } from "react";+import React from "react";import { Dialog, DialogContent } from "@calcom/ui";diff --git a/apps/web/components/ui/UsernameAvailability/PremiumTextfield.tsx b/apps/web/components/ui/UsernameAvailability/PremiumTextfield.tsxindex 88eb17bf29f..3d81133c51a 100644--- a/apps/web/components/ui/UsernameAvailability/PremiumTextfield.tsx+++ b/apps/web/components/ui/UsernameAvailability/PremiumTextfield.tsx@@ -1,15 +1,17 @@import classNames from "classnames";import { debounce, noop } from "lodash";import { useRouter } from "next/router";-import { RefCallback, useEffect, useMemo, useState } from "react";+import type { RefCallback } from "react";+import { useEffect, useMemo, useState } from "react";import { getPremiumPlanPriceValue } from "@calcom/app-store/stripepayment/lib/utils";import { fetchUsername } from "@calcom/lib/fetchUsername";import hasKeyInMetadata from "@calcom/lib/hasKeyInMetadata";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { User } from "@calcom/prisma/client";-import { TRPCClientErrorLike } from "@calcom/trpc/client";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { User } from "@calcom/prisma/client";+import type { TRPCClientErrorLike } from "@calcom/trpc/client";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import type { AppRouter } from "@calcom/trpc/server/routers/_app";import { Button, Dialog, DialogClose, DialogContent, DialogHeader, Input, Label } from "@calcom/ui";import { FiCheck, FiEdit2, FiExternalLink, StarIconSolid } from "@calcom/ui/components/icon";diff --git a/apps/web/components/ui/UsernameAvailability/UsernameTextfield.tsx b/apps/web/components/ui/UsernameAvailability/UsernameTextfield.tsxindex 4ccc5b1296e..f672b94c709 100644--- a/apps/web/components/ui/UsernameAvailability/UsernameTextfield.tsx+++ b/apps/web/components/ui/UsernameAvailability/UsernameTextfield.tsx@@ -1,12 +1,13 @@import classNames from "classnames";import { debounce, noop } from "lodash";-import { RefCallback, useEffect, useMemo, useState } from "react";+import type { RefCallback } from "react";+import { useEffect, useMemo, useState } from "react";import { fetchUsername } from "@calcom/lib/fetchUsername";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { TRPCClientErrorLike } from "@calcom/trpc/client";+import type { TRPCClientErrorLike } from "@calcom/trpc/client";import { trpc } from "@calcom/trpc/react";-import { AppRouter } from "@calcom/trpc/server/routers/_app";+import type { AppRouter } from "@calcom/trpc/server/routers/_app";import { Button, Dialog, DialogClose, DialogContent, DialogHeader, TextField } from "@calcom/ui";import { FiCheck, FiEdit2 } from "@calcom/ui/components/icon";diff --git a/apps/web/components/ui/UsernameAvailability/index.tsx b/apps/web/components/ui/UsernameAvailability/index.tsxindex 2a673e2ea24..d2c1c9c5b17 100644--- a/apps/web/components/ui/UsernameAvailability/index.tsx+++ b/apps/web/components/ui/UsernameAvailability/index.tsx@@ -3,9 +3,9 @@ import { useState } from "react";import { Controller, useForm } from "react-hook-form";import { IS_SELF_HOSTED } from "@calcom/lib/constants";-import { User } from "@calcom/prisma/client";-import { TRPCClientErrorLike } from "@calcom/trpc/client";-import { AppRouter } from "@calcom/trpc/server/routers/_app";+import type { User } from "@calcom/prisma/client";+import type { TRPCClientErrorLike } from "@calcom/trpc/client";+import type { AppRouter } from "@calcom/trpc/server/routers/_app";import useRouterQuery from "@lib/hooks/useRouterQuery";diff --git a/apps/web/components/ui/form/CheckboxField.tsx b/apps/web/components/ui/form/CheckboxField.tsxindex edb92232f20..ba735bb89a1 100644--- a/apps/web/components/ui/form/CheckboxField.tsx+++ b/apps/web/components/ui/form/CheckboxField.tsx@@ -1,4 +1,5 @@-import React, { forwardRef, InputHTMLAttributes } from "react";+import type { InputHTMLAttributes } from "react";+import React, { forwardRef } from "react";import classNames from "@calcom/lib/classNames";diff --git a/apps/web/components/ui/form/CheckedSelect.tsx b/apps/web/components/ui/form/CheckedSelect.tsxindex 42225e66130..a44c00bab32 100644--- a/apps/web/components/ui/form/CheckedSelect.tsx+++ b/apps/web/components/ui/form/CheckedSelect.tsx@@ -1,5 +1,5 @@import React from "react";-import { Props } from "react-select";+import type { Props } from "react-select";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Avatar } from "@calcom/ui";diff --git a/apps/web/components/ui/form/LocationSelect.tsx b/apps/web/components/ui/form/LocationSelect.tsxindex 310826593b5..60b2e838da9 100644--- a/apps/web/components/ui/form/LocationSelect.tsx+++ b/apps/web/components/ui/form/LocationSelect.tsx@@ -1,4 +1,5 @@-import { components, GroupBase, Props, SingleValue } from "react-select";+import type { GroupBase, Props, SingleValue } from "react-select";+import { components } from "react-select";import type { EventLocationType } from "@calcom/app-store/locations";import { classNames } from "@calcom/lib";diff --git a/apps/web/components/ui/form/MinutesField.tsx b/apps/web/components/ui/form/MinutesField.tsxindex 16b5786f55c..8924431ad8d 100644--- a/apps/web/components/ui/form/MinutesField.tsx+++ b/apps/web/components/ui/form/MinutesField.tsx@@ -1,5 +1,6 @@import classNames from "classnames";-import React, { forwardRef, InputHTMLAttributes, ReactNode } from "react";+import type { InputHTMLAttributes, ReactNode } from "react";+import React, { forwardRef } from "react";type Props = InputHTMLAttributes<HTMLInputElement> & {label?: ReactNode;diff --git a/apps/web/components/ui/form/Select.tsx b/apps/web/components/ui/form/Select.tsxindex b1e552518eb..2005ab60a0b 100644--- a/apps/web/components/ui/form/Select.tsx+++ b/apps/web/components/ui/form/Select.tsx@@ -1,5 +1,6 @@import React, { useCallback, useEffect, useState } from "react";-import ReactSelect, { components, GroupBase, Props, InputProps, SingleValue, MultiValue } from "react-select";+import type { GroupBase, Props, InputProps, SingleValue, MultiValue } from "react-select";+import ReactSelect, { components } from "react-select";import classNames from "@calcom/lib/classNames";import useTheme from "@calcom/lib/hooks/useTheme";diff --git a/apps/web/lib/QueryCell.tsx b/apps/web/lib/QueryCell.tsxindex acefdc28841..aeeeedb007d 100644--- a/apps/web/lib/QueryCell.tsx+++ b/apps/web/lib/QueryCell.tsx@@ -1,11 +1,11 @@-import {+import type {QueryObserverLoadingErrorResult,QueryObserverLoadingResult,QueryObserverRefetchErrorResult,QueryObserverSuccessResult,UseQueryResult,} from "@tanstack/react-query";-import { ReactNode } from "react";+import type { ReactNode } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";import type { TRPCClientErrorLike } from "@calcom/trpc/client";diff --git a/apps/web/lib/app-providers.tsx b/apps/web/lib/app-providers.tsxindex 78b43d3d599..b302f7336fc 100644--- a/apps/web/lib/app-providers.tsx+++ b/apps/web/lib/app-providers.tsx@@ -1,11 +1,12 @@import { TooltipProvider } from "@radix-ui/react-tooltip";import { SessionProvider } from "next-auth/react";import { EventCollectionProvider } from "next-collect/client";-import { appWithTranslation, SSRConfig } from "next-i18next";+import type { SSRConfig } from "next-i18next";+import { appWithTranslation } from "next-i18next";import { ThemeProvider } from "next-themes";import type { AppProps as NextAppProps, AppProps as NextJsAppProps } from "next/app";-import { NextRouter } from "next/router";-import { ComponentProps, ReactNode } from "react";+import type { NextRouter } from "next/router";+import type { ComponentProps, ReactNode } from "react";import DynamicHelpscoutProvider from "@calcom/features/ee/support/lib/helpscout/providerDynamic";import DynamicIntercomProvider from "@calcom/features/ee/support/lib/intercom/providerDynamic";@@ -13,7 +14,7 @@ import { trpc } from "@calcom/trpc/react";import { MetaProvider } from "@calcom/ui";import usePublicPage from "@lib/hooks/usePublicPage";-import { WithNonceProps } from "@lib/withNonce";+import type { WithNonceProps } from "@lib/withNonce";const I18nextAdapter = appWithTranslation<NextJsAppProps<SSRConfig> & { children: React.ReactNode }>(({ children }) => <>{children}</>diff --git a/apps/web/lib/auth.ts b/apps/web/lib/auth.tsindex 32f3d85bc3f..cf2267e2082 100644--- a/apps/web/lib/auth.ts+++ b/apps/web/lib/auth.ts@@ -1,7 +1,8 @@import { IdentityProvider } from "@prisma/client";import { compare, hash } from "bcryptjs";-import { Session } from "next-auth";-import { getSession as getSessionInner, GetSessionParams } from "next-auth/react";+import type { Session } from "next-auth";+import type { GetSessionParams } from "next-auth/react";+import { getSession as getSessionInner } from "next-auth/react";/** @deprecated use the one from `@calcom/lib/auth` */export async function hashPassword(password: string) {diff --git a/apps/web/lib/auth/next-auth-custom-adapter.ts b/apps/web/lib/auth/next-auth-custom-adapter.tsindex 64aded038a7..cfa3c733b84 100644--- a/apps/web/lib/auth/next-auth-custom-adapter.ts+++ b/apps/web/lib/auth/next-auth-custom-adapter.ts@@ -1,4 +1,11 @@-import { Account, IdentityProvider, Prisma, PrismaClient, User, VerificationToken } from "@prisma/client";+import type {+ Account,+ IdentityProvider,+ Prisma,+ PrismaClient,+ User,+ VerificationToken,+} from "@prisma/client";import { PrismaClientKnownRequestError } from "@prisma/client/runtime";import { identityProviderNameMap } from "@lib/auth";diff --git a/apps/web/lib/config/next-seo.config.ts b/apps/web/lib/config/next-seo.config.tsindex 7e3e68f00dc..d58c47d5424 100644--- a/apps/web/lib/config/next-seo.config.ts+++ b/apps/web/lib/config/next-seo.config.ts@@ -1,4 +1,4 @@-import { DefaultSeoProps, NextSeoProps } from "next-seo";+import type { DefaultSeoProps, NextSeoProps } from "next-seo";import { APP_NAME, SEO_IMG_DEFAULT, SEO_IMG_OGIMG } from "@calcom/lib/constants";diff --git a/apps/web/lib/core/i18n/i18n.utils.ts b/apps/web/lib/core/i18n/i18n.utils.tsindex 9a4353a3a45..d951f681496 100644--- a/apps/web/lib/core/i18n/i18n.utils.ts+++ b/apps/web/lib/core/i18n/i18n.utils.ts@@ -1,7 +1,7 @@import parser from "accept-language-parser";-import { IncomingMessage } from "http";+import type { IncomingMessage } from "http";-import { Maybe } from "@calcom/trpc/server";+import type { Maybe } from "@calcom/trpc/server";import { getSession } from "@lib/auth";diff --git a/apps/web/lib/csp.ts b/apps/web/lib/csp.tsindex 8505f99dc7f..56deedd0a29 100644--- a/apps/web/lib/csp.ts+++ b/apps/web/lib/csp.ts@@ -1,5 +1,5 @@import crypto from "crypto";-import { IncomingMessage, OutgoingMessage } from "http";+import type { IncomingMessage, OutgoingMessage } from "http";import { z } from "zod";import { IS_PRODUCTION } from "@calcom/lib/constants";diff --git a/apps/web/lib/getBooking.tsx b/apps/web/lib/getBooking.tsxindex 4d76da72eda..a671734f8d8 100644--- a/apps/web/lib/getBooking.tsx+++ b/apps/web/lib/getBooking.tsx@@ -1,4 +1,4 @@-import { Prisma, PrismaClient } from "@prisma/client";+import type { Prisma, PrismaClient } from "@prisma/client";async function getBooking(prisma: PrismaClient, uid: string) {const booking = await prisma.booking.findFirst({diff --git a/apps/web/lib/mutations/bookings/create-booking.ts b/apps/web/lib/mutations/bookings/create-booking.tsindex 727432b498a..e933800e4fc 100644--- a/apps/web/lib/mutations/bookings/create-booking.ts+++ b/apps/web/lib/mutations/bookings/create-booking.ts@@ -1,5 +1,5 @@import * as fetch from "@lib/core/http/fetch-wrapper";-import { BookingCreateBody, BookingResponse } from "@lib/types/booking";+import type { BookingCreateBody, BookingResponse } from "@lib/types/booking";const createBooking = async (data: BookingCreateBody) => {const response = await fetch.post<BookingCreateBody, BookingResponse>("/api/book/event", data);diff --git a/apps/web/lib/mutations/bookings/create-recurring-booking.ts b/apps/web/lib/mutations/bookings/create-recurring-booking.tsindex 1485b8a1e46..edde4a16e60 100644--- a/apps/web/lib/mutations/bookings/create-recurring-booking.ts+++ b/apps/web/lib/mutations/bookings/create-recurring-booking.ts@@ -1,7 +1,7 @@-import { AppsStatus } from "@calcom/types/Calendar";+import type { AppsStatus } from "@calcom/types/Calendar";import * as fetch from "@lib/core/http/fetch-wrapper";-import { BookingCreateBody, BookingResponse } from "@lib/types/booking";+import type { BookingCreateBody, BookingResponse } from "@lib/types/booking";type ExtendedBookingCreateBody = BookingCreateBody & {noEmail?: boolean;diff --git a/apps/web/lib/parseDate.ts b/apps/web/lib/parseDate.tsindex 0a141d2a84d..5da576358e6 100644--- a/apps/web/lib/parseDate.ts+++ b/apps/web/lib/parseDate.ts@@ -1,7 +1,8 @@-import { I18n } from "next-i18next";+import type { I18n } from "next-i18next";import { RRule } from "rrule";-import dayjs, { Dayjs } from "@calcom/dayjs";+import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import { detectBrowserTimeFormat } from "@calcom/lib/timeFormat";import type { RecurringEvent } from "@calcom/types/Calendar";diff --git a/apps/web/lib/types/booking.ts b/apps/web/lib/types/booking.tsindex 52efa4ada78..472384b30a6 100644--- a/apps/web/lib/types/booking.ts+++ b/apps/web/lib/types/booking.ts@@ -1,6 +1,6 @@-import { Attendee, Booking } from "@prisma/client";+import type { Attendee, Booking } from "@prisma/client";-import { AppsStatus } from "@calcom/types/Calendar";+import type { AppsStatus } from "@calcom/types/Calendar";export type BookingCreateBody = {email: string;diff --git a/apps/web/lib/withEmbedSsr.tsx b/apps/web/lib/withEmbedSsr.tsxindex 3f269f77bc5..26c0be9bde4 100644--- a/apps/web/lib/withEmbedSsr.tsx+++ b/apps/web/lib/withEmbedSsr.tsx@@ -1,4 +1,4 @@-import { GetServerSideProps, GetServerSidePropsContext, GetServerSidePropsResult } from "next";+import type { GetServerSideProps, GetServerSidePropsContext, GetServerSidePropsResult } from "next";export type EmbedProps = {isEmbed?: boolean;diff --git a/apps/web/lib/withNonce.tsx b/apps/web/lib/withNonce.tsxindex a07f901b8ff..b720daf3d02 100644--- a/apps/web/lib/withNonce.tsx+++ b/apps/web/lib/withNonce.tsx@@ -1,4 +1,4 @@-import { GetServerSideProps, GetServerSidePropsContext } from "next";+import type { GetServerSideProps, GetServerSidePropsContext } from "next";import { csp } from "@lib/csp";diff --git a/apps/web/middleware.ts b/apps/web/middleware.tsindex 143445d58bb..ca5eb7e6a4b 100644--- a/apps/web/middleware.ts+++ b/apps/web/middleware.ts@@ -1,6 +1,7 @@import { get } from "@vercel/edge-config";import { collectEvents } from "next-collect/server";-import { NextMiddleware, NextResponse, userAgent } from "next/server";+import type { NextMiddleware } from "next/server";+import { NextResponse, userAgent } from "next/server";import { CONSOLE_URL, WEBAPP_URL, WEBSITE_URL } from "@calcom/lib/constants";import { isIpInBanlist } from "@calcom/lib/getIP";diff --git a/apps/web/package.json b/apps/web/package.jsonindex 89db8fafb36..a85770f5089 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -50,7 +50,7 @@"@radix-ui/react-dialog": "^1.0.0","@radix-ui/react-dropdown-menu": "^1.0.0","@radix-ui/react-id": "^1.0.0",- "@radix-ui/react-popover": "^1.0.0",+ "@radix-ui/react-popover": "^1.0.2","@radix-ui/react-radio-group": "^1.0.0","@radix-ui/react-slider": "^1.0.0","@radix-ui/react-switch": "^1.0.0",@@ -69,7 +69,7 @@"bcryptjs": "^2.4.3","classnames": "^2.3.1","dotenv-cli": "^6.0.0",- "eslint-config-next": "^13.1.1",+ "eslint-config-next": "^13.1.6","googleapis": "^84.0.0","gray-matter": "^4.0.3","handlebars": "^4.7.7",@@ -81,10 +81,10 @@"lottie-react": "^2.3.1","markdown-it": "^13.0.1","memory-cache": "^0.2.0",- "micro": "^9.4.1",+ "micro": "^10.0.1","mime-types": "^2.1.35","next": "^13.1.1",- "next-auth": "^4.10.3",+ "next-auth": "^4.18.8","next-axiom": "^0.16.0","next-collect": "^0.2.1","next-i18next": "^11.3.0",@@ -146,7 +146,7 @@"@types/node": "16.9.1","@types/nodemailer": "^6.4.5","@types/qrcode": "^1.4.3",- "@types/react": "^18.0.17",+ "@types/react": "18.0.26","@types/react-phone-number-input": "^3.0.14","@types/react-virtualized-auto-sizer": "^1.0.1","@types/react-window": "^1.8.5",@@ -157,7 +157,7 @@"copy-webpack-plugin": "^11.0.0","detect-port": "^1.3.0","env-cmd": "^10.1.0",- "eslint": "^8.22.0",+ "eslint": "^8.34.0","mockdate": "^3.0.5","module-alias": "^2.2.2","msw": "^0.42.3",diff --git a/apps/web/pages/404.tsx b/apps/web/pages/404.tsxindex 5aa7f89cfd5..7d7abeef0eb 100644--- a/apps/web/pages/404.tsx+++ b/apps/web/pages/404.tsx@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";import Link from "next/link";import { useRouter } from "next/router";import { useEffect, useState } from "react";diff --git a/apps/web/pages/[user].tsx b/apps/web/pages/[user].tsxindex cbeb12b59c9..88f4c4f88fe 100644--- a/apps/web/pages/[user].tsx+++ b/apps/web/pages/[user].tsx@@ -1,6 +1,6 @@import classNames from "classnames";import MarkdownIt from "markdown-it";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import Link from "next/link";import { useRouter } from "next/router";import { useEffect } from "react";@@ -30,8 +30,8 @@ import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { HeadSeo, AvatarGroup, Avatar } from "@calcom/ui";import { BadgeCheckIcon, FiArrowRight } from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";-import { EmbedProps } from "@lib/withEmbedSsr";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { EmbedProps } from "@lib/withEmbedSsr";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/[user]/[type].tsx b/apps/web/pages/[user]/[type].tsxindex 998f4d0967b..11c4da78a44 100644--- a/apps/web/pages/[user]/[type].tsx+++ b/apps/web/pages/[user]/[type].tsx@@ -1,15 +1,16 @@import MarkdownIt from "markdown-it";-import { GetStaticPaths, GetStaticPropsContext } from "next";+import type { GetStaticPaths, GetStaticPropsContext } from "next";import { z } from "zod";-import { privacyFilteredLocations, LocationObject } from "@calcom/app-store/locations";+import type { LocationObject } from "@calcom/app-store/locations";+import { privacyFilteredLocations } from "@calcom/app-store/locations";import { getAppFromSlug } from "@calcom/app-store/utils";import { IS_TEAM_BILLING_ENABLED, WEBAPP_URL } from "@calcom/lib/constants";import { getDefaultEvent, getGroupName, getUsernameList } from "@calcom/lib/defaultEvents";import { useLocale } from "@calcom/lib/hooks/useLocale";import { parseRecurringEvent } from "@calcom/lib/isRecurringEvent";import prisma from "@calcom/prisma";-import { User } from "@calcom/prisma/client";+import type { User } from "@calcom/prisma/client";import {EventTypeMetaDataSchema,teamMetadataSchema,@@ -17,8 +18,8 @@ import {} from "@calcom/prisma/zod-utils";import { isBrandingHidden } from "@lib/isBrandingHidden";-import { inferSSRProps } from "@lib/types/inferSSRProps";-import { EmbedProps } from "@lib/withEmbedSsr";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { EmbedProps } from "@lib/withEmbedSsr";import AvailabilityPage from "@components/booking/pages/AvailabilityPage";@@ -132,7 +133,7 @@ async function getUserPageProps(context: GetStaticPropsContext) {if (!user || !user.eventTypes.length) return { notFound: true };- const [eventType]: (typeof user.eventTypes[number] & {+ const [eventType]: ((typeof user.eventTypes)[number] & {users: Pick<User, "name" | "username" | "hideBranding" | "timeZone">[];})[] = [{diff --git a/apps/web/pages/[user]/[type]/embed.tsx b/apps/web/pages/[user]/[type]/embed.tsxindex 4b701ce1510..31d34e03f44 100644--- a/apps/web/pages/[user]/[type]/embed.tsx+++ b/apps/web/pages/[user]/[type]/embed.tsx@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";import { getStaticProps as _getStaticProps } from "../[type]";diff --git a/apps/web/pages/[user]/book.tsx b/apps/web/pages/[user]/book.tsxindex 81e24e6387f..aa05a953a90 100644--- a/apps/web/pages/[user]/book.tsx+++ b/apps/web/pages/[user]/book.tsx@@ -1,6 +1,7 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";-import { LocationObject, privacyFilteredLocations } from "@calcom/app-store/locations";+import type { LocationObject } from "@calcom/app-store/locations";+import { privacyFilteredLocations } from "@calcom/app-store/locations";import { getAppFromSlug } from "@calcom/app-store/utils";import { parseRecurringEvent } from "@calcom/lib";import {@@ -19,8 +20,9 @@ import {} from "@calcom/prisma/zod-utils";import { asStringOrNull, asStringOrThrow } from "@lib/asStringOrNull";-import getBooking, { GetBookingType } from "@lib/getBooking";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { GetBookingType } from "@lib/getBooking";+import getBooking from "@lib/getBooking";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import BookingPage from "@components/booking/pages/BookingPage";diff --git a/apps/web/pages/[user]/calendar-cache/[month].tsx b/apps/web/pages/[user]/calendar-cache/[month].tsxindex 423eedc0545..d1a8bfbf54c 100644--- a/apps/web/pages/[user]/calendar-cache/[month].tsx+++ b/apps/web/pages/[user]/calendar-cache/[month].tsx@@ -3,7 +3,7 @@* caching system that NextJS uses SSG pages.* TODO: Redirect to user profile on browser*/-import { GetStaticPaths, GetStaticProps } from "next";+import type { GetStaticPaths, GetStaticProps } from "next";import { z } from "zod";import { getCachedResults } from "@calcom/core";diff --git a/apps/web/pages/_app.tsx b/apps/web/pages/_app.tsxindex c83f7c88b4f..a086947b011 100644--- a/apps/web/pages/_app.tsx+++ b/apps/web/pages/_app.tsx@@ -6,7 +6,8 @@ import "@calcom/embed-core/src/embed-iframe";import LicenseRequired from "@calcom/features/ee/common/components/LicenseRequired";import { trpc } from "@calcom/trpc/react";-import AppProviders, { AppProps } from "@lib/app-providers";+import type { AppProps } from "@lib/app-providers";+import AppProviders from "@lib/app-providers";import { seoConfig } from "@lib/config/next-seo.config";import I18nLanguageHandler from "@components/I18nLanguageHandler";diff --git a/apps/web/pages/_document.tsx b/apps/web/pages/_document.tsxindex c5a42edc03b..eddbff9943a 100644--- a/apps/web/pages/_document.tsx+++ b/apps/web/pages/_document.tsx@@ -1,4 +1,5 @@-import Document, { DocumentContext, Head, Html, Main, NextScript, DocumentProps } from "next/document";+import type { DocumentContext, DocumentProps } from "next/document";+import Document, { Head, Html, Main, NextScript } from "next/document";import Script from "next/script";import { z } from "zod";diff --git a/apps/web/pages/_error.tsx b/apps/web/pages/_error.tsxindex bc98d49d22c..528294e7a5a 100644--- a/apps/web/pages/_error.tsx+++ b/apps/web/pages/_error.tsx@@ -3,8 +3,9 @@* @link https://nextjs.org/docs/advanced-features/custom-error-page*/import * as Sentry from "@sentry/nextjs";-import { NextPage, NextPageContext } from "next";-import NextError, { ErrorProps } from "next/error";+import type { NextPage, NextPageContext } from "next";+import type { ErrorProps } from "next/error";+import NextError from "next/error";import React from "react";import { getErrorFromUnknown } from "@calcom/lib/errors";diff --git a/apps/web/pages/api/auth/[...nextauth].tsx b/apps/web/pages/api/auth/[...nextauth].tsxindex 54976e82025..4030bdbd6d1 100644--- a/apps/web/pages/api/auth/[...nextauth].tsx+++ b/apps/web/pages/api/auth/[...nextauth].tsx@@ -1,13 +1,16 @@-import { IdentityProvider, UserPermissionRole } from "@prisma/client";+import type { UserPermissionRole } from "@prisma/client";+import { IdentityProvider } from "@prisma/client";import { readFileSync } from "fs";import Handlebars from "handlebars";-import NextAuth, { Session } from "next-auth";+import type { Session } from "next-auth";+import NextAuth from "next-auth";import { encode } from "next-auth/jwt";-import { Provider } from "next-auth/providers";+import type { Provider } from "next-auth/providers";import CredentialsProvider from "next-auth/providers/credentials";import EmailProvider from "next-auth/providers/email";import GoogleProvider from "next-auth/providers/google";-import nodemailer, { TransportOptions } from "nodemailer";+import type { TransportOptions } from "nodemailer";+import nodemailer from "nodemailer";import { authenticator } from "otplib";import path from "path";diff --git a/apps/web/pages/api/auth/forgot-password.ts b/apps/web/pages/api/auth/forgot-password.tsindex 2e31ebace51..c9bd0797975 100644--- a/apps/web/pages/api/auth/forgot-password.ts+++ b/apps/web/pages/api/auth/forgot-password.ts@@ -1,5 +1,5 @@-import { ResetPasswordRequest } from "@prisma/client";-import { NextApiRequest, NextApiResponse } from "next";+import type { ResetPasswordRequest } from "@prisma/client";+import type { NextApiRequest, NextApiResponse } from "next";import dayjs from "@calcom/dayjs";import { sendPasswordResetEmail } from "@calcom/emails";diff --git a/apps/web/pages/api/auth/oidc.ts b/apps/web/pages/api/auth/oidc.tsindex 1cd2af2c693..f8cd8799eb6 100644--- a/apps/web/pages/api/auth/oidc.ts+++ b/apps/web/pages/api/auth/oidc.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import jackson from "@calcom/features/ee/sso/lib/jackson";diff --git a/apps/web/pages/api/auth/reset-password.ts b/apps/web/pages/api/auth/reset-password.tsindex 16db8d1fa03..56504a505b0 100644--- a/apps/web/pages/api/auth/reset-password.ts+++ b/apps/web/pages/api/auth/reset-password.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import prisma from "@calcom/prisma";diff --git a/apps/web/pages/api/auth/saml/authorize.ts b/apps/web/pages/api/auth/saml/authorize.tsindex 7dd9acd8651..8d42bec42eb 100644--- a/apps/web/pages/api/auth/saml/authorize.ts+++ b/apps/web/pages/api/auth/saml/authorize.ts@@ -1,9 +1,9 @@-import { OAuthReq } from "@boxyhq/saml-jackson";-import { NextApiRequest, NextApiResponse } from "next";+import type { OAuthReq } from "@boxyhq/saml-jackson";+import type { NextApiRequest, NextApiResponse } from "next";import jackson from "@calcom/features/ee/sso/lib/jackson";-import { HttpError } from "@lib/core/http/error";+import type { HttpError } from "@lib/core/http/error";export default async function handler(req: NextApiRequest, res: NextApiResponse) {const { oauthController } = await jackson();diff --git a/apps/web/pages/api/auth/saml/callback.ts b/apps/web/pages/api/auth/saml/callback.tsindex f7c91928ffb..fd51d973149 100644--- a/apps/web/pages/api/auth/saml/callback.ts+++ b/apps/web/pages/api/auth/saml/callback.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import jackson from "@calcom/features/ee/sso/lib/jackson";import { defaultHandler, defaultResponder } from "@calcom/lib/server";diff --git a/apps/web/pages/api/auth/saml/token.ts b/apps/web/pages/api/auth/saml/token.tsindex 703a0108504..dce000f4840 100644--- a/apps/web/pages/api/auth/saml/token.ts+++ b/apps/web/pages/api/auth/saml/token.ts@@ -1,4 +1,4 @@-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";import jackson from "@calcom/features/ee/sso/lib/jackson";import { defaultHandler, defaultResponder } from "@calcom/lib/server";diff --git a/apps/web/pages/api/auth/saml/userinfo.ts b/apps/web/pages/api/auth/saml/userinfo.tsindex e408357a379..b2caa1691f9 100644--- a/apps/web/pages/api/auth/saml/userinfo.ts+++ b/apps/web/pages/api/auth/saml/userinfo.ts@@ -1,4 +1,4 @@-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";import z from "zod";import jackson from "@calcom/features/ee/sso/lib/jackson";diff --git a/apps/web/pages/api/auth/setup.ts b/apps/web/pages/api/auth/setup.tsindex c44caec0596..fc5186bd29e 100644--- a/apps/web/pages/api/auth/setup.ts+++ b/apps/web/pages/api/auth/setup.ts@@ -1,5 +1,5 @@import { IdentityProvider } from "@prisma/client";-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";import z from "zod";import { isPasswordValid } from "@calcom/lib/auth";diff --git a/apps/web/pages/api/auth/signup.ts b/apps/web/pages/api/auth/signup.tsindex a838f0d47d5..5d098a772fa 100644--- a/apps/web/pages/api/auth/signup.ts+++ b/apps/web/pages/api/auth/signup.ts@@ -1,5 +1,5 @@import { IdentityProvider } from "@prisma/client";-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { hashPassword } from "@calcom/lib/auth";import slugify from "@calcom/lib/slugify";diff --git a/apps/web/pages/api/auth/two-factor/totp/disable.ts b/apps/web/pages/api/auth/two-factor/totp/disable.tsindex 02e83a66f92..7dc05572259 100644--- a/apps/web/pages/api/auth/two-factor/totp/disable.ts+++ b/apps/web/pages/api/auth/two-factor/totp/disable.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { authenticator } from "otplib";import { symmetricDecrypt } from "@calcom/lib/crypto";diff --git a/apps/web/pages/api/auth/two-factor/totp/enable.ts b/apps/web/pages/api/auth/two-factor/totp/enable.tsindex 5a580a39cc3..6f95a4b8a98 100644--- a/apps/web/pages/api/auth/two-factor/totp/enable.ts+++ b/apps/web/pages/api/auth/two-factor/totp/enable.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { authenticator } from "otplib";import { symmetricDecrypt } from "@calcom/lib/crypto";diff --git a/apps/web/pages/api/auth/two-factor/totp/setup.ts b/apps/web/pages/api/auth/two-factor/totp/setup.tsindex 565c5c33911..e40f5622f80 100644--- a/apps/web/pages/api/auth/two-factor/totp/setup.ts+++ b/apps/web/pages/api/auth/two-factor/totp/setup.ts@@ -1,5 +1,5 @@import { IdentityProvider } from "@prisma/client";-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { authenticator } from "otplib";import qrcode from "qrcode";diff --git a/apps/web/pages/api/email.ts b/apps/web/pages/api/email.tsindex 8681aa3d654..e353dfa4c69 100644--- a/apps/web/pages/api/email.ts+++ b/apps/web/pages/api/email.ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { renderEmail } from "@calcom/emails";import { getTranslation } from "@calcom/lib/server/i18n";diff --git a/apps/web/pages/api/integrations/[...args].ts b/apps/web/pages/api/integrations/[...args].tsindex b1598dfd3a6..f72574cac63 100644--- a/apps/web/pages/api/integrations/[...args].ts+++ b/apps/web/pages/api/integrations/[...args].ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import type { Session } from "next-auth";import getInstalledAppPath from "@calcom/app-store/_utils/getInstalledAppPath";diff --git a/apps/web/pages/api/revalidate-calendar-cache/[username].ts b/apps/web/pages/api/revalidate-calendar-cache/[username].tsindex 1c377294663..3b42b64b46e 100644--- a/apps/web/pages/api/revalidate-calendar-cache/[username].ts+++ b/apps/web/pages/api/revalidate-calendar-cache/[username].ts@@ -1,4 +1,4 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import { z } from "zod";import { revalidateCalendarCache } from "@calcom/lib/server/revalidateCalendarCache";diff --git a/apps/web/pages/api/social/og/image.tsx b/apps/web/pages/api/social/og/image.tsxindex c82f97fc5ea..6c71d8256aa 100644--- a/apps/web/pages/api/social/og/image.tsx+++ b/apps/web/pages/api/social/og/image.tsx@@ -1,5 +1,5 @@import { ImageResponse } from "@vercel/og";-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";import type { SatoriOptions } from "satori";import { z } from "zod";diff --git a/apps/web/pages/apps/[slug]/[...pages].tsx b/apps/web/pages/apps/[slug]/[...pages].tsxindex 80c3fd0f6e8..2c1729009a4 100644--- a/apps/web/pages/apps/[slug]/[...pages].tsx+++ b/apps/web/pages/apps/[slug]/[...pages].tsx@@ -1,12 +1,12 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useRouter } from "next/router";import RoutingFormsRoutingConfig from "@calcom/app-store/ee/routing-forms/pages/app-routing.config";import TypeformRoutingConfig from "@calcom/app-store/typeform/pages/app-routing.config";import prisma from "@calcom/prisma";-import { AppGetServerSideProps } from "@calcom/types/AppGetServerSideProps";+import type { AppGetServerSideProps } from "@calcom/types/AppGetServerSideProps";-import { AppProps } from "@lib/app-providers";+import type { AppProps } from "@lib/app-providers";import { getSession } from "@lib/auth";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/apps/[slug]/index.tsx b/apps/web/pages/apps/[slug]/index.tsxindex 03c3ffe37b1..fc6398cc1b0 100644--- a/apps/web/pages/apps/[slug]/index.tsx+++ b/apps/web/pages/apps/[slug]/index.tsx@@ -1,14 +1,14 @@import fs from "fs";import matter from "gray-matter";import MarkdownIt from "markdown-it";-import { GetStaticPaths, GetStaticPropsContext } from "next";+import type { GetStaticPaths, GetStaticPropsContext } from "next";import path from "path";import { getAppWithMetadata } from "@calcom/app-store/_appRegistry";import ExisitingGoogleCal from "@calcom/app-store/googlevideo/components/ExistingGoogleCal";import prisma from "@calcom/prisma";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import App from "@components/apps/App";diff --git a/apps/web/pages/apps/[slug]/setup.tsx b/apps/web/pages/apps/[slug]/setup.tsxindex d72d29e2e22..f2d840d1a3a 100644--- a/apps/web/pages/apps/[slug]/setup.tsx+++ b/apps/web/pages/apps/[slug]/setup.tsx@@ -1,4 +1,4 @@-import { GetStaticPaths, InferGetStaticPropsType } from "next";+import type { GetStaticPaths, InferGetStaticPropsType } from "next";import { useSession } from "next-auth/react";import { useRouter } from "next/router";diff --git a/apps/web/pages/apps/categories/[category].tsx b/apps/web/pages/apps/categories/[category].tsxindex 1d0e638125f..3829db74709 100644--- a/apps/web/pages/apps/categories/[category].tsx+++ b/apps/web/pages/apps/categories/[category].tsx@@ -1,5 +1,5 @@import { AppCategories } from "@prisma/client";-import { GetStaticPropsContext, InferGetStaticPropsType } from "next";+import type { GetStaticPropsContext, InferGetStaticPropsType } from "next";import Link from "next/link";import { useRouter } from "next/router";diff --git a/apps/web/pages/apps/categories/index.tsx b/apps/web/pages/apps/categories/index.tsxindex 7cfbcef51cf..0fc363b4e68 100644--- a/apps/web/pages/apps/categories/index.tsx+++ b/apps/web/pages/apps/categories/index.tsx@@ -1,4 +1,4 @@-import { InferGetStaticPropsType } from "next";+import type { InferGetStaticPropsType } from "next";import Link from "next/link";import { getAppRegistry } from "@calcom/app-store/_appRegistry";diff --git a/apps/web/pages/apps/index.tsx b/apps/web/pages/apps/index.tsxindex b244b369976..974c1918c74 100644--- a/apps/web/pages/apps/index.tsx+++ b/apps/web/pages/apps/index.tsx@@ -1,20 +1,15 @@-import { GetServerSidePropsContext } from "next";-import { ChangeEventHandler, useState } from "react";+import type { GetServerSidePropsContext } from "next";+import type { ChangeEventHandler } from "react";+import { useState } from "react";import { getAppRegistry, getAppRegistryWithCredentials } from "@calcom/app-store/_appRegistry";import { classNames } from "@calcom/lib";import { getSession } from "@calcom/lib/auth";import { useLocale } from "@calcom/lib/hooks/useLocale";import type { AppCategories } from "@calcom/prisma/client";-import { inferSSRProps } from "@calcom/types/inferSSRProps";-import {- AllApps,- AppStoreCategories,- HorizontalTabItemProps,- HorizontalTabs,- TextField,- PopularAppsSlider,-} from "@calcom/ui";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { HorizontalTabItemProps } from "@calcom/ui";+import { AllApps, AppStoreCategories, HorizontalTabs, TextField, PopularAppsSlider } from "@calcom/ui";import { FiSearch } from "@calcom/ui/components/icon";import AppsLayout from "@components/apps/layouts/AppsLayout";diff --git a/apps/web/pages/apps/installed/[category].tsx b/apps/web/pages/apps/installed/[category].tsxindex 94fbc01f10c..f5e9a0f528d 100644--- a/apps/web/pages/apps/installed/[category].tsx+++ b/apps/web/pages/apps/installed/[category].tsx@@ -4,14 +4,16 @@ import z from "zod";import { AppSettings } from "@calcom/app-store/_components/AppSettings";import { InstallAppButton } from "@calcom/app-store/components";-import { EventLocationType, getEventLocationTypeFromApp } from "@calcom/app-store/locations";+import type { EventLocationType } from "@calcom/app-store/locations";+import { getEventLocationTypeFromApp } from "@calcom/app-store/locations";import { InstalledAppVariants } from "@calcom/app-store/utils";import { AppSetDefaultLinkDailog } from "@calcom/features/apps/components/AppSetDefaultLinkDialog";import DisconnectIntegrationModal from "@calcom/features/apps/components/DisconnectIntegrationModal";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterOutputs, trpc } from "@calcom/trpc/react";-import { App } from "@calcom/types/App";-import { AppGetServerSidePropsContext } from "@calcom/types/AppGetServerSideProps";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";+import type { App } from "@calcom/types/App";+import type { AppGetServerSidePropsContext } from "@calcom/types/AppGetServerSideProps";import {Alert,Button,@@ -97,8 +99,8 @@ function ConnectOrDisconnectIntegrationMenuItem(props: {}interface IntegrationsContainerProps {- variant?: typeof InstalledAppVariants[number];- exclude?: typeof InstalledAppVariants[number][];+ variant?: (typeof InstalledAppVariants)[number];+ exclude?: (typeof InstalledAppVariants)[number][];handleDisconnect: (credentialId: number) => void;}diff --git a/apps/web/pages/auth/error.tsx b/apps/web/pages/auth/error.tsxindex 8179fa99e23..e76d12cea2d 100644--- a/apps/web/pages/auth/error.tsx+++ b/apps/web/pages/auth/error.tsx@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";import Link from "next/link";import { useRouter } from "next/router";import z from "zod";diff --git a/apps/web/pages/auth/forgot-password/[id].tsx b/apps/web/pages/auth/forgot-password/[id].tsxindex 35450c2f596..145a396b7d5 100644--- a/apps/web/pages/auth/forgot-password/[id].tsx+++ b/apps/web/pages/auth/forgot-password/[id].tsx@@ -1,6 +1,6 @@-import { ResetPasswordRequest } from "@prisma/client";+import type { ResetPasswordRequest } from "@prisma/client";import debounce from "lodash/debounce";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getCsrfToken } from "next-auth/react";import Link from "next/link";import React, { useMemo } from "react";diff --git a/apps/web/pages/auth/forgot-password/index.tsx b/apps/web/pages/auth/forgot-password/index.tsxindex b995d33c4cb..08becc2793b 100644--- a/apps/web/pages/auth/forgot-password/index.tsx+++ b/apps/web/pages/auth/forgot-password/index.tsx@@ -1,9 +1,10 @@import debounce from "lodash/debounce";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getCsrfToken } from "next-auth/react";import Link from "next/link";import { useRouter } from "next/router";-import React, { SyntheticEvent } from "react";+import type { SyntheticEvent } from "react";+import React from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Button, EmailField } from "@calcom/ui";diff --git a/apps/web/pages/auth/login.tsx b/apps/web/pages/auth/login.tsxindex c9876f18009..9f1f6f148e8 100644--- a/apps/web/pages/auth/login.tsx+++ b/apps/web/pages/auth/login.tsx@@ -1,5 +1,5 @@import classNames from "classnames";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getCsrfToken, signIn } from "next-auth/react";import Link from "next/link";import { useRouter } from "next/router";@@ -18,8 +18,9 @@ import prisma from "@calcom/prisma";import { Alert, Button, EmailField, PasswordField } from "@calcom/ui";import { FiArrowLeft } from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";-import withNonce, { WithNonceProps } from "@lib/withNonce";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { WithNonceProps } from "@lib/withNonce";+import withNonce from "@lib/withNonce";import AddToHomescreen from "@components/AddToHomescreen";import TwoFactor from "@components/auth/TwoFactor";diff --git a/apps/web/pages/auth/logout.tsx b/apps/web/pages/auth/logout.tsxindex 587a9cfbe06..686546fd13a 100644--- a/apps/web/pages/auth/logout.tsx+++ b/apps/web/pages/auth/logout.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { signOut, useSession } from "next-auth/react";import { useRouter } from "next/router";import { useEffect } from "react";@@ -8,7 +8,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";import { Button } from "@calcom/ui";import { FiCheck } from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import AuthContainer from "@components/ui/AuthContainer";diff --git a/apps/web/pages/auth/setup/index.tsx b/apps/web/pages/auth/setup/index.tsxindex 4f88a28d83f..fd8a75ea5ff 100644--- a/apps/web/pages/auth/setup/index.tsx+++ b/apps/web/pages/auth/setup/index.tsx@@ -1,5 +1,5 @@import { UserPermissionRole } from "@prisma/client";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useRouter } from "next/router";import { useState } from "react";@@ -8,7 +8,7 @@ import { getDeploymentKey } from "@calcom/features/ee/deployment/lib/getDeploymeimport { getSession } from "@calcom/lib/auth";import { useLocale } from "@calcom/lib/hooks/useLocale";import prisma from "@calcom/prisma";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { Meta, WizardForm } from "@calcom/ui";import { AdminUserContainer as AdminUser } from "@components/setup/AdminUser";diff --git a/apps/web/pages/auth/signin.tsx b/apps/web/pages/auth/signin.tsxindex 0d0e78f1734..8c6f542e16b 100644--- a/apps/web/pages/auth/signin.tsx+++ b/apps/web/pages/auth/signin.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getProviders, signIn, getSession, getCsrfToken } from "next-auth/react";import { Button } from "@calcom/ui";diff --git a/apps/web/pages/auth/sso/[provider].tsx b/apps/web/pages/auth/sso/[provider].tsxindex 2f63d5044e5..ab81a482a8f 100644--- a/apps/web/pages/auth/sso/[provider].tsx+++ b/apps/web/pages/auth/sso/[provider].tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { signIn } from "next-auth/react";import { useRouter } from "next/router";import { useEffect } from "react";@@ -17,7 +17,7 @@ import prisma from "@calcom/prisma";import { asStringOrNull } from "@lib/asStringOrNull";import { getSession } from "@lib/auth";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/availability/[schedule].tsx b/apps/web/pages/availability/[schedule].tsxindex cbd5663f461..9b8673d75e9 100644--- a/apps/web/pages/availability/[schedule].tsx+++ b/apps/web/pages/availability/[schedule].tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { Controller, useFieldArray, useForm } from "react-hook-form";import { z } from "zod";diff --git a/apps/web/pages/availability/index.tsx b/apps/web/pages/availability/index.tsxindex c12f8c40d95..7c6f79a2a65 100644--- a/apps/web/pages/availability/index.tsx+++ b/apps/web/pages/availability/index.tsx@@ -1,10 +1,11 @@import { useAutoAnimate } from "@formkit/auto-animate/react";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { NewScheduleButton, ScheduleListItem } from "@calcom/features/schedules";import Shell from "@calcom/features/shell/Shell";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import { EmptyScreen, showToast } from "@calcom/ui";import { FiClock } from "@calcom/ui/components/icon";diff --git a/apps/web/pages/availability/troubleshoot.tsx b/apps/web/pages/availability/troubleshoot.tsxindex e39e75d1221..5290c7edaca 100644--- a/apps/web/pages/availability/troubleshoot.tsx+++ b/apps/web/pages/availability/troubleshoot.tsx@@ -1,7 +1,8 @@import dayjs from "@calcom/dayjs";import Shell from "@calcom/features/shell/Shell";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import { SkeletonText } from "@calcom/ui";import useRouterQuery from "@lib/hooks/useRouterQuery";diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsxindex f88475b53c4..e4f945c0d9f 100644--- a/apps/web/pages/booking/[uid].tsx+++ b/apps/web/pages/booking/[uid].tsx@@ -2,7 +2,7 @@ import { BookingStatus, WorkflowActions } from "@prisma/client";import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";import classNames from "classnames";import { createEvent } from "ics";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useSession } from "next-auth/react";import Link from "next/link";import { useRouter } from "next/router";@@ -11,14 +11,12 @@ import { RRule } from "rrule";import { z } from "zod";import BookingPageTagManager from "@calcom/app-store/BookingPageTagManager";-import {- getEventLocationValue,- getSuccessPageLocationMessage,- guessEventLocationType,-} from "@calcom/app-store/locations";+import type { getEventLocationValue } from "@calcom/app-store/locations";+import { getSuccessPageLocationMessage, guessEventLocationType } from "@calcom/app-store/locations";import { getEventTypeAppData } from "@calcom/app-store/utils";import { getEventName } from "@calcom/core/event";-import dayjs, { ConfigType } from "@calcom/dayjs";+import type { ConfigType } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import {sdkActionManager,useEmbedNonStylesConfig,@@ -41,14 +39,14 @@ import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcoimport { getIs24hClockFromLocalStorage, isBrowserLocale24h } from "@calcom/lib/timeFormat";import { localStorage } from "@calcom/lib/webstorage";import prisma from "@calcom/prisma";-import { Prisma } from "@calcom/prisma/client";+import type { Prisma } from "@calcom/prisma/client";import { bookingMetadataSchema } from "@calcom/prisma/zod-utils";import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { Button, EmailInput, HeadSeo } from "@calcom/ui";import { FiX, FiExternalLink, FiChevronLeft, FiCheck, FiCalendar } from "@calcom/ui/components/icon";import { timeZone } from "@lib/clock";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import CancelBooking from "@components/booking/CancelBooking";import EventReservationSchema from "@components/schemas/EventReservationSchema";diff --git a/apps/web/pages/bookings/[status].tsx b/apps/web/pages/bookings/[status].tsxindex a2faa081215..d3b036b1470 100644--- a/apps/web/pages/bookings/[status].tsx+++ b/apps/web/pages/bookings/[status].tsx@@ -1,14 +1,16 @@import { useAutoAnimate } from "@formkit/auto-animate/react";-import { GetStaticPaths, GetStaticProps } from "next";+import type { GetStaticPaths, GetStaticProps } from "next";import { useRouter } from "next/router";import { Fragment } from "react";import { z } from "zod";import { WipeMyCalActionButton } from "@calcom/app-store/wipemycalother/components";import BookingLayout from "@calcom/features/bookings/layout/BookingLayout";-import { filterQuerySchema, useFilterQuery } from "@calcom/features/bookings/lib/useFilterQuery";+import type { filterQuerySchema } from "@calcom/features/bookings/lib/useFilterQuery";+import { useFilterQuery } from "@calcom/features/bookings/lib/useFilterQuery";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import { Alert, Button, EmptyScreen } from "@calcom/ui";import { FiCalendar } from "@calcom/ui/components/icon";diff --git a/apps/web/pages/d/[link]/[slug].tsx b/apps/web/pages/d/[link]/[slug].tsxindex 0ae6ea9d4db..29ec5b3f800 100644--- a/apps/web/pages/d/[link]/[slug].tsx+++ b/apps/web/pages/d/[link]/[slug].tsx@@ -1,16 +1,17 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { z } from "zod";-import { privacyFilteredLocations, LocationObject } from "@calcom/core/location";+import type { LocationObject } from "@calcom/core/location";+import { privacyFilteredLocations } from "@calcom/core/location";import { parseRecurringEvent } from "@calcom/lib";import { getWorkingHours } from "@calcom/lib/availability";import { availiblityPageEventTypeSelect } from "@calcom/prisma";import prisma from "@calcom/prisma";import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";-import { GetBookingType } from "@lib/getBooking";-import { inferSSRProps } from "@lib/types/inferSSRProps";-import { EmbedProps } from "@lib/withEmbedSsr";+import type { GetBookingType } from "@lib/getBooking";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { EmbedProps } from "@lib/withEmbedSsr";import AvailabilityPage from "@components/booking/pages/AvailabilityPage";diff --git a/apps/web/pages/d/[link]/book.tsx b/apps/web/pages/d/[link]/book.tsxindex 58e1efcab62..dd60e72278b 100644--- a/apps/web/pages/d/[link]/book.tsx+++ b/apps/web/pages/d/[link]/book.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { parseRecurringEvent } from "@calcom/lib";import prisma from "@calcom/prisma";@@ -6,7 +6,7 @@ import { bookEventTypeSelect } from "@calcom/prisma/selects";import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { asStringOrNull, asStringOrThrow } from "@lib/asStringOrNull";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import BookingPage from "@components/booking/pages/BookingPage";diff --git a/apps/web/pages/event-types/[type]/index.tsx b/apps/web/pages/event-types/[type]/index.tsxindex fdb17d2414e..c6f59cad895 100644--- a/apps/web/pages/event-types/[type]/index.tsx+++ b/apps/web/pages/event-types/[type]/index.tsx@@ -1,13 +1,14 @@/* eslint-disable @typescript-eslint/no-empty-function */import { useAutoAnimate } from "@formkit/auto-animate/react";import { zodResolver } from "@hookform/resolvers/zod";-import { PeriodType, SchedulingType } from "@prisma/client";-import { GetServerSidePropsContext } from "next";+import type { PeriodType } from "@prisma/client";+import { SchedulingType } from "@prisma/client";+import type { GetServerSidePropsContext } from "next";import { useState } from "react";import { useForm } from "react-hook-form";import { z } from "zod";-import { EventLocationType } from "@calcom/core/location";+import type { EventLocationType } from "@calcom/core/location";import { validateBookingLimitOrder } from "@calcom/lib";import { CAL_URL } from "@calcom/lib/constants";import getEventTypeById from "@calcom/lib/getEventTypeById";@@ -15,14 +16,15 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";import { HttpError } from "@calcom/lib/http-error";import prisma from "@calcom/prisma";-import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";-import { trpc, RouterOutputs } from "@calcom/trpc/react";+import type { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import type { BookingLimit, RecurringEvent } from "@calcom/types/Calendar";import { Form, showToast } from "@calcom/ui";import { asStringOrThrow } from "@lib/asStringOrNull";import { getSession } from "@lib/auth";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import { AvailabilityTab } from "@components/eventtype/AvailabilityTab";// These can't really be moved into calcom/ui due to the fact they use infered getserverside props typings@@ -293,7 +295,7 @@ const EventTypePage = (props: EventTypeSetupProps) => {...input} = values;- const hosts: (typeof hostsInput[number] & { isFixed?: boolean })[] = [];+ const hosts: ((typeof hostsInput)[number] & { isFixed?: boolean })[] = [];if (hostsInput || hostsFixed) {hosts.push(...hostsInput.concat(hostsFixed.map((host) => ({ isFixed: true, ...host }))));}diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsxindex f005d34f5b6..430a5975f5b 100644--- a/apps/web/pages/event-types/index.tsx+++ b/apps/web/pages/event-types/index.tsx@@ -1,8 +1,9 @@import { useAutoAnimate } from "@formkit/auto-animate/react";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import Link from "next/link";import { useRouter } from "next/router";-import { FC, useEffect, useState, memo } from "react";+import type { FC } from "react";+import { useEffect, useState, memo } from "react";import { z } from "zod";import {@@ -14,7 +15,8 @@ import { APP_NAME, CAL_URL, WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import useMediaQuery from "@calcom/lib/hooks/useMediaQuery";import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery";-import { RouterOutputs, trpc, TRPCClientError } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc, TRPCClientError } from "@calcom/trpc/react";import {Avatar,AvatarGroup,diff --git a/apps/web/pages/getting-started/[[...step]].tsx b/apps/web/pages/getting-started/[[...step]].tsxindex 88f457b456e..c360b4c40ea 100644--- a/apps/web/pages/getting-started/[[...step]].tsx+++ b/apps/web/pages/getting-started/[[...step]].tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { serverSideTranslations } from "next-i18next/serverSideTranslations";import Head from "next/head";import { useRouter } from "next/router";@@ -10,7 +10,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale";import prisma from "@calcom/prisma";import { Button, StepCard, Steps } from "@calcom/ui";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import { ConnectedCalendars } from "@components/getting-started/steps-views/ConnectCalendars";import { SetupAvailability } from "@components/getting-started/steps-views/SetupAvailability";@@ -22,7 +22,7 @@ export type IOnboardingPageProps = inferSSRProps<typeof getServerSideProps>;const INITIAL_STEP = "user-settings";const steps = ["user-settings", "connected-calendar", "setup-availability", "user-profile"] as const;-const stepTransform = (step: typeof steps[number]) => {+const stepTransform = (step: (typeof steps)[number]) => {const stepIndex = steps.indexOf(step);if (stepIndex > -1) {return steps[stepIndex];diff --git a/apps/web/pages/index.tsx b/apps/web/pages/index.tsxindex 87306369471..ddfb7116b97 100644--- a/apps/web/pages/index.tsx+++ b/apps/web/pages/index.tsx@@ -1,4 +1,4 @@-import { NextPageContext } from "next";+import type { NextPageContext } from "next";import { getSession } from "@lib/auth";diff --git a/apps/web/pages/payment/[uid].tsx b/apps/web/pages/payment/[uid].tsxindex 6fa998361dc..296462f34d8 100644--- a/apps/web/pages/payment/[uid].tsx+++ b/apps/web/pages/payment/[uid].tsx@@ -1,6 +1,6 @@import PaymentPage from "@calcom/features/ee/payments/components/PaymentPage";import { getServerSideProps } from "@calcom/features/ee/payments/pages/payment";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";export default function Payment(props: inferSSRProps<typeof getServerSideProps>) {return <PaymentPage {...props} />;diff --git a/apps/web/pages/reschedule/[uid].tsx b/apps/web/pages/reschedule/[uid].tsxindex 9baeb7c1af4..8f5193c6d04 100644--- a/apps/web/pages/reschedule/[uid].tsx+++ b/apps/web/pages/reschedule/[uid].tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getDefaultEvent } from "@calcom/lib/defaultEvents";import prisma, { bookingMinimalSelect } from "@calcom/prisma";diff --git a/apps/web/pages/settings/admin/apps/[category].tsx b/apps/web/pages/settings/admin/apps/[category].tsxindex f2ed6c99430..0fcc2c0dd03 100644--- a/apps/web/pages/settings/admin/apps/[category].tsx+++ b/apps/web/pages/settings/admin/apps/[category].tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import AdminAppsList from "@calcom/features/apps/AdminAppsList";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/pages/settings/admin/impersonation.tsx b/apps/web/pages/settings/admin/impersonation.tsxindex dacdbfa9484..dbce021dc38 100644--- a/apps/web/pages/settings/admin/impersonation.tsx+++ b/apps/web/pages/settings/admin/impersonation.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { signIn } from "next-auth/react";import { useRef } from "react";diff --git a/apps/web/pages/settings/admin/index.tsx b/apps/web/pages/settings/admin/index.tsxindex 83cd7f53c09..71e729a4688 100644--- a/apps/web/pages/settings/admin/index.tsx+++ b/apps/web/pages/settings/admin/index.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { Meta } from "@calcom/ui";diff --git a/apps/web/pages/settings/billing/index.tsx b/apps/web/pages/settings/billing/index.tsxindex 528c47e1370..5193b6af6ce 100644--- a/apps/web/pages/settings/billing/index.tsx+++ b/apps/web/pages/settings/billing/index.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useRouter } from "next/router";import { useState } from "react";import { HelpScout, useChat } from "react-live-chat-loader";diff --git a/apps/web/pages/settings/developer/api-keys.tsx b/apps/web/pages/settings/developer/api-keys.tsxindex 9d890edca64..aaf3b7eab01 100644--- a/apps/web/pages/settings/developer/api-keys.tsx+++ b/apps/web/pages/settings/developer/api-keys.tsx@@ -1,7 +1,7 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useState } from "react";-import { TApiKeys } from "@calcom/ee/api-keys/components/ApiKeyListItem";+import type { TApiKeys } from "@calcom/ee/api-keys/components/ApiKeyListItem";import LicenseRequired from "@calcom/ee/common/components/v2/LicenseRequired";import ApiKeyDialogForm from "@calcom/features/ee/api-keys/components/ApiKeyDialogForm";import ApiKeyListItem from "@calcom/features/ee/api-keys/components/ApiKeyListItem";diff --git a/apps/web/pages/settings/my-account/appearance.tsx b/apps/web/pages/settings/my-account/appearance.tsxindex 0a665570b78..92ebffe2b2f 100644--- a/apps/web/pages/settings/my-account/appearance.tsx+++ b/apps/web/pages/settings/my-account/appearance.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { Controller, useForm } from "react-hook-form";import ThemeLabel from "@calcom/features/settings/ThemeLabel";diff --git a/apps/web/pages/settings/my-account/calendars.tsx b/apps/web/pages/settings/my-account/calendars.tsxindex 5479b7d6048..67957ba4dae 100644--- a/apps/web/pages/settings/my-account/calendars.tsx+++ b/apps/web/pages/settings/my-account/calendars.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { Trans } from "next-i18next";import Link from "next/link";import { useRouter } from "next/router";diff --git a/apps/web/pages/settings/my-account/conferencing.tsx b/apps/web/pages/settings/my-account/conferencing.tsxindex cc73c98ec4d..3e14dbef27d 100644--- a/apps/web/pages/settings/my-account/conferencing.tsx+++ b/apps/web/pages/settings/my-account/conferencing.tsx@@ -1,6 +1,7 @@import { useState } from "react";-import { EventLocationType, getEventLocationTypeFromApp } from "@calcom/app-store/locations";+import type { EventLocationType } from "@calcom/app-store/locations";+import { getEventLocationTypeFromApp } from "@calcom/app-store/locations";import { AppSetDefaultLinkDailog } from "@calcom/features/apps/components/AppSetDefaultLinkDialog";import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/pages/settings/my-account/general.tsx b/apps/web/pages/settings/my-account/general.tsxindex 7de2e10bf7e..a7373f91d30 100644--- a/apps/web/pages/settings/my-account/general.tsx+++ b/apps/web/pages/settings/my-account/general.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useRouter } from "next/router";import { useMemo } from "react";import { Controller, useForm } from "react-hook-form";@@ -6,7 +6,8 @@ import { Controller, useForm } from "react-hook-form";import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";import { useLocale } from "@calcom/lib/hooks/useLocale";import { nameOfDay } from "@calcom/lib/weekday";-import { RouterOutputs, trpc } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";+import { trpc } from "@calcom/trpc/react";import {Button,Form,diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsxindex a3d576335c6..ab0acd99d43 100644--- a/apps/web/pages/settings/my-account/profile.tsx+++ b/apps/web/pages/settings/my-account/profile.tsx@@ -1,9 +1,10 @@import { IdentityProvider } from "@prisma/client";import crypto from "crypto";import MarkdownIt from "markdown-it";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { signOut } from "next-auth/react";-import { BaseSyntheticEvent, useRef, useState } from "react";+import type { BaseSyntheticEvent } from "react";+import { useRef, useState } from "react";import { Controller, useForm } from "react-hook-form";import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";@@ -11,9 +12,9 @@ import { ErrorCode } from "@calcom/lib/auth";import { APP_NAME } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import turndown from "@calcom/lib/turndownService";-import { TRPCClientErrorLike } from "@calcom/trpc/client";+import type { TRPCClientErrorLike } from "@calcom/trpc/client";import { trpc } from "@calcom/trpc/react";-import { AppRouter } from "@calcom/trpc/server/routers/_app";+import type { AppRouter } from "@calcom/trpc/server/routers/_app";import {Alert,Avatar,diff --git a/apps/web/pages/settings/security/impersonation.tsx b/apps/web/pages/settings/security/impersonation.tsxindex cea19bbd20a..f8c7f84ce7a 100644--- a/apps/web/pages/settings/security/impersonation.tsx+++ b/apps/web/pages/settings/security/impersonation.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useForm } from "react-hook-form";import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";diff --git a/apps/web/pages/settings/security/password.tsx b/apps/web/pages/settings/security/password.tsxindex 37f8e217b0e..eea4adf821a 100644--- a/apps/web/pages/settings/security/password.tsx+++ b/apps/web/pages/settings/security/password.tsx@@ -1,5 +1,5 @@import { IdentityProvider } from "@prisma/client";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { signOut, useSession } from "next-auth/react";import { useForm } from "react-hook-form";diff --git a/apps/web/pages/settings/security/sso.tsx b/apps/web/pages/settings/security/sso.tsxindex e38d927f45f..ae8027dcf9b 100644--- a/apps/web/pages/settings/security/sso.tsx+++ b/apps/web/pages/settings/security/sso.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/security/two-factor-auth.tsx b/apps/web/pages/settings/security/two-factor-auth.tsxindex 33795f82f1a..6d09a09e0a5 100644--- a/apps/web/pages/settings/security/two-factor-auth.tsx+++ b/apps/web/pages/settings/security/two-factor-auth.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { useState } from "react";import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout";diff --git a/apps/web/pages/settings/teams/[id]/appearance.tsx b/apps/web/pages/settings/teams/[id]/appearance.tsxindex 182e6fbdd4e..f40cbf75fb8 100644--- a/apps/web/pages/settings/teams/[id]/appearance.tsx+++ b/apps/web/pages/settings/teams/[id]/appearance.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/teams/[id]/billing.tsx b/apps/web/pages/settings/teams/[id]/billing.tsxindex 4da21218635..8b89a9480fb 100644--- a/apps/web/pages/settings/teams/[id]/billing.tsx+++ b/apps/web/pages/settings/teams/[id]/billing.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/teams/[id]/members.tsx b/apps/web/pages/settings/teams/[id]/members.tsxindex c6150cc754a..d40ef1b94fc 100644--- a/apps/web/pages/settings/teams/[id]/members.tsx+++ b/apps/web/pages/settings/teams/[id]/members.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/teams/[id]/profile.tsx b/apps/web/pages/settings/teams/[id]/profile.tsxindex 02434b0c86d..ca1e3e9f0db 100644--- a/apps/web/pages/settings/teams/[id]/profile.tsx+++ b/apps/web/pages/settings/teams/[id]/profile.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/teams/[id]/sso.tsx b/apps/web/pages/settings/teams/[id]/sso.tsxindex 97db4771eb6..dbb0bf02256 100644--- a/apps/web/pages/settings/teams/[id]/sso.tsx+++ b/apps/web/pages/settings/teams/[id]/sso.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/settings/teams/new/index.tsx b/apps/web/pages/settings/teams/new/index.tsxindex 85a80399378..b119e6f6d35 100644--- a/apps/web/pages/settings/teams/new/index.tsx+++ b/apps/web/pages/settings/teams/new/index.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import Head from "next/head";import { CreateANewTeamForm } from "@calcom/features/ee/teams/components";diff --git a/apps/web/pages/signup.tsx b/apps/web/pages/signup.tsxindex 0fca86f6268..0fac2ad1e41 100644--- a/apps/web/pages/signup.tsx+++ b/apps/web/pages/signup.tsx@@ -1,7 +1,8 @@import type { GetServerSidePropsContext } from "next";import { signIn } from "next-auth/react";import { useRouter } from "next/router";-import { FormProvider, SubmitHandler, useForm } from "react-hook-form";+import type { SubmitHandler } from "react-hook-form";+import { FormProvider, useForm } from "react-hook-form";import LicenseRequired from "@calcom/features/ee/common/components/v2/LicenseRequired";import { isSAMLLoginEnabled } from "@calcom/features/ee/sso/lib/saml";@@ -9,7 +10,7 @@ import { WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { collectPageParameters, telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry";import prisma from "@calcom/prisma";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { Alert, Button, EmailField, HeadSeo, PasswordField, TextField } from "@calcom/ui";import { asStringOrNull } from "../lib/asStringOrNull";diff --git a/apps/web/pages/team/[slug].tsx b/apps/web/pages/team/[slug].tsxindex 1855c3f32d9..bb0b2a32da6 100644--- a/apps/web/pages/team/[slug].tsx+++ b/apps/web/pages/team/[slug].tsx@@ -1,6 +1,6 @@import classNames from "classnames";import MarkdownIt from "markdown-it";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import Link from "next/link";import { useRouter } from "next/router";import { useEffect } from "react";@@ -17,7 +17,7 @@ import { Avatar, Button, HeadSeo, AvatarGroup } from "@calcom/ui";import { FiArrowRight } from "@calcom/ui/components/icon";import { useToggleQuery } from "@lib/hooks/useToggleQuery";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import Team from "@components/team/screens/Team";diff --git a/apps/web/pages/team/[slug]/[type].tsx b/apps/web/pages/team/[slug]/[type].tsxindex 2876911dd1b..c7e0a433178 100644--- a/apps/web/pages/team/[slug]/[type].tsx+++ b/apps/web/pages/team/[slug]/[type].tsx@@ -1,15 +1,17 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";-import { privacyFilteredLocations, LocationObject } from "@calcom/core/location";+import type { LocationObject } from "@calcom/core/location";+import { privacyFilteredLocations } from "@calcom/core/location";import { parseRecurringEvent } from "@calcom/lib";import { getWorkingHours } from "@calcom/lib/availability";import prisma from "@calcom/prisma";import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { asStringOrNull } from "@lib/asStringOrNull";-import getBooking, { GetBookingType } from "@lib/getBooking";-import { inferSSRProps } from "@lib/types/inferSSRProps";-import { EmbedProps } from "@lib/withEmbedSsr";+import type { GetBookingType } from "@lib/getBooking";+import getBooking from "@lib/getBooking";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { EmbedProps } from "@lib/withEmbedSsr";import AvailabilityPage from "@components/booking/pages/AvailabilityPage";diff --git a/apps/web/pages/team/[slug]/book.tsx b/apps/web/pages/team/[slug]/book.tsxindex 1e203d7366e..3ef1d6199ee 100644--- a/apps/web/pages/team/[slug]/book.tsx+++ b/apps/web/pages/team/[slug]/book.tsx@@ -1,13 +1,15 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";-import { LocationObject, privacyFilteredLocations } from "@calcom/app-store/locations";+import type { LocationObject } from "@calcom/app-store/locations";+import { privacyFilteredLocations } from "@calcom/app-store/locations";import { parseRecurringEvent } from "@calcom/lib";import prisma from "@calcom/prisma";import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import { asStringOrNull, asStringOrThrow } from "@lib/asStringOrNull";-import getBooking, { GetBookingType } from "@lib/getBooking";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { GetBookingType } from "@lib/getBooking";+import getBooking from "@lib/getBooking";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import BookingPage from "@components/booking/pages/BookingPage";diff --git a/apps/web/pages/teams/index.tsx b/apps/web/pages/teams/index.tsxindex e5e651f29d7..25e9934942f 100644--- a/apps/web/pages/teams/index.tsx+++ b/apps/web/pages/teams/index.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { TeamsListing } from "@calcom/features/ee/teams/components";import Shell from "@calcom/features/shell/Shell";diff --git a/apps/web/pages/video/[uid].tsx b/apps/web/pages/video/[uid].tsxindex 06012653754..bf8b57917e7 100644--- a/apps/web/pages/video/[uid].tsx+++ b/apps/web/pages/video/[uid].tsx@@ -1,5 +1,5 @@import DailyIframe from "@daily-co/daily-js";-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { getSession } from "next-auth/react";import Head from "next/head";import { useEffect } from "react";@@ -7,7 +7,7 @@ import { useEffect } from "react";import { APP_NAME, SEO_IMG_OGIMG_VIDEO, WEBSITE_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import prisma, { bookingMinimalSelect } from "@calcom/prisma";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/pages/video/meeting-ended/[uid].tsx b/apps/web/pages/video/meeting-ended/[uid].tsxindex d3c709cd873..8ff650478b5 100644--- a/apps/web/pages/video/meeting-ended/[uid].tsx+++ b/apps/web/pages/video/meeting-ended/[uid].tsx@@ -1,4 +1,4 @@-import { NextPageContext } from "next";+import type { NextPageContext } from "next";import dayjs from "@calcom/dayjs";import { useLocale } from "@calcom/lib/hooks/useLocale";@@ -7,7 +7,7 @@ import prisma, { bookingMinimalSelect } from "@calcom/prisma";import { Button, HeadSeo } from "@calcom/ui";import { FiArrowRight, FiCalendar, FiX } from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";export default function MeetingUnavailable(props: inferSSRProps<typeof getServerSideProps>) {const { t } = useLocale();diff --git a/apps/web/pages/video/meeting-not-started/[uid].tsx b/apps/web/pages/video/meeting-not-started/[uid].tsxindex 11bda5d35a1..87c361e9260 100644--- a/apps/web/pages/video/meeting-not-started/[uid].tsx+++ b/apps/web/pages/video/meeting-not-started/[uid].tsx@@ -1,4 +1,4 @@-import { NextPageContext } from "next";+import type { NextPageContext } from "next";import dayjs from "@calcom/dayjs";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/apps/web/pages/workflows/[workflow].tsx b/apps/web/pages/workflows/[workflow].tsxindex 02cf9fa15bd..1be2ceb1bc0 100644--- a/apps/web/pages/workflows/[workflow].tsx+++ b/apps/web/pages/workflows/[workflow].tsx@@ -1,4 +1,4 @@-import { GetStaticPaths, GetStaticProps } from "next";+import type { GetStaticPaths, GetStaticProps } from "next";import { z } from "zod";export { default } from "@calcom/features/ee/workflows/pages/workflow";diff --git a/apps/web/pages/workflows/index.tsx b/apps/web/pages/workflows/index.tsxindex 7e2a4b85006..ec67dd2d82c 100644--- a/apps/web/pages/workflows/index.tsx+++ b/apps/web/pages/workflows/index.tsx@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import { ssrInit } from "@server/lib/ssr";diff --git a/apps/web/playwright/embed-code-generator.e2e.ts b/apps/web/playwright/embed-code-generator.e2e.tsindex 0d6ccec5792..30579183c6c 100644--- a/apps/web/playwright/embed-code-generator.e2e.ts+++ b/apps/web/playwright/embed-code-generator.e2e.ts@@ -1,4 +1,5 @@-import { expect, Page } from "@playwright/test";+import type { Page } from "@playwright/test";+import { expect } from "@playwright/test";import { test } from "./lib/fixtures";diff --git a/apps/web/playwright/event-types.e2e.ts b/apps/web/playwright/event-types.e2e.tsindex 760804a27bd..54cc43a04dd 100644--- a/apps/web/playwright/event-types.e2e.ts+++ b/apps/web/playwright/event-types.e2e.ts@@ -62,7 +62,7 @@ test.describe("Event Types tests", () => {});await page.click("[data-testid=vertical-tab-recurring]");- await expect(page.locator("[data-testid=recurring-event-collapsible]")).not.toBeVisible();+ await expect(page.locator("[data-testid=recurring-event-collapsible]")).toBeHidden();await page.click("[data-testid=recurring-event-check]");await expect(page.locator("[data-testid=recurring-event-collapsible]")).toBeVisible();diff --git a/apps/web/playwright/fixtures/users.ts b/apps/web/playwright/fixtures/users.tsindex c0e485dad35..3896ecea529 100644--- a/apps/web/playwright/fixtures/users.ts+++ b/apps/web/playwright/fixtures/users.ts@@ -7,7 +7,7 @@ import dayjs from "@calcom/dayjs";import { DEFAULT_SCHEDULE, getAvailabilityFromSchedule } from "@calcom/lib/availability";import { prisma } from "@calcom/prisma";-import { TimeZoneEnum } from "./types";+import type { TimeZoneEnum } from "./types";// Don't import hashPassword from app as that ends up importing next-auth and initializing it before NEXTAUTH_URL can be updated during tests.export async function hashPassword(password: string) {diff --git a/apps/web/playwright/integrations.e2e.ts b/apps/web/playwright/integrations.e2e.tsindex f5383ef8344..3b89b19013e 100644--- a/apps/web/playwright/integrations.e2e.ts+++ b/apps/web/playwright/integrations.e2e.ts@@ -1,4 +1,5 @@-import { expect, Page, Route } from "@playwright/test";+import type { Page, Route } from "@playwright/test";+import { expect } from "@playwright/test";import { rest } from "msw";import { setupServer } from "msw/node";import { v4 as uuidv4 } from "uuid";diff --git a/apps/web/playwright/lib/next-server.ts b/apps/web/playwright/lib/next-server.tsindex 34c57969a4b..c7433f62a6d 100644--- a/apps/web/playwright/lib/next-server.ts+++ b/apps/web/playwright/lib/next-server.ts@@ -1,5 +1,6 @@import detect from "detect-port";-import { createServer, Server } from "http";+import type { Server } from "http";+import { createServer } from "http";import next from "next";import { parse } from "url";diff --git a/apps/web/playwright/lib/teardown.ts b/apps/web/playwright/lib/teardown.tsindex ba5fb0e2778..0bcbb1a81c4 100644--- a/apps/web/playwright/lib/teardown.ts+++ b/apps/web/playwright/lib/teardown.ts@@ -1,4 +1,4 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import prisma from "@calcom/prisma";diff --git a/apps/web/playwright/lib/testUtils.ts b/apps/web/playwright/lib/testUtils.tsindex ae898ff789d..ef64586a92f 100644--- a/apps/web/playwright/lib/testUtils.ts+++ b/apps/web/playwright/lib/testUtils.ts@@ -1,5 +1,7 @@-import { expect, Page, test } from "@playwright/test";-import { createServer, IncomingMessage, ServerResponse } from "http";+import type { Page } from "@playwright/test";+import { expect, test } from "@playwright/test";+import type { IncomingMessage, ServerResponse } from "http";+import { createServer } from "http";import noop from "lodash/noop";export function todo(title: string) {diff --git a/apps/web/playwright/reschedule.e2e.ts b/apps/web/playwright/reschedule.e2e.tsindex 036d1d08bbd..d69470daa66 100644--- a/apps/web/playwright/reschedule.e2e.ts+++ b/apps/web/playwright/reschedule.e2e.ts@@ -35,7 +35,7 @@ test.describe("Reschedule Tests", async () => {await page.fill('[data-testid="reschedule_reason"]', "I can't longer have it");await page.locator('button[data-testid="send_request"]').click();- await expect(page.locator('[id="modal-title"]')).not.toBeVisible();+ await expect(page.locator('[id="modal-title"]')).toBeHidden();const updatedBooking = await booking.self();diff --git a/apps/web/server/lib/ssg.ts b/apps/web/server/lib/ssg.tsindex 8fa773e935c..c21f5f3b2d7 100644--- a/apps/web/server/lib/ssg.ts+++ b/apps/web/server/lib/ssg.ts@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";import { i18n } from "next-i18next.config";import { serverSideTranslations } from "next-i18next/serverSideTranslations";import superjson from "superjson";diff --git a/apps/web/server/lib/ssr.ts b/apps/web/server/lib/ssr.tsindex 709aa4f9dca..a177615943b 100644--- a/apps/web/server/lib/ssr.ts+++ b/apps/web/server/lib/ssr.ts@@ -1,4 +1,4 @@-import { GetServerSidePropsContext } from "next";+import type { GetServerSidePropsContext } from "next";import superjson from "superjson";import { createProxySSGHelpers } from "@calcom/trpc/react/ssg";diff --git a/apps/web/test/lib/checkBookingLimits.test.ts b/apps/web/test/lib/checkBookingLimits.test.tsindex fe61a2ab234..8054535038a 100644--- a/apps/web/test/lib/checkBookingLimits.test.ts+++ b/apps/web/test/lib/checkBookingLimits.test.ts@@ -1,7 +1,7 @@import dayjs from "@calcom/dayjs";import { validateBookingLimitOrder } from "@calcom/lib/isBookingLimits";import { checkBookingLimits, checkLimit } from "@calcom/lib/server";-import { BookingLimit } from "@calcom/types/Calendar";+import type { BookingLimit } from "@calcom/types/Calendar";import { prismaMock } from "../../../../tests/config/singleton";diff --git a/apps/web/test/lib/getAvailabilityFromSchedule.test.ts b/apps/web/test/lib/getAvailabilityFromSchedule.test.tsindex fcee4dcf6a4..bac272f2601 100644--- a/apps/web/test/lib/getAvailabilityFromSchedule.test.ts+++ b/apps/web/test/lib/getAvailabilityFromSchedule.test.ts@@ -1,5 +1,5 @@import { expect, it } from "@jest/globals";-import { Availability } from "@prisma/client";+import type { Availability } from "@prisma/client";import MockDate from "mockdate";import dayjs from "@calcom/dayjs";diff --git a/apps/web/test/lib/getSchedule.test.ts b/apps/web/test/lib/getSchedule.test.tsindex 9c7025e6809..b865d6c6141 100644--- a/apps/web/test/lib/getSchedule.test.ts+++ b/apps/web/test/lib/getSchedule.test.ts@@ -1,4 +1,4 @@-import {+import type {EventType as PrismaEventType,User as PrismaUser,Booking as PrismaBooking,@@ -10,8 +10,9 @@ import { v4 as uuidv4 } from "uuid";import logger from "@calcom/lib/logger";import prisma from "@calcom/prisma";-import { BookingStatus } from "@calcom/prisma/client";-import { getSchedule, Slot } from "@calcom/trpc/server/routers/viewer/slots";+import type { BookingStatus } from "@calcom/prisma/client";+import type { Slot } from "@calcom/trpc/server/routers/viewer/slots";+import { getSchedule } from "@calcom/trpc/server/routers/viewer/slots";import { prismaMock, CalendarManagerMock } from "../../../../tests/config/singleton";diff --git a/package.json b/package.jsonindex 1e2d6979ec3..8f2d9a0878f 100644--- a/package.json+++ b/package.json@@ -76,7 +76,7 @@"jest-watch-select-projects": "^2.0.0","jest-watch-typeahead": "^2.0.0","lint-staged": "^12.5.0",- "prettier": "^2.7.1",+ "prettier": "^2.8.4","ts-jest": "^28.0.8"},"dependencies": {@@ -85,8 +85,8 @@"resolutions": {"@apidevtools/json-schema-ref-parser": "9.0.9","@types/node": "16.9.1",- "@types/react": "^18.0.17",- "@types/react-dom": "^18.0.6"+ "@types/react": "18.0.26",+ "@types/react-dom": "18.0.9"},"lint-staged": {"(apps|packages)/**/*.{js,ts,jsx,tsx}": [diff --git a/packages/app-store-cli/README.md b/packages/app-store-cli/README.mdindex 48153efd01b..17618b67192 100644--- a/packages/app-store-cli/README.md+++ b/packages/app-store-cli/README.md@@ -1,9 +1,11 @@## How to build an App using the CLI+Refer to https://developer.cal.com/guides/how-to-build-an-app## TODO+- Merge app-store:watch and app-store commands; introduce app-store --watch- An app created through CLI should be able to completely skip API validation for testing purposes. Credentials should be created with no API specified specific to the app. It would allow us to test any app end to end not worrying about the corresponding API endpoint.- Someone can add wrong directory name(which doesn't satisfy slug requirements) manually. How to handle it.- Allow editing and updating app from the cal app itself - including assets uploading when developing locally.-- Use AppDeclarativeHandler across all apps. Whatever isn't supported in it, support that.\ No newline at end of file+- Use AppDeclarativeHandler across all apps. Whatever isn't supported in it, support that.diff --git a/packages/app-store-cli/package.json b/packages/app-store-cli/package.jsonindex 3b76be06c0a..20085091a75 100644--- a/packages/app-store-cli/package.json+++ b/packages/app-store-cli/package.json@@ -25,7 +25,7 @@"react": "^18.2.0"},"devDependencies": {- "@types/react": "^18.0.17",+ "@types/react": "18.0.26","chokidar": "^3.5.3","eslint-plugin-react": "^7.30.1","eslint-plugin-react-hooks": "^4.6.0",diff --git a/packages/app-store/BookingPageTagManager.tsx b/packages/app-store/BookingPageTagManager.tsxindex ef2ff57ad09..72abf76c595 100644--- a/packages/app-store/BookingPageTagManager.tsx+++ b/packages/app-store/BookingPageTagManager.tsx@@ -3,7 +3,7 @@ import Script from "next/script";import { appStoreMetadata } from "@calcom/app-store/appStoreMetaData";import { getEventTypeAppData } from "@calcom/app-store/utils";-import { appDataSchemas } from "./apps.schemas.generated";+import type { appDataSchemas } from "./apps.schemas.generated";export default function BookingPageTagManager({eventType,@@ -26,7 +26,7 @@ export default function BookingPageTagManager({val ? (val.replace(/\{TRACKING_ID\}/g, trackingId) as T) : val;return tag.scripts.map((script, index) => {- const parsedAttributes: NonNullable<typeof tag.scripts[number]["attrs"]> = {};+ const parsedAttributes: NonNullable<(typeof tag.scripts)[number]["attrs"]> = {};const attrs = script.attrs || {};Object.entries(attrs).forEach(([name, value]) => {if (typeof value === "string") {diff --git a/packages/app-store/EventTypeAppContext.tsx b/packages/app-store/EventTypeAppContext.tsxindex 0aa4cfb8322..042044d8d86 100644--- a/packages/app-store/EventTypeAppContext.tsx+++ b/packages/app-store/EventTypeAppContext.tsx@@ -1,5 +1,5 @@import React from "react";-import { z, ZodType } from "zod";+import type { z, ZodType } from "zod";export type GetAppData = (key: string) => unknown;export type SetAppData = (key: string, value: unknown) => void;diff --git a/packages/app-store/_appRegistry.ts b/packages/app-store/_appRegistry.tsindex ec63be2ba45..c7915da10fd 100644--- a/packages/app-store/_appRegistry.ts+++ b/packages/app-store/_appRegistry.ts@@ -1,7 +1,7 @@import { appStoreMetadata } from "@calcom/app-store/appStoreMetaData";import prisma, { safeAppSelect, safeCredentialSelect } from "@calcom/prisma";-import { AppFrontendPayload as App } from "@calcom/types/App";-import { CredentialFrontendPayload as Credential } from "@calcom/types/Credential";+import type { AppFrontendPayload as App } from "@calcom/types/App";+import type { CredentialFrontendPayload as Credential } from "@calcom/types/Credential";export async function getAppWithMetadata(app: { dirName: string }) {const appMetadata: App | null = appStoreMetadata[app.dirName as keyof typeof appStoreMetadata] as App;diff --git a/packages/app-store/_components/AppCard.tsx b/packages/app-store/_components/AppCard.tsxindex 1350a2cf2a4..00a938da3fb 100644--- a/packages/app-store/_components/AppCard.tsx+++ b/packages/app-store/_components/AppCard.tsx@@ -1,11 +1,11 @@import { useAutoAnimate } from "@formkit/auto-animate/react";import Link from "next/link";-import { RouterOutputs } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";import { Switch } from "@calcom/ui";-import { SetAppDataGeneric } from "../EventTypeAppContext";-import { eventTypeAppCardZod } from "../eventTypeAppCardZod";+import type { SetAppDataGeneric } from "../EventTypeAppContext";+import type { eventTypeAppCardZod } from "../eventTypeAppCardZod";import OmniInstallAppButton from "./OmniInstallAppButton";export default function AppCard({diff --git a/packages/app-store/_components/EventTypeAppCardInterface.tsx b/packages/app-store/_components/EventTypeAppCardInterface.tsxindex 102edf53a54..559d40d69fc 100644--- a/packages/app-store/_components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/_components/EventTypeAppCardInterface.tsx@@ -1,9 +1,10 @@-import EventTypeAppContext, { GetAppData, SetAppData } from "@calcom/app-store/EventTypeAppContext";+import type { GetAppData, SetAppData } from "@calcom/app-store/EventTypeAppContext";+import EventTypeAppContext from "@calcom/app-store/EventTypeAppContext";import { EventTypeAddonMap } from "@calcom/app-store/apps.browser.generated";-import { RouterOutputs } from "@calcom/trpc/react";+import type { RouterOutputs } from "@calcom/trpc/react";import { ErrorBoundary } from "@calcom/ui";-import { EventTypeAppCardComponentProps } from "../types";+import type { EventTypeAppCardComponentProps } from "../types";import { DynamicComponent } from "./DynamicComponent";export const EventTypeAppCard = (props: {diff --git a/packages/app-store/_pages/setup/_getStaticProps.tsx b/packages/app-store/_pages/setup/_getStaticProps.tsxindex 0e8b6311996..5e1f963ef6e 100644--- a/packages/app-store/_pages/setup/_getStaticProps.tsx+++ b/packages/app-store/_pages/setup/_getStaticProps.tsx@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";export const AppSetupPageMap = {zapier: import("../../zapier/pages/setup/_getStaticProps"),diff --git a/packages/app-store/_utils/decodeOAuthState.ts b/packages/app-store/_utils/decodeOAuthState.tsindex 9c593ad1759..082d61177f9 100644--- a/packages/app-store/_utils/decodeOAuthState.ts+++ b/packages/app-store/_utils/decodeOAuthState.ts@@ -1,6 +1,6 @@-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";-import { IntegrationOAuthCallbackState } from "../types";+import type { IntegrationOAuthCallbackState } from "../types";export function decodeOAuthState(req: NextApiRequest) {if (typeof req.query.state !== "string") {diff --git a/packages/app-store/_utils/encodeOAuthState.ts b/packages/app-store/_utils/encodeOAuthState.tsindex ba4f67c3659..03cfaafbbdd 100644--- a/packages/app-store/_utils/encodeOAuthState.ts+++ b/packages/app-store/_utils/encodeOAuthState.ts@@ -1,6 +1,6 @@-import { NextApiRequest } from "next";+import type { NextApiRequest } from "next";-import { IntegrationOAuthCallbackState } from "../types";+import type { IntegrationOAuthCallbackState } from "../types";export function encodeOAuthState(req: NextApiRequest) {if (typeof req.query.state !== "string") {diff --git a/packages/app-store/_utils/getCalendar.ts b/packages/app-store/_utils/getCalendar.tsindex 9ae28c128bb..342e1cd74ab 100644--- a/packages/app-store/_utils/getCalendar.ts+++ b/packages/app-store/_utils/getCalendar.ts@@ -1,6 +1,6 @@import logger from "@calcom/lib/logger";import type { Calendar } from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import appStore from "..";diff --git a/packages/app-store/_utils/useAddAppMutation.ts b/packages/app-store/_utils/useAddAppMutation.tsindex a5a67ad4d0d..48dc918af03 100644--- a/packages/app-store/_utils/useAddAppMutation.ts+++ b/packages/app-store/_utils/useAddAppMutation.ts@@ -1,8 +1,9 @@-import { useMutation, UseMutationOptions } from "@tanstack/react-query";+import type { UseMutationOptions } from "@tanstack/react-query";+import { useMutation } from "@tanstack/react-query";import type { IntegrationOAuthCallbackState } from "@calcom/app-store/types";import { WEBAPP_URL } from "@calcom/lib/constants";-import { App } from "@calcom/types/App";+import type { App } from "@calcom/types/App";import getInstalledAppPath from "./getInstalledAppPath";diff --git a/packages/app-store/amie/DESCRIPTION.md b/packages/app-store/amie/DESCRIPTION.mdindex c2c19863432..011c2862b2e 100644--- a/packages/app-store/amie/DESCRIPTION.md+++ b/packages/app-store/amie/DESCRIPTION.md@@ -15,4 +15,3 @@ items:- Track what you listened to when- Send scheduling links guests love- Always know what your team is up to-diff --git a/packages/app-store/amie/api/add.ts b/packages/app-store/amie/api/add.tsindex 2537562817b..d939f9cf799 100644--- a/packages/app-store/amie/api/add.ts+++ b/packages/app-store/amie/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/appStoreMetaData.ts b/packages/app-store/appStoreMetaData.tsindex c5212788d87..000861575d9 100644--- a/packages/app-store/appStoreMetaData.ts+++ b/packages/app-store/appStoreMetaData.ts@@ -1,4 +1,4 @@-import { AppMeta } from "@calcom/types/App";+import type { AppMeta } from "@calcom/types/App";import { appStoreMetadata as rawAppStoreMetadata } from "./apps.metadata.generated";diff --git a/packages/app-store/applecalendar/lib/CalendarService.ts b/packages/app-store/applecalendar/lib/CalendarService.tsindex 2b7aac1291c..4565ba2d7da 100644--- a/packages/app-store/applecalendar/lib/CalendarService.ts+++ b/packages/app-store/applecalendar/lib/CalendarService.ts@@ -1,5 +1,5 @@import CalendarService from "@calcom/lib/CalendarService";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";export default class AppleCalendarService extends CalendarService {constructor(credential: CredentialPayload) {diff --git a/packages/app-store/around/DESCRIPTION.md b/packages/app-store/around/DESCRIPTION.mdindex 12bf570c0eb..c03182bf88b 100644--- a/packages/app-store/around/DESCRIPTION.md+++ b/packages/app-store/around/DESCRIPTION.md@@ -10,4 +10,4 @@ items:- /api/app-store/around/8.jpg----Discover radically unique video calls designed to help hybrid-remote teams create, collaborate and celebrate together.\ No newline at end of file+Discover radically unique video calls designed to help hybrid-remote teams create, collaborate and celebrate together.diff --git a/packages/app-store/caldavcalendar/DESCRIPTION.md b/packages/app-store/caldavcalendar/DESCRIPTION.mdindex a542acfddd0..39f9e1c4cd3 100644--- a/packages/app-store/caldavcalendar/DESCRIPTION.md+++ b/packages/app-store/caldavcalendar/DESCRIPTION.md@@ -16,4 +16,4 @@ Every CalDav Provider is different and needs minor adjustments.Follow our CalDav Roadmap here: <a class="text-blue-500" target="_blank" href="https://github.com/calcom/cal.com/issues/3457">https://github.com/calcom/cal.com/issues/3457</a>.-If your CalDav connection is not working, please try another Calendar provider (Google Mail or another CalDav).\ No newline at end of file+If your CalDav connection is not working, please try another Calendar provider (Google Mail or another CalDav).diff --git a/packages/app-store/caldavcalendar/lib/CalendarService.ts b/packages/app-store/caldavcalendar/lib/CalendarService.tsindex 13bc20daf0d..7c6b2db659c 100644--- a/packages/app-store/caldavcalendar/lib/CalendarService.ts+++ b/packages/app-store/caldavcalendar/lib/CalendarService.ts@@ -1,5 +1,5 @@import CalendarService from "@calcom/lib/CalendarService";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";export default class CalDavCalendarService extends CalendarService {constructor(credential: CredentialPayload) {diff --git a/packages/app-store/campfire/DESCRIPTION.md b/packages/app-store/campfire/DESCRIPTION.mdindex 87d30abbc44..f69dd985acd 100644--- a/packages/app-store/campfire/DESCRIPTION.md+++ b/packages/app-store/campfire/DESCRIPTION.md@@ -9,20 +9,25 @@ items:<iframe class="w-full aspect-video -mx-2" width="560" height="315" src="https://player.vimeo.com/video/683733529?app_id=122963&h=025a2fae94&referrer=https%3A%2F%2Fwww.campfire.to%2F" />## Feel connected with your remote team+Team events, new hire onboardings, coffee chats, all on Campfire. No more awkward Zoom calls.## Actually fun virtual socials+Campfire updates your team space with new games & activities weekly. You’ll never need to find another app or plan anything - ever!## Your team's relaxed social space+Give your team the space to unwind and connect- separate from rigid Zoom calls.### Fun & casual activities+We deliver fun and easy-to-play games & activities for teams of 2 to 20+, so you can just relax and connect.### Organic interactions+80% of teams that use Campfire start having spontaneous social hangouts.### Casual and friendly-Separate work chats from social & human interactions by giving your team a more relaxed space to share.+Separate work chats from social & human interactions by giving your team a more relaxed space to share.diff --git a/packages/app-store/campfire/api/add.ts b/packages/app-store/campfire/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/campfire/api/add.ts+++ b/packages/app-store/campfire/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/closecom/DESCRIPTION.md b/packages/app-store/closecom/DESCRIPTION.mdindex 4f94afbcca4..c1839449e11 100644--- a/packages/app-store/closecom/DESCRIPTION.md+++ b/packages/app-store/closecom/DESCRIPTION.md@@ -12,5 +12,3 @@ items:- Track the entire sales process and performance with powerful activity and funnel reportingClose.com subscriptions range from $29 - $149 per month. <a href="https://www.close.com/pricing" target="_blank">See pricing page</a>--diff --git a/packages/app-store/closecom/lib/CalendarService.ts b/packages/app-store/closecom/lib/CalendarService.tsindex 276cb940268..f707b46207a 100644--- a/packages/app-store/closecom/lib/CalendarService.ts+++ b/packages/app-store/closecom/lib/CalendarService.ts@@ -1,6 +1,7 @@import z from "zod";-import CloseCom, { CloseComFieldOptions } from "@calcom/lib/CloseCom";+import type { CloseComFieldOptions } from "@calcom/lib/CloseCom";+import CloseCom from "@calcom/lib/CloseCom";import { getCustomActivityTypeInstanceData } from "@calcom/lib/CloseComeUtils";import { symmetricDecrypt } from "@calcom/lib/crypto";import logger from "@calcom/lib/logger";@@ -11,7 +12,7 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";const apiKeySchema = z.object({encrypted: z.string(),diff --git a/packages/app-store/dailyvideo/DESCRIPTION.md b/packages/app-store/dailyvideo/DESCRIPTION.mdindex 647207c43c8..864668b22fd 100644--- a/packages/app-store/dailyvideo/DESCRIPTION.md+++ b/packages/app-store/dailyvideo/DESCRIPTION.md@@ -5,4 +5,4 @@ items:- /api/app-store/dailyvideo/3.jpg----Cal Video is the in-house web-based video conferencing platform powered by Daily.co, which is minimalistic and lightweight, but has most of the features you need.\ No newline at end of file+Cal Video is the in-house web-based video conferencing platform powered by Daily.co, which is minimalistic and lightweight, but has most of the features you need.diff --git a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts b/packages/app-store/dailyvideo/lib/VideoApiAdapter.tsindex 463bdec28ec..7e6313d96f3 100644--- a/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts+++ b/packages/app-store/dailyvideo/lib/VideoApiAdapter.ts@@ -1,9 +1,10 @@import { z } from "zod";import { handleErrorsJson } from "@calcom/lib/errors";-import { GetRecordingsResponseSchema, getRecordingsResponseSchema } from "@calcom/prisma/zod-utils";+import type { GetRecordingsResponseSchema } from "@calcom/prisma/zod-utils";+import { getRecordingsResponseSchema } from "@calcom/prisma/zod-utils";import type { CalendarEvent } from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import type { PartialReference } from "@calcom/types/EventManager";import type { VideoApiAdapter, VideoCallData } from "@calcom/types/VideoApiAdapter";diff --git a/packages/app-store/ee/routing-forms/api/add.ts b/packages/app-store/ee/routing-forms/api/add.tsindex 30cedc3f810..b80e0605f96 100644--- a/packages/app-store/ee/routing-forms/api/add.ts+++ b/packages/app-store/ee/routing-forms/api/add.ts@@ -1,5 +1,5 @@import prisma from "@calcom/prisma";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/ee/routing-forms/api/responses/[formId].ts b/packages/app-store/ee/routing-forms/api/responses/[formId].tsindex 2cdf1846acd..0480804d495 100644--- a/packages/app-store/ee/routing-forms/api/responses/[formId].ts+++ b/packages/app-store/ee/routing-forms/api/responses/[formId].ts@@ -1,10 +1,10 @@+import type { App_RoutingForms_Form } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import prisma from "@calcom/prisma";import { getSerializableForm } from "../../lib/getSerializableForm";-import { Response, SerializableForm } from "../../types/types";-import { App_RoutingForms_Form } from ".prisma/client";+import type { Response, SerializableForm } from "../../types/types";function escapeCsvText(str: string) {return str.replace(/,/, "%2C");diff --git a/packages/app-store/ee/routing-forms/components/FormActions.tsx b/packages/app-store/ee/routing-forms/components/FormActions.tsxindex 379e1f3157c..890a9443f9c 100644--- a/packages/app-store/ee/routing-forms/components/FormActions.tsx+++ b/packages/app-store/ee/routing-forms/components/FormActions.tsx@@ -1,3 +1,4 @@+import type { App_RoutingForms_Form } from "@prisma/client";import type { NextRouter } from "next/router";import { useRouter } from "next/router";import { createContext, forwardRef, useContext, useState } from "react";@@ -10,9 +11,9 @@ import { classNames } from "@calcom/lib";import { CAL_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";+import type { ButtonProps } from "@calcom/ui";import {Button,- ButtonProps,ConfirmationDialogContent,Dialog,DialogClose,@@ -33,8 +34,7 @@ import { FiMoreHorizontal } from "@calcom/ui/components/icon";import { EmbedButton, EmbedDialog } from "@components/Embed";import getFieldIdentifier from "../lib/getFieldIdentifier";-import { SerializableForm } from "../types/types";-import { App_RoutingForms_Form } from ".prisma/client";+import type { SerializableForm } from "../types/types";type RoutingForm = SerializableForm<App_RoutingForms_Form>;diff --git a/packages/app-store/ee/routing-forms/components/FormInputFields.tsx b/packages/app-store/ee/routing-forms/components/FormInputFields.tsxindex bae6fc581e4..a692e2a4beb 100644--- a/packages/app-store/ee/routing-forms/components/FormInputFields.tsx+++ b/packages/app-store/ee/routing-forms/components/FormInputFields.tsx@@ -1,9 +1,9 @@-import { App_RoutingForms_Form } from "@prisma/client";-import { Dispatch, SetStateAction } from "react";+import type { App_RoutingForms_Form } from "@prisma/client";+import type { Dispatch, SetStateAction } from "react";import { getQueryBuilderConfig } from "../lib/getQueryBuilderConfig";import isRouterLinkedField from "../lib/isRouterLinkedField";-import { SerializableForm, Response } from "../types/types";+import type { SerializableForm, Response } from "../types/types";type Props = {form: SerializableForm<App_RoutingForms_Form>;diff --git a/packages/app-store/ee/routing-forms/components/RoutingNavBar.tsx b/packages/app-store/ee/routing-forms/components/RoutingNavBar.tsxindex e3fe52dd9b6..25c53a36107 100644--- a/packages/app-store/ee/routing-forms/components/RoutingNavBar.tsx+++ b/packages/app-store/ee/routing-forms/components/RoutingNavBar.tsx@@ -1,6 +1,6 @@import { HorizontalTabs } from "@calcom/ui";-import { getSerializableForm } from "../lib/getSerializableForm";+import type { getSerializableForm } from "../lib/getSerializableForm";export default function RoutingNavBar({form,diff --git a/packages/app-store/ee/routing-forms/components/SingleForm.tsx b/packages/app-store/ee/routing-forms/components/SingleForm.tsxindex 3052a832e8f..989e40378bc 100644--- a/packages/app-store/ee/routing-forms/components/SingleForm.tsx+++ b/packages/app-store/ee/routing-forms/components/SingleForm.tsx@@ -1,13 +1,14 @@-import { App_RoutingForms_Form } from "@prisma/client";+import type { App_RoutingForms_Form } from "@prisma/client";import Link from "next/link";import { useEffect, useState } from "react";-import { Controller, useForm, UseFormReturn } from "react-hook-form";+import type { UseFormReturn } from "react-hook-form";+import { Controller, useForm } from "react-hook-form";import { ShellMain } from "@calcom/features/shell/Shell";import useApp from "@calcom/lib/hooks/useApp";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";-import {+import type {AppGetServerSidePropsContext,AppPrisma,AppSsrInit,@@ -38,7 +39,7 @@ import { FiExternalLink, FiLink, FiDownload, FiCode, FiTrash } from "@calcom/ui/import { RoutingPages } from "../lib/RoutingPages";import { getSerializableForm } from "../lib/getSerializableForm";import { processRoute } from "../lib/processRoute";-import { Response, Route, SerializableForm } from "../types/types";+import type { Response, Route, SerializableForm } from "../types/types";import { FormAction, FormActionsDropdown, FormActionsProvider } from "./FormActions";import FormInputFields from "./FormInputFields";import RoutingNavBar from "./RoutingNavBar";diff --git a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsxindex ccf8103258e..fcbae0b7b32 100644--- a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx+++ b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/config/config.tsx@@ -1,4 +1,4 @@-import { Settings, Widgets, SelectWidgetProps } from "react-awesome-query-builder";+import type { Settings, Widgets, SelectWidgetProps } from "react-awesome-query-builder";// Figure out why ee/routing-forms/env.d.ts doesn't work// eslint-disable-next-line @typescript-eslint/ban-ts-comment//@ts-ignorediff --git a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsxindex a8fb9e37780..7f49840068a 100644--- a/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx+++ b/packages/app-store/ee/routing-forms/components/react-awesome-query-builder/widgets.tsx@@ -1,5 +1,5 @@-import { ChangeEvent } from "react";-import {+import type { ChangeEvent } from "react";+import type {ButtonGroupProps,ButtonProps,ConjsProps,diff --git a/packages/app-store/ee/routing-forms/emails/components/ResponseEmail.tsx b/packages/app-store/ee/routing-forms/emails/components/ResponseEmail.tsxindex 8a935f548d5..77ae5419330 100644--- a/packages/app-store/ee/routing-forms/emails/components/ResponseEmail.tsx+++ b/packages/app-store/ee/routing-forms/emails/components/ResponseEmail.tsx@@ -1,8 +1,9 @@+import type { App_RoutingForms_Form } from "@prisma/client";+import { BaseEmailHtml, Info } from "@calcom/emails/src/components";import { WEBAPP_URL } from "@calcom/lib/constants";-import { Response } from "../../types/types";-import { App_RoutingForms_Form } from ".prisma/client";+import type { Response } from "../../types/types";export const ResponseEmail = ({form,diff --git a/packages/app-store/ee/routing-forms/emails/templates/response-email.ts b/packages/app-store/ee/routing-forms/emails/templates/response-email.tsindex 1805b96b46f..fdfb9e5a65f 100644--- a/packages/app-store/ee/routing-forms/emails/templates/response-email.ts+++ b/packages/app-store/ee/routing-forms/emails/templates/response-email.ts@@ -1,8 +1,9 @@+import type { App_RoutingForms_Form } from "@prisma/client";+import { renderEmail } from "@calcom/emails";import BaseEmail from "@calcom/emails/templates/_base-email";-import { Response } from "../../types/types";-import { App_RoutingForms_Form } from ".prisma/client";+import type { Response } from "../../types/types";type Form = Pick<App_RoutingForms_Form, "id" | "name">;export default class ResponseEmail extends BaseEmail {diff --git a/packages/app-store/ee/routing-forms/lib/RoutingPages.ts b/packages/app-store/ee/routing-forms/lib/RoutingPages.tsindex ba87e6819ed..182267f6c75 100644--- a/packages/app-store/ee/routing-forms/lib/RoutingPages.ts+++ b/packages/app-store/ee/routing-forms/lib/RoutingPages.ts@@ -1,4 +1,4 @@-import { LocalRoute } from "../types/types";+import type { LocalRoute } from "../types/types";export const RoutingPages: { label: string; value: NonNullable<LocalRoute["action"]>["type"] }[] = [{diff --git a/packages/app-store/ee/routing-forms/lib/createFallbackRoute.ts b/packages/app-store/ee/routing-forms/lib/createFallbackRoute.tsindex d509bd2aa91..b030f0092e3 100644--- a/packages/app-store/ee/routing-forms/lib/createFallbackRoute.ts+++ b/packages/app-store/ee/routing-forms/lib/createFallbackRoute.ts@@ -1,6 +1,6 @@import { Utils as QbUtils } from "react-awesome-query-builder";-import { GlobalRoute, SerializableRoute } from "../types/types";+import type { GlobalRoute, SerializableRoute } from "../types/types";export const createFallbackRoute = (): Exclude<SerializableRoute, GlobalRoute> => {const uuid = QbUtils.uuid();diff --git a/packages/app-store/ee/routing-forms/lib/getConnectedForms.ts b/packages/app-store/ee/routing-forms/lib/getConnectedForms.tsindex d989d709331..defeb335e1b 100644--- a/packages/app-store/ee/routing-forms/lib/getConnectedForms.ts+++ b/packages/app-store/ee/routing-forms/lib/getConnectedForms.ts@@ -1,4 +1,4 @@-import { App_RoutingForms_Form } from "@calcom/prisma/client";+import type { App_RoutingForms_Form } from "@calcom/prisma/client";export default async function getConnectedForms(prisma: typeof import("@calcom/prisma").default,diff --git a/packages/app-store/ee/routing-forms/lib/getFieldIdentifier.ts b/packages/app-store/ee/routing-forms/lib/getFieldIdentifier.tsindex 7df9c1146fb..9d0eebdeaf5 100644--- a/packages/app-store/ee/routing-forms/lib/getFieldIdentifier.ts+++ b/packages/app-store/ee/routing-forms/lib/getFieldIdentifier.ts@@ -1,4 +1,4 @@-import { Field } from "../types/types";+import type { Field } from "../types/types";const getFieldIdentifier = (field: Field) => field.identifier || field.label;diff --git a/packages/app-store/ee/routing-forms/lib/getQueryBuilderConfig.ts b/packages/app-store/ee/routing-forms/lib/getQueryBuilderConfig.tsindex f76db80617e..46af4cd1c9a 100644--- a/packages/app-store/ee/routing-forms/lib/getQueryBuilderConfig.ts+++ b/packages/app-store/ee/routing-forms/lib/getQueryBuilderConfig.ts@@ -1,5 +1,5 @@import { FieldTypes } from "../pages/form-edit/[...appPages]";-import { QueryBuilderUpdatedConfig, RoutingForm } from "../types/types";+import type { QueryBuilderUpdatedConfig, RoutingForm } from "../types/types";import { InitialConfig } from "./InitialConfig";export function getQueryBuilderConfig(form: RoutingForm, forReporting = false) {diff --git a/packages/app-store/ee/routing-forms/lib/getSerializableForm.ts b/packages/app-store/ee/routing-forms/lib/getSerializableForm.tsindex 45dbed715b2..f25fbb8efe2 100644--- a/packages/app-store/ee/routing-forms/lib/getSerializableForm.ts+++ b/packages/app-store/ee/routing-forms/lib/getSerializableForm.ts@@ -1,10 +1,11 @@-import { App_RoutingForms_Form } from "@prisma/client";-import { z } from "zod";+import type { App_RoutingForms_Form } from "@prisma/client";+import type { z } from "zod";import { RoutingFormSettings } from "@calcom/prisma/zod-utils";-import { SerializableForm } from "../types/types";-import { zodFields, zodRoutes, zodRoutesView, zodFieldsView } from "../zod";+import type { SerializableForm } from "../types/types";+import type { zodRoutesView, zodFieldsView } from "../zod";+import { zodFields, zodRoutes } from "../zod";import getConnectedForms from "./getConnectedForms";import isRouter from "./isRouter";import isRouterLinkedField from "./isRouterLinkedField";diff --git a/packages/app-store/ee/routing-forms/lib/isFallbackRoute.ts b/packages/app-store/ee/routing-forms/lib/isFallbackRoute.tsindex ab02bd04ac3..d47b7f50d6b 100644--- a/packages/app-store/ee/routing-forms/lib/isFallbackRoute.ts+++ b/packages/app-store/ee/routing-forms/lib/isFallbackRoute.ts@@ -1,6 +1,6 @@-import { z } from "zod";+import type { z } from "zod";-import { zodRoute } from "../zod";+import type { zodRoute } from "../zod";import isRouter from "./isRouter";export const isFallbackRoute = (route: z.infer<typeof zodRoute>) => {diff --git a/packages/app-store/ee/routing-forms/lib/isFormEditAllowed.ts b/packages/app-store/ee/routing-forms/lib/isFormEditAllowed.tsindex 1e4d9de86a8..1d1bc15a7e6 100644--- a/packages/app-store/ee/routing-forms/lib/isFormEditAllowed.ts+++ b/packages/app-store/ee/routing-forms/lib/isFormEditAllowed.ts@@ -1,6 +1,6 @@-import prisma from "@calcom/prisma";+import type { App_RoutingForms_Form, User } from "@prisma/client";-import { App_RoutingForms_Form, User } from ".prisma/client";+import prisma from "@calcom/prisma";export async function isFormEditAllowed({userId,diff --git a/packages/app-store/ee/routing-forms/lib/isRouter.ts b/packages/app-store/ee/routing-forms/lib/isRouter.tsindex 7710b1c50f7..093a8428b35 100644--- a/packages/app-store/ee/routing-forms/lib/isRouter.ts+++ b/packages/app-store/ee/routing-forms/lib/isRouter.ts@@ -1,6 +1,6 @@-import { z } from "zod";+import type { z } from "zod";-import { zodRouterRouteView, zodRoute, zodRouterRoute, zodRouteView } from "../zod";+import type { zodRouterRouteView, zodRoute, zodRouterRoute, zodRouteView } from "../zod";export default function isRouter(route: z.infer<typeof zodRouteView> | z.infer<typeof zodRoute>diff --git a/packages/app-store/ee/routing-forms/lib/isRouterLinkedField.ts b/packages/app-store/ee/routing-forms/lib/isRouterLinkedField.tsindex a2bd6428b78..d57889cf4bf 100644--- a/packages/app-store/ee/routing-forms/lib/isRouterLinkedField.ts+++ b/packages/app-store/ee/routing-forms/lib/isRouterLinkedField.ts@@ -1,6 +1,6 @@-import { z } from "zod";+import type { z } from "zod";-import { zodFieldView, zodField, zodRouterField, zodRouterFieldView } from "../zod";+import type { zodFieldView, zodField, zodRouterField, zodRouterFieldView } from "../zod";export default function isRouterLinkedField(field: z.infer<typeof zodFieldView> | z.infer<typeof zodField>diff --git a/packages/app-store/ee/routing-forms/lib/processRoute.tsx b/packages/app-store/ee/routing-forms/lib/processRoute.tsxindex 9bb0e834b5e..d3268d2b439 100644--- a/packages/app-store/ee/routing-forms/lib/processRoute.tsx+++ b/packages/app-store/ee/routing-forms/lib/processRoute.tsx@@ -1,13 +1,13 @@+import type { App_RoutingForms_Form } from "@prisma/client";import jsonLogic from "json-logic-js";import { Utils as QbUtils } from "react-awesome-query-builder";-import { z } from "zod";+import type { z } from "zod";-import { Response, Route, SerializableForm } from "../types/types";-import { zodNonRouterRoute } from "../zod";+import type { Response, Route, SerializableForm } from "../types/types";+import type { zodNonRouterRoute } from "../zod";import { getQueryBuilderConfig } from "./getQueryBuilderConfig";import { isFallbackRoute } from "./isFallbackRoute";import isRouter from "./isRouter";-import { App_RoutingForms_Form } from ".prisma/client";export function processRoute({form,diff --git a/packages/app-store/ee/routing-forms/pages/form-edit/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/form-edit/[...appPages].tsxindex 2a9e15b54b4..1636c58af25 100644--- a/packages/app-store/ee/routing-forms/pages/form-edit/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/form-edit/[...appPages].tsx@@ -1,6 +1,7 @@import { useAutoAnimate } from "@formkit/auto-animate/react";import { useEffect, useState } from "react";-import { Controller, useFieldArray, UseFormReturn } from "react-hook-form";+import type { UseFormReturn } from "react-hook-form";+import { Controller, useFieldArray } from "react-hook-form";import { v4 as uuidv4 } from "uuid";import Shell from "@calcom/features/shell/Shell";@@ -16,11 +17,11 @@ import {} from "@calcom/ui";import { FiPlus, FiFileText } from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";+import type { RoutingFormWithResponseCount } from "../../components/SingleForm";import SingleForm, {getServerSidePropsForSingleFormView as getServerSideProps,- RoutingFormWithResponseCount,} from "../../components/SingleForm";export { getServerSideProps };diff --git a/packages/app-store/ee/routing-forms/pages/forms/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/forms/[...appPages].tsxindex d29ee773f85..ec7a5df3cd0 100644--- a/packages/app-store/ee/routing-forms/pages/forms/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/forms/[...appPages].tsx@@ -9,7 +9,7 @@ import useApp from "@calcom/lib/hooks/useApp";import { useHasPaidPlan } from "@calcom/lib/hooks/useHasPaidPlan";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";-import { AppGetServerSidePropsContext, AppPrisma, AppUser } from "@calcom/types/AppGetServerSideProps";+import type { AppGetServerSidePropsContext, AppPrisma, AppUser } from "@calcom/types/AppGetServerSideProps";import {Badge,ButtonGroup,@@ -39,7 +39,7 @@ import {FiMail,} from "@calcom/ui/components/icon";-import { inferSSRProps } from "@lib/types/inferSSRProps";+import type { inferSSRProps } from "@lib/types/inferSSRProps";import { FormAction, FormActionsDropdown, FormActionsProvider } from "../../components/FormActions";import { getSerializableForm } from "../../lib/getSerializableForm";diff --git a/packages/app-store/ee/routing-forms/pages/reporting/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/reporting/[...appPages].tsxindex 2c3616490eb..695afe8b7b6 100644--- a/packages/app-store/ee/routing-forms/pages/reporting/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/reporting/[...appPages].tsx@@ -1,20 +1,18 @@import React, { useCallback, useRef, useState } from "react";-import {- Builder,+import type {BuilderProps,Config,ImmutableTree,JsonLogicResult,JsonTree,- Query,- Utils as QbUtils,} from "react-awesome-query-builder";+import { Builder, Query, Utils as QbUtils } from "react-awesome-query-builder";import Shell from "@calcom/features/shell/Shell";import { classNames } from "@calcom/lib";import { useLocale } from "@calcom/lib/hooks/useLocale";import { trpc } from "@calcom/trpc/react";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { Button } from "@calcom/ui";import { useInViewObserver } from "@lib/hooks/useInViewObserver";@@ -22,9 +20,9 @@ import { useInViewObserver } from "@lib/hooks/useInViewObserver";import SingleForm, {getServerSidePropsForSingleFormView as getServerSideProps,} from "../../components/SingleForm";-import QueryBuilderInitialConfig from "../../components/react-awesome-query-builder/config/config";+import type QueryBuilderInitialConfig from "../../components/react-awesome-query-builder/config/config";import "../../components/react-awesome-query-builder/styles.css";-import { JsonLogicQuery } from "../../jsonLogicToPrisma";+import type { JsonLogicQuery } from "../../jsonLogicToPrisma";import { getQueryBuilderConfig } from "../../lib/getQueryBuilderConfig";export { getServerSideProps };diff --git a/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsxindex c3c09a6c586..7ef136d4c9d 100644--- a/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/route-builder/[...appPages].tsx@@ -3,11 +3,11 @@ import Link from "next/link";import React, { useCallback, useState } from "react";import { Query, Builder, Utils as QbUtils } from "react-awesome-query-builder";// types-import { JsonTree, ImmutableTree, BuilderProps } from "react-awesome-query-builder";+import type { JsonTree, ImmutableTree, BuilderProps } from "react-awesome-query-builder";import Shell from "@calcom/features/shell/Shell";import { trpc } from "@calcom/trpc/react";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import {SelectField,FormCard,@@ -25,7 +25,12 @@ import { RoutingPages } from "../../lib/RoutingPages";import { createFallbackRoute } from "../../lib/createFallbackRoute";import { getQueryBuilderConfig } from "../../lib/getQueryBuilderConfig";import isRouter from "../../lib/isRouter";-import { GlobalRoute, LocalRoute, QueryBuilderUpdatedConfig, SerializableRoute } from "../../types/types";+import type {+ GlobalRoute,+ LocalRoute,+ QueryBuilderUpdatedConfig,+ SerializableRoute,+} from "../../types/types";export { getServerSideProps };diff --git a/packages/app-store/ee/routing-forms/pages/router/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/router/[...appPages].tsxindex 3c3792c331f..85ed598a6c4 100644--- a/packages/app-store/ee/routing-forms/pages/router/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/router/[...appPages].tsx@@ -1,13 +1,13 @@import Head from "next/head";import z from "zod";-import { AppGetServerSidePropsContext, AppPrisma } from "@calcom/types/AppGetServerSideProps";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { AppGetServerSidePropsContext, AppPrisma } from "@calcom/types/AppGetServerSideProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import getFieldIdentifier from "../../lib/getFieldIdentifier";import { getSerializableForm } from "../../lib/getSerializableForm";import { processRoute } from "../../lib/processRoute";-import { Response } from "../../types/types";+import type { Response } from "../../types/types";export default function Router({ form, message }: inferSSRProps<typeof getServerSideProps>) {return (diff --git a/packages/app-store/ee/routing-forms/pages/routing-link/[...appPages].tsx b/packages/app-store/ee/routing-forms/pages/routing-link/[...appPages].tsxindex 63e02bc2c2b..8c09ccd3420 100644--- a/packages/app-store/ee/routing-forms/pages/routing-link/[...appPages].tsx+++ b/packages/app-store/ee/routing-forms/pages/routing-link/[...appPages].tsx@@ -1,6 +1,7 @@import Head from "next/head";import { useRouter } from "next/router";-import { FormEvent, useEffect, useRef, useState } from "react";+import type { FormEvent } from "react";+import { useEffect, useRef, useState } from "react";import { Toaster } from "react-hot-toast";import { v4 as uuidv4 } from "uuid";@@ -10,14 +11,14 @@ import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";import useTheme from "@calcom/lib/hooks/useTheme";import { trpc } from "@calcom/trpc/react";-import { AppGetServerSidePropsContext, AppPrisma } from "@calcom/types/AppGetServerSideProps";-import { inferSSRProps } from "@calcom/types/inferSSRProps";+import type { AppGetServerSidePropsContext, AppPrisma } from "@calcom/types/AppGetServerSideProps";+import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { Button, showToast } from "@calcom/ui";import FormInputFields from "../../components/FormInputFields";import { getSerializableForm } from "../../lib/getSerializableForm";import { processRoute } from "../../lib/processRoute";-import { Response, Route } from "../../types/types";+import type { Response, Route } from "../../types/types";function RoutingForm({ form, profile, ...restProps }: inferSSRProps<typeof getServerSideProps>) {const [customPageMessage, setCustomPageMessage] = useState<Route["action"]["value"]>("");diff --git a/packages/app-store/ee/routing-forms/playwright/tests/basic.e2e.ts b/packages/app-store/ee/routing-forms/playwright/tests/basic.e2e.tsindex e4132774035..bf7f7855f0a 100644--- a/packages/app-store/ee/routing-forms/playwright/tests/basic.e2e.ts+++ b/packages/app-store/ee/routing-forms/playwright/tests/basic.e2e.ts@@ -1,6 +1,8 @@-import { expect, Page } from "@playwright/test";+import type { Page } from "@playwright/test";+import { expect } from "@playwright/test";-import { Fixtures, test } from "@calcom/web/playwright/lib/fixtures";+import type { Fixtures } from "@calcom/web/playwright/lib/fixtures";+import { test } from "@calcom/web/playwright/lib/fixtures";function todo(title: string) {// eslint-disable-next-line playwright/no-skipped-test, @typescript-eslint/no-empty-function@@ -47,7 +49,7 @@ test.describe("Routing Forms", () => {await page.reload();- expect(await page.inputValue(`[data-testid="description"]`), description);+ expect(await page.inputValue(`[data-testid="description"]`)).toMatch(description);expect(await page.locator('[data-testid="field"]').count()).toBe(1);await expectCurrentFormToHaveFields(page, { 0: field }, types);@@ -340,14 +342,9 @@ async function expectCurrentFormToHaveFields() {for (const [index, field] of Object.entries(fields)) {expect(await page.inputValue(`[name="fields.${index}.label"]`)).toBe(field.label);- expect(- await page- .locator(".data-testid-field-type")- .nth(+index)- .locator("div")- .nth(1)- .innerText()- ).toBe(types[field.typeIndex]);+ expect(await page.locator(".data-testid-field-type").nth(+index).locator("div").nth(1).innerText()).toBe(+ types[field.typeIndex]+ );}}diff --git a/packages/app-store/ee/routing-forms/trpc-router.ts b/packages/app-store/ee/routing-forms/trpc-router.tsindex 3125b186ab5..600e8314e5c 100644--- a/packages/app-store/ee/routing-forms/trpc-router.ts+++ b/packages/app-store/ee/routing-forms/trpc-router.ts@@ -1,4 +1,5 @@-import { App_RoutingForms_Form, Prisma, User, WebhookTriggerEvents } from "@prisma/client";+import type { App_RoutingForms_Form, User } from "@prisma/client";+import { Prisma, WebhookTriggerEvents } from "@prisma/client";import { z } from "zod";import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks";@@ -7,7 +8,7 @@ import logger from "@calcom/lib/logger";import { RoutingFormSettings } from "@calcom/prisma/zod-utils";import { TRPCError } from "@calcom/trpc/server";import { authedProcedure, publicProcedure, router } from "@calcom/trpc/server/trpc";-import { Ensure } from "@calcom/types/utils";+import type { Ensure } from "@calcom/types/utils";import ResponseEmail from "./emails/templates/response-email";import { jsonLogicToPrisma } from "./jsonLogicToPrisma";@@ -18,14 +19,14 @@ import { isFallbackRoute } from "./lib/isFallbackRoute";import { isFormEditAllowed } from "./lib/isFormEditAllowed";import isRouter from "./lib/isRouter";import isRouterLinkedField from "./lib/isRouterLinkedField";-import { Response, SerializableForm } from "./types/types";+import type { Response, SerializableForm } from "./types/types";import { zodFields, zodRouterRoute, zodRoutes } from "./zod";async function onFormSubmission(form: Ensure<SerializableForm<App_RoutingForms_Form> & { user: User }, "fields">,response: Response) {- const fieldResponsesByName: Record<string, typeof response[keyof typeof response]["value"]> = {};+ const fieldResponsesByName: Record<string, (typeof response)[keyof typeof response]["value"]> = {};for (const [fieldId, fieldResponse] of Object.entries(response)) {// Use the label lowercased as the key to identify a field.diff --git a/packages/app-store/ee/routing-forms/types/types.d.ts b/packages/app-store/ee/routing-forms/types/types.d.tsindex 76e778b2910..30ace46329d 100644--- a/packages/app-store/ee/routing-forms/types/types.d.ts+++ b/packages/app-store/ee/routing-forms/types/types.d.ts@@ -1,10 +1,10 @@-import { App_RoutingForms_Form } from "@prisma/client";-import z from "zod";+import type { App_RoutingForms_Form } from "@prisma/client";+import type z from "zod";-import { RoutingFormSettings } from "@calcom/prisma/zod-utils";+import type { RoutingFormSettings } from "@calcom/prisma/zod-utils";-import QueryBuilderInitialConfig from "../components/react-awesome-query-builder/config/config";-import { zodRouterRouteView, zodNonRouterRoute, zodFieldsView, zodRoutesView } from "../zod";+import type QueryBuilderInitialConfig from "../components/react-awesome-query-builder/config/config";+import type { zodRouterRouteView, zodNonRouterRoute, zodFieldsView, zodRoutesView } from "../zod";export type RoutingForm = SerializableForm<App_RoutingForms_Form>;diff --git a/packages/app-store/exchange2013calendar/lib/CalendarService.ts b/packages/app-store/exchange2013calendar/lib/CalendarService.tsindex fcf029edf49..ac00747b652 100644--- a/packages/app-store/exchange2013calendar/lib/CalendarService.ts+++ b/packages/app-store/exchange2013calendar/lib/CalendarService.ts@@ -24,14 +24,14 @@ import { symmetricDecrypt } from "@calcom/lib/crypto";// Probably don't need// import { CALENDAR_INTEGRATIONS_TYPES } from "@calcom/lib/integrations/calendar/constants/generals";import logger from "@calcom/lib/logger";-import {+import type {Calendar,CalendarEvent,EventBusyDate,IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";export default class ExchangeCalendarService implements Calendar {private url = "";diff --git a/packages/app-store/exchange2016calendar/components/InstallAppButton.tsx b/packages/app-store/exchange2016calendar/components/InstallAppButton.tsxindex 1f31c13b77f..e0339a3638e 100644--- a/packages/app-store/exchange2016calendar/components/InstallAppButton.tsx+++ b/packages/app-store/exchange2016calendar/components/InstallAppButton.tsx@@ -1,5 +1,5 @@import useAddAppMutation from "../../_utils/useAddAppMutation";-import { InstallAppButtonProps } from "../../types";+import type { InstallAppButtonProps } from "../../types";export default function InstallAppButton(props: InstallAppButtonProps) {const mutation = useAddAppMutation("exchange2016_calendar");diff --git a/packages/app-store/exchange2016calendar/lib/CalendarService.ts b/packages/app-store/exchange2016calendar/lib/CalendarService.tsindex 71868477c34..2c60e4fe64e 100644--- a/packages/app-store/exchange2016calendar/lib/CalendarService.ts+++ b/packages/app-store/exchange2016calendar/lib/CalendarService.ts@@ -24,14 +24,14 @@ import { symmetricDecrypt } from "@calcom/lib/crypto";// Probably don't need// import { CALENDAR_INTEGRATIONS_TYPES } from "@calcom/lib/integrations/calendar/constants/generals";import logger from "@calcom/lib/logger";-import {+import type {Calendar,CalendarEvent,EventBusyDate,IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";export default class ExchangeCalendarService implements Calendar {private url = "";diff --git a/packages/app-store/exchangecalendar/lib/CalendarService.ts b/packages/app-store/exchangecalendar/lib/CalendarService.tsindex dd87692f929..9a93cd00fdc 100644--- a/packages/app-store/exchangecalendar/lib/CalendarService.ts+++ b/packages/app-store/exchangecalendar/lib/CalendarService.ts@@ -1,4 +1,5 @@import { XhrApi } from "@ewsjs/xhr";+import type { FindFoldersResults, FindItemsResults } from "ews-javascript-api";import {Appointment,Attendee,@@ -8,8 +9,6 @@ import {DateTime,DeleteMode,ExchangeService,- FindFoldersResults,- FindItemsResults,Folder,FolderId,FolderSchema,@@ -30,7 +29,7 @@ import {import { symmetricDecrypt } from "@calcom/lib/crypto";import logger from "@calcom/lib/logger";-import {+import type {Calendar,CalendarEvent,EventBusyDate,@@ -38,7 +37,7 @@ import {NewCalendarEventType,Person,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import { ExchangeAuthentication } from "../enums";diff --git a/packages/app-store/fathom/api/add.ts b/packages/app-store/fathom/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/fathom/api/add.ts+++ b/packages/app-store/fathom/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/fathom/components/EventTypeAppCardInterface.tsx b/packages/app-store/fathom/components/EventTypeAppCardInterface.tsxindex 77c5b45b593..d86dc6a17cd 100644--- a/packages/app-store/fathom/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/fathom/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { TextField } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/ga4/api/add.ts b/packages/app-store/ga4/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/ga4/api/add.ts+++ b/packages/app-store/ga4/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/ga4/components/EventTypeAppCardInterface.tsx b/packages/app-store/ga4/components/EventTypeAppCardInterface.tsxindex 77c5b45b593..d86dc6a17cd 100644--- a/packages/app-store/ga4/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/ga4/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { TextField } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/giphy/DESCRIPTION.md b/packages/app-store/giphy/DESCRIPTION.mdindex e9c13923ff0..d06290ee24e 100644--- a/packages/app-store/giphy/DESCRIPTION.md+++ b/packages/app-store/giphy/DESCRIPTION.md@@ -4,4 +4,4 @@ items:- /api/app-store/giphy/GIPHY2.png----An online database and search engine that allows users to search for and share short looping videos with no sound that resemble animated GIF files. GIPHY is your top source for the best & newest GIFs & Animated Stickers online. Find everything from funny GIFs, reaction GIFs, unique GIFs and more to add to your custom booking page. Located under advanced settings in each event type.\ No newline at end of file+An online database and search engine that allows users to search for and share short looping videos with no sound that resemble animated GIF files. GIPHY is your top source for the best & newest GIFs & Animated Stickers online. Find everything from funny GIFs, reaction GIFs, unique GIFs and more to add to your custom booking page. Located under advanced settings in each event type.diff --git a/packages/app-store/giphy/components/EventTypeAppCardInterface.tsx b/packages/app-store/giphy/components/EventTypeAppCardInterface.tsxindex ea7cc2a3047..ad5e54a8573 100644--- a/packages/app-store/giphy/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/giphy/components/EventTypeAppCardInterface.tsx@@ -6,7 +6,7 @@ import { SelectGifInput } from "@calcom/app-store/giphy/components";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/giphy/components/SearchDialog.tsx b/packages/app-store/giphy/components/SearchDialog.tsxindex 2228938f602..249fbfdd7ad 100644--- a/packages/app-store/giphy/components/SearchDialog.tsx+++ b/packages/app-store/giphy/components/SearchDialog.tsx@@ -1,5 +1,6 @@import { LinkIcon, SearchIcon } from "@heroicons/react/outline";-import { Dispatch, SetStateAction, useState } from "react";+import type { Dispatch, SetStateAction } from "react";+import { useState } from "react";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/app-store/googlecalendar/lib/CalendarService.ts b/packages/app-store/googlecalendar/lib/CalendarService.tsindex 42c6a7c9161..6ab3811fdaf 100644--- a/packages/app-store/googlecalendar/lib/CalendarService.ts+++ b/packages/app-store/googlecalendar/lib/CalendarService.ts@@ -1,9 +1,10 @@-import { Prisma } from "@prisma/client";-import { calendar_v3, google } from "googleapis";+import type { Prisma } from "@prisma/client";+import type { calendar_v3 } from "googleapis";+import { google } from "googleapis";import { MeetLocationType } from "@calcom/app-store/locations";import { getLocation, getRichDescription } from "@calcom/lib/CalEventParser";-import CalendarService from "@calcom/lib/CalendarService";+import type CalendarService from "@calcom/lib/CalendarService";import logger from "@calcom/lib/logger";import prisma from "@calcom/prisma";import type {@@ -13,7 +14,7 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import { getGoogleAppKeys } from "./getGoogleAppKeys";import { googleCredentialSchema } from "./googleCredentialSchema";diff --git a/packages/app-store/hubspot/DESCRIPTION.md b/packages/app-store/hubspot/DESCRIPTION.mdindex ecce11527ae..a1e911fac19 100644--- a/packages/app-store/hubspot/DESCRIPTION.md+++ b/packages/app-store/hubspot/DESCRIPTION.md@@ -6,5 +6,6 @@ items:HubSpot is a cloud-based CRM designed to help align sales and marketing teams, foster sales enablement, boost ROI and optimize your inbound marketing strategy to generate more, qualified leads.Features:- - Creates a meeting in HubSpot for one or many attendees- - Attendees that don't exist in HubSpot, gets created first to associate them in the meeting++- Creates a meeting in HubSpot for one or many attendees+- Attendees that don't exist in HubSpot, gets created first to associate them in the meetingdiff --git a/packages/app-store/hubspot/api/callback.ts b/packages/app-store/hubspot/api/callback.tsindex ccc4dd8dfda..80414cb736c 100644--- a/packages/app-store/hubspot/api/callback.ts+++ b/packages/app-store/hubspot/api/callback.ts@@ -1,5 +1,5 @@import * as hubspot from "@hubspot/api-client";-import { TokenResponseIF } from "@hubspot/api-client/lib/codegen/oauth/models/TokenResponseIF";+import type { TokenResponseIF } from "@hubspot/api-client/lib/codegen/oauth/models/TokenResponseIF";import type { NextApiRequest, NextApiResponse } from "next";import { WEBAPP_URL } from "@calcom/lib/constants";diff --git a/packages/app-store/hubspot/lib/CalendarService.ts b/packages/app-store/hubspot/lib/CalendarService.tsindex a9d7988dad7..1ab601d1249 100644--- a/packages/app-store/hubspot/lib/CalendarService.ts+++ b/packages/app-store/hubspot/lib/CalendarService.ts@@ -1,7 +1,7 @@import * as hubspot from "@hubspot/api-client";-import { BatchInputPublicAssociation } from "@hubspot/api-client/lib/codegen/crm/associations";-import { PublicObjectSearchRequest } from "@hubspot/api-client/lib/codegen/crm/contacts";-import { SimplePublicObjectInput } from "@hubspot/api-client/lib/codegen/crm/objects/meetings";+import type { BatchInputPublicAssociation } from "@hubspot/api-client/lib/codegen/crm/associations";+import type { PublicObjectSearchRequest } from "@hubspot/api-client/lib/codegen/crm/contacts";+import type { SimplePublicObjectInput } from "@hubspot/api-client/lib/codegen/crm/objects/meetings";import { getLocation } from "@calcom/lib/CalEventParser";import { WEBAPP_URL } from "@calcom/lib/constants";@@ -16,7 +16,7 @@ import type {NewCalendarEventType,Person,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug";import type { HubspotToken } from "../api/callback";diff --git a/packages/app-store/larkcalendar/common.ts b/packages/app-store/larkcalendar/common.tsindex f00e0a9628b..379ee16d5a2 100644--- a/packages/app-store/larkcalendar/common.ts+++ b/packages/app-store/larkcalendar/common.ts@@ -1,7 +1,7 @@-import logger from "@calcom/lib/logger";+import type logger from "@calcom/lib/logger";import getAppKeysFromSlug from "../_utils/getAppKeysFromSlug";-import { LarkAppKeys } from "./types/LarkCalendar";+import type { LarkAppKeys } from "./types/LarkCalendar";export const LARK_HOST = "open.larksuite.com";diff --git a/packages/app-store/larkcalendar/lib/CalendarService.ts b/packages/app-store/larkcalendar/lib/CalendarService.tsindex 5df551a6c96..e9ba925c24d 100644--- a/packages/app-store/larkcalendar/lib/CalendarService.ts+++ b/packages/app-store/larkcalendar/lib/CalendarService.ts@@ -9,7 +9,7 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import { handleLarkError, isExpired, LARK_HOST } from "../common";import type {diff --git a/packages/app-store/locations.ts b/packages/app-store/locations.tsindex 02207656aab..d674cbe8d27 100644--- a/packages/app-store/locations.ts+++ b/packages/app-store/locations.ts@@ -3,7 +3,7 @@ import type { TFunction } from "next-i18next";import { appStoreMetadata } from "@calcom/app-store/appStoreMetaData";import logger from "@calcom/lib/logger";-import { Ensure, Optional } from "@calcom/types/utils";+import type { Ensure, Optional } from "@calcom/types/utils";import type { EventLocationTypeFromAppMeta } from "../types/App";diff --git a/packages/app-store/n8n/DESCRIPTION.md b/packages/app-store/n8n/DESCRIPTION.mdindex ff3aa6742e8..a10f1ba5374 100644--- a/packages/app-store/n8n/DESCRIPTION.md+++ b/packages/app-store/n8n/DESCRIPTION.md@@ -20,4 +20,4 @@ items:<li>Click on <a target="_blank" href="/settings"><strong>Settings</strong></a>.</li><li>There you will find the API keys section which allows you to generate a key for use. More information on this can be found on the <a href="https://developer.cal.com/api/authentication">Cal Authentication</a> page.</li><li>Use API key in your Cal trigger node credentials in n8n.</li>-</ol>\ No newline at end of file+</ol>diff --git a/packages/app-store/n8n/api/add.ts b/packages/app-store/n8n/api/add.tsindex b4c95f1426b..49ac6be693b 100644--- a/packages/app-store/n8n/api/add.ts+++ b/packages/app-store/n8n/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/office365calendar/lib/CalendarService.ts b/packages/app-store/office365calendar/lib/CalendarService.tsindex 6823ce0823c..ebc0bf53462 100644--- a/packages/app-store/office365calendar/lib/CalendarService.ts+++ b/packages/app-store/office365calendar/lib/CalendarService.ts@@ -1,4 +1,4 @@-import { Calendar as OfficeCalendar, User } from "@microsoft/microsoft-graph-types-beta";+import type { Calendar as OfficeCalendar, User } from "@microsoft/microsoft-graph-types-beta";import { getLocation, getRichDescription } from "@calcom/lib/CalEventParser";import { handleErrorsJson, handleErrorsRaw } from "@calcom/lib/errors";@@ -12,9 +12,9 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";-import { O365AuthCredentials } from "../types/Office365Calendar";+import type { O365AuthCredentials } from "../types/Office365Calendar";import { getOfficeAppKeys } from "./getOfficeAppKeys";interface IRequest {diff --git a/packages/app-store/office365video/components/InstallAppButton.tsx b/packages/app-store/office365video/components/InstallAppButton.tsxindex 778d00423c6..a5cbdafd438 100644--- a/packages/app-store/office365video/components/InstallAppButton.tsx+++ b/packages/app-store/office365video/components/InstallAppButton.tsx@@ -1,6 +1,6 @@import { useState } from "react";-import { InstallAppButtonProps } from "../../types";+import type { InstallAppButtonProps } from "../../types";import AddIntegration from "./AccountDialog";export default function InstallAppButton(props: InstallAppButtonProps) {diff --git a/packages/app-store/office365video/lib/VideoApiAdapter.ts b/packages/app-store/office365video/lib/VideoApiAdapter.tsindex 9c59d395dc4..44c096b4aa4 100644--- a/packages/app-store/office365video/lib/VideoApiAdapter.ts+++ b/packages/app-store/office365video/lib/VideoApiAdapter.ts@@ -1,10 +1,10 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import { handleErrorsJson, handleErrorsRaw } from "@calcom/lib/errors";import { HttpError } from "@calcom/lib/http-error";import prisma from "@calcom/prisma";import type { CalendarEvent } from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import type { PartialReference } from "@calcom/types/EventManager";import type { VideoApiAdapter, VideoCallData } from "@calcom/types/VideoApiAdapter";diff --git a/packages/app-store/pipedream/api/add.ts b/packages/app-store/pipedream/api/add.tsindex 3b4b5384efa..269ab322278 100644--- a/packages/app-store/pipedream/api/add.ts+++ b/packages/app-store/pipedream/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/plausible/api/add.ts b/packages/app-store/plausible/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/plausible/api/add.ts+++ b/packages/app-store/plausible/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx b/packages/app-store/plausible/components/EventTypeAppCardInterface.tsxindex 9066d980243..1d35515358e 100644--- a/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/plausible/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { TextField } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/qr_code/api/add.ts b/packages/app-store/qr_code/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/qr_code/api/add.ts+++ b/packages/app-store/qr_code/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/qr_code/components/EventTypeAppCardInterface.tsx b/packages/app-store/qr_code/components/EventTypeAppCardInterface.tsxindex 9146f836a14..e716cca7424 100644--- a/packages/app-store/qr_code/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/qr_code/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { Tooltip } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ eventType, app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/rainbow/DESCRIPTION.md b/packages/app-store/rainbow/DESCRIPTION.mdindex d8e1257f1d2..cde42e0c27c 100644--- a/packages/app-store/rainbow/DESCRIPTION.md+++ b/packages/app-store/rainbow/DESCRIPTION.md@@ -6,4 +6,3 @@ items:---Token gate bookings based on NFTs, DAO tokens, and ERC-20 tokens. Rainbow supports dozens of trusted Ethereum wallet apps to verify token ownership. Available blockchains are Ethereum mainnet, Arbitrum, Optimism, and Polygon mainnet.-diff --git a/packages/app-store/rainbow/api/add.ts b/packages/app-store/rainbow/api/add.tsindex 5834fdbd88d..b209b5fb19e 100644--- a/packages/app-store/rainbow/api/add.ts+++ b/packages/app-store/rainbow/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/rainbow/components/EventTypeAppCardInterface.tsx b/packages/app-store/rainbow/components/EventTypeAppCardInterface.tsxindex c5be915de6b..0e64fd44aaf 100644--- a/packages/app-store/rainbow/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/rainbow/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import RainbowInstallForm from "@calcom/app-store/rainbow/components/RainbowInstallForm";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/rainbow/components/RainbowInstallForm.tsx b/packages/app-store/rainbow/components/RainbowInstallForm.tsxindex 2f05d7f7f0c..3de2c3e5185 100644--- a/packages/app-store/rainbow/components/RainbowInstallForm.tsx+++ b/packages/app-store/rainbow/components/RainbowInstallForm.tsx@@ -1,11 +1,11 @@-import { z } from "zod";+import type { z } from "zod";-import { SetAppDataGeneric } from "@calcom/app-store/EventTypeAppContext";+import type { SetAppDataGeneric } from "@calcom/app-store/EventTypeAppContext";import { useLocale } from "@calcom/lib/hooks/useLocale";import { SUPPORTED_CHAINS_FOR_FORM } from "@calcom/rainbow/utils/ethereum";import { Select } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";type RainbowInstallFormProps = {setAppData: SetAppDataGeneric<typeof appDataSchema>;diff --git a/packages/app-store/raycast/api/add.ts b/packages/app-store/raycast/api/add.tsindex 7f13c0244e4..8b788d621c4 100644--- a/packages/app-store/raycast/api/add.ts+++ b/packages/app-store/raycast/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/salesforce/lib/CalendarService.ts b/packages/app-store/salesforce/lib/CalendarService.tsindex 4d23c11d0ac..93ce6762f00 100644--- a/packages/app-store/salesforce/lib/CalendarService.ts+++ b/packages/app-store/salesforce/lib/CalendarService.ts@@ -1,4 +1,5 @@-import jsforce, { TokenResponse } from "jsforce";+import type { TokenResponse } from "jsforce";+import jsforce from "jsforce";import { RRule } from "rrule";import { getLocation } from "@calcom/lib/CalEventParser";@@ -12,7 +13,7 @@ import type {NewCalendarEventType,Person,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import getAppKeysFromSlug from "../../_utils/getAppKeysFromSlug";diff --git a/packages/app-store/sendgrid/lib/CalendarService.ts b/packages/app-store/sendgrid/lib/CalendarService.tsindex 162eeff94d9..de1bd8cc023 100644--- a/packages/app-store/sendgrid/lib/CalendarService.ts+++ b/packages/app-store/sendgrid/lib/CalendarService.ts@@ -1,6 +1,7 @@import z from "zod";-import Sendgrid, { SendgridNewContact } from "@calcom/lib/Sendgrid";+import type { SendgridNewContact } from "@calcom/lib/Sendgrid";+import Sendgrid from "@calcom/lib/Sendgrid";import { symmetricDecrypt } from "@calcom/lib/crypto";import logger from "@calcom/lib/logger";import type {@@ -10,7 +11,7 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";const apiKeySchema = z.object({encrypted: z.string(),diff --git a/packages/app-store/signal/api/add.ts b/packages/app-store/signal/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/signal/api/add.ts+++ b/packages/app-store/signal/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/sirius_video/api/add.ts b/packages/app-store/sirius_video/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/sirius_video/api/add.ts+++ b/packages/app-store/sirius_video/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/stripepayment/DESCRIPTION.md b/packages/app-store/stripepayment/DESCRIPTION.mdindex 189bb307c40..8a30ef11a3c 100644--- a/packages/app-store/stripepayment/DESCRIPTION.md+++ b/packages/app-store/stripepayment/DESCRIPTION.md@@ -7,4 +7,4 @@ items:- /api/app-store/stripepayment/stripe5.jpg----Stripe provides payment infrastructure for everyone from startups to Fortune 500 companies. They provide payment processing software as well as application programming interfaces (APIs) for mobile applications as well as e-commerce websites processing payments from (but not limited to) credit cards, debit cards, digital wallets, Google Pay, Apple Pay, Bank Transfers, Alipay and WeChat.\ No newline at end of file+Stripe provides payment infrastructure for everyone from startups to Fortune 500 companies. They provide payment processing software as well as application programming interfaces (APIs) for mobile applications as well as e-commerce websites processing payments from (but not limited to) credit cards, debit cards, digital wallets, Google Pay, Apple Pay, Bank Transfers, Alipay and WeChat.diff --git a/packages/app-store/stripepayment/api/add.ts b/packages/app-store/stripepayment/api/add.tsindex 1f82f1e4f1a..ba481f3e8fe 100644--- a/packages/app-store/stripepayment/api/add.ts+++ b/packages/app-store/stripepayment/api/add.ts@@ -1,6 +1,6 @@import type { NextApiRequest, NextApiResponse } from "next";import stringify from "qs-stringify";-import Stripe from "stripe";+import type Stripe from "stripe";import { z } from "zod";import { WEBAPP_URL } from "@calcom/lib/constants";diff --git a/packages/app-store/stripepayment/api/callback.ts b/packages/app-store/stripepayment/api/callback.tsindex bc2b1d5b53c..c89abc239ed 100644--- a/packages/app-store/stripepayment/api/callback.ts+++ b/packages/app-store/stripepayment/api/callback.ts@@ -1,11 +1,12 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import { stringify } from "querystring";import prisma from "@calcom/prisma";import getInstalledAppPath from "../../_utils/getInstalledAppPath";-import stripe, { StripeData } from "../lib/server";+import type { StripeData } from "../lib/server";+import stripe from "../lib/server";function getReturnToValueFromQueryState(req: NextApiRequest) {let returnTo = "";diff --git a/packages/app-store/stripepayment/api/paymentCallback.ts b/packages/app-store/stripepayment/api/paymentCallback.tsindex 85af159ee2a..e10df2d0bc3 100644--- a/packages/app-store/stripepayment/api/paymentCallback.ts+++ b/packages/app-store/stripepayment/api/paymentCallback.ts@@ -1,11 +1,11 @@-import { NextApiRequest, NextApiResponse } from "next";+import type { NextApiRequest, NextApiResponse } from "next";import z from "zod";import { getCustomerAndCheckoutSession } from "@calcom/app-store/stripepayment/lib/getCustomerAndCheckoutSession";import { WEBAPP_URL } from "@calcom/lib/constants";import { defaultHandler, defaultResponder } from "@calcom/lib/server";import { prisma } from "@calcom/prisma";-import { Prisma } from "@calcom/prisma/client";+import type { Prisma } from "@calcom/prisma/client";const querySchema = z.object({callbackUrl: z.string().transform((url) => {diff --git a/packages/app-store/stripepayment/api/subscription.ts b/packages/app-store/stripepayment/api/subscription.tsindex 857d8066c4f..1d15027747c 100644--- a/packages/app-store/stripepayment/api/subscription.ts+++ b/packages/app-store/stripepayment/api/subscription.ts@@ -1,11 +1,11 @@import type { NextApiRequest, NextApiResponse } from "next";-import Stripe from "stripe";+import type Stripe from "stripe";import { getPremiumMonthlyPlanPriceId } from "@calcom/app-store/stripepayment/lib/utils";import { checkPremiumUsername } from "@calcom/features/ee/common/lib/checkPremiumUsername";import { WEBAPP_URL } from "@calcom/lib/constants";import prisma from "@calcom/prisma";-import { Prisma } from "@calcom/prisma/client";+import type { Prisma } from "@calcom/prisma/client";import { getStripeCustomerIdFromUserId } from "../lib/customer";import stripe from "../lib/server";diff --git a/packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx b/packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsxindex a90adf24573..98e713b0ee9 100644--- a/packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx@@ -9,7 +9,7 @@ import { WEBAPP_URL } from "@calcom/lib/constants";import { useLocale } from "@calcom/lib/hooks/useLocale";import { Alert, TextField } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app, eventType }) {const { asPath } = useRouter();diff --git a/packages/app-store/stripepayment/lib/PaymentService.ts b/packages/app-store/stripepayment/lib/PaymentService.tsindex 7271b6ecd69..957797b16e7 100644--- a/packages/app-store/stripepayment/lib/PaymentService.ts+++ b/packages/app-store/stripepayment/lib/PaymentService.ts@@ -1,16 +1,16 @@-import { Booking, Payment, Prisma } from "@prisma/client";+import type { Booking, Payment, Prisma } from "@prisma/client";import Stripe from "stripe";import { v4 as uuidv4 } from "uuid";import z from "zod";import { sendAwaitingPaymentEmail } from "@calcom/emails";-import { IAbstractPaymentService } from "@calcom/lib/PaymentService";+import type { IAbstractPaymentService } from "@calcom/lib/PaymentService";import { getErrorFromUnknown } from "@calcom/lib/errors";import prisma from "@calcom/prisma";-import { CalendarEvent } from "@calcom/types/Calendar";+import type { CalendarEvent } from "@calcom/types/Calendar";import { createPaymentLink } from "./client";-import { StripePaymentData } from "./server";+import type { StripePaymentData } from "./server";const stripeCredentialKeysSchema = z.object({stripe_user_id: z.string(),diff --git a/packages/app-store/stripepayment/lib/client/getStripe.ts b/packages/app-store/stripepayment/lib/client/getStripe.tsindex b53453933a1..b618bf58255 100644--- a/packages/app-store/stripepayment/lib/client/getStripe.ts+++ b/packages/app-store/stripepayment/lib/client/getStripe.ts@@ -1,4 +1,4 @@-import { Stripe } from "@stripe/stripe-js";+import type { Stripe } from "@stripe/stripe-js";import { loadStripe } from "@stripe/stripe-js/pure";export type Maybe<T> = T | undefined | null;diff --git a/packages/app-store/tandemvideo/lib/VideoApiAdapter.ts b/packages/app-store/tandemvideo/lib/VideoApiAdapter.tsindex 28ad87b21ac..9f7b9599593 100644--- a/packages/app-store/tandemvideo/lib/VideoApiAdapter.ts+++ b/packages/app-store/tandemvideo/lib/VideoApiAdapter.ts@@ -1,10 +1,10 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import { handleErrorsJson, handleErrorsRaw } from "@calcom/lib/errors";import { HttpError } from "@calcom/lib/http-error";import prisma from "@calcom/prisma";import type { CalendarEvent } from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import type { PartialReference } from "@calcom/types/EventManager";import type { VideoApiAdapter, VideoCallData } from "@calcom/types/VideoApiAdapter";diff --git a/packages/app-store/telegram/api/add.ts b/packages/app-store/telegram/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/telegram/api/add.ts+++ b/packages/app-store/telegram/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/templates/_auth-based-app/README.md b/packages/app-store/templates/_auth-based-app/README.mdindex b3d6e23ef24..2fcc280ebe1 100644--- a/packages/app-store/templates/_auth-based-app/README.md+++ b/packages/app-store/templates/_auth-based-app/README.md@@ -1,2 +1,3 @@## TODO:-Identify an ideal app among existing auth based apps and add it here\ No newline at end of file++Identify an ideal app among existing auth based apps and add it herediff --git a/packages/app-store/templates/_calendar/README.md b/packages/app-store/templates/_calendar/README.mdindex 124b3749c66..6059799d78a 100644--- a/packages/app-store/templates/_calendar/README.md+++ b/packages/app-store/templates/_calendar/README.md@@ -1 +1 @@-Calendar apps are not streamlined and thus a template for it needs some good amount of work\ No newline at end of file+Calendar apps are not streamlined and thus a template for it needs some good amount of workdiff --git a/packages/app-store/templates/basic/api/add.ts b/packages/app-store/templates/basic/api/add.tsindex f8c6354180d..9a4afb9b2cb 100644--- a/packages/app-store/templates/basic/api/add.ts+++ b/packages/app-store/templates/basic/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/templates/booking-pages-tag/DESCRIPTION.md b/packages/app-store/templates/booking-pages-tag/DESCRIPTION.mdindex 02c40f00ac6..a4b15502c3b 100644--- a/packages/app-store/templates/booking-pages-tag/DESCRIPTION.md+++ b/packages/app-store/templates/booking-pages-tag/DESCRIPTION.md@@ -5,4 +5,4 @@ items:- 3.jpeg----{DESCRIPTION}\ No newline at end of file+{DESCRIPTION}diff --git a/packages/app-store/templates/booking-pages-tag/api/add.ts b/packages/app-store/templates/booking-pages-tag/api/add.tsindex f8c6354180d..9a4afb9b2cb 100644--- a/packages/app-store/templates/booking-pages-tag/api/add.ts+++ b/packages/app-store/templates/booking-pages-tag/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/templates/booking-pages-tag/components/EventTypeAppCardInterface.tsx b/packages/app-store/templates/booking-pages-tag/components/EventTypeAppCardInterface.tsxindex 77c5b45b593..d86dc6a17cd 100644--- a/packages/app-store/templates/booking-pages-tag/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/templates/booking-pages-tag/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { TextField } from "@calcom/ui";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/templates/event-type-app-card/DESCRIPTION.md b/packages/app-store/templates/event-type-app-card/DESCRIPTION.mdindex 30a038f826e..a4b15502c3b 100644--- a/packages/app-store/templates/event-type-app-card/DESCRIPTION.md+++ b/packages/app-store/templates/event-type-app-card/DESCRIPTION.md@@ -6,4 +6,3 @@ items:---{DESCRIPTION}-diff --git a/packages/app-store/templates/event-type-app-card/api/add.ts b/packages/app-store/templates/event-type-app-card/api/add.tsindex f8c6354180d..9a4afb9b2cb 100644--- a/packages/app-store/templates/event-type-app-card/api/add.ts+++ b/packages/app-store/templates/event-type-app-card/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/templates/event-type-app-card/components/EventTypeAppCardInterface.tsx b/packages/app-store/templates/event-type-app-card/components/EventTypeAppCardInterface.tsxindex 8eaa31e84cf..74770964e76 100644--- a/packages/app-store/templates/event-type-app-card/components/EventTypeAppCardInterface.tsx+++ b/packages/app-store/templates/event-type-app-card/components/EventTypeAppCardInterface.tsx@@ -5,7 +5,7 @@ import AppCard from "@calcom/app-store/_components/AppCard";import type { EventTypeAppCardComponent } from "@calcom/app-store/types";import { FiSunrise, FiSunset } from "@calcom/ui/components/icon";-import { appDataSchema } from "../zod";+import type { appDataSchema } from "../zod";const EventTypeAppCard: EventTypeAppCardComponent = function EventTypeAppCard({ eventType, app }) {const [getAppData, setAppData] = useAppContextWithSchema<typeof appDataSchema>();diff --git a/packages/app-store/templates/event-type-location-video-static/DESCRIPTION.md b/packages/app-store/templates/event-type-location-video-static/DESCRIPTION.mdindex 02c40f00ac6..a4b15502c3b 100644--- a/packages/app-store/templates/event-type-location-video-static/DESCRIPTION.md+++ b/packages/app-store/templates/event-type-location-video-static/DESCRIPTION.md@@ -5,4 +5,4 @@ items:- 3.jpeg----{DESCRIPTION}\ No newline at end of file+{DESCRIPTION}diff --git a/packages/app-store/templates/event-type-location-video-static/api/add.ts b/packages/app-store/templates/event-type-location-video-static/api/add.tsindex f8c6354180d..9a4afb9b2cb 100644--- a/packages/app-store/templates/event-type-location-video-static/api/add.ts+++ b/packages/app-store/templates/event-type-location-video-static/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/templates/general-app-settings/DESCRIPTION.md b/packages/app-store/templates/general-app-settings/DESCRIPTION.mdindex 02c40f00ac6..a4b15502c3b 100644--- a/packages/app-store/templates/general-app-settings/DESCRIPTION.md+++ b/packages/app-store/templates/general-app-settings/DESCRIPTION.md@@ -5,4 +5,4 @@ items:- 3.jpeg----{DESCRIPTION}\ No newline at end of file+{DESCRIPTION}diff --git a/packages/app-store/templates/general-app-settings/api/add.ts b/packages/app-store/templates/general-app-settings/api/add.tsindex f8c6354180d..9a4afb9b2cb 100644--- a/packages/app-store/templates/general-app-settings/api/add.ts+++ b/packages/app-store/templates/general-app-settings/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/templates/link-as-an-app/api/add.ts b/packages/app-store/templates/link-as-an-app/api/add.tsindex d27cdfd0981..37dda83e44d 100644--- a/packages/app-store/templates/link-as-an-app/api/add.ts+++ b/packages/app-store/templates/link-as-an-app/api/add.ts@@ -1,5 +1,5 @@import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import appConfig from "../config.json";diff --git a/packages/app-store/typeform/api/add.ts b/packages/app-store/typeform/api/add.tsindex dc41ae123c5..7f6af388bef 100644--- a/packages/app-store/typeform/api/add.ts+++ b/packages/app-store/typeform/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/typeform/playwright/tests/basic.e2e.ts b/packages/app-store/typeform/playwright/tests/basic.e2e.tsindex ce52acb6206..dcbee5aea20 100644--- a/packages/app-store/typeform/playwright/tests/basic.e2e.ts+++ b/packages/app-store/typeform/playwright/tests/basic.e2e.ts@@ -1,11 +1,13 @@-import { Page, expect } from "@playwright/test";+import type { Page } from "@playwright/test";+import { expect } from "@playwright/test";import {addForm as addRoutingForm,addOneFieldAndDescriptionAndSaveForm,} from "@calcom/app-store/ee/routing-forms/playwright/tests/basic.e2e";import { CAL_URL } from "@calcom/lib/constants";-import { Fixtures, test } from "@calcom/web/playwright/lib/fixtures";+import type { Fixtures } from "@calcom/web/playwright/lib/fixtures";+import { test } from "@calcom/web/playwright/lib/fixtures";const installApps = async (page: Page, users: Fixtures["users"]) => {const user = await users.create(diff --git a/packages/app-store/types.d.ts b/packages/app-store/types.d.tsindex 37c8b91951b..ed44f5f0c6f 100644--- a/packages/app-store/types.d.ts+++ b/packages/app-store/types.d.ts@@ -1,9 +1,9 @@-import React from "react";-import { z } from "zod";+import type React from "react";+import type { z } from "zod";-import { _EventTypeModel } from "@calcom/prisma/zod";-import { RouterOutputs } from "@calcom/trpc/react";-import { ButtonProps } from "@calcom/ui";+import type { _EventTypeModel } from "@calcom/prisma/zod";+import type { RouterOutputs } from "@calcom/trpc/react";+import type { ButtonProps } from "@calcom/ui";export type IntegrationOAuthCallbackState = {returnTo: string;diff --git a/packages/app-store/utils.ts b/packages/app-store/utils.tsindex 2e5de4e8dba..4ef88f073e6 100644--- a/packages/app-store/utils.ts+++ b/packages/app-store/utils.ts@@ -1,13 +1,14 @@import { Prisma } from "@prisma/client";-import { TFunction } from "next-i18next";-import { z } from "zod";+import type { TFunction } from "next-i18next";+import type { z } from "zod";// If you import this file on any app it should produce circular dependency// import appStore from "./index";import { appStoreMetadata } from "@calcom/app-store/appStoreMetaData";-import { defaultLocations, EventLocationType } from "@calcom/app-store/locations";-import { EventTypeModel } from "@calcom/prisma/zod";-import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";+import type { EventLocationType } from "@calcom/app-store/locations";+import { defaultLocations } from "@calcom/app-store/locations";+import type { EventTypeModel } from "@calcom/prisma/zod";+import type { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import type { App, AppMeta } from "@calcom/types/App";type LocationOption = {@@ -148,7 +149,7 @@ function getApps(userCredentials: CredentialData[]) {};}- const credential: typeof credentials[number] | null = credentials[0] || null;+ const credential: (typeof credentials)[number] | null = credentials[0] || null;return {...appMeta,/**diff --git a/packages/app-store/vimcal/api/add.ts b/packages/app-store/vimcal/api/add.tsindex b1cbdc1ac1d..8a7e2470233 100644--- a/packages/app-store/vimcal/api/add.ts+++ b/packages/app-store/vimcal/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/vital/api/callback.ts b/packages/app-store/vital/api/callback.tsindex 1147a77e798..ecdb2788499 100644--- a/packages/app-store/vital/api/callback.ts+++ b/packages/app-store/vital/api/callback.ts@@ -1,4 +1,4 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import prisma from "@calcom/prisma";diff --git a/packages/app-store/vital/api/save.ts b/packages/app-store/vital/api/save.tsindex 96bb9a5ee5a..8348fb5d6da 100644--- a/packages/app-store/vital/api/save.ts+++ b/packages/app-store/vital/api/save.ts@@ -1,4 +1,4 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import { ZodError } from "zod";diff --git a/packages/app-store/vital/api/settings.ts b/packages/app-store/vital/api/settings.tsindex 86da2d27596..cbaf8df97b7 100644--- a/packages/app-store/vital/api/settings.ts+++ b/packages/app-store/vital/api/settings.ts@@ -1,5 +1,5 @@import type { NextApiRequest, NextApiResponse } from "next";-import { JSONObject } from "superjson/dist/types";+import type { JSONObject } from "superjson/dist/types";import prisma from "@calcom/prisma";diff --git a/packages/app-store/vital/api/token.ts b/packages/app-store/vital/api/token.tsindex ae083b4c3bc..ab38427e22c 100644--- a/packages/app-store/vital/api/token.ts+++ b/packages/app-store/vital/api/token.ts@@ -1,4 +1,4 @@-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import { WEBAPP_URL } from "@calcom/lib/constants";diff --git a/packages/app-store/vital/api/webhook.ts b/packages/app-store/vital/api/webhook.tsindex fcd3f2c0e96..b49c17d5f4b 100644--- a/packages/app-store/vital/api/webhook.ts+++ b/packages/app-store/vital/api/webhook.ts@@ -1,4 +1,5 @@-import { BookingStatus, Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";+import { BookingStatus } from "@prisma/client";import type { NextApiRequest, NextApiResponse } from "next";import queue from "queue";diff --git a/packages/app-store/vital/components/InstallAppButton.tsx b/packages/app-store/vital/components/InstallAppButton.tsxindex 0c29769f000..232cceb7851 100644--- a/packages/app-store/vital/components/InstallAppButton.tsx+++ b/packages/app-store/vital/components/InstallAppButton.tsx@@ -1,6 +1,6 @@import { useState } from "react";-import { InstallAppButtonProps } from "../../types";+import type { InstallAppButtonProps } from "../../types";export default function InstallAppButton(props: InstallAppButtonProps) {const getLinkToken = async () => {diff --git a/packages/app-store/vital/lib/reschedule.ts b/packages/app-store/vital/lib/reschedule.tsindex 169ecf8b55a..d216a987cfd 100644--- a/packages/app-store/vital/lib/reschedule.ts+++ b/packages/app-store/vital/lib/reschedule.ts@@ -1,4 +1,5 @@-import { Booking, BookingReference, BookingStatus, User } from "@prisma/client";+import type { Booking, BookingReference, User } from "@prisma/client";+import { BookingStatus } from "@prisma/client";import type { TFunction } from "next-i18next";import { CalendarEventBuilder } from "@calcom/core/builders/CalendarEvent/builder";diff --git a/packages/app-store/weather_in_your_calendar/api/add.ts b/packages/app-store/weather_in_your_calendar/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/weather_in_your_calendar/api/add.ts+++ b/packages/app-store/weather_in_your_calendar/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/whatsapp/DESCRIPTION.md b/packages/app-store/whatsapp/DESCRIPTION.mdindex 6fc6397a2eb..88ee1472873 100644--- a/packages/app-store/whatsapp/DESCRIPTION.md+++ b/packages/app-store/whatsapp/DESCRIPTION.md@@ -5,4 +5,4 @@ items:- /api/app-store/whatsapp/3.jpg----Schedule a chat with your guests or have a WhatsApp Video call.\ No newline at end of file+Schedule a chat with your guests or have a WhatsApp Video call.diff --git a/packages/app-store/whatsapp/api/add.ts b/packages/app-store/whatsapp/api/add.tsindex 8f569c854c7..44d56bb0fa6 100644--- a/packages/app-store/whatsapp/api/add.ts+++ b/packages/app-store/whatsapp/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/whereby/DESCRIPTION.md b/packages/app-store/whereby/DESCRIPTION.mdindex 9cc18e9f7de..5477309ffca 100644--- a/packages/app-store/whereby/DESCRIPTION.md+++ b/packages/app-store/whereby/DESCRIPTION.md@@ -4,4 +4,4 @@ items:- /api/app-store/whereby/whereby2.webp----Whereby's the easiest way to connect over video – with no app or software download required. Connect with anyone, anywhere with zero hassle.\ No newline at end of file+Whereby's the easiest way to connect over video – with no app or software download required. Connect with anyone, anywhere with zero hassle.diff --git a/packages/app-store/wipemycalother/components/confirmDialog.tsx b/packages/app-store/wipemycalother/components/confirmDialog.tsxindex d8023feb953..98c40d82021 100644--- a/packages/app-store/wipemycalother/components/confirmDialog.tsx+++ b/packages/app-store/wipemycalother/components/confirmDialog.tsx@@ -1,6 +1,7 @@import { ClockIcon } from "@heroicons/react/outline";import { useMutation } from "@tanstack/react-query";-import { Dispatch, SetStateAction, useState } from "react";+import type { Dispatch, SetStateAction } from "react";+import { useState } from "react";import dayjs from "@calcom/dayjs";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/app-store/wipemycalother/lib/reschedule.ts b/packages/app-store/wipemycalother/lib/reschedule.tsindex cd423846c19..5e735097f2d 100644--- a/packages/app-store/wipemycalother/lib/reschedule.ts+++ b/packages/app-store/wipemycalother/lib/reschedule.ts@@ -1,4 +1,5 @@-import { Booking, BookingReference, BookingStatus, User } from "@prisma/client";+import type { Booking, BookingReference, User } from "@prisma/client";+import { BookingStatus } from "@prisma/client";import type { TFunction } from "next-i18next";import { CalendarEventBuilder } from "@calcom/core/builders/CalendarEvent/builder";diff --git a/packages/app-store/wordpress/DESCRIPTION.md b/packages/app-store/wordpress/DESCRIPTION.mdindex 5b5c61f6e63..d8e878b94fe 100644--- a/packages/app-store/wordpress/DESCRIPTION.md+++ b/packages/app-store/wordpress/DESCRIPTION.md@@ -1,16 +1,17 @@-Embedded booking pages right into your wordpress page.+Embedded booking pages right into your wordpress page.#### FEATURES+- Add Cal.com booking calendar to any WordPress page/post with a simple shortcode.- Display your Cal.com booking calendar inline or in a popup.- Customize your booking button to suit you.#### SHORTCODE-<code>[cal url=/username/meetingid type=2 text="Schedule a call with me"]</code>+<code>[cal url=/username/meetingid type=2 text="Schedule a call with me"]</code>#### SHORTCODE CUSTOMIZATION+- url: URL of the booking calendar- type: Add inline or popup embed. Inline embed: 1, Popup embed: 2- text: For popup embed, customize the text/button that triggers the popup.-diff --git a/packages/app-store/wordpress/api/add.ts b/packages/app-store/wordpress/api/add.tsindex f4b106f9d4c..8f155647410 100644--- a/packages/app-store/wordpress/api/add.ts+++ b/packages/app-store/wordpress/api/add.ts@@ -1,4 +1,4 @@-import { AppDeclarativeHandler } from "@calcom/types/AppHandler";+import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";import { createDefaultInstallation } from "../../_utils/installation";import appConfig from "../config.json";diff --git a/packages/app-store/zapier/components/TemplateCard.tsx b/packages/app-store/zapier/components/TemplateCard.tsxindex 34b955858fc..2eee775cdd2 100644--- a/packages/app-store/zapier/components/TemplateCard.tsx+++ b/packages/app-store/zapier/components/TemplateCard.tsx@@ -1,6 +1,6 @@import { Button } from "@calcom/ui";-import { Template } from "./AppSettingsInterface";+import type { Template } from "./AppSettingsInterface";export default function TemplateCard({ template }: { template: Template }) {return (diff --git a/packages/app-store/zapier/pages/setup/_getStaticProps.tsx b/packages/app-store/zapier/pages/setup/_getStaticProps.tsxindex b73a0786cc1..05b728d3fe1 100644--- a/packages/app-store/zapier/pages/setup/_getStaticProps.tsx+++ b/packages/app-store/zapier/pages/setup/_getStaticProps.tsx@@ -1,4 +1,4 @@-import { GetStaticPropsContext } from "next";+import type { GetStaticPropsContext } from "next";import getAppKeysFromSlug from "../../../_utils/getAppKeysFromSlug";diff --git a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts b/packages/app-store/zoomvideo/lib/VideoApiAdapter.tsindex 6d01a934306..ca00ee9a75d 100644--- a/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts+++ b/packages/app-store/zoomvideo/lib/VideoApiAdapter.ts@@ -2,10 +2,10 @@ import { z } from "zod";import dayjs from "@calcom/dayjs";import prisma from "@calcom/prisma";-import { Credential } from "@calcom/prisma/client";+import type { Credential } from "@calcom/prisma/client";import { Frequency } from "@calcom/prisma/zod-utils";import type { CalendarEvent } from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import type { PartialReference } from "@calcom/types/EventManager";import type { VideoApiAdapter, VideoCallData } from "@calcom/types/VideoApiAdapter";diff --git a/packages/config/eslint-preset.js b/packages/config/eslint-preset.jsindex a0eeee0c8a7..8825b059ed8 100644--- a/packages/config/eslint-preset.js+++ b/packages/config/eslint-preset.js@@ -5,7 +5,6 @@ module.exports = {plugins: ["unused-imports"],parserOptions: {tsconfigRootDir: __dirname,- project: ["./tsconfig.json"],project: ["./apps/*/tsconfig.json", "./packages/*/tsconfig.json"],},settings: {@@ -32,6 +31,18 @@ module.exports = {extends: ["plugin:@typescript-eslint/recommended", "plugin:@calcom/eslint/recommended"],plugins: ["@typescript-eslint", "@calcom/eslint"],parser: "@typescript-eslint/parser",+ rules: {+ "@typescript-eslint/consistent-type-imports": [+ "error",+ {+ prefer: "type-imports",+ // TODO: enable this once prettier supports it+ // fixStyle: "inline-type-imports",+ fixStyle: "separate-type-imports",+ disallowTypeAnnotations: false,+ },+ ],+ },overrides: [{files: ["playwright/**/*.{tsx,ts}"],diff --git a/packages/config/package.json b/packages/config/package.jsonindex 8c9312bab1f..302ff87adfb 100644--- a/packages/config/package.json+++ b/packages/config/package.json@@ -10,10 +10,10 @@],"dependencies": {"@calcom/eslint-plugin-eslint": "*",- "eslint-config-next": "^13.1.1",- "eslint-config-prettier": "^8.5.0",- "eslint-config-turbo": "^0.0.3",- "eslint-plugin-playwright": "^0.9.0",+ "eslint-config-next": "^13.1.6",+ "eslint-config-prettier": "^8.6.0",+ "eslint-config-turbo": "^0.0.7",+ "eslint-plugin-playwright": "^0.12.0","eslint-plugin-prettier": "^4.2.1"},"devDependencies": {@@ -21,11 +21,11 @@"@tailwindcss/line-clamp": "^0.4.0","@tailwindcss/typography": "^0.5.4","@trivago/prettier-plugin-sort-imports": "3.2.0",- "@typescript-eslint/eslint-plugin": "^5.33.1",- "@typescript-eslint/parser": "^5.33.1",- "eslint": "^8.22.0",+ "@typescript-eslint/eslint-plugin": "^5.52.0",+ "@typescript-eslint/parser": "^5.52.0",+ "eslint": "^8.34.0","eslint-plugin-unused-imports": "^2.0.0",- "prettier": "^2.7.1",+ "prettier": "^2.8.4","prettier-plugin-tailwindcss": "^0.1.13","tailwind-scrollbar": "^2.0.1","tailwindcss": "^3.2.1",diff --git a/packages/emails/src/renderEmail.ts b/packages/emails/src/renderEmail.tsindex bb0cce8a31a..4404c94a472 100644--- a/packages/emails/src/renderEmail.ts+++ b/packages/emails/src/renderEmail.ts@@ -4,7 +4,7 @@ import * as templates from "./templates";function renderEmail<K extends keyof typeof templates>(template: K,- props: React.ComponentProps<typeof templates[K]>+ props: React.ComponentProps<(typeof templates)[K]>) {const Component = templates[template];return (diff --git a/packages/embeds/embed-core/package.json b/packages/embeds/embed-core/package.jsonindex 4e38daf6414..a363ef5fed2 100644--- a/packages/embeds/embed-core/package.json+++ b/packages/embeds/embed-core/package.json@@ -24,6 +24,7 @@"dev-real": "vite dev --port 3100","type-check": "tsc --pretty --noEmit","lint": "eslint --ext .ts,.js src",+ "lint:fix": "eslint --ext .ts,.js src --fix","embed-tests": "yarn playwright test --config=playwright/config/playwright.config.ts","embed-tests-quick": "QUICK=true yarn embed-tests","embed-tests-update-snapshots:ci": "yarn embed-tests-quick --update-snapshots",@@ -43,7 +44,7 @@},"devDependencies": {"autoprefixer": "^10.4.12",- "eslint": "^8.22.0",+ "eslint": "^8.34.0","npm-run-all": "^4.1.5","postcss": "^8.4.18","tailwindcss": "^3.2.1",diff --git a/packages/embeds/embed-core/src/FloatingButton/FloatingButton.ts b/packages/embeds/embed-core/src/FloatingButton/FloatingButton.tsindex 484fa3088b2..5a4aad9913d 100644--- a/packages/embeds/embed-core/src/FloatingButton/FloatingButton.ts+++ b/packages/embeds/embed-core/src/FloatingButton/FloatingButton.ts@@ -1,4 +1,4 @@-import { CalWindow } from "../embed";+import type { CalWindow } from "../embed";import getFloatingButtonHtml from "./FloatingButtonHtml";export class FloatingButton extends HTMLElement {diff --git a/packages/embeds/embed-core/src/Inline/inline.ts b/packages/embeds/embed-core/src/Inline/inline.tsindex a1f1c260d41..98ba5c47e9b 100644--- a/packages/embeds/embed-core/src/Inline/inline.ts+++ b/packages/embeds/embed-core/src/Inline/inline.ts@@ -1,4 +1,4 @@-import { CalWindow } from "../embed";+import type { CalWindow } from "../embed";import loaderCss from "../loader.css";import { getErrorString } from "../utils";import inlineHtml from "./inlineHtml";diff --git a/packages/embeds/embed-core/src/ModalBox/ModalBox.ts b/packages/embeds/embed-core/src/ModalBox/ModalBox.tsindex a592566e036..b9e5787ce4f 100644--- a/packages/embeds/embed-core/src/ModalBox/ModalBox.ts+++ b/packages/embeds/embed-core/src/ModalBox/ModalBox.ts@@ -1,4 +1,4 @@-import { CalWindow } from "../embed";+import type { CalWindow } from "../embed";import loaderCss from "../loader.css";import { getErrorString } from "../utils";import modalBoxHtml from "./ModalBoxHtml";diff --git a/packages/embeds/embed-core/src/embed-iframe.ts b/packages/embeds/embed-core/src/embed-iframe.tsindex addb3505727..26c61f38fbd 100644--- a/packages/embeds/embed-core/src/embed-iframe.ts+++ b/packages/embeds/embed-core/src/embed-iframe.ts@@ -1,5 +1,6 @@import { useRouter } from "next/router";-import { useState, useEffect, CSSProperties } from "react";+import type { CSSProperties } from "react";+import { useState, useEffect } from "react";import { sdkActionManager } from "./sdk-event";diff --git a/packages/embeds/embed-core/src/embed.ts b/packages/embeds/embed-core/src/embed.tsindex 8f279311e9c..9a2c47a4bdc 100644--- a/packages/embeds/embed-core/src/embed.ts+++ b/packages/embeds/embed-core/src/embed.ts@@ -1,7 +1,7 @@import { FloatingButton } from "./FloatingButton/FloatingButton";import { Inline } from "./Inline/inline";import { ModalBox } from "./ModalBox/ModalBox";-import { methods, UiConfig } from "./embed-iframe";+import type { methods, UiConfig } from "./embed-iframe";import css from "./embed.css";import { SdkActionManager } from "./sdk-action-manager";import allCss from "./tailwind.generated.css";@@ -428,7 +428,7 @@ export class Cal {method,arg,}: // TODO: Need some TypeScript magic here to remove hardcoded types- | { method: "ui"; arg: Parameters<typeof methods["ui"]>[0] }+ | { method: "ui"; arg: Parameters<(typeof methods)["ui"]>[0] }| { method: "parentKnowsIframeReady"; arg: undefined }) {if (!this.iframeReady) {this.iframeDoQueue.push({ method, arg });diff --git a/packages/embeds/embed-core/src/preview.ts b/packages/embeds/embed-core/src/preview.tsindex 6a9168aafb9..030d4846c5f 100644--- a/packages/embeds/embed-core/src/preview.ts+++ b/packages/embeds/embed-core/src/preview.ts@@ -1,4 +1,4 @@-import { CalWindow } from "./embed";+import type { CalWindow } from "./embed";const WEBAPP_URL =import.meta.env.EMBED_PUBLIC_WEBAPP_URL || `https://${import.meta.env.EMBED_PUBLIC_VERCEL_URL}`;diff --git a/packages/embeds/embed-react/package.json b/packages/embeds/embed-react/package.jsonindex 0344e608ae8..2585b44e8f1 100644--- a/packages/embeds/embed-react/package.json+++ b/packages/embeds/embed-react/package.json@@ -41,10 +41,10 @@}},"devDependencies": {- "@types/react": "^18.0.17",- "@types/react-dom": "^18.0.6",- "@vitejs/plugin-react": "^1.3.2",- "eslint": "^8.22.0",+ "@types/react": "18.0.26",+ "@types/react-dom": "18.0.9",+ "@vitejs/plugin-react": "1.3.2",+ "eslint": "^8.34.0","npm-run-all": "^4.1.5","typescript": "^4.9.4","vite": "^2.9.15"diff --git a/packages/embeds/embed-react/src/index.ts b/packages/embeds/embed-react/src/index.tsindex 196ae4d55f8..1ba24fd6a3e 100644--- a/packages/embeds/embed-react/src/index.ts+++ b/packages/embeds/embed-react/src/index.ts@@ -1,4 +1,4 @@-import { CalWindow } from "@calcom/embed-core";+import type { CalWindow } from "@calcom/embed-core";import EmbedSnippet from "@calcom/embed-snippet";import Cal from "./Cal";diff --git a/packages/embeds/embed-snippet/package.json b/packages/embeds/embed-snippet/package.jsonindex e2346039434..bc119a7e341 100644--- a/packages/embeds/embed-snippet/package.json+++ b/packages/embeds/embed-snippet/package.json@@ -24,7 +24,7 @@],"types": "./dist/index.d.ts","devDependencies": {- "eslint": "^8.22.0",+ "eslint": "^8.34.0","typescript": "^4.9.4"},"dependencies": {diff --git a/packages/embeds/embed-snippet/src/index.ts b/packages/embeds/embed-snippet/src/index.tsindex ab9d2a5b1d7..997d72cfc39 100644--- a/packages/embeds/embed-snippet/src/index.ts+++ b/packages/embeds/embed-snippet/src/index.ts@@ -4,7 +4,7 @@* As we want to keep control on the size of this snippet but we want some portion of it to be still readable.* So, write the code that you need directly but keep it short.*/-import { CalWindow } from "@calcom/embed-core";+import type { CalWindow } from "@calcom/embed-core";const WEBAPP_URL =import.meta.env.EMBED_PUBLIC_WEBAPP_URL || `https://${import.meta.env.EMBED_PUBLIC_VERCEL_URL}`;diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.jsonindex 2dcbdec19d2..3d2c1ff29cc 100644--- a/packages/eslint-plugin/package.json+++ b/packages/eslint-plugin/package.json@@ -4,9 +4,9 @@"version": "0.1.0","main": "./src/index.js","dependencies": {- "@typescript-eslint/parser": "^5.33.1",- "@typescript-eslint/utils": "^5.33.1",- "eslint": "^8.22.0",+ "@typescript-eslint/parser": "^5.52.0",+ "@typescript-eslint/utils": "^5.52.0",+ "eslint": "^8.34.0","ts-node": "^10.9.1","typescript": "^4.9.4"},diff --git a/packages/features/auth/PermissionContainer.tsx b/packages/features/auth/PermissionContainer.tsxindex e5865aec432..dbe4a8222d3 100644--- a/packages/features/auth/PermissionContainer.tsx+++ b/packages/features/auth/PermissionContainer.tsx@@ -1,7 +1,7 @@+import { UserPermissionRole } from "@prisma/client";import { useSession } from "next-auth/react";-import { FC, Fragment } from "react";--import { UserPermissionRole } from ".prisma/client";+import type { FC } from "react";+import { Fragment } from "react";type AdminRequiredProps = {as?: keyof JSX.IntrinsicElements;diff --git a/packages/features/ee/payments/pages/payment.tsx b/packages/features/ee/payments/pages/payment.tsxindex fc2839700da..c39a0722763 100644--- a/packages/features/ee/payments/pages/payment.tsx+++ b/packages/features/ee/payments/pages/payment.tsx@@ -1,15 +1,14 @@-import { GetServerSidePropsContext } from "next";+import { BookingStatus } from "@prisma/client";+import type { GetServerSidePropsContext } from "next";import { z } from "zod";-import { StripePaymentData } from "@calcom/app-store/stripepayment/lib/server";+import type { StripePaymentData } from "@calcom/app-store/stripepayment/lib/server";import prisma from "@calcom/prisma";import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";import type { inferSSRProps } from "@calcom/types/inferSSRProps";import { ssrInit } from "@server/lib/ssr";-import { BookingStatus } from ".prisma/client";-export type PaymentPageProps = inferSSRProps<typeof getServerSideProps>;const querySchema = z.object({diff --git a/packages/lib/CalendarService.ts b/packages/lib/CalendarService.tsindex 96f3a25a223..de8dd695510 100644--- a/packages/lib/CalendarService.ts+++ b/packages/lib/CalendarService.ts@@ -1,13 +1,13 @@/* eslint-disable @typescript-eslint/triple-slash-reference *//// <reference path="../types/ical.d.ts"/>-import { Prisma } from "@prisma/client";+import type { Prisma } from "@prisma/client";import ICAL from "ical.js";import type { Attendee, DateArray, DurationObject, Person } from "ics";import { createEvent } from "ics";+import type { DAVAccount } from "tsdav";import {createAccount,createCalendarObject,- DAVAccount,deleteCalendarObject,fetchCalendarObjects,fetchCalendars,@@ -26,7 +26,7 @@ import type {IntegrationCalendar,NewCalendarEventType,} from "@calcom/types/Calendar";-import { CredentialPayload } from "@calcom/types/Credential";+import type { CredentialPayload } from "@calcom/types/Credential";import { getLocation, getRichDescription } from "./CalEventParser";import { symmetricDecrypt } from "./crypto";diff --git a/packages/lib/CloseComeUtils.ts b/packages/lib/CloseComeUtils.tsindex 5e06113dbd1..d9f6dccdc05 100644--- a/packages/lib/CloseComeUtils.ts+++ b/packages/lib/CloseComeUtils.ts@@ -1,12 +1,13 @@import type { CalendarEvent } from "@calcom/types/Calendar";-import CloseCom, {+import type {CloseComCustomActivityCreate,CloseComCustomActivityFieldGet,CloseComCustomContactFieldGet,CloseComFieldOptions,CloseComLead,} from "./CloseCom";+import type CloseCom from "./CloseCom";import { APP_NAME } from "./constants";export async function getCloseComContactIds(diff --git a/packages/lib/PaymentService.ts b/packages/lib/PaymentService.tsindex c81f9fce577..cfc6d5ef410 100644--- a/packages/lib/PaymentService.ts+++ b/packages/lib/PaymentService.ts@@ -1,6 +1,6 @@-import { Payment, Prisma, Booking } from "@prisma/client";+import type { Payment, Prisma, Booking } from "@prisma/client";-import { CalendarEvent } from "@calcom/types/Calendar";+import type { CalendarEvent } from "@calcom/types/Calendar";export interface IAbstractPaymentService {create(diff --git a/packages/lib/Sendgrid.ts b/packages/lib/Sendgrid.tsindex bf9fe908091..6677094feef 100644--- a/packages/lib/Sendgrid.ts+++ b/packages/lib/Sendgrid.ts@@ -1,6 +1,6 @@import client from "@sendgrid/client";-import { ClientRequest } from "@sendgrid/client/src/request";-import { ClientResponse } from "@sendgrid/client/src/response";+import type { ClientRequest } from "@sendgrid/client/src/request";+import type { ClientResponse } from "@sendgrid/client/src/response";import logger from "@calcom/lib/logger";diff --git a/packages/lib/auth.ts b/packages/lib/auth.tsindex 2b17bb0815b..4eb1102e456 100644--- a/packages/lib/auth.ts+++ b/packages/lib/auth.ts@@ -2,7 +2,8 @@ import { IdentityProvider } from "@prisma/client";import { compare, hash } from "bcryptjs";import type { NextApiRequest } from "next";import type { Session } from "next-auth";-import { getSession as getSessionInner, GetSessionParams } from "next-auth/react";+import type { GetSessionParams } from "next-auth/react";+import { getSession as getSessionInner } from "next-auth/react";import { HttpError } from "@calcom/lib/http-error";diff --git a/packages/lib/availability.ts b/packages/lib/availability.tsindex 3e40631bc20..f9574269a75 100644--- a/packages/lib/availability.ts+++ b/packages/lib/availability.ts@@ -1,6 +1,7 @@import type { Availability } from "@prisma/client";-import dayjs, { ConfigType } from "@calcom/dayjs";+import type { ConfigType } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";import type { Schedule, TimeRange, WorkingHours } from "@calcom/types/schedule";import { nameOfDay } from "./weekday";diff --git a/packages/lib/date-fns/index.ts b/packages/lib/date-fns/index.tsindex d1bab2bf7a4..57658bcb047 100644--- a/packages/lib/date-fns/index.ts+++ b/packages/lib/date-fns/index.ts@@ -1,4 +1,5 @@-import dayjs, { Dayjs } from "@calcom/dayjs";+import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";// converts a date to 2022-04-25 for example.export const yyyymmdd = (date: Date | Dayjs) =>diff --git a/packages/lib/defaultEvents.ts b/packages/lib/defaultEvents.tsindex bbda3e688ae..cf9cdf0723b 100644--- a/packages/lib/defaultEvents.ts+++ b/packages/lib/defaultEvents.ts@@ -1,8 +1,10 @@-import { PeriodType, Prisma, SchedulingType } from "@prisma/client";+import type { Prisma } from "@prisma/client";+import { PeriodType, SchedulingType } from "@prisma/client";import { DailyLocationType } from "@calcom/app-store/locations";-import { userSelect } from "@calcom/prisma/selects";-import { CustomInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";+import type { userSelect } from "@calcom/prisma/selects";+import type { CustomInputSchema } from "@calcom/prisma/zod-utils";+import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils";type User = Prisma.UserGetPayload<typeof userSelect>;diff --git a/packages/lib/findDurationType.ts b/packages/lib/findDurationType.tsindex 5d09e3348b9..fa16ca6f116 100644--- a/packages/lib/findDurationType.ts+++ b/packages/lib/findDurationType.ts@@ -1,4 +1,5 @@-import { DurationType, MINUTES_IN_DAY, MINUTES_IN_HOUR } from "./convertToNewDurationType";+import type { DurationType } from "./convertToNewDurationType";+import { MINUTES_IN_DAY, MINUTES_IN_HOUR } from "./convertToNewDurationType";export default function findDurationType(value: number): DurationType {if (value % MINUTES_IN_DAY === 0) return "days";diff --git a/packages/lib/getEventTypeById.ts b/packages/lib/getEventTypeById.tsindex 9eb70e47ca3..5bf2ae16303 100644--- a/packages/lib/getEventTypeById.ts+++ b/packages/lib/getEventTypeById.ts@@ -1,8 +1,9 @@-import { Prisma, PrismaClient } from "@prisma/client";+import type { PrismaClient } from "@prisma/client";+import { Prisma } from "@prisma/client";-import { StripeData } from "@calcom/app-store/stripepayment/lib/server";+import type { StripeData } from "@calcom/app-store/stripepayment/lib/server";import { getEventTypeAppData, getLocationGroupedOptions } from "@calcom/app-store/utils";-import { LocationObject } from "@calcom/core/location";+import type { LocationObject } from "@calcom/core/location";import { parseBookingLimit, parseRecurringEvent } from "@calcom/lib";import getEnabledApps from "@calcom/lib/apps/getEnabledApps";import { CAL_URL } from "@calcom/lib/constants";diff --git a/packages/lib/getPaymentAppData.ts b/packages/lib/getPaymentAppData.tsindex 8cdadade889..fa9ccc4d6a1 100644--- a/packages/lib/getPaymentAppData.ts+++ b/packages/lib/getPaymentAppData.ts@@ -1,8 +1,9 @@-import { z } from "zod";+import type { z } from "zod";-import { appDataSchemas } from "@calcom/app-store/apps.schemas.generated";-import { appDataSchema } from "@calcom/app-store/stripepayment/zod";-import { EventTypeAppsList, getEventTypeAppData } from "@calcom/app-store/utils";+import type { appDataSchemas } from "@calcom/app-store/apps.schemas.generated";+import type { appDataSchema } from "@calcom/app-store/stripepayment/zod";+import type { EventTypeAppsList } from "@calcom/app-store/utils";+import { getEventTypeAppData } from "@calcom/app-store/utils";export default function getPaymentAppData(eventType: Parameters<typeof getEventTypeAppData>[0],diff --git a/packages/lib/hooks/useKeyPress.ts b/packages/lib/hooks/useKeyPress.tsindex 8ee7e83c17d..e5e430b0a9b 100644--- a/packages/lib/hooks/useKeyPress.ts+++ b/packages/lib/hooks/useKeyPress.ts@@ -1,4 +1,5 @@-import { useState, useEffect, RefObject } from "react";+import type { RefObject } from "react";+import { useState, useEffect } from "react";export function useKeyPress(targetKey: string,diff --git a/packages/lib/hooks/useOnclickOutside.ts b/packages/lib/hooks/useOnclickOutside.tsindex ad7872aa982..6174f2ad070 100644--- a/packages/lib/hooks/useOnclickOutside.ts+++ b/packages/lib/hooks/useOnclickOutside.ts@@ -1,4 +1,5 @@-import React, { useEffect } from "react";+import type React from "react";+import { useEffect } from "react";export default function useOnClickOutside(ref: React.RefObject<HTMLDivElement>,diff --git a/packages/lib/hooks/useTheme.tsx b/packages/lib/hooks/useTheme.tsxindex de2b6bcb84d..ed9e29c0dcd 100644--- a/packages/lib/hooks/useTheme.tsx+++ b/packages/lib/hooks/useTheme.tsx@@ -2,7 +2,7 @@ import { useTheme as useNextTheme } from "next-themes";import { useEffect, useState } from "react";import { useEmbedTheme } from "@calcom/embed-core/embed-iframe";-import { Maybe } from "@calcom/trpc/server";+import type { Maybe } from "@calcom/trpc/server";// makes sure the ui doesn't flashexport default function useTheme(theme?: Maybe<string>) {diff --git a/packages/lib/i18n.ts b/packages/lib/i18n.tsindex 6e2d08e2f5a..4b26a28743d 100644--- a/packages/lib/i18n.ts+++ b/packages/lib/i18n.ts@@ -1,8 +1,8 @@/* eslint-disable @typescript-eslint/no-var-requires */import parser from "accept-language-parser";-import { IncomingMessage } from "http";+import type { IncomingMessage } from "http";-import { Maybe } from "@calcom/trpc/server";+import type { Maybe } from "@calcom/trpc/server";const { i18n } = require("@calcom/config/next-i18next.config");diff --git a/packages/lib/isBookingLimits.ts b/packages/lib/isBookingLimits.tsindex ae8455ad934..16d66cfe7e2 100644--- a/packages/lib/isBookingLimits.ts+++ b/packages/lib/isBookingLimits.ts@@ -1,5 +1,5 @@import { bookingLimitsType } from "@calcom/prisma/zod-utils";-import { BookingLimit } from "@calcom/types/Calendar";+import type { BookingLimit } from "@calcom/types/Calendar";export function isBookingLimit(obj: unknown): obj is BookingLimit {return bookingLimitsType.safeParse(obj).success;diff --git a/packages/lib/isOutOfBounds.tsx b/packages/lib/isOutOfBounds.tsxindex 11216b1ea7d..eeba900c3f0 100644--- a/packages/lib/isOutOfBounds.tsx+++ b/packages/lib/isOutOfBounds.tsx@@ -1,4 +1,5 @@-import { EventType, PeriodType } from "@prisma/client";+import type { EventType } from "@prisma/client";+import { PeriodType } from "@prisma/client";import dayjs from "@calcom/dayjs";diff --git a/packages/lib/next-seo.config.ts b/packages/lib/next-seo.config.tsindex d39e7c58cac..22431488bf4 100644--- a/packages/lib/next-seo.config.ts+++ b/packages/lib/next-seo.config.ts@@ -1,8 +1,8 @@-import { DefaultSeoProps, NextSeoProps } from "next-seo";+import type { DefaultSeoProps, NextSeoProps } from "next-seo";import { APP_NAME, SEO_IMG_DEFAULT, SEO_IMG_OGIMG } from "@calcom/lib/constants";-import { AppImageProps, MeetingImageProps } from "./OgImages";+import type { AppImageProps, MeetingImageProps } from "./OgImages";export type HeadSeoProps = {title: string;diff --git a/packages/lib/payment/deletePayment.ts b/packages/lib/payment/deletePayment.tsindex ea7954caf8c..b4e1fb4ce7c 100644--- a/packages/lib/payment/deletePayment.ts+++ b/packages/lib/payment/deletePayment.ts@@ -1,6 +1,6 @@-import appStore from "@calcom/app-store";+import type { AppCategories, Payment, Prisma } from "@prisma/client";-import { AppCategories, Payment, Prisma } from ".prisma/client";+import appStore from "@calcom/app-store";const deletePayment = async (paymentId: Payment["id"],diff --git a/packages/lib/payment/handlePayment.ts b/packages/lib/payment/handlePayment.tsindex 05565979fe2..dcded8e6e8e 100644--- a/packages/lib/payment/handlePayment.ts+++ b/packages/lib/payment/handlePayment.ts@@ -1,9 +1,9 @@-import appStore from "@calcom/app-store";-import { EventTypeAppsList } from "@calcom/app-store/utils";-import { EventTypeModel } from "@calcom/prisma/zod";-import { CalendarEvent } from "@calcom/types/Calendar";+import type { AppCategories, Prisma } from "@prisma/client";-import { AppCategories, Prisma } from ".prisma/client";+import appStore from "@calcom/app-store";+import type { EventTypeAppsList } from "@calcom/app-store/utils";+import type { EventTypeModel } from "@calcom/prisma/zod";+import type { CalendarEvent } from "@calcom/types/Calendar";const handlePayment = async (evt: CalendarEvent,diff --git a/packages/lib/payment/handleRefundError.ts b/packages/lib/payment/handleRefundError.tsindex acb61826e53..9332a5aa776 100644--- a/packages/lib/payment/handleRefundError.ts+++ b/packages/lib/payment/handleRefundError.ts@@ -1,5 +1,5 @@import { sendOrganizerPaymentRefundFailedEmail } from "@calcom/emails";-import { CalendarEvent } from "@calcom/types/Calendar";+import type { CalendarEvent } from "@calcom/types/Calendar";const handleRefundError = async (opts: { event: CalendarEvent; reason: string; paymentId: string }) => {console.error(`refund failed: ${opts.reason} for booking '${opts.event.uid}'`);diff --git a/packages/lib/recurringStrings.ts b/packages/lib/recurringStrings.tsindex 81301c8cdeb..df41371c8cd 100644--- a/packages/lib/recurringStrings.ts+++ b/packages/lib/recurringStrings.ts@@ -1,4 +1,4 @@-import { TFunction } from "next-i18next";+import type { TFunction } from "next-i18next";import { Frequency } from "@calcom/prisma/zod-utils";import type { RecurringEvent } from "@calcom/types/Calendar";diff --git a/packages/lib/sanitizeCalendarObject.ts b/packages/lib/sanitizeCalendarObject.tsindex 19c52c8dc2e..65c368a7116 100644--- a/packages/lib/sanitizeCalendarObject.ts+++ b/packages/lib/sanitizeCalendarObject.ts@@ -1,4 +1,4 @@-import { DAVObject } from "tsdav";+import type { DAVObject } from "tsdav";export const sanitizeCalendarObject = (obj: DAVObject) => {return obj.datadiff --git a/packages/lib/server/checkBookingLimits.ts b/packages/lib/server/checkBookingLimits.tsindex a187ead2263..386b628567d 100644--- a/packages/lib/server/checkBookingLimits.ts+++ b/packages/lib/server/checkBookingLimits.ts@@ -1,6 +1,6 @@import dayjs from "@calcom/dayjs";import prisma from "@calcom/prisma";-import { BookingLimit } from "@calcom/types/Calendar";+import type { BookingLimit } from "@calcom/types/Calendar";import { HttpError } from "../http-error";import { parseBookingLimit } from "../isBookingLimits";diff --git a/packages/lib/server/getLuckyUser.ts b/packages/lib/server/getLuckyUser.tsindex 26f3f65436e..5d0be1969d0 100644--- a/packages/lib/server/getLuckyUser.ts+++ b/packages/lib/server/getLuckyUser.ts@@ -1,4 +1,4 @@-import { User } from "@prisma/client";+import type { User } from "@prisma/client";import prisma from "@calcom/prisma";diff --git a/packages/lib/server/getServerErrorFromUnknown.ts b/packages/lib/server/getServerErrorFromUnknown.tsindex dd4766ca9f0..977705d7354 100644--- a/packages/lib/server/getServerErrorFromUnknown.ts+++ b/packages/lib/server/getServerErrorFromUnknown.ts@@ -1,6 +1,7 @@import { PrismaClientKnownRequestError, NotFoundError } from "@prisma/client/runtime";import Stripe from "stripe";-import { ZodError, ZodIssue } from "zod";+import type { ZodIssue } from "zod";+import { ZodError } from "zod";import { HttpError } from "../http-error";diff --git a/packages/lib/server/revalidateCalendarCache.ts b/packages/lib/server/revalidateCalendarCache.tsindex ce580f2d7f4..b8dd68e0883 100644--- a/packages/lib/server/revalidateCalendarCache.ts+++ b/packages/lib/server/revalidateCalendarCache.ts@@ -1,4 +1,4 @@-import { NextApiResponse } from "next";+import type { NextApiResponse } from "next";import dayjs from "@calcom/dayjs";diff --git a/packages/lib/serverConfig.ts b/packages/lib/serverConfig.tsindex d492f27778a..46c6dca0a5c 100644--- a/packages/lib/serverConfig.ts+++ b/packages/lib/serverConfig.ts@@ -1,5 +1,5 @@-import SendmailTransport from "nodemailer/lib/sendmail-transport";-import SMTPConnection from "nodemailer/lib/smtp-connection";+import type SendmailTransport from "nodemailer/lib/sendmail-transport";+import type SMTPConnection from "nodemailer/lib/smtp-connection";import { isENVDev } from "@calcom/lib/env";diff --git a/packages/lib/slots.ts b/packages/lib/slots.tsindex 81a00b43fb3..181749c1b23 100644--- a/packages/lib/slots.ts+++ b/packages/lib/slots.ts@@ -1,5 +1,6 @@-import dayjs, { Dayjs } from "@calcom/dayjs";-import { WorkingHours, TimeRange as DateOverride } from "@calcom/types/schedule";+import type { Dayjs } from "@calcom/dayjs";+import dayjs from "@calcom/dayjs";+import type { WorkingHours, TimeRange as DateOverride } from "@calcom/types/schedule";import { getWorkingHours } from "./availability";@@ -175,7 +176,7 @@ const getSlots = ({const computedLocalAvailability: TimeFrame[] = [];let tempComputeTimeFrame: TimeFrame | undefined;const computeLength = localWorkingHours.length - 1;- const makeTimeFrame = (item: typeof localWorkingHours[0]): TimeFrame => ({+ const makeTimeFrame = (item: (typeof localWorkingHours)[0]): TimeFrame => ({userIds: item.userId ? [item.userId] : [],startTime: item.startTime,endTime: item.endTime,diff --git a/packages/lib/sync/ISyncService.ts b/packages/lib/sync/ISyncService.tsindex 631f0a0d8e1..8b2a17788c4 100644--- a/packages/lib/sync/ISyncService.ts+++ b/packages/lib/sync/ISyncService.ts@@ -1,4 +1,4 @@-import logger from "@calcom/lib/logger";+import type logger from "@calcom/lib/logger";import { default as webPrisma } from "@calcom/prisma";export type UserInfo = {diff --git a/packages/lib/sync/SyncServiceManager.ts b/packages/lib/sync/SyncServiceManager.tsindex 990eaab3066..4c9851889a0 100644--- a/packages/lib/sync/SyncServiceManager.ts+++ b/packages/lib/sync/SyncServiceManager.ts@@ -1,8 +1,8 @@-import { MembershipRole } from "@prisma/client";+import type { MembershipRole } from "@prisma/client";import logger from "@calcom/lib/logger";-import { ConsoleUserInfoType, TeamInfoType, WebUserInfoType } from "./ISyncService";+import type { ConsoleUserInfoType, TeamInfoType, WebUserInfoType } from "./ISyncService";import services from "./services";import CloseComService from "./services/CloseComService";diff --git a/packages/lib/sync/services/CloseComService.ts b/packages/lib/sync/services/CloseComService.tsindex 8acbd3e6c54..9b730038e9a 100644--- a/packages/lib/sync/services/CloseComService.ts+++ b/packages/lib/sync/services/CloseComService.ts@@ -1,10 +1,13 @@import { MembershipRole } from "@prisma/client";-import CloseCom, { CloseComFieldOptions, CloseComLead } from "@calcom/lib/CloseCom";+import type { CloseComFieldOptions, CloseComLead } from "@calcom/lib/CloseCom";+import CloseCom from "@calcom/lib/CloseCom";import { getCloseComContactIds, getCloseComLeadId, getCustomFieldsIds } from "@calcom/lib/CloseComeUtils";import logger from "@calcom/lib/logger";-import SyncServiceCore, { TeamInfoType } from "@calcom/lib/sync/ISyncService";-import ISyncService, { ConsoleUserInfoType, WebUserInfoType } from "@calcom/lib/sync/ISyncService";+import type { TeamInfoType } from "@calcom/lib/sync/ISyncService";+import SyncServiceCore from "@calcom/lib/sync/ISyncService";+import type { ConsoleUserInfoType, WebUserInfoType } from "@calcom/lib/sync/ISyncService";+import type ISyncService from "@calcom/lib/sync/ISyncService";// Cal.com Custom Contact Fieldsconst calComCustomContactFields: CloseComFieldOptions = [diff --git a/packages/lib/sync/services/SendgridService.ts b/packages/lib/sync/services/SendgridService.tsindex cfc26e460aa..8d4762d3576 100644--- a/packages/lib/sync/services/SendgridService.ts+++ b/packages/lib/sync/services/SendgridService.ts@@ -1,7 +1,9 @@import logger from "@calcom/lib/logger";-import Sendgrid, { SendgridFieldOptions, SendgridNewContact } from "../../Sendgrid";-import ISyncService, { ConsoleUserInfoType, WebUserInfoType } from "../ISyncService";+import type { SendgridFieldOptions, SendgridNewContact } from "../../Sendgrid";+import Sendgrid from "../../Sendgrid";+import type { ConsoleUserInfoType, WebUserInfoType } from "../ISyncService";+import type ISyncService from "../ISyncService";import SyncServiceCore from "../ISyncService";// Cal.com Custom Contact Fieldsdiff --git a/packages/lib/sync/services/index.ts b/packages/lib/sync/services/index.tsindex bf91d8c967f..3b5b0af93b2 100644--- a/packages/lib/sync/services/index.ts+++ b/packages/lib/sync/services/index.ts@@ -1,4 +1,4 @@-import { ISyncServices } from "../ISyncService";+import type { ISyncServices } from "../ISyncService";import SendgridService from "./SendgridService";const services: ISyncServices[] = [diff --git a/packages/lib/telemetry.ts b/packages/lib/telemetry.tsindex a41165c753e..f2d08299ec9 100644--- a/packages/lib/telemetry.ts+++ b/packages/lib/telemetry.ts@@ -1,5 +1,5 @@-import { NextApiRequest, NextApiResponse } from "next";-import { CollectOpts, EventHandler } from "next-collect";+import type { NextApiRequest, NextApiResponse } from "next";+import type { CollectOpts, EventHandler } from "next-collect";import { useCollector } from "next-collect/client";// Importing types so we're not directly importing next/serverimport type { NextRequest, NextResponse } from "next/server";diff --git a/packages/lib/test/builder.ts b/packages/lib/test/builder.tsindex 2ced6fe7fff..6ebabd4f784 100644--- a/packages/lib/test/builder.ts+++ b/packages/lib/test/builder.ts@@ -1,7 +1,8 @@import { faker } from "@faker-js/faker";-import { Booking, BookingStatus, EventType, Prisma, Webhook } from "@prisma/client";+import type { Booking, EventType, Prisma, Webhook } from "@prisma/client";+import { BookingStatus } from "@prisma/client";-import { CalendarEvent, Person, VideoCallData } from "@calcom/types/Calendar";+import type { CalendarEvent, Person, VideoCallData } from "@calcom/types/Calendar";export const buildVideoCallData = (callData?: Partial<VideoCallData>): VideoCallData => {return {diff --git a/packages/trpc/server/routers/viewer/bookings.tsx b/packages/trpc/server/routers/viewer/bookings.tsxindex cd1013ddc04..d3d36bb8374 100644--- a/packages/trpc/server/routers/viewer/bookings.tsx+++ b/packages/trpc/server/routers/viewer/bookings.tsx@@ -1,16 +1,18 @@-import {+import type {BookingReference,- BookingStatus,EventType,- MembershipRole,- Prisma,- SchedulingType,User,- WebhookTriggerEvents,Workflow,WorkflowsOnEventTypes,WorkflowStep,PrismaPromise,+} from "@prisma/client";+import {+ BookingStatus,+ MembershipRole,+ Prisma,+ SchedulingType,+ WebhookTriggerEvents,WorkflowMethods,} from "@prisma/client";import type { TFunction } from "next-i18next";@@ -36,7 +38,8 @@ import {} from "@calcom/emails";import { scheduleWorkflowReminders } from "@calcom/features/ee/workflows/lib/reminders/reminderScheduler";import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks";-import sendPayload, { EventTypeInfo } from "@calcom/features/webhooks/lib/sendPayload";+import type { EventTypeInfo } from "@calcom/features/webhooks/lib/sendPayload";+import sendPayload from "@calcom/features/webhooks/lib/sendPayload";import { isPrismaObjOrUndefined, parseRecurringEvent } from "@calcom/lib";import logger from "@calcom/lib/logger";import { getTranslation } from "@calcom/lib/server";@@ -325,7 +328,7 @@ export const bookingsRouter = router({const recurringInfo = recurringInfoBasic.map((- info: typeof recurringInfoBasic[number]+ info: (typeof recurringInfoBasic)[number]): {recurringEventId: string | null;count: number;diff --git a/packages/trpc/server/routers/viewer/eventTypes.ts b/packages/trpc/server/routers/viewer/eventTypes.tsindex e774886d71e..3e28821f4d4 100644--- a/packages/trpc/server/routers/viewer/eventTypes.ts+++ b/packages/trpc/server/routers/viewer/eventTypes.ts@@ -13,9 +13,9 @@ import { CAL_URL } from "@calcom/lib/constants";import getEventTypeById from "@calcom/lib/getEventTypeById";import { baseEventTypeSelect, baseUserSelect } from "@calcom/prisma";import { _DestinationCalendarModel, _EventTypeModel } from "@calcom/prisma/zod";+import type { CustomInputSchema } from "@calcom/prisma/zod-utils";import {customInputSchema,- CustomInputSchema,EventTypeMetaDataSchema,stringOrNumber,userMetadata as userMetadataSchema,@@ -271,7 +271,7 @@ export const eventTypesRouter = router({throw new TRPCError({ code: "INTERNAL_SERVER_ERROR" });}- const mapEventType = (eventType: typeof user.eventTypes[number]) => ({+ const mapEventType = (eventType: (typeof user.eventTypes)[number]) => ({...eventType,users: !!eventType.hosts?.length ? eventType.hosts.map((host) => host.user) : eventType.users,// @FIXME: cc @hariombalhara This is failing with production data@@ -300,8 +300,8 @@ export const eventTypesRouter = router({type EventTypeGroup = {teamId?: number | null;profile: {- slug: typeof user["username"];- name: typeof user["name"];+ slug: (typeof user)["username"];+ name: (typeof user)["name"];image?: string;};metadata: {diff --git a/packages/trpc/server/routers/viewer/teams.tsx b/packages/trpc/server/routers/viewer/teams.tsxindex b0a55cd6ce1..e96543e124e 100644--- a/packages/trpc/server/routers/viewer/teams.tsx+++ b/packages/trpc/server/routers/viewer/teams.tsx@@ -687,7 +687,7 @@ export const viewerTeamsRouter = router({},},});- type UserMap = Record<number, typeof teams[number]["members"][number]["user"]>;+ type UserMap = Record<number, (typeof teams)[number]["members"][number]["user"]>;// flattern users to be unique by idconst users = teams.flatMap((t) => t.members)diff --git a/packages/types/Calendar.d.ts b/packages/types/Calendar.d.tsindex 55e4b59779c..605e6332741 100644--- a/packages/types/Calendar.d.ts+++ b/packages/types/Calendar.d.ts@@ -117,7 +117,7 @@ export interface BookingLimit {export type AppsStatus = {appName: string;- type: typeof App["type"];+ type: (typeof App)["type"];success: number;failures: number;errors: string[];diff --git a/packages/types/Credential.d.ts b/packages/types/Credential.d.tsindex 265d4ca9781..9db77c2ff79 100644--- a/packages/types/Credential.d.ts+++ b/packages/types/Credential.d.ts@@ -1,4 +1,4 @@-import { Prisma } from ".prisma/client";+import type { Prisma } from "@prisma/client";/** The logic on this it's just using Credential Type doesn't reflect that some fields can bediff --git a/packages/ui/components/alert/Alert.tsx b/packages/ui/components/alert/Alert.tsxindex c208e5bdf6f..699262be54c 100644--- a/packages/ui/components/alert/Alert.tsx+++ b/packages/ui/components/alert/Alert.tsx@@ -1,6 +1,6 @@import { CheckCircleIcon, ExclamationIcon, InformationCircleIcon, XCircleIcon } from "@heroicons/react/solid";import classNames from "classnames";-import { ReactNode } from "react";+import type { ReactNode } from "react";import { FiInfo } from "../icon";diff --git a/packages/ui/components/apps/AllApps.tsx b/packages/ui/components/apps/AllApps.tsxindex 630b632249f..0f44c696cbe 100644--- a/packages/ui/components/apps/AllApps.tsx+++ b/packages/ui/components/apps/AllApps.tsx@@ -1,6 +1,7 @@import { useAutoAnimate } from "@formkit/auto-animate/react";import { useRouter } from "next/router";-import { UIEvent, useEffect, useRef, useState } from "react";+import type { UIEvent } from "react";+import { useEffect, useRef, useState } from "react";import { classNames } from "@calcom/lib";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/apps/AppCard.tsx b/packages/ui/components/apps/AppCard.tsxindex d478e74441a..e3c7f921531 100644--- a/packages/ui/components/apps/AppCard.tsx+++ b/packages/ui/components/apps/AppCard.tsx@@ -4,7 +4,7 @@ import { useEffect, useState } from "react";import useAddAppMutation from "@calcom/app-store/_utils/useAddAppMutation";import { InstallAppButton } from "@calcom/app-store/components";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { AppFrontendPayload as App } from "@calcom/types/App";+import type { AppFrontendPayload as App } from "@calcom/types/App";import type { CredentialFrontendPayload as Credential } from "@calcom/types/Credential";import { Button } from "../button";diff --git a/packages/ui/components/apps/PopularAppsSlider.tsx b/packages/ui/components/apps/PopularAppsSlider.tsxindex 3c95ff2e709..260f60bb974 100644--- a/packages/ui/components/apps/PopularAppsSlider.tsx+++ b/packages/ui/components/apps/PopularAppsSlider.tsx@@ -1,5 +1,5 @@import { useLocale } from "@calcom/lib/hooks/useLocale";-import { AppFrontendPayload as App } from "@calcom/types/App";+import type { AppFrontendPayload as App } from "@calcom/types/App";import { AppCard } from "./AppCard";import { Slider } from "./Slider";diff --git a/packages/ui/components/apps/Slider.tsx b/packages/ui/components/apps/Slider.tsxindex b84ffee7e7d..76ccda870b9 100644--- a/packages/ui/components/apps/Slider.tsx+++ b/packages/ui/components/apps/Slider.tsx@@ -1,7 +1,9 @@-import Glide, { Options } from "@glidejs/glide";+import type { Options } from "@glidejs/glide";+import Glide from "@glidejs/glide";import "@glidejs/glide/dist/css/glide.core.min.css";import "@glidejs/glide/dist/css/glide.theme.min.css";-import { ComponentProps, FC, useEffect, useRef } from "react";+import type { ComponentProps, FC } from "react";+import { useEffect, useRef } from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/apps/_storybookData.ts b/packages/ui/components/apps/_storybookData.tsindex 4307562c766..8994519230f 100644--- a/packages/ui/components/apps/_storybookData.ts+++ b/packages/ui/components/apps/_storybookData.ts@@ -1,4 +1,4 @@-import { AppFrontendPayload as App } from "@calcom/types/App";+import type { AppFrontendPayload as App } from "@calcom/types/App";export const _SBApps: App[] = [{diff --git a/packages/ui/components/avatar/Avatar.tsx b/packages/ui/components/avatar/Avatar.tsxindex ea64cd953dd..d5f127b66c6 100644--- a/packages/ui/components/avatar/Avatar.tsx+++ b/packages/ui/components/avatar/Avatar.tsx@@ -5,7 +5,7 @@ import Link from "next/link";import classNames from "@calcom/lib/classNames";import { defaultAvatarSrc } from "@calcom/lib/defaultAvatarImage";-import { Maybe } from "@trpc/server";+import type { Maybe } from "@trpc/server";import { FiCheck } from "../icon";diff --git a/packages/ui/components/badge/Badge.tsx b/packages/ui/components/badge/Badge.tsxindex 2eac4f17367..91e220cb25c 100644--- a/packages/ui/components/badge/Badge.tsx+++ b/packages/ui/components/badge/Badge.tsx@@ -1,7 +1,7 @@import { GoPrimitiveDot } from "react-icons/go";import classNames from "@calcom/lib/classNames";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";const badgeClassNameByVariant = {default: "bg-orange-100 text-orange-800",diff --git a/packages/ui/components/button/Button.tsx b/packages/ui/components/button/Button.tsxindex 91c17f25117..016470fdae3 100644--- a/packages/ui/components/button/Button.tsx+++ b/packages/ui/components/button/Button.tsx@@ -1,10 +1,12 @@-import { cva, VariantProps } from "class-variance-authority";-import Link, { LinkProps } from "next/link";+import type { VariantProps } from "class-variance-authority";+import { cva } from "class-variance-authority";+import type { LinkProps } from "next/link";+import Link from "next/link";import React, { forwardRef } from "react";import classNames from "@calcom/lib/classNames";import { applyStyleToMultipleVariants } from "@calcom/lib/cva";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";import { FiPlus } from "../icon";import { Tooltip } from "../tooltip";diff --git a/packages/ui/components/button/LinkIconButton.tsx b/packages/ui/components/button/LinkIconButton.tsxindex e57846a6b13..f43f6027e29 100644--- a/packages/ui/components/button/LinkIconButton.tsx+++ b/packages/ui/components/button/LinkIconButton.tsx@@ -1,6 +1,6 @@import React from "react";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";interface LinkIconButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {Icon: SVGComponent;diff --git a/packages/ui/components/buttonGroup/ButtonGroup.tsx b/packages/ui/components/buttonGroup/ButtonGroup.tsxindex b3982aee48d..1401d2a4fdf 100644--- a/packages/ui/components/buttonGroup/ButtonGroup.tsx+++ b/packages/ui/components/buttonGroup/ButtonGroup.tsx@@ -21,7 +21,7 @@ export function ButtonGroup({ children, combined = false, containerProps }: Prop"flex",!combined? "space-x-2 rtl:space-x-reverse"- : "ltr:[&>*:first-child]:ml-0 ltr:[&>*:first-child]:rounded-l-md ltr:[&>*:first-child]:border-l rtl:[&>*:first-child]:rounded-r-md rtl:[&>*:first-child]:border-r ltr:[&>*:last-child]:rounded-r-md rtl:[&>*:last-child]:rounded-l-md [&_button]:rounded-none [&_a]:rounded-none [&>a]:-ml-[1px] hover:[&>a]:z-[1] [&>button]:-ml-[1px] hover:[&>button]:z-[1]",+ : "[&_a]:rounded-none ltr:[&>*:first-child]:ml-0 ltr:[&>*:first-child]:rounded-l-md ltr:[&>*:first-child]:border-l rtl:[&>*:first-child]:rounded-r-md rtl:[&>*:first-child]:border-r ltr:[&>*:last-child]:rounded-r-md rtl:[&>*:last-child]:rounded-l-md [&_button]:rounded-none [&>a]:-ml-[1px] hover:[&>a]:z-[1] [&>button]:-ml-[1px] hover:[&>button]:z-[1]",containerProps?.className)}>{children}diff --git a/packages/ui/components/card/Card.tsx b/packages/ui/components/card/Card.tsxindex d2acc03e152..6b4a08e6348 100644--- a/packages/ui/components/card/Card.tsx+++ b/packages/ui/components/card/Card.tsx@@ -1,6 +1,6 @@// @TODO: turn this into a more generic component that has the same Props API as MUI https://mui.com/material-ui/react-card/import Link from "next/link";-import { ReactNode } from "react";+import type { ReactNode } from "react";import React from "react";import classNames from "@calcom/lib/classNames";diff --git a/packages/ui/components/card/FormCard.tsx b/packages/ui/components/card/FormCard.tsxindex 53aeb2a5abf..adf63c252ed 100644--- a/packages/ui/components/card/FormCard.tsx+++ b/packages/ui/components/card/FormCard.tsx@@ -2,7 +2,8 @@ import Link from "next/link";import { classNames } from "@calcom/lib";-import { Badge, BadgeProps } from "../..";+import type { BadgeProps } from "../..";+import { Badge } from "../..";import { Divider } from "../divider";import { FiArrowDown, FiArrowUp, FiTrash } from "../icon";diff --git a/packages/ui/components/dialog/ConfirmationDialogContent.tsx b/packages/ui/components/dialog/ConfirmationDialogContent.tsxindex ed245d16c00..578cee497c5 100644--- a/packages/ui/components/dialog/ConfirmationDialogContent.tsx+++ b/packages/ui/components/dialog/ConfirmationDialogContent.tsx@@ -1,5 +1,6 @@import * as DialogPrimitive from "@radix-ui/react-dialog";-import React, { PropsWithChildren, ReactNode } from "react";+import type { PropsWithChildren, ReactNode } from "react";+import React from "react";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/dialog/Dialog.tsx b/packages/ui/components/dialog/Dialog.tsxindex a8083191e5e..b30a327da0f 100644--- a/packages/ui/components/dialog/Dialog.tsx+++ b/packages/ui/components/dialog/Dialog.tsx@@ -1,14 +1,16 @@import * as DialogPrimitive from "@radix-ui/react-dialog";import { useRouter } from "next/router";-import React, { ReactNode, useState } from "react";+import type { ReactNode } from "react";+import React, { useState } from "react";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";-import { Button, ButtonProps } from "../../components/button";+import type { ButtonProps } from "../../components/button";+import { Button } from "../../components/button";-export type DialogProps = React.ComponentProps<typeof DialogPrimitive["Root"]> & {+export type DialogProps = React.ComponentProps<(typeof DialogPrimitive)["Root"]> & {name?: string;clearQueryParamsOnClose?: string[];};@@ -55,7 +57,7 @@ export function Dialog(props: DialogProps) {return <DialogPrimitive.Root {...dialogProps}>{children}</DialogPrimitive.Root>;}-type DialogContentProps = React.ComponentProps<typeof DialogPrimitive["Content"]> & {+type DialogContentProps = React.ComponentProps<(typeof DialogPrimitive)["Content"]> & {size?: "xl" | "lg" | "md";type?: "creation" | "confirmation";title?: string;@@ -142,7 +144,7 @@ export const DialogTrigger = DialogPrimitive.Trigger;export function DialogClose(props: {- dialogCloseProps?: React.ComponentProps<typeof DialogPrimitive["Close"]>;+ dialogCloseProps?: React.ComponentProps<(typeof DialogPrimitive)["Close"]>;children?: ReactNode;onClick?: (e: React.MouseEvent<HTMLElement, MouseEvent>) => void;disabled?: boolean;diff --git a/packages/ui/components/editor/plugins/ToolbarPlugin.tsx b/packages/ui/components/editor/plugins/ToolbarPlugin.tsxindex e2ed05a2230..d265e858c97 100644--- a/packages/ui/components/editor/plugins/ToolbarPlugin.tsx+++ b/packages/ui/components/editor/plugins/ToolbarPlugin.tsx@@ -12,18 +12,14 @@ import { $createHeadingNode, $isHeadingNode } from "@lexical/rich-text";import { $isAtNodeEnd, $wrapNodes } from "@lexical/selection";import { $getNearestNodeOfType, mergeRegister } from "@lexical/utils";import classNames from "classnames";+import type { EditorState, GridSelection, LexicalEditor, NodeSelection, RangeSelection } from "lexical";import {$createParagraphNode,$getRoot,$getSelection,$insertNodes,$isRangeSelection,- EditorState,FORMAT_TEXT_COMMAND,- GridSelection,- LexicalEditor,- NodeSelection,- RangeSelection,SELECTION_CHANGE_COMMAND,} from "lexical";import { useCallback, useEffect, useRef, useState } from "react";@@ -32,7 +28,7 @@ import { createPortal } from "react-dom";import { Button } from "../../button";import { Dropdown, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger } from "../../form/dropdown";import { FiChevronDown } from "../../icon";-import { TextEditorProps } from "../Editor";+import type { TextEditorProps } from "../Editor";import { AddVariablesDropdown } from "./AddVariablesDropdown";const LowPriority = 1;diff --git a/packages/ui/components/empty-screen/EmptyScreen.tsx b/packages/ui/components/empty-screen/EmptyScreen.tsxindex d27e7c874d2..02251bd9b15 100644--- a/packages/ui/components/empty-screen/EmptyScreen.tsx+++ b/packages/ui/components/empty-screen/EmptyScreen.tsx@@ -1,7 +1,8 @@-import React, { ReactNode } from "react";-import { IconType } from "react-icons";+import type { ReactNode } from "react";+import React from "react";+import type { IconType } from "react-icons";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";import { Button } from "../../components/button";diff --git a/packages/ui/components/errorBoundary/ErrorBoundary.tsx b/packages/ui/components/errorBoundary/ErrorBoundary.tsxindex 0d78df256ac..a1523ae3299 100644--- a/packages/ui/components/errorBoundary/ErrorBoundary.tsx+++ b/packages/ui/components/errorBoundary/ErrorBoundary.tsx@@ -1,4 +1,5 @@-import React, { ErrorInfo } from "react";+import type { ErrorInfo } from "react";+import React from "react";class ErrorBoundary extends React.Component<{ children: React.ReactNode; message?: string },diff --git a/packages/ui/components/form/checkbox/Checkbox.tsx b/packages/ui/components/form/checkbox/Checkbox.tsxindex 670df098bab..e44c346faba 100644--- a/packages/ui/components/form/checkbox/Checkbox.tsx+++ b/packages/ui/components/form/checkbox/Checkbox.tsx@@ -1,4 +1,5 @@-import React, { forwardRef, InputHTMLAttributes } from "react";+import type { InputHTMLAttributes } from "react";+import React, { forwardRef } from "react";import classNames from "@calcom/lib/classNames";diff --git a/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx b/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsxindex cbfbef8deb8..f9bf6f7d44b 100644--- a/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx+++ b/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx@@ -1,6 +1,8 @@-import React, { Dispatch, SetStateAction } from "react";-import { components, GroupBase, OptionProps } from "react-select";-import { Props } from "react-select";+import type { Dispatch, SetStateAction } from "react";+import React from "react";+import type { GroupBase, OptionProps } from "react-select";+import { components } from "react-select";+import type { Props } from "react-select";import { classNames } from "@calcom/lib";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/form/dropdown/Dropdown.tsx b/packages/ui/components/form/dropdown/Dropdown.tsxindex 23c789c7d66..b682d709257 100644--- a/packages/ui/components/form/dropdown/Dropdown.tsx+++ b/packages/ui/components/form/dropdown/Dropdown.tsx@@ -1,16 +1,17 @@import { CheckCircleIcon } from "@heroicons/react/outline";import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";import Link from "next/link";-import { ComponentProps, forwardRef } from "react";+import type { ComponentProps } from "react";+import { forwardRef } from "react";import { classNames } from "@calcom/lib";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";-import { ButtonColor } from "../../button/Button";+import type { ButtonColor } from "../../button/Button";export const Dropdown = DropdownMenuPrimitive.Root;-type DropdownMenuTriggerProps = ComponentProps<typeof DropdownMenuPrimitive["Trigger"]>;+type DropdownMenuTriggerProps = ComponentProps<(typeof DropdownMenuPrimitive)["Trigger"]>;export const DropdownMenuTrigger = forwardRef<HTMLButtonElement, DropdownMenuTriggerProps>(({ className = "", ...props }, forwardedRef) => (<DropdownMenuPrimitive.Trigger@@ -29,7 +30,7 @@ export const DropdownMenuTriggerItem = DropdownMenuPrimitive.Trigger;export const DropdownMenuPortal = DropdownMenuPrimitive.Portal;-type DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive["Content"]>;+type DropdownMenuContentProps = ComponentProps<(typeof DropdownMenuPrimitive)["Content"]>;export const DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuContentProps>(({ children, sideOffset = 2, align = "end", ...props }, forwardedRef) => {return (@@ -49,12 +50,12 @@ export const DropdownMenuContent = forwardRef<HTMLDivElement, DropdownMenuConten);DropdownMenuContent.displayName = "DropdownMenuContent";-type DropdownMenuLabelProps = ComponentProps<typeof DropdownMenuPrimitive["Label"]>;+type DropdownMenuLabelProps = ComponentProps<(typeof DropdownMenuPrimitive)["Label"]>;export const DropdownMenuLabel = (props: DropdownMenuLabelProps) => (<DropdownMenuPrimitive.Label {...props} className="px-3 py-2 text-gray-500" />);-type DropdownMenuItemProps = ComponentProps<typeof DropdownMenuPrimitive["CheckboxItem"]>;+type DropdownMenuItemProps = ComponentProps<(typeof DropdownMenuPrimitive)["CheckboxItem"]>;export const DropdownMenuItem = forwardRef<HTMLDivElement, DropdownMenuItemProps>(({ className = "", ...props }, forwardedRef) => (<DropdownMenuPrimitive.Item@@ -68,7 +69,7 @@ DropdownMenuItem.displayName = "DropdownMenuItem";export const DropdownMenuGroup = DropdownMenuPrimitive.Group;-type DropdownMenuCheckboxItemProps = ComponentProps<typeof DropdownMenuPrimitive["CheckboxItem"]>;+type DropdownMenuCheckboxItemProps = ComponentProps<(typeof DropdownMenuPrimitive)["CheckboxItem"]>;export const DropdownMenuCheckboxItem = forwardRef<HTMLDivElement, DropdownMenuCheckboxItemProps>(({ children, ...props }, forwardedRef) => {return (@@ -85,7 +86,7 @@ DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";export const DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;-type DropdownMenuRadioItemProps = ComponentProps<typeof DropdownMenuPrimitive["RadioItem"]>;+type DropdownMenuRadioItemProps = ComponentProps<(typeof DropdownMenuPrimitive)["RadioItem"]>;export const DropdownMenuRadioItem = forwardRef<HTMLDivElement, DropdownMenuRadioItemProps>(({ children, ...props }, forwardedRef) => {return (@@ -146,7 +147,7 @@ export const DropdownItem = (props: DropdownItemProps) => {);};-type DropdownMenuSeparatorProps = ComponentProps<typeof DropdownMenuPrimitive["Separator"]>;+type DropdownMenuSeparatorProps = ComponentProps<(typeof DropdownMenuPrimitive)["Separator"]>;export const DropdownMenuSeparator = forwardRef<HTMLDivElement, DropdownMenuSeparatorProps>(({ className = "", ...props }, forwardedRef) => {return (diff --git a/packages/ui/components/form/inputs/HintOrErrors.tsx b/packages/ui/components/form/inputs/HintOrErrors.tsxindex d0500446498..14ad3945e92 100644--- a/packages/ui/components/form/inputs/HintOrErrors.tsx+++ b/packages/ui/components/form/inputs/HintOrErrors.tsx@@ -1,4 +1,5 @@-import { FieldValues, useFormContext } from "react-hook-form";+import type { FieldValues } from "react-hook-form";+import { useFormContext } from "react-hook-form";import { FiCheck, FiCircle, FiInfo, FiX } from "../../icon";diff --git a/packages/ui/components/form/inputs/Input.tsx b/packages/ui/components/form/inputs/Input.tsxindex e5a36b97011..698111d65b8 100644--- a/packages/ui/components/form/inputs/Input.tsx+++ b/packages/ui/components/form/inputs/Input.tsx@@ -1,5 +1,7 @@-import React, { forwardRef, ReactElement, ReactNode, Ref, useCallback, useId, useState } from "react";-import { FieldValues, FormProvider, SubmitHandler, useFormContext, UseFormReturn } from "react-hook-form";+import type { ReactElement, ReactNode, Ref } from "react";+import React, { forwardRef, useCallback, useId, useState } from "react";+import type { FieldValues, SubmitHandler, UseFormReturn } from "react-hook-form";+import { FormProvider, useFormContext } from "react-hook-form";import classNames from "@calcom/lib/classNames";import { getErrorFromUnknown } from "@calcom/lib/errors";diff --git a/packages/ui/components/form/select/Select.tsx b/packages/ui/components/form/select/Select.tsxindex ebc243c1971..e2ce0095f36 100644--- a/packages/ui/components/form/select/Select.tsx+++ b/packages/ui/components/form/select/Select.tsx@@ -1,7 +1,6 @@import { useId } from "@radix-ui/react-id";import * as React from "react";-import ReactSelect, {- components as reactSelectComponents,+import type {GroupBase,Props,SingleValue,@@ -9,6 +8,7 @@ import ReactSelect, {SelectComponentsConfig,MenuPlacement,} from "react-select";+import ReactSelect, { components as reactSelectComponents } from "react-select";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/form/select/components.tsx b/packages/ui/components/form/select/components.tsxindex 9d63b1b224b..a50bc43c5c8 100644--- a/packages/ui/components/form/select/components.tsx+++ b/packages/ui/components/form/select/components.tsx@@ -1,5 +1,4 @@-import {- components as reactSelectComponents,+import type {ControlProps,GroupBase,InputProps,@@ -10,6 +9,7 @@ import {SingleValueProps,ValueContainerProps,} from "react-select";+import { components as reactSelectComponents } from "react-select";import { classNames } from "@calcom/lib";diff --git a/packages/ui/components/form/selectimproved/components/Item.tsx b/packages/ui/components/form/selectimproved/components/Item.tsxindex a1ac1715ceb..2d437568dbe 100755--- a/packages/ui/components/form/selectimproved/components/Item.tsx+++ b/packages/ui/components/form/selectimproved/components/Item.tsx@@ -4,7 +4,7 @@ import { FiCheck } from "react-icons/fi";import { classNames as cn } from "@calcom/lib";import { useSelectContext } from "./SelectProvider";-import { Option } from "./type";+import type { Option } from "./type";interface ItemProps {item: Option;diff --git a/packages/ui/components/form/selectimproved/components/Options.tsx b/packages/ui/components/form/selectimproved/components/Options.tsxindex 456dc406bd1..feab464a122 100755--- a/packages/ui/components/form/selectimproved/components/Options.tsx+++ b/packages/ui/components/form/selectimproved/components/Options.tsx@@ -6,7 +6,7 @@ import { useKeyPress } from "@calcom/lib/hooks/useKeyPress";import { Label } from "../../inputs/Label";import Item from "./Item";import { SelectContext } from "./SelectProvider";-import { Option } from "./type";+import type { Option } from "./type";interface OptionsProps<T extends Option> {list: T[];diff --git a/packages/ui/components/form/selectimproved/components/Select.tsx b/packages/ui/components/form/selectimproved/components/Select.tsxindex 7407e9e7e25..8db99e6e06d 100755--- a/packages/ui/components/form/selectimproved/components/Select.tsx+++ b/packages/ui/components/form/selectimproved/components/Select.tsx@@ -8,7 +8,7 @@ import { FiX, FiChevronDown } from "../../../icon";import Options from "./Options";import SearchInput from "./SearchInput";import SelectProvider from "./SelectProvider";-import { Option } from "./type";+import type { Option } from "./type";interface SelectProps<T extends Option> {options: T[];diff --git a/packages/ui/components/form/selectimproved/components/SelectProvider.tsx b/packages/ui/components/form/selectimproved/components/SelectProvider.tsxindex d8648da86f6..adbc7e782fe 100644--- a/packages/ui/components/form/selectimproved/components/SelectProvider.tsx+++ b/packages/ui/components/form/selectimproved/components/SelectProvider.tsx@@ -1,6 +1,6 @@import React, { createContext, useContext, useMemo } from "react";-import { ClassNames, Option } from "./type";+import type { ClassNames, Option } from "./type";interface Store {selectedItems: Option | Option[] | null;diff --git a/packages/ui/components/form/switch/SettingsToggle.tsx b/packages/ui/components/form/switch/SettingsToggle.tsxindex b3c1dda661f..a18fce67bfd 100644--- a/packages/ui/components/form/switch/SettingsToggle.tsx+++ b/packages/ui/components/form/switch/SettingsToggle.tsx@@ -1,5 +1,5 @@import { useAutoAnimate } from "@formkit/auto-animate/react";-import { ReactNode } from "react";+import type { ReactNode } from "react";import { Label } from "..";import Switch from "./Switch";diff --git a/packages/ui/components/form/timezone-select/TimezoneSelect.tsx b/packages/ui/components/form/timezone-select/TimezoneSelect.tsxindex 38a6ef9d867..40430460dd2 100644--- a/packages/ui/components/form/timezone-select/TimezoneSelect.tsx+++ b/packages/ui/components/form/timezone-select/TimezoneSelect.tsx@@ -1,10 +1,6 @@import { useMemo } from "react";-import BaseSelect, {- allTimezones,- ITimezoneOption,- ITimezone,- Props as SelectProps,-} from "react-timezone-select";+import type { ITimezoneOption, ITimezone, Props as SelectProps } from "react-timezone-select";+import BaseSelect, { allTimezones } from "react-timezone-select";import { getReactSelectProps } from "../select";diff --git a/packages/ui/components/form/wizard/WizardForm.tsx b/packages/ui/components/form/wizard/WizardForm.tsxindex 6d413ea2fba..ad16c019313 100644--- a/packages/ui/components/form/wizard/WizardForm.tsx+++ b/packages/ui/components/form/wizard/WizardForm.tsx@@ -1,6 +1,7 @@import { noop } from "lodash";import { useRouter } from "next/router";-import { Dispatch, SetStateAction, useEffect, useState } from "react";+import type { Dispatch, SetStateAction } from "react";+import { useEffect, useState } from "react";import classNames from "@calcom/lib/classNames";diff --git a/packages/ui/components/head-seo/HeadSeo.tsx b/packages/ui/components/head-seo/HeadSeo.tsxindex 977a9d42f5b..81c01203eb9 100644--- a/packages/ui/components/head-seo/HeadSeo.tsx+++ b/packages/ui/components/head-seo/HeadSeo.tsx@@ -1,14 +1,10 @@import merge from "lodash/merge";-import { NextSeo, NextSeoProps } from "next-seo";+import type { NextSeoProps } from "next-seo";+import { NextSeo } from "next-seo";import { useRouter } from "next/router";-import {- AppImageProps,- constructAppImage,- constructGenericImage,- constructMeetingImage,- MeetingImageProps,-} from "@calcom/lib/OgImages";+import type { AppImageProps, MeetingImageProps } from "@calcom/lib/OgImages";+import { constructAppImage, constructGenericImage, constructMeetingImage } from "@calcom/lib/OgImages";import { getBrowserInfo } from "@calcom/lib/browser/browser.utils";import { APP_NAME } from "@calcom/lib/constants";import { seoConfig, getSeoImage } from "@calcom/lib/next-seo.config";diff --git a/packages/ui/components/image-uploader/ImageUploader.tsx b/packages/ui/components/image-uploader/ImageUploader.tsxindex 303381e5478..686c8905151 100644--- a/packages/ui/components/image-uploader/ImageUploader.tsx+++ b/packages/ui/components/image-uploader/ImageUploader.tsx@@ -1,5 +1,6 @@import * as SliderPrimitive from "@radix-ui/react-slider";-import { FormEvent, useCallback, useEffect, useState } from "react";+import type { FormEvent } from "react";+import { useCallback, useEffect, useState } from "react";import Cropper from "react-easy-crop";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/components/layout/ShellSubHeading.tsx b/packages/ui/components/layout/ShellSubHeading.tsxindex 6752aac2ef6..7f95a3e28d4 100644--- a/packages/ui/components/layout/ShellSubHeading.tsx+++ b/packages/ui/components/layout/ShellSubHeading.tsx@@ -1,4 +1,4 @@-import { ReactNode } from "react";+import type { ReactNode } from "react";import { classNames } from "@calcom/lib";diff --git a/packages/ui/components/navigation/tabs/HorizontalTabItem.tsx b/packages/ui/components/navigation/tabs/HorizontalTabItem.tsxindex f71f9b589f3..0ebe7db6de0 100644--- a/packages/ui/components/navigation/tabs/HorizontalTabItem.tsx+++ b/packages/ui/components/navigation/tabs/HorizontalTabItem.tsx@@ -1,10 +1,10 @@import Link from "next/link";import { useRouter } from "next/router";-import { ComponentProps } from "react";+import type { ComponentProps } from "react";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";import { Avatar } from "../../avatar";import { SkeletonText } from "../../skeleton";diff --git a/packages/ui/components/navigation/tabs/HorizontalTabs.tsx b/packages/ui/components/navigation/tabs/HorizontalTabs.tsxindex 16babfe0a84..b8229b7c0b4 100644--- a/packages/ui/components/navigation/tabs/HorizontalTabs.tsx+++ b/packages/ui/components/navigation/tabs/HorizontalTabs.tsx@@ -1,4 +1,5 @@-import HorizontalTabItem, { HorizontalTabItemProps } from "./HorizontalTabItem";+import type { HorizontalTabItemProps } from "./HorizontalTabItem";+import HorizontalTabItem from "./HorizontalTabItem";export interface NavTabProps {tabs: HorizontalTabItemProps[];diff --git a/packages/ui/components/navigation/tabs/VerticalTabItem.tsx b/packages/ui/components/navigation/tabs/VerticalTabItem.tsxindex 5ef08a088c6..06dab62437d 100644--- a/packages/ui/components/navigation/tabs/VerticalTabItem.tsx+++ b/packages/ui/components/navigation/tabs/VerticalTabItem.tsx@@ -1,10 +1,11 @@import Link from "next/link";import { useRouter } from "next/router";-import { ComponentProps, Fragment } from "react";+import type { ComponentProps } from "react";+import { Fragment } from "react";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";-import { SVGComponent } from "@calcom/types/SVGComponent";+import type { SVGComponent } from "@calcom/types/SVGComponent";import { FiChevronRight, FiExternalLink } from "../../icon";import { Skeleton } from "../../skeleton";diff --git a/packages/ui/components/navigation/tabs/VerticalTabs.tsx b/packages/ui/components/navigation/tabs/VerticalTabs.tsxindex 1a20dedbe04..49574c25fc3 100644--- a/packages/ui/components/navigation/tabs/VerticalTabs.tsx+++ b/packages/ui/components/navigation/tabs/VerticalTabs.tsx@@ -1,6 +1,7 @@import { classNames } from "@calcom/lib";-import VerticalTabItem, { VerticalTabItemProps } from "./VerticalTabItem";+import type { VerticalTabItemProps } from "./VerticalTabItem";+import VerticalTabItem from "./VerticalTabItem";export { VerticalTabItem };diff --git a/packages/ui/components/table/TableActions.tsx b/packages/ui/components/table/TableActions.tsxindex 537774527f1..81e372d5777 100644--- a/packages/ui/components/table/TableActions.tsx+++ b/packages/ui/components/table/TableActions.tsx@@ -1,7 +1,9 @@-import React, { FC } from "react";-import { IconType } from "react-icons/lib";+import type { FC } from "react";+import React from "react";+import type { IconType } from "react-icons/lib";-import { Button, ButtonBaseProps } from "../button";+import type { ButtonBaseProps } from "../button";+import { Button } from "../button";import {Dropdown,DropdownMenuContent,diff --git a/packages/ui/components/top-banner/TopBanner.tsx b/packages/ui/components/top-banner/TopBanner.tsxindex 231076c8836..a1e8bf2215e 100644--- a/packages/ui/components/top-banner/TopBanner.tsx+++ b/packages/ui/components/top-banner/TopBanner.tsx@@ -1,7 +1,7 @@import { XIcon } from "@heroicons/react/solid";import classNames from "classnames";import noop from "lodash/noop";-import { ReactNode } from "react";+import type { ReactNode } from "react";import { FiAlertTriangle, FiInfo } from "../icon";diff --git a/packages/ui/form/AddressInput.tsx b/packages/ui/form/AddressInput.tsxindex 95c2a4a37b4..4d39431da69 100644--- a/packages/ui/form/AddressInput.tsx+++ b/packages/ui/form/AddressInput.tsx@@ -1,7 +1,7 @@-import { UseFormReturn } from "react-hook-form";-import { Props } from "react-phone-number-input/react-hook-form";+import type { UseFormReturn } from "react-hook-form";+import type { Props } from "react-phone-number-input/react-hook-form";-import { EventLocationType } from "@calcom/app-store/locations";+import type { EventLocationType } from "@calcom/app-store/locations";import { FiMapPin } from "../components/icon";diff --git a/packages/ui/form/MultiSelectCheckboxes.tsx b/packages/ui/form/MultiSelectCheckboxes.tsxindex 286a98b00e6..47a0c13d4b3 100644--- a/packages/ui/form/MultiSelectCheckboxes.tsx+++ b/packages/ui/form/MultiSelectCheckboxes.tsx@@ -3,9 +3,11 @@* All new changes should be made to the V2 file in* `/packages/ui/v2/core/form/MultiSelectCheckboxes.tsx`*/-import React, { Dispatch, SetStateAction } from "react";-import { components, GroupBase, OptionProps } from "react-select";-import { Props } from "react-select";+import type { Dispatch, SetStateAction } from "react";+import React from "react";+import type { GroupBase, OptionProps } from "react-select";+import { components } from "react-select";+import type { Props } from "react-select";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/form/PhoneInput.tsx b/packages/ui/form/PhoneInput.tsxindex 90c7a6cc971..27e247e0408 100644--- a/packages/ui/form/PhoneInput.tsx+++ b/packages/ui/form/PhoneInput.tsx@@ -1,4 +1,5 @@-import BasePhoneInput, { Props } from "react-phone-number-input/react-hook-form";+import type { Props } from "react-phone-number-input/react-hook-form";+import BasePhoneInput from "react-phone-number-input/react-hook-form";import "react-phone-number-input/style.css";export type PhoneInputProps<FormValues> = Props<diff --git a/packages/ui/form/Select.tsx b/packages/ui/form/Select.tsxindex d09dcd78cbb..838dbd00a18 100644--- a/packages/ui/form/Select.tsx+++ b/packages/ui/form/Select.tsx@@ -1,4 +1,5 @@-import ReactSelect, { components, GroupBase, InputProps, Props } from "react-select";+import type { GroupBase, InputProps, Props } from "react-select";+import ReactSelect, { components } from "react-select";import classNames from "@calcom/lib/classNames";diff --git a/packages/ui/form/TimezoneSelect.tsx b/packages/ui/form/TimezoneSelect.tsxindex 40d17d66eb7..03b62ec2e34 100644--- a/packages/ui/form/TimezoneSelect.tsx+++ b/packages/ui/form/TimezoneSelect.tsx@@ -1,11 +1,7 @@import classNames from "classnames";import { components } from "react-select";-import BaseSelect, {- allTimezones,- ITimezone,- ITimezoneOption,- Props as SelectProps,-} from "react-timezone-select";+import type { ITimezone, ITimezoneOption, Props as SelectProps } from "react-timezone-select";+import BaseSelect, { allTimezones } from "react-timezone-select";import { InputComponent } from "../components/form/select/components";diff --git a/packages/ui/form/fields.tsx b/packages/ui/form/fields.tsxindex 59a989264db..b9b3b1d8840 100644--- a/packages/ui/form/fields.tsx+++ b/packages/ui/form/fields.tsx@@ -1,6 +1,8 @@import { useId } from "@radix-ui/react-id";-import React, { forwardRef, ReactElement, ReactNode, Ref } from "react";-import { FieldValues, FormProvider, SubmitHandler, useFormContext, UseFormReturn } from "react-hook-form";+import type { ReactElement, ReactNode, Ref } from "react";+import React, { forwardRef } from "react";+import type { FieldValues, SubmitHandler, UseFormReturn } from "react-hook-form";+import { FormProvider, useFormContext } from "react-hook-form";import classNames from "@calcom/lib/classNames";import { getErrorFromUnknown } from "@calcom/lib/errors";diff --git a/packages/ui/form/radio-area/Radio.tsx b/packages/ui/form/radio-area/Radio.tsxindex 8b892c900b8..6d4e336d930 100644--- a/packages/ui/form/radio-area/Radio.tsx+++ b/packages/ui/form/radio-area/Radio.tsx@@ -1,5 +1,5 @@import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";-import { ReactNode } from "react";+import type { ReactNode } from "react";import classNames from "@calcom/lib/classNames";diff --git a/packages/ui/form/radio-area/Select.tsx b/packages/ui/form/radio-area/Select.tsxindex 6371db64b7c..4bd82a3adf5 100644--- a/packages/ui/form/radio-area/Select.tsx+++ b/packages/ui/form/radio-area/Select.tsx@@ -1,7 +1,7 @@import { ChevronDownIcon } from "@heroicons/react/solid";import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible";import React from "react";-import { FieldValues, Path, UseFormReturn } from "react-hook-form";+import type { FieldValues, Path, UseFormReturn } from "react-hook-form";import classNames from "@calcom/lib/classNames";import { useLocale } from "@calcom/lib/hooks/useLocale";diff --git a/packages/ui/package.json b/packages/ui/package.jsonindex eb3d9f5df46..3efa7ac3004 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -38,8 +38,8 @@"devDependencies": {"@calcom/config": "*","@calcom/tsconfig": "*",- "@types/react": "^18.0.17",- "@types/react-dom": "^18.0.6",+ "@types/react": "18.0.26",+ "@types/react-dom": "18.0.9","typescript": "^4.9.4"}}diff --git a/yarn.lock b/yarn.lockindex 4830775426d..e27ebdb51f0 100644--- a/yarn.lock+++ b/yarn.lock@@ -990,10 +990,10 @@resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.19.4.tgz#95c86de137bf0317f3a570e1b6e996b427299747"integrity sha512-CHIGpJcUQ5lU9KrPHTjBMhVwQG6CQjxfg36fGXl3qk/Gik1WwWachaXFuo0uCWJT/mStOKtcbFJCaVLihC1CMw==-"@babel/compat-data@^7.20.0":- version "7.20.1"- resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.1.tgz#f2e6ef7790d8c8dbf03d379502dcc246dcce0b30"- integrity sha512-EWZ4mE2diW3QALKvDMiXnbZpRvlj+nayZ112nK93SnhqOtpdsbVD4W+2tEoT3YNBAG9RBR0ISY758ZkOgsn6pQ==+"@babel/compat-data@^7.20.5":+ version "7.20.14"+ resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.14.tgz#4106fc8b755f3e3ee0a0a7c27dde5de1d2b2baf8"+ integrity sha512-0YpKHD6ImkWMEINCyDAD0HLLUH/lPCefG8ld9it8DJB2wnApraKuhgYTvTY1z7UFIfBTGy5LwncZ+5HWWGbhFw=="@babel/[email protected]":version "7.12.9"@@ -1082,24 +1082,24 @@semver "^6.3.0""@babel/core@^7.17.10":- version "7.20.2"- resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.2.tgz#8dc9b1620a673f92d3624bd926dc49a52cf25b92"- integrity sha512-w7DbG8DtMrJcFOi4VrLm+8QM4az8Mo+PuLBKLp2zrYRCow8W/f9xiXm5sN53C8HksCyDQwCKha9JiDoIyPjT2g==+ version "7.20.12"+ resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d"+ integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg==dependencies:"@ampproject/remapping" "^2.1.0""@babel/code-frame" "^7.18.6"- "@babel/generator" "^7.20.2"- "@babel/helper-compilation-targets" "^7.20.0"- "@babel/helper-module-transforms" "^7.20.2"- "@babel/helpers" "^7.20.1"- "@babel/parser" "^7.20.2"- "@babel/template" "^7.18.10"- "@babel/traverse" "^7.20.1"- "@babel/types" "^7.20.2"+ "@babel/generator" "^7.20.7"+ "@babel/helper-compilation-targets" "^7.20.7"+ "@babel/helper-module-transforms" "^7.20.11"+ "@babel/helpers" "^7.20.7"+ "@babel/parser" "^7.20.7"+ "@babel/template" "^7.20.7"+ "@babel/traverse" "^7.20.12"+ "@babel/types" "^7.20.7"convert-source-map "^1.7.0"debug "^4.1.0"gensync "^1.0.0-beta.2"- json5 "^2.2.1"+ json5 "^2.2.2"semver "^6.3.0""@babel/core@^7.18.10":@@ -1216,15 +1216,6 @@"@jridgewell/gen-mapping" "^0.3.2"jsesc "^2.5.1"-"@babel/generator@^7.20.1", "@babel/generator@^7.20.2":- version "7.20.3"- resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.3.tgz#e58c9ae2f7bf7fdf4899160cf1e04400a82cd641"- integrity sha512-Wl5ilw2UD1+ZYprHVprxHZJCFeBWlzZYOovE4SDYLZnqCOD11j+0QzNeEWKLLTWM7nixrZEh7vNIyb76MyJg3A==- dependencies:- "@babel/types" "^7.20.2"- "@jridgewell/gen-mapping" "^0.3.2"- jsesc "^2.5.1"-"@babel/helper-annotate-as-pure@^7.18.6":version "7.18.6"resolved "https://registry.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb"@@ -1280,14 +1271,15 @@browserslist "^4.21.3"semver "^6.3.0"-"@babel/helper-compilation-targets@^7.20.0":- version "7.20.0"- resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.0.tgz#6bf5374d424e1b3922822f1d9bdaa43b1a139d0a"- integrity sha512-0jp//vDGp9e8hZzBc6N/KwA5ZK3Wsm/pfm4CrY7vzegkVxc65SgSn6wYOnwHe9Js9HRQ1YTCKLGPzDtaS3RoLQ==+"@babel/helper-compilation-targets@^7.20.7":+ version "7.20.7"+ resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb"+ integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ==dependencies:- "@babel/compat-data" "^7.20.0"+ "@babel/compat-data" "^7.20.5""@babel/helper-validator-option" "^7.18.6"browserslist "^4.21.3"+ lru-cache "^5.1.1"semver "^6.3.0""@babel/helper-create-class-features-plugin@^7.18.6":@@ -1445,7 +1437,7 @@dependencies:"@babel/types" "^7.18.6"-"@babel/helper-module-transforms@^7.12.1":+"@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.20.11":version "7.20.11"resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0"integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg==@@ -1515,20 +1507,6 @@"@babel/traverse" "^7.19.6""@babel/types" "^7.19.4"-"@babel/helper-module-transforms@^7.20.2":- version "7.20.2"- resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.2.tgz#ac53da669501edd37e658602a21ba14c08748712"- integrity sha512-zvBKyJXRbmK07XhMuujYoJ48B5yvvmM6+wcpv6Ivj4Yg6qO7NOZOSnvZN9CRl1zz1Z4cKf8YejmCMh8clOoOeA==- dependencies:- "@babel/helper-environment-visitor" "^7.18.9"- "@babel/helper-module-imports" "^7.18.6"- "@babel/helper-simple-access" "^7.20.2"- "@babel/helper-split-export-declaration" "^7.18.6"- "@babel/helper-validator-identifier" "^7.19.1"- "@babel/template" "^7.18.10"- "@babel/traverse" "^7.20.1"- "@babel/types" "^7.20.2"-"@babel/helper-optimise-call-expression@^7.18.6":version "7.18.6"resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe"@@ -1556,7 +1534,7 @@resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.18.9.tgz#4b8aea3b069d8cb8a72cdfe28ddf5ceca695ef2f"integrity sha512-aBXPT3bmtLryXaoJLyYPXPlSD4p1ld9aYeR+sJNOZjJJGiOpb+fKfh3NkcCu7J54nUJwCERPBExCCpyCOHnu/w==-"@babel/helper-plugin-utils@^7.19.0":+"@babel/helper-plugin-utils@^7.19.0", "@babel/helper-plugin-utils@^7.20.2":version "7.20.2"resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629"integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ==@@ -1721,14 +1699,14 @@"@babel/traverse" "^7.19.4""@babel/types" "^7.19.4"-"@babel/helpers@^7.20.1":- version "7.20.1"- resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.1.tgz#2ab7a0fcb0a03b5bf76629196ed63c2d7311f4c9"- integrity sha512-J77mUVaDTUJFZ5BpP6mMn6OIl3rEWymk2ZxDBQJUG3P+PbmyMcF3bYWvz0ma69Af1oobDqT/iAsvzhB58xhQUg==+"@babel/helpers@^7.20.7":+ version "7.20.13"+ resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.13.tgz#e3cb731fb70dc5337134cadc24cbbad31cc87ad2"+ integrity sha512-nzJ0DWCL3gB5RCXbUO3KIMMsBY2Eqbx8mBpKGE/02PgyRQFcPQLbkQ1vyy596mZLaP+dAfD+R4ckASzNVmW3jg==dependencies:- "@babel/template" "^7.18.10"- "@babel/traverse" "^7.20.1"- "@babel/types" "^7.20.0"+ "@babel/template" "^7.20.7"+ "@babel/traverse" "^7.20.13"+ "@babel/types" "^7.20.7""@babel/highlight@^7.16.7":version "7.16.10"@@ -1788,10 +1766,10 @@resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.19.6.tgz#b923430cb94f58a7eae8facbffa9efd19130e7f8"integrity sha512-h1IUp81s2JYJ3mRkdxJgs4UvmSsRvDrx5ICSJbPvtWYv5i1nTBGcBpnog+89rAFMwvvru6E5NUHdBe01UeSzYA==-"@babel/parser@^7.20.1", "@babel/parser@^7.20.2":- version "7.20.3"- resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.3.tgz#5358cf62e380cf69efcb87a7bb922ff88bfac6e2"- integrity sha512-OP/s5a94frIPXwjzEcv5S/tpQfc6XhxYUnmWpgdqMWGgYCuErA3SzozaRAMQgSZWKeTJxht9aWAkUY+0UzvOFg==+"@babel/parser@^7.20.13":+ version "7.20.15"+ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.15.tgz#eec9f36d8eaf0948bb88c87a46784b5ee9fd0c89"+ integrity sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg=="@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6":version "7.18.6"@@ -2375,15 +2353,15 @@"@babel/types" "^7.18.6""@babel/plugin-transform-react-jsx@^7.17.3":- version "7.19.0"- resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.19.0.tgz#b3cbb7c3a00b92ec8ae1027910e331ba5c500eb9"- integrity sha512-UVEvX3tXie3Szm3emi1+G63jyw1w5IcMY0FSKM+CRnKRI5Mr1YbCNgsSTwoTwKphQEG9P+QqmuRFneJPZuHNhg==+ version "7.20.13"+ resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.20.13.tgz#f950f0b0c36377503d29a712f16287cedf886cbb"+ integrity sha512-MmTZx/bkUrfJhhYAYt3Urjm+h8DQGrPrnKQ94jLo7NLuOU+T89a7IByhKmrb8SKhrIYIQ0FN0CHMbnFRen4qNw==dependencies:"@babel/helper-annotate-as-pure" "^7.18.6""@babel/helper-module-imports" "^7.18.6"- "@babel/helper-plugin-utils" "^7.19.0"+ "@babel/helper-plugin-utils" "^7.20.2""@babel/plugin-syntax-jsx" "^7.18.6"- "@babel/types" "^7.19.0"+ "@babel/types" "^7.20.7""@babel/plugin-transform-react-jsx@^7.18.10":version "7.18.10"@@ -2845,19 +2823,19 @@debug "^4.1.0"globals "^11.1.0"-"@babel/traverse@^7.20.1":- version "7.20.1"- resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.1.tgz#9b15ccbf882f6d107eeeecf263fbcdd208777ec8"- integrity sha512-d3tN8fkVJwFLkHkBN479SOsw4DMZnz8cdbL/gvuDuzy3TS6Nfw80HuQqhw1pITbIruHyh7d1fMA47kWzmcUEGA==+"@babel/traverse@^7.20.12", "@babel/traverse@^7.20.13":+ version "7.20.13"+ resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.13.tgz#817c1ba13d11accca89478bd5481b2d168d07473"+ integrity sha512-kMJXfF0T6DIS9E8cgdLCSAL+cuCK+YEZHWiLK0SXpTo8YRj5lpJu3CDNKiIBCne4m9hhTIqUg6SYTAI39tAiVQ==dependencies:"@babel/code-frame" "^7.18.6"- "@babel/generator" "^7.20.1"+ "@babel/generator" "^7.20.7""@babel/helper-environment-visitor" "^7.18.9""@babel/helper-function-name" "^7.19.0""@babel/helper-hoist-variables" "^7.18.6""@babel/helper-split-export-declaration" "^7.18.6"- "@babel/parser" "^7.20.1"- "@babel/types" "^7.20.0"+ "@babel/parser" "^7.20.13"+ "@babel/types" "^7.20.7"debug "^4.1.0"globals "^11.1.0"@@ -2921,7 +2899,7 @@"@babel/helper-validator-identifier" "^7.19.1"to-fast-properties "^2.0.0"-"@babel/types@^7.20.0", "@babel/types@^7.20.2":+"@babel/types@^7.20.2":version "7.20.2"resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.2.tgz#67ac09266606190f496322dbaff360fdaa5e7842"integrity sha512-FnnvsNWgZCr232sqtXggapvlkk/tuwR/qhGzcmxI0GXLCjmPYQPzio2FbdlWuY6y1sHFfQKk+rRbUZ9VStQMog==@@ -3025,17 +3003,6 @@dependencies:"@jridgewell/trace-mapping" "0.3.9"-"@daily-co/daily-js@^0.26.0":- version "0.26.0"- resolved "https://registry.yarnpkg.com/@daily-co/daily-js/-/daily-js-0.26.0.tgz#f90828b80e7d7ceaa29e5bb3a7e666c96a37c3b0"- integrity sha512-JLKiTQs4HFKSzR5ES8GANPSbbs8Ri8HbJXSx54bYO6Y9bR5jr46cP0YlOwfxZIrPEXT3g3Jvt/Q1yRWqljZYVQ==- dependencies:- "@babel/runtime" "^7.12.5"- bowser "^2.8.1"- events "^3.1.0"- fast-equals "^1.6.3"- lodash "^4.17.15"-"@daily-co/daily-js@^0.37.0":version "0.37.0"resolved "https://registry.yarnpkg.com/@daily-co/daily-js/-/daily-js-0.37.0.tgz#39efac8003b3676d3ff21535fcdb38265815126d"@@ -3223,7 +3190,7 @@resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.14.54.tgz#de2a4be678bd4d0d1ffbb86e6de779cde5999028"integrity sha512-bZBrLAIX1kpWelV0XemxBZllyRmM6vgFQQG2GdNb+r3Fkp0FOh1NJSvekXDs7jq70k4euu1cryLMfU+mTXlEpw==-"@eslint/eslintrc@^1.0.5", "@eslint/eslintrc@^1.3.0":+"@eslint/eslintrc@^1.0.5":version "1.3.0"resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.3.0.tgz#29f92c30bb3e771e4a2048c95fa6855392dfac4f"integrity sha512-UWW0TMTmk2d7hLcWD1/e2g5HDM/HQ3csaLSqXCfqwh4uNDuNqlaKWXmEsL4Cs41Z0KnILNvwbHAah3C2yt06kw==@@ -3238,6 +3205,21 @@minimatch "^3.1.2"strip-json-comments "^3.1.1"+"@eslint/eslintrc@^1.4.1":+ version "1.4.1"+ resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e"+ integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==+ dependencies:+ ajv "^6.12.4"+ debug "^4.3.2"+ espree "^9.4.0"+ globals "^13.19.0"+ ignore "^5.2.0"+ import-fresh "^3.2.1"+ js-yaml "^4.1.0"+ minimatch "^3.1.2"+ strip-json-comments "^3.1.1"+"@ethereumjs/common@^2.5.0", "@ethereumjs/common@^2.6.3":version "2.6.3"resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.6.3.tgz#39ddece7300b336276bad6c02f6a9f1a082caa05"@@ -3987,14 +3969,14 @@node-fetch "^2.6.0"url-parse "^1.4.3"-"@humanwhocodes/config-array@^0.10.4":- version "0.10.4"- resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c"- integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw==+"@humanwhocodes/config-array@^0.11.8":+ version "0.11.8"+ resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9"+ integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==dependencies:"@humanwhocodes/object-schema" "^1.2.1"debug "^4.1.1"- minimatch "^3.0.4"+ minimatch "^3.0.5""@humanwhocodes/config-array@^0.9.2":version "0.9.5"@@ -4005,10 +3987,10 @@debug "^4.1.1"minimatch "^3.0.4"-"@humanwhocodes/gitignore-to-minimatch@^1.0.2":- version "1.0.2"- resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d"- integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA==+"@humanwhocodes/module-importer@^1.0.1":+ version "1.0.1"+ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c"+ integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA=="@humanwhocodes/object-schema@^1.2.1":version "1.2.1"@@ -4973,10 +4955,10 @@resolved "https://registry.yarnpkg.com/@next/env/-/env-13.1.1.tgz#6ff26488dc7674ef2bfdd1ca28fe43eed1113bea"integrity sha512-vFMyXtPjSAiOXOywMojxfKIqE3VWN5RCAx+tT3AS3pcKjMLFTCJFUWsKv8hC+87Z1F4W3r68qTwDFZIFmd5Xkw==-"@next/[email protected]":- version "13.1.1"- resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.1.tgz#cc5e419cc85587f73f2ac0046a91df01dc6fef8b"- integrity sha512-SBrOFS8PC3nQ5aeZmawJkjKkWjwK9RoxvBSv/86nZp0ubdoVQoko8r8htALd9ufp16NhacCdqhu9bzZLDWtALQ==+"@next/[email protected]":+ version "13.1.6"+ resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.6.tgz#ad8be22dd3d8aee9a9bd9a2507e2c55a2f7ebdd9"+ integrity sha512-o7cauUYsXjzSJkay8wKjpKJf2uLzlggCsGUkPu3lP09Pv97jYlekTC20KJrjQKmSv5DXV0R/uks2ZXhqjNkqAw==dependencies:glob "7.1.7"@@ -5063,7 +5045,7 @@resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz#2b5a3ab3f918cca48a8c754c08168e3f03eba61b"integrity sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==-"@nodelib/fs.walk@^1.2.3":+"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8":version "1.2.8"resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a"integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==@@ -5602,28 +5584,6 @@"@radix-ui/react-use-previous" "1.0.0""@radix-ui/react-visually-hidden" "1.0.1"-"@radix-ui/react-popover@^1.0.0":- version "1.0.0"- resolved "https://registry.yarnpkg.com/@radix-ui/react-popover/-/react-popover-1.0.0.tgz#5ee72013089fdf9038417fc1eb98a749c17457fd"- integrity sha512-osxFFO0TiZ9ABpEOitZu0R1Fdd+tSpJgAqLZxRLLdZQ7ya0onSODcITp5hXDVuYQeVXH6pKEBGwXN6ZGjZ0a5g==- dependencies:- "@babel/runtime" "^7.13.10"- "@radix-ui/primitive" "1.0.0"- "@radix-ui/react-compose-refs" "1.0.0"- "@radix-ui/react-context" "1.0.0"- "@radix-ui/react-dismissable-layer" "1.0.0"- "@radix-ui/react-focus-guards" "1.0.0"- "@radix-ui/react-focus-scope" "1.0.0"- "@radix-ui/react-id" "1.0.0"- "@radix-ui/react-popper" "1.0.0"- "@radix-ui/react-portal" "1.0.0"- "@radix-ui/react-presence" "1.0.0"- "@radix-ui/react-primitive" "1.0.0"- "@radix-ui/react-slot" "1.0.0"- "@radix-ui/react-use-controllable-state" "1.0.0"- aria-hidden "^1.1.1"- react-remove-scroll "2.5.4"-"@radix-ui/react-popover@^1.0.2":version "1.0.2"resolved "https://registry.yarnpkg.com/@radix-ui/react-popover/-/react-popover-1.0.2.tgz#f761c8aafb61519522b8e80501c589e619073a2c"@@ -8362,7 +8322,7 @@dependencies:"@types/node" "*"-"@types/node@*", "@types/[email protected]", "@types/[email protected]", "@types/node@>=4.0", "@types/node@>=8.1.0", "@types/node@^12.12.54", "@types/node@^12.12.6", "@types/node@^14.0.10 || ^16.0.0", "@types/node@^14.14.20 || ^16.0.0":+"@types/node@*", "@types/[email protected]", "@types/node@>=4.0", "@types/node@>=8.1.0", "@types/node@^12.12.54", "@types/node@^12.12.6", "@types/node@^14.0.10 || ^16.0.0", "@types/node@^14.14.20 || ^16.0.0":version "16.9.1"resolved "https://registry.yarnpkg.com/@types/node/-/node-16.9.1.tgz#0611b37db4246c937feef529ddcc018cf8e35708"integrity sha512-QpLcX9ZSsq3YYUUnD3nFDY8H7wctAhQj/TFKL8Ya8v5fMm3CFXxo8zStsLAl780ltoYoo1WvKUVGBQK+1ifr7g==@@ -8445,10 +8405,10 @@dependencies:"@types/react" "*"-"@types/[email protected]", "@types/react-dom@^18.0.0", "@types/react-dom@^18.0.6":- version "18.0.8"- resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.8.tgz#d2606d855186cd42cc1b11e63a71c39525441685"- integrity sha512-C3GYO0HLaOkk9dDAz3Dl4sbe4AKUGTCfFIZsz3n/82dPNN8Du533HzKatDxeUYWu24wJgMP1xICqkWk1YOLOIw==+"@types/[email protected]", "@types/react-dom@^18.0.0":+ version "18.0.9"+ resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.0.9.tgz#ffee5e4bfc2a2f8774b15496474f8e7fe8d0b504"+ integrity sha512-qnVvHxASt/H7i+XG1U1xMiY5t+IHcPGUK7TDMDzom08xa7e86eCeKOiLZezwCKVxJn6NEiiy2ekgX8aQssjIKg==dependencies:"@types/react" "*"@@ -8495,10 +8455,10 @@dependencies:"@types/react" "*"-"@types/react@*", "@types/react@16 || 17 || 18", "@types/[email protected]", "@types/react@^18.0.17":- version "18.0.17"- resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.17.tgz#4583d9c322d67efe4b39a935d223edcc7050ccf4"- integrity sha512-38ETy4tL+rn4uQQi7mB81G7V1g0u2ryquNmsVIOKUAEIDK+3CUjZ6rSRpdvS99dNBnkLFL83qfmtLacGOTIhwQ==+"@types/react@*", "@types/react@16 || 17 || 18", "@types/[email protected]":+ version "18.0.26"+ resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.26.tgz#8ad59fc01fef8eaf5c74f4ea392621749f0b7917"+ integrity sha512-hCR3PJQsAIXyxhTNSiDFY//LhnMZWpNNr5etoCqx/iUfGc5gXWtQR2Phl908jVR6uPXacojQWTg4qRpkxTuGug==dependencies:"@types/prop-types" "*""@types/scheduler" "*"@@ -8523,6 +8483,11 @@dependencies:"@types/node" "*"+"@types/semver@^7.3.12":+ version "7.3.13"+ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"+ integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==+"@types/serve-static@*":version "1.13.10"resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.10.tgz#f5e0ce8797d2d7cc5ebeda48a52c96c4fa47a8d9"@@ -8684,31 +8649,22 @@resolved "https://registry.yarnpkg.com/@types/yoga-layout/-/yoga-layout-1.9.2.tgz#efaf9e991a7390dc081a0b679185979a83a9639a"integrity sha512-S9q47ByT2pPvD65IvrWp7qppVMpk9WGMbVq9wbWZOHg6tnXSD4vyhao6nOSBwwfDdV2p3Kx9evA9vI+XWTfDvw==-"@typescript-eslint/eslint-plugin@^5.33.1":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.33.1.tgz#c0a480d05211660221eda963cc844732fe9b1714"- integrity sha512-S1iZIxrTvKkU3+m63YUOxYPKaP+yWDQrdhxTglVDVEVBf+aCSw85+BmJnyUaQQsk5TXFG/LpBu9fa+LrAQ91fQ==+"@typescript-eslint/eslint-plugin@^5.52.0":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.52.0.tgz#5fb0d43574c2411f16ea80f5fc335b8eaa7b28a8"+ integrity sha512-lHazYdvYVsBokwCdKOppvYJKaJ4S41CgKBcPvyd0xjZNbvQdhn/pnJlGtQksQ/NhInzdaeaSarlBjDXHuclEbg==dependencies:- "@typescript-eslint/scope-manager" "5.33.1"- "@typescript-eslint/type-utils" "5.33.1"- "@typescript-eslint/utils" "5.33.1"+ "@typescript-eslint/scope-manager" "5.52.0"+ "@typescript-eslint/type-utils" "5.52.0"+ "@typescript-eslint/utils" "5.52.0"debug "^4.3.4"- functional-red-black-tree "^1.0.1"+ grapheme-splitter "^1.0.4"ignore "^5.2.0"+ natural-compare-lite "^1.4.0"regexpp "^3.2.0"semver "^7.3.7"tsutils "^3.21.0"-"@typescript-eslint/parser@^5.33.1":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.33.1.tgz#e4b253105b4d2a4362cfaa4e184e2d226c440ff3"- integrity sha512-IgLLtW7FOzoDlmaMoXdxG8HOCByTBXrB1V2ZQYSEV1ggMmJfAkMWTwUjjzagS6OkfpySyhKFkBw7A9jYmcHpZA==- dependencies:- "@typescript-eslint/scope-manager" "5.33.1"- "@typescript-eslint/types" "5.33.1"- "@typescript-eslint/typescript-estree" "5.33.1"- debug "^4.3.4"-"@typescript-eslint/parser@^5.42.0":version "5.48.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.0.tgz#02803355b23884a83e543755349809a50b7ed9ba"@@ -8719,13 +8675,15 @@"@typescript-eslint/typescript-estree" "5.48.0"debug "^4.3.4"-"@typescript-eslint/[email protected]":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.33.1.tgz#8d31553e1b874210018ca069b3d192c6d23bc493"- integrity sha512-8ibcZSqy4c5m69QpzJn8XQq9NnqAToC8OdH/W6IXPXv83vRyEDPYLdjAlUx8h/rbusq6MkW4YdQzURGOqsn3CA==+"@typescript-eslint/parser@^5.52.0":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.52.0.tgz#73c136df6c0133f1d7870de7131ccf356f5be5a4"+ integrity sha512-e2KiLQOZRo4Y0D/b+3y08i3jsekoSkOYStROYmPUnGMEoA0h+k2qOH5H6tcjIc68WDvGwH+PaOrP1XRzLJ6QlA==dependencies:- "@typescript-eslint/types" "5.33.1"- "@typescript-eslint/visitor-keys" "5.33.1"+ "@typescript-eslint/scope-manager" "5.52.0"+ "@typescript-eslint/types" "5.52.0"+ "@typescript-eslint/typescript-estree" "5.52.0"+ debug "^4.3.4""@typescript-eslint/[email protected]":version "5.48.0"@@ -8735,37 +8693,33 @@"@typescript-eslint/types" "5.48.0""@typescript-eslint/visitor-keys" "5.48.0"-"@typescript-eslint/[email protected]":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.33.1.tgz#1a14e94650a0ae39f6e3b77478baff002cec4367"- integrity sha512-X3pGsJsD8OiqhNa5fim41YtlnyiWMF/eKsEZGsHID2HcDqeSC5yr/uLOeph8rNF2/utwuI0IQoAK3fpoxcLl2g==+"@typescript-eslint/[email protected]":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.52.0.tgz#a993d89a0556ea16811db48eabd7c5b72dcb83d1"+ integrity sha512-AR7sxxfBKiNV0FWBSARxM8DmNxrwgnYMPwmpkC1Pl1n+eT8/I2NAUPuwDy/FmDcC6F8pBfmOcaxcxRHspgOBMw==+ dependencies:+ "@typescript-eslint/types" "5.52.0"+ "@typescript-eslint/visitor-keys" "5.52.0"++"@typescript-eslint/[email protected]":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.52.0.tgz#9fd28cd02e6f21f5109e35496df41893f33167aa"+ integrity sha512-tEKuUHfDOv852QGlpPtB3lHOoig5pyFQN/cUiZtpw99D93nEBjexRLre5sQZlkMoHry/lZr8qDAt2oAHLKA6Jw==dependencies:- "@typescript-eslint/utils" "5.33.1"+ "@typescript-eslint/typescript-estree" "5.52.0"+ "@typescript-eslint/utils" "5.52.0"debug "^4.3.4"tsutils "^3.21.0"-"@typescript-eslint/[email protected]":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.33.1.tgz#3faef41793d527a519e19ab2747c12d6f3741ff7"- integrity sha512-7K6MoQPQh6WVEkMrMW5QOA5FO+BOwzHSNd0j3+BlBwd6vtzfZceJ8xJ7Um2XDi/O3umS8/qDX6jdy2i7CijkwQ==-"@typescript-eslint/[email protected]":version "5.48.0"resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449"integrity sha512-UTe67B0Ypius0fnEE518NB2N8gGutIlTojeTg4nt0GQvikReVkurqxd2LvYa9q9M5MQ6rtpNyWTBxdscw40Xhw==-"@typescript-eslint/[email protected]":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.33.1.tgz#a573bd360790afdcba80844e962d8b2031984f34"- integrity sha512-JOAzJ4pJ+tHzA2pgsWQi4804XisPHOtbvwUyqsuuq8+y5B5GMZs7lI1xDWs6V2d7gE/Ez5bTGojSK12+IIPtXA==- dependencies:- "@typescript-eslint/types" "5.33.1"- "@typescript-eslint/visitor-keys" "5.33.1"- debug "^4.3.4"- globby "^11.1.0"- is-glob "^4.0.3"- semver "^7.3.7"- tsutils "^3.21.0"+"@typescript-eslint/[email protected]":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.52.0.tgz#19e9abc6afb5bd37a1a9bea877a1a836c0b3241b"+ integrity sha512-oV7XU4CHYfBhk78fS7tkum+/Dpgsfi91IIDy7fjCyq2k6KB63M6gMC0YIvy+iABzmXThCRI6xpCEyVObBdWSDQ=="@typescript-eslint/[email protected]":version "5.48.0"@@ -8780,25 +8734,32 @@semver "^7.3.7"tsutils "^3.21.0"-"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^5.33.1":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.33.1.tgz#171725f924fe1fe82bb776522bb85bc034e88575"- integrity sha512-uphZjkMaZ4fE8CR4dU7BquOV6u0doeQAr8n6cQenl/poMaIyJtBu8eys5uk6u5HiDH01Mj5lzbJ5SfeDz7oqMQ==+"@typescript-eslint/[email protected]":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.52.0.tgz#6408cb3c2ccc01c03c278cb201cf07e73347dfca"+ integrity sha512-WeWnjanyEwt6+fVrSR0MYgEpUAuROxuAH516WPjUblIrClzYJj0kBbjdnbQXLpgAN8qbEuGywiQsXUVDiAoEuQ==+ dependencies:+ "@typescript-eslint/types" "5.52.0"+ "@typescript-eslint/visitor-keys" "5.52.0"+ debug "^4.3.4"+ globby "^11.1.0"+ is-glob "^4.0.3"+ semver "^7.3.7"+ tsutils "^3.21.0"++"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^5.52.0":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.52.0.tgz#b260bb5a8f6b00a0ed51db66bdba4ed5e4845a72"+ integrity sha512-As3lChhrbwWQLNk2HC8Ree96hldKIqk98EYvypd3It8Q1f8d5zWyIoaZEp2va5667M4ZyE7X8UUR+azXrFl+NA==dependencies:"@types/json-schema" "^7.0.9"- "@typescript-eslint/scope-manager" "5.33.1"- "@typescript-eslint/types" "5.33.1"- "@typescript-eslint/typescript-estree" "5.33.1"+ "@types/semver" "^7.3.12"+ "@typescript-eslint/scope-manager" "5.52.0"+ "@typescript-eslint/types" "5.52.0"+ "@typescript-eslint/typescript-estree" "5.52.0"eslint-scope "^5.1.1"eslint-utils "^3.0.0"--"@typescript-eslint/[email protected]":- version "5.33.1"- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.33.1.tgz#0155c7571c8cd08956580b880aea327d5c34a18b"- integrity sha512-nwIxOK8Z2MPWltLKMLOEZwmfBZReqUdbEoHQXeCpa+sRVARe5twpJGHCB4dk9903Yaf0nMAlGbQfaAH92F60eg==- dependencies:- "@typescript-eslint/types" "5.33.1"- eslint-visitor-keys "^3.3.0"+ semver "^7.3.7""@typescript-eslint/[email protected]":version "5.48.0"@@ -8808,6 +8769,14 @@"@typescript-eslint/types" "5.48.0"eslint-visitor-keys "^3.3.0"+"@typescript-eslint/[email protected]":+ version "5.52.0"+ resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.52.0.tgz#e38c971259f44f80cfe49d97dbffa38e3e75030f"+ integrity sha512-qMwpw6SU5VHCPr99y274xhbm+PRViK/NATY6qzt+Et7+mThGuFSl/ompj2/hrBlRP/kq+BFdgagnOSgw9TB0eA==+ dependencies:+ "@typescript-eslint/types" "5.52.0"+ eslint-visitor-keys "^3.3.0"+"@vanilla-extract/[email protected]":version "1.7.0"resolved "https://registry.yarnpkg.com/@vanilla-extract/css/-/css-1.7.0.tgz#7276830c7741b17b7a70720be88c9083682f5206"@@ -8869,7 +8838,7 @@satori "0.0.44"yoga-wasm-web "0.1.2"-"@vitejs/plugin-react@^1.3.2":+"@vitejs/[email protected]":version "1.3.2"resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-1.3.2.tgz#2fcf0b6ce9bcdcd4cec5c760c199779d5657ece1"integrity sha512-aurBNmMo0kz1O4qRoY+FM4epSA39y3ShWGuqfLRA/3z0oEJAdtoSfgA3aO98/PCCHAqMaduLxIxErWrVKIFzXA==@@ -13621,12 +13590,12 @@ escodegen@^2.0.0:optionalDependencies:source-map "~0.6.1"-eslint-config-next@^13.1.1:- version "13.1.1"- resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.1.1.tgz#b1a6602b0a339820585d4b2f8d2e08866b6699a7"- integrity sha512-/5S2XGWlGaiqrRhzpn51ux5JUSLwx8PVK2keLi5xk7QmhfYB8PqE6R6SlVw6hgnf/VexvUXSrlNJ/su00NhtHQ==+eslint-config-next@^13.1.6:+ version "13.1.6"+ resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-13.1.6.tgz#ab6894fe5b80080f1e9b9306d1c4b0003230620e"+ integrity sha512-0cg7h5wztg/SoLAlxljZ0ZPUQ7i6QKqRiP4M2+MgTZtxWwNKb2JSwNc18nJ6/kXBI6xYvPraTbQSIhAuVw6czw==dependencies:- "@next/eslint-plugin-next" "13.1.1"+ "@next/eslint-plugin-next" "13.1.6""@rushstack/eslint-patch" "^1.1.3""@typescript-eslint/parser" "^5.42.0"eslint-import-resolver-node "^0.3.6"@@ -13636,17 +13605,17 @@ eslint-config-next@^13.1.1:eslint-plugin-react "^7.31.7"eslint-plugin-react-hooks "^4.5.0"-eslint-config-prettier@^8.5.0:- version "8.5.0"- resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1"- integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==+eslint-config-prettier@^8.6.0:+ version "8.6.0"+ resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207"+ integrity sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==-eslint-config-turbo@^0.0.3:- version "0.0.3"- resolved "https://registry.yarnpkg.com/eslint-config-turbo/-/eslint-config-turbo-0.0.3.tgz#61a3b6fdc4186bb6832ab4b48bb6ed2d3bad57a8"- integrity sha512-hK5MlxDugUWZV9ZKcyfNwLXrlMuM2wPgAUk51cUFBC3nXRCVmCA9uSRFBZsyAIurN1wH7mS7G1NBo5F8VkF7lQ==+eslint-config-turbo@^0.0.7:+ version "0.0.7"+ resolved "https://registry.yarnpkg.com/eslint-config-turbo/-/eslint-config-turbo-0.0.7.tgz#1a4ef7b28df40fb168a695e34d58d1d25477aab3"+ integrity sha512-WbrGlyfs94rOXrhombi1wjIAYGdV2iosgJRndOZtmDQeq5GLTzYmBUCJQZWtLBEBUPCj96RxZ2OL7Cn+xv/Azg==dependencies:- eslint-plugin-turbo "0.0.3"+ eslint-plugin-turbo "0.0.7"eslint-import-resolver-node@^0.3.6:version "0.3.6"@@ -13714,10 +13683,10 @@ eslint-plugin-jsx-a11y@^6.5.1:language-tags "^1.0.5"minimatch "^3.0.4"-eslint-plugin-playwright@^0.9.0:- version "0.9.0"- resolved "https://registry.yarnpkg.com/eslint-plugin-playwright/-/eslint-plugin-playwright-0.9.0.tgz#e14ac6c834f2704b293fc3f45cd40d771ec2e840"- integrity sha512-5bxAhiKjRASSgtQ4IipwtdesgQ8GT9m0PK61Uqxclu/TpiZS4eaAksydVeiiSPIOQph5GvuuLA7+oBS0WkWO6w==+eslint-plugin-playwright@^0.12.0:+ version "0.12.0"+ resolved "https://registry.yarnpkg.com/eslint-plugin-playwright/-/eslint-plugin-playwright-0.12.0.tgz#0c728e07c217b5ea48acef46c52eefba9cf8ebd3"+ integrity sha512-KXuzQjVzca5irMT/7rvzJKsVDGbQr43oQPc8i+SLEBqmfrTxlwMwRqfv9vtZqh4hpU0jmrnA/EOfwtls+5QC1w==eslint-plugin-prettier@^4.2.1:version "4.2.1"@@ -13777,10 +13746,10 @@ eslint-plugin-react@^7.31.7:semver "^6.3.0"string.prototype.matchall "^4.0.8"- version "0.0.3"- resolved "https://registry.yarnpkg.com/eslint-plugin-turbo/-/eslint-plugin-turbo-0.0.3.tgz#9d86895732f95b0c236d6363177a52368fffdc71"- integrity sha512-QjidATGxWtaB9QUrD3NocUySmsgWKZlBMFlw4kX2IIjRLAxMPwukk90h3ZTaNXyRHuaQsrEgh7hhlCZoxP0TTw==+ version "0.0.7"+ resolved "https://registry.yarnpkg.com/eslint-plugin-turbo/-/eslint-plugin-turbo-0.0.7.tgz#b70155dfeddc530f2f3ca383d850145f22e92fa6"+ integrity sha512-iajOH8eD4jha3duztGVBD1BEmvNrQBaA/y3HFHf91vMDRYRwH7BpHSDFtxydDpk5ghlhRxG299SFxz7D6z4MBQ==eslint-plugin-unused-imports@^2.0.0:version "2.0.0"@@ -13879,14 +13848,15 @@ [email protected]:text-table "^0.2.0"v8-compile-cache "^2.0.3"-eslint@^8.22.0:- version "8.22.0"- resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48"- integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA==+eslint@^8.34.0:+ version "8.34.0"+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.34.0.tgz#fe0ab0ef478104c1f9ebc5537e303d25a8fb22d6"+ integrity sha512-1Z8iFsucw+7kSqXNZVslXS8Ioa4u2KM7GPwuKtkTFAqZ/cHMcEaR+1+Br0wLlot49cNxIiZk5wp8EAbPcYZxTg==dependencies:- "@eslint/eslintrc" "^1.3.0"- "@humanwhocodes/config-array" "^0.10.4"- "@humanwhocodes/gitignore-to-minimatch" "^1.0.2"+ "@eslint/eslintrc" "^1.4.1"+ "@humanwhocodes/config-array" "^0.11.8"+ "@humanwhocodes/module-importer" "^1.0.1"+ "@nodelib/fs.walk" "^1.2.8"ajv "^6.10.0"chalk "^4.0.0"cross-spawn "^7.0.2"@@ -13896,21 +13866,21 @@ eslint@^8.22.0:eslint-scope "^7.1.1"eslint-utils "^3.0.0"eslint-visitor-keys "^3.3.0"- espree "^9.3.3"+ espree "^9.4.0"esquery "^1.4.0"esutils "^2.0.2"fast-deep-equal "^3.1.3"file-entry-cache "^6.0.1"find-up "^5.0.0"- functional-red-black-tree "^1.0.1"- glob-parent "^6.0.1"- globals "^13.15.0"- globby "^11.1.0"+ glob-parent "^6.0.2"+ globals "^13.19.0"grapheme-splitter "^1.0.4"ignore "^5.2.0"import-fresh "^3.0.0"imurmurhash "^0.1.4"is-glob "^4.0.0"+ is-path-inside "^3.0.3"+ js-sdsl "^4.1.4"js-yaml "^4.1.0"json-stable-stringify-without-jsonify "^1.0.1"levn "^0.4.1"@@ -13922,7 +13892,6 @@ eslint@^8.22.0:strip-ansi "^6.0.1"strip-json-comments "^3.1.0"text-table "^0.2.0"- v8-compile-cache "^2.0.3"version "9.2.0"@@ -13933,7 +13902,7 @@ [email protected]:acorn-jsx "^5.3.1"eslint-visitor-keys "^3.1.0"-espree@^9.2.0, espree@^9.3.3:+espree@^9.2.0:version "9.3.3"resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.3.tgz#2dd37c4162bb05f433ad3c1a52ddf8a49dc08e9d"integrity sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng==@@ -13951,6 +13920,15 @@ espree@^9.3.2:acorn-jsx "^5.3.2"eslint-visitor-keys "^3.3.0"+espree@^9.4.0:+ version "9.4.1"+ resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd"+ integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==+ dependencies:+ acorn "^8.8.0"+ acorn-jsx "^5.3.2"+ eslint-visitor-keys "^3.3.0"+esprima@^4.0.0, esprima@^4.0.1:version "4.0.1"resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71"@@ -15588,6 +15566,13 @@ globals@^13.15.0:dependencies:type-fest "^0.20.2"+globals@^13.19.0:+ version "13.20.0"+ resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82"+ integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==+ dependencies:+ type-fest "^0.20.2"+globals@^13.6.0:version "13.16.0"resolved "https://registry.yarnpkg.com/globals/-/globals-13.16.0.tgz#9be4aca28f311aaeb974ea54978ebbb5e35ce46a"@@ -17140,6 +17125,11 @@ is-object@^1.0.1:resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.2.tgz#a56552e1c665c9e950b4a025461da87e72f86fcf"integrity sha512-2rRIahhZr2UWb45fIOuvZGpFtz0TyOZLf32KxBbSoUCeZR495zCKlWUKKUByk3geS2eAs7ZAABt0Y/Rx0GiQGA==+is-path-inside@^3.0.3:+ version "3.0.3"+ resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283"+ integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==+is-plain-obj@^1.0.0, is-plain-obj@^1.1.0:version "1.1.0"resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e"@@ -18006,6 +17996,11 @@ js-md4@^0.3.2:resolved "https://registry.yarnpkg.com/js-md4/-/js-md4-0.3.2.tgz#cd3b3dc045b0c404556c81ddb5756c23e59d7cf5"integrity sha512-/GDnfQYsltsjRswQhN9fhv3EMw2sCpUdrdxyWDOUK7eyD++r3gRhzgiQgc/x4MAv2i1iuQ4lxO5mvqM3vj4bwA==+js-sdsl@^4.1.4:+ version "4.3.0"+ resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711"+ integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==+[email protected], js-sha3@^0.8.0:version "0.8.0"resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"@@ -18219,6 +18214,11 @@ json5@^2.1.2, json5@^2.1.3, json5@^2.2.1:resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.1.tgz#655d50ed1e6f95ad1a3caababd2b0efda10b395c"integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==+json5@^2.2.2:+ version "2.2.3"+ resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"+ integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==+jsonfile@^4.0.0:version "4.0.0"resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"@@ -19468,10 +19468,10 @@ methods@^1.1.2, methods@~1.1.2:resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=-micro@^9.4.1:- version "9.4.1"- resolved "https://registry.yarnpkg.com/micro/-/micro-9.4.1.tgz#3a7eedd96718d8569a324475cd1967441df4b3c7"- integrity sha512-Lpjcbp6Y9GJIfewxDfTmu9eW0rt0MGo+Gs1d3yJLFa7mhErtKkCngGhDbA/O1gqUjEwsHh+jWPg8BJ0Bx4AgFA==+micro@^10.0.1:+ version "10.0.1"+ resolved "https://registry.yarnpkg.com/micro/-/micro-10.0.1.tgz#2601e02b0dacd2eaee77e9de18f12b2e595c5951"+ integrity sha512-9uwZSsUrqf6+4FLLpiPj5TRWQv5w5uJrJwsx1LR/TjqvQmKC1XnGQ9OHrFwR3cbZ46YqPqxO/XJCOpWnqMPw2Q==dependencies:arg "4.1.0"content-type "1.0.4"@@ -19923,7 +19923,7 @@ minimalistic-crypto-utils@^1.0.1:resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a"integrity sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=-minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2:+minimatch@^3.0.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2:version "3.1.2"resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==@@ -20314,6 +20314,11 @@ native-duplexpair@^1.0.0:resolved "https://registry.yarnpkg.com/native-duplexpair/-/native-duplexpair-1.0.0.tgz#7899078e64bf3c8a3d732601b3d40ff05db58fa0"integrity sha512-E7QQoM+3jvNtlmyfqRZ0/U75VFgCls+fSkbml2MpgWkWyz3ox8Y58gNhfuziuQYGNNQAbFZJQck55LHCnCK6CA==+natural-compare-lite@^1.4.0:+ version "1.4.0"+ resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4"+ integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==+natural-compare@^1.4.0:version "1.4.0"resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"@@ -20341,21 +20346,6 @@ next-api-middleware@^1.0.1:dependencies:debug "^4.3.2"-next-auth@^4.10.3:- version "4.17.0"- resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.17.0.tgz#776d2a0999d4e2eb56968cad282c1ecd37516a2c"- integrity sha512-aN2tdnjS0MDeUpB2tBDOaWnegkgeMWrsccujbXRGMJ607b+EwRcy63MFGSr0OAboDJEe0902piXQkt94GqF8Qw==- dependencies:- "@babel/runtime" "^7.16.3"- "@panva/hkdf" "^1.0.1"- cookie "^0.5.0"- jose "^4.9.3"- oauth "^0.9.15"- openid-client "^5.1.0"- preact "^10.6.3"- preact-render-to-string "^5.1.19"- uuid "^8.3.2"-next-auth@^4.18.8:version "4.19.2"resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.19.2.tgz#8dbdc4886d4f006e7c67c77ab56e0aec5693064d"@@ -22065,10 +22055,10 @@ prettier-plugin-tailwindcss@^0.1.13:resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==-prettier@^2.7.1:- version "2.7.1"- resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"- integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==+prettier@^2.8.4:+ version "2.8.4"+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3"+ integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw==pretty-error@^2.1.1:version "2.1.2"@@ -22679,7 +22669,7 @@ react-docgen@^6.0.0-alpha.0:resolve "^1.17.0"strip-indent "^3.0.0"[email protected], react-dom@^18.2.0:+react-dom@^18.2.0:version "18.2.0"resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==@@ -23067,7 +23057,7 @@ react-window@^1.8.7:"@babel/runtime" "^7.0.0"memoize-one ">=3.1.1 <6"[email protected], react@^18.2.0:+react@^18.2.0:version "18.2.0"resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==