From 53748eb380f21c579538f24f84239b56499125ed Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 2 May 2023 13:44:05 +0200 Subject: [PATCH] add an enum generator, stop importing from @prisma/client (#8548) * add an enum generator and start importing from it * keep moving imports * fix remaining * Header simplified * Removed generated file from repo * Updated .gitignore to exclude enums directory * Add eslint rule to check for @prisma/client Prisma enum import * Added another enum import + exclude PrismaClient --------- Co-authored-by: Alex van Andel --- .gitignore | 3 +- .prettierignore | 1 + .../components/auth/layouts/AdminLayout.tsx | 2 +- .../components/booking/BookingDescription.tsx | 2 +- .../components/booking/BookingListItem.tsx | 2 +- .../eventtype/EventAvailabilityTab.tsx | 2 +- .../components/eventtype/EventLimitsTab.tsx | 2 +- .../web/components/eventtype/EventTeamTab.tsx | 2 +- .../eventtype/EventTypeSingleLayout.tsx | 2 +- apps/web/pages/api/auth/changepw.ts | 2 +- apps/web/pages/api/auth/setup.ts | 2 +- apps/web/pages/api/auth/signup.ts | 2 +- .../pages/api/auth/two-factor/totp/setup.ts | 2 +- apps/web/pages/api/cron/bookingReminder.ts | 2 +- apps/web/pages/api/link.ts | 2 +- apps/web/pages/apps/categories/[category].tsx | 2 +- apps/web/pages/apps/index.tsx | 2 +- apps/web/pages/auth/setup/index.tsx | 2 +- apps/web/pages/booking/[uid].tsx | 2 +- apps/web/pages/event-types/[type]/index.tsx | 2 +- apps/web/pages/event-types/index.tsx | 2 +- .../web/pages/settings/my-account/profile.tsx | 2 +- apps/web/pages/settings/security/password.tsx | 2 +- apps/web/playwright/booking-seats.e2e.ts | 2 +- apps/web/playwright/fixtures/users.ts | 3 +- .../manage-booking-questions.e2e.ts | 2 +- apps/web/playwright/reschedule.e2e.ts | 2 +- apps/web/test/lib/getSchedule.test.ts | 4 +- packages/app-store/locations.ts | 2 +- .../app-store/routing-forms/trpc-router.ts | 3 +- packages/app-store/vital/api/webhook.ts | 2 +- packages/app-store/vital/lib/reschedule.ts | 2 +- packages/app-store/wipemycalother/api/wipe.ts | 2 +- .../wipemycalother/lib/reschedule.ts | 2 +- .../api/subscriptions/addSubscription.ts | 2 +- .../api/subscriptions/deleteSubscription.ts | 2 +- packages/core/getAggregateWorkingHours.ts | 3 +- packages/core/getBusyTimes.ts | 2 +- .../eslint-plugin/src/configs/recommended.ts | 1 + .../avoid-prisma-client-import-for-enums.ts | 45 + packages/eslint-plugin/src/rules/index.ts | 2 +- packages/features/apps/AdminAppsList.tsx | 2 +- .../features/auth/PermissionContainer.tsx | 3 +- .../auth/lib/identityProviderNameMap.ts | 2 +- .../features/auth/lib/next-auth-options.ts | 2 +- .../components/event-meta/Members.tsx | 2 +- .../features/bookings/lib/getBookingFields.ts | 10 +- .../bookings/lib/handleCancelBooking.ts | 2 +- .../bookings/lib/handleConfirmation.ts | 2 +- .../features/bookings/lib/handleNewBooking.ts | 3 +- .../calendars/weeklyview/types/events.ts | 2 +- .../hooks/useLockedFieldsManager.tsx | 2 +- .../lib/handleChildrenEventTypes.ts | 2 +- packages/features/ee/payments/api/webhook.ts | 2 +- .../features/ee/payments/pages/payment.tsx | 2 +- .../components/MemberChangeRoleModal.tsx | 2 +- .../components/MemberInvitationModal.tsx | 2 +- .../ee/teams/components/MemberListItem.tsx | 2 +- .../ee/teams/components/TeamInviteList.tsx | 2 +- .../teams/components/TeamInviteListItem.tsx | 3 +- .../ee/teams/components/TeamListItem.tsx | 2 +- .../features/ee/teams/components/TeamPill.tsx | 2 +- packages/features/ee/teams/lib/types.ts | 2 +- .../ee/teams/pages/team-appearance-view.tsx | 2 +- .../ee/teams/pages/team-members-view.tsx | 2 +- .../ee/teams/pages/team-profile-view.tsx | 2 +- .../workflows/api/scheduleEmailReminders.ts | 2 +- .../ee/workflows/api/scheduleSMSReminders.ts | 2 +- .../workflows/components/AddActionDialog.tsx | 2 +- .../components/EventWorkflowsTab.tsx | 2 +- .../components/WorkflowDetailsPage.tsx | 4 +- .../components/WorkflowStepContainer.tsx | 3 +- .../ee/workflows/lib/actionHelperFunctions.ts | 2 +- .../features/ee/workflows/lib/constants.ts | 2 +- .../ee/workflows/lib/getActionIcon.tsx | 2 +- .../features/ee/workflows/lib/getOptions.ts | 3 +- .../lib/reminders/emailReminderManager.ts | 6 +- .../lib/reminders/reminderScheduler.ts | 3 +- .../lib/reminders/smsReminderManager.ts | 6 +- .../templates/emailReminderTemplate.ts | 3 +- .../templates/smsReminderTemplate.ts | 3 +- .../features/ee/workflows/pages/workflow.tsx | 9 +- .../components/ChildrenEventTypeSelect.tsx | 2 +- .../components/CreateEventTypeDialog.tsx | 3 +- .../components/EventTypeDescription.tsx | 2 +- .../settings/layouts/SettingsLayout.tsx | 2 +- .../webhooks/components/WebhookForm.tsx | 2 +- .../webhooks/components/WebhookListItem.tsx | 3 +- packages/features/webhooks/lib/constants.ts | 2 +- packages/features/webhooks/lib/getWebhooks.ts | 3 +- packages/lib/defaultEvents.ts | 2 +- packages/lib/getEventTypeById.ts | 3 +- packages/lib/isOutOfBounds.tsx | 2 +- packages/lib/payment/deletePayment.ts | 3 +- packages/lib/server/queries/teams/index.ts | 3 +- packages/lib/sync/SyncServiceManager.ts | 3 +- packages/lib/sync/services/CloseComService.ts | 3 +- packages/lib/test/builder.ts | 2 +- packages/prisma/client/index.js | 1 + packages/prisma/enum-generator.ts | 37 + packages/prisma/package.json | 1 + packages/prisma/schema.prisma | 4 + packages/prisma/seed-insights.ts | 3 +- packages/prisma/seed.ts | 2 +- packages/prisma/zod-utils.ts | 2 +- packages/prisma/zod/custom/eventtype.ts | 2 +- .../bookingUnconfirmedCount.handler.ts | 3 +- .../connectedCalendars.handler.ts | 2 +- .../deleteCredential.handler.ts | 2 +- .../loggedInViewer/deleteMe.handler.ts | 2 +- .../deleteMeWithoutPassword.handler.ts | 3 +- .../routers/viewer/apps/listLocal.handler.ts | 2 +- .../routers/viewer/apps/listLocal.schema.ts | 3 +- .../routers/viewer/apps/saveKeys.handler.ts | 2 +- .../routers/viewer/apps/toggle.handler.ts | 2 +- .../viewer/auth/changePassword.handler.ts | 3 +- .../viewer/bookings/confirm.handler.ts | 3 +- .../routers/viewer/bookings/get.handler.ts | 3 +- .../bookings/requestReschedule.handler.ts | 5 +- .../server/routers/viewer/bookings/util.ts | 2 +- .../viewer/eventTypes/create.handler.ts | 2 +- .../viewer/eventTypes/getByViewer.handler.ts | 4 +- .../viewer/eventTypes/update.handler.ts | 3 +- .../server/routers/viewer/eventTypes/util.ts | 2 +- .../trpc/server/routers/viewer/slots/util.ts | 2 +- .../viewer/teams/acceptOrLeave.handler.ts | 3 +- .../viewer/teams/changeMemberRole.handler.ts | 3 +- .../viewer/teams/changeMemberRole.schema.ts | 3 +- .../routers/viewer/teams/create.handler.ts | 3 +- .../routers/viewer/teams/get.handler.ts | 3 +- .../viewer/teams/getUpgradeable.handler.ts | 3 +- .../viewer/teams/inviteMember.handler.ts | 3 +- .../viewer/teams/inviteMember.schema.ts | 3 +- .../workflows/activateEventType.handler.ts | 3 +- .../viewer/workflows/create.handler.ts | 12 +- .../viewer/workflows/delete.handler.ts | 3 +- .../viewer/workflows/getByViewer.handler.ts | 3 +- .../routers/viewer/workflows/list.handler.ts | 3 +- .../viewer/workflows/update.handler.ts | 2 +- .../server/routers/viewer/workflows/util.ts | 2 +- yarn.lock | 1986 +---------------- 141 files changed, 309 insertions(+), 2115 deletions(-) create mode 100644 packages/eslint-plugin/src/rules/avoid-prisma-client-import-for-enums.ts create mode 100644 packages/prisma/client/index.js create mode 100644 packages/prisma/enum-generator.ts diff --git a/.gitignore b/.gitignore index 2da5db3f63..28ce05562d 100644 --- a/.gitignore +++ b/.gitignore @@ -65,8 +65,9 @@ tsconfig.tsbuildinfo # turbo .turbo -# Prisma-Zod +# Prisma generated files packages/prisma/zod/*.ts +packages/prisma/enums # Builds dist diff --git a/.prettierignore b/.prettierignore index 110469b176..7944833941 100644 --- a/.prettierignore +++ b/.prettierignore @@ -14,4 +14,5 @@ public .DS_Store .eslintignore packages/prisma/zod +packages/prisma/enums apps/web/public/embed diff --git a/apps/web/components/auth/layouts/AdminLayout.tsx b/apps/web/components/auth/layouts/AdminLayout.tsx index 590ad37611..8cd9ef5658 100644 --- a/apps/web/components/auth/layouts/AdminLayout.tsx +++ b/apps/web/components/auth/layouts/AdminLayout.tsx @@ -1,4 +1,3 @@ -import { UserPermissionRole } from "@prisma/client"; import { useSession } from "next-auth/react"; import { useRouter } from "next/router"; import type { ComponentProps } from "react"; @@ -6,6 +5,7 @@ import React, { useEffect } from "react"; import SettingsLayout from "@calcom/features/settings/layouts/SettingsLayout"; import type Shell from "@calcom/features/shell/Shell"; +import { UserPermissionRole } from "@calcom/prisma/enums"; import { ErrorBoundary } from "@calcom/ui"; export default function AdminLayout({ diff --git a/apps/web/components/booking/BookingDescription.tsx b/apps/web/components/booking/BookingDescription.tsx index b3c0484c2a..b561b5ff6d 100644 --- a/apps/web/components/booking/BookingDescription.tsx +++ b/apps/web/components/booking/BookingDescription.tsx @@ -1,10 +1,10 @@ -import { SchedulingType } from "@prisma/client"; import type { FC, ReactNode } from "react"; import { useEffect } from "react"; import dayjs from "@calcom/dayjs"; import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { SchedulingType } from "@calcom/prisma/enums"; import { Badge } from "@calcom/ui"; import { CheckSquare, Clock } from "@calcom/ui/components/icon"; diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index 63a8a9fe2d..7af2db8944 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -1,4 +1,3 @@ -import { BookingStatus } from "@prisma/client"; import { useRouter } from "next/router"; import { useState } from "react"; @@ -13,6 +12,7 @@ import { formatTime } from "@calcom/lib/date-fns"; import getPaymentAppData from "@calcom/lib/getPaymentAppData"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { getEveryFreqFor } from "@calcom/lib/recurringStrings"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { RouterInputs, RouterOutputs } from "@calcom/trpc/react"; import { trpc } from "@calcom/trpc/react"; import type { ActionType } from "@calcom/ui"; diff --git a/apps/web/components/eventtype/EventAvailabilityTab.tsx b/apps/web/components/eventtype/EventAvailabilityTab.tsx index ac425eafc8..e60f05f30d 100644 --- a/apps/web/components/eventtype/EventAvailabilityTab.tsx +++ b/apps/web/components/eventtype/EventAvailabilityTab.tsx @@ -1,4 +1,3 @@ -import { SchedulingType } from "@prisma/client"; import type { EventTypeSetup, FormValues } from "pages/event-types/[type]"; import { useState } from "react"; import { Controller, useFormContext } from "react-hook-form"; @@ -10,6 +9,7 @@ import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hook import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { weekdayNames } from "@calcom/lib/weekday"; +import { SchedulingType } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import useMeQuery from "@calcom/trpc/react/hooks/useMeQuery"; import { Badge, Button, Select, SettingsToggle, SkeletonText } from "@calcom/ui"; diff --git a/apps/web/components/eventtype/EventLimitsTab.tsx b/apps/web/components/eventtype/EventLimitsTab.tsx index 52dff126d9..c24315c407 100644 --- a/apps/web/components/eventtype/EventLimitsTab.tsx +++ b/apps/web/components/eventtype/EventLimitsTab.tsx @@ -13,7 +13,7 @@ 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 type { PeriodType } from "@calcom/prisma/client"; +import type { PeriodType } from "@calcom/prisma/enums"; import type { IntervalLimit } from "@calcom/types/Calendar"; import { Button, DateRangePicker, InputField, Label, Select, SettingsToggle, TextField } from "@calcom/ui"; import { Plus, Trash } from "@calcom/ui/components/icon"; diff --git a/apps/web/components/eventtype/EventTeamTab.tsx b/apps/web/components/eventtype/EventTeamTab.tsx index 5cfe025bc8..68cda606aa 100644 --- a/apps/web/components/eventtype/EventTeamTab.tsx +++ b/apps/web/components/eventtype/EventTeamTab.tsx @@ -1,4 +1,3 @@ -import { SchedulingType } from "@prisma/client"; import type { EventTypeSetupProps, FormValues } from "pages/event-types/[type]"; import { useEffect, useRef } from "react"; import type { ComponentProps } from "react"; @@ -10,6 +9,7 @@ import CheckedTeamSelect from "@calcom/features/eventtypes/components/CheckedTea import ChildrenEventTypeSelect from "@calcom/features/eventtypes/components/ChildrenEventTypeSelect"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { SchedulingType } from "@calcom/prisma/enums"; import { Label, Select } from "@calcom/ui"; interface IUserToValue { diff --git a/apps/web/components/eventtype/EventTypeSingleLayout.tsx b/apps/web/components/eventtype/EventTypeSingleLayout.tsx index 78bf2ae373..27aab286e2 100644 --- a/apps/web/components/eventtype/EventTypeSingleLayout.tsx +++ b/apps/web/components/eventtype/EventTypeSingleLayout.tsx @@ -1,4 +1,3 @@ -import { SchedulingType } from "@prisma/client"; import { Webhook as TbWebhook } from "lucide-react"; import type { TFunction } from "next-i18next"; import { Trans } from "next-i18next"; @@ -13,6 +12,7 @@ import { classNames } from "@calcom/lib"; import { CAL_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { HttpError } from "@calcom/lib/http-error"; +import { SchedulingType } from "@calcom/prisma/enums"; import { trpc, TRPCClientError } from "@calcom/trpc/react"; import { Button, diff --git a/apps/web/pages/api/auth/changepw.ts b/apps/web/pages/api/auth/changepw.ts index e61ee01b7f..da9b7af6c1 100644 --- a/apps/web/pages/api/auth/changepw.ts +++ b/apps/web/pages/api/auth/changepw.ts @@ -1,4 +1,3 @@ -import { IdentityProvider } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode"; @@ -6,6 +5,7 @@ import { getServerSession } from "@calcom/features/auth/lib/getServerSession"; import { hashPassword } from "@calcom/features/auth/lib/hashPassword"; import { verifyPassword } from "@calcom/features/auth/lib/verifyPassword"; import prisma from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; export default async function handler(req: NextApiRequest, res: NextApiResponse) { const session = await getServerSession({ req, res }); diff --git a/apps/web/pages/api/auth/setup.ts b/apps/web/pages/api/auth/setup.ts index 346b271e1a..f63f2bb9b4 100644 --- a/apps/web/pages/api/auth/setup.ts +++ b/apps/web/pages/api/auth/setup.ts @@ -1,4 +1,3 @@ -import { IdentityProvider } from "@prisma/client"; import type { NextApiRequest } from "next"; import z from "zod"; @@ -8,6 +7,7 @@ import { HttpError } from "@calcom/lib/http-error"; import { defaultHandler, defaultResponder } from "@calcom/lib/server"; import slugify from "@calcom/lib/slugify"; import prisma from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; const querySchema = z.object({ username: z diff --git a/apps/web/pages/api/auth/signup.ts b/apps/web/pages/api/auth/signup.ts index dc6d22d5e7..921cc17a52 100644 --- a/apps/web/pages/api/auth/signup.ts +++ b/apps/web/pages/api/auth/signup.ts @@ -1,10 +1,10 @@ -import { IdentityProvider } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import { hashPassword } from "@calcom/features/auth/lib/hashPassword"; import slugify from "@calcom/lib/slugify"; import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager"; import prisma from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; export default async function handler(req: NextApiRequest, res: NextApiResponse) { if (req.method !== "POST") { diff --git a/apps/web/pages/api/auth/two-factor/totp/setup.ts b/apps/web/pages/api/auth/two-factor/totp/setup.ts index 135da4238a..de63fcada6 100644 --- a/apps/web/pages/api/auth/two-factor/totp/setup.ts +++ b/apps/web/pages/api/auth/two-factor/totp/setup.ts @@ -1,4 +1,3 @@ -import { IdentityProvider } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import { authenticator } from "otplib"; import qrcode from "qrcode"; @@ -8,6 +7,7 @@ import { getServerSession } from "@calcom/features/auth/lib/getServerSession"; import { verifyPassword } from "@calcom/features/auth/lib/verifyPassword"; import { symmetricEncrypt } from "@calcom/lib/crypto"; import prisma from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; export default async function handler(req: NextApiRequest, res: NextApiResponse) { if (req.method !== "POST") { diff --git a/apps/web/pages/api/cron/bookingReminder.ts b/apps/web/pages/api/cron/bookingReminder.ts index ae233d4b84..4c99aded04 100644 --- a/apps/web/pages/api/cron/bookingReminder.ts +++ b/apps/web/pages/api/cron/bookingReminder.ts @@ -1,4 +1,3 @@ -import { BookingStatus, ReminderType } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import dayjs from "@calcom/dayjs"; @@ -7,6 +6,7 @@ import { getCalEventResponses } from "@calcom/features/bookings/lib/getCalEventR import { isPrismaObjOrUndefined, parseRecurringEvent } from "@calcom/lib"; import { getTranslation } from "@calcom/lib/server/i18n"; import prisma, { bookingMinimalSelect } from "@calcom/prisma"; +import { BookingStatus, ReminderType } from "@calcom/prisma/enums"; import type { CalendarEvent } from "@calcom/types/Calendar"; export default async function handler(req: NextApiRequest, res: NextApiResponse) { diff --git a/apps/web/pages/api/link.ts b/apps/web/pages/api/link.ts index 33a9e87ca2..de9e045480 100644 --- a/apps/web/pages/api/link.ts +++ b/apps/web/pages/api/link.ts @@ -1,10 +1,10 @@ -import { UserPermissionRole } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import { z } from "zod"; import { symmetricDecrypt } from "@calcom/lib/crypto"; import { defaultResponder } from "@calcom/lib/server"; import prisma from "@calcom/prisma"; +import { UserPermissionRole } from "@calcom/prisma/enums"; import { TRPCError } from "@calcom/trpc/server"; import { createContext } from "@calcom/trpc/server/createContext"; import { viewerRouter } from "@calcom/trpc/server/routers/viewer/_router"; diff --git a/apps/web/pages/apps/categories/[category].tsx b/apps/web/pages/apps/categories/[category].tsx index 5897eb1d21..80e1bd9e1c 100644 --- a/apps/web/pages/apps/categories/[category].tsx +++ b/apps/web/pages/apps/categories/[category].tsx @@ -1,4 +1,3 @@ -import { AppCategories } from "@prisma/client"; import type { GetStaticPropsContext, InferGetStaticPropsType } from "next"; import Link from "next/link"; import { useRouter } from "next/router"; @@ -7,6 +6,7 @@ import { getAppRegistry } from "@calcom/app-store/_appRegistry"; import Shell from "@calcom/features/shell/Shell"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import prisma from "@calcom/prisma"; +import { AppCategories } from "@calcom/prisma/enums"; import { AppCard, SkeletonText } from "@calcom/ui"; import PageWrapper from "@components/PageWrapper"; diff --git a/apps/web/pages/apps/index.tsx b/apps/web/pages/apps/index.tsx index 16430ffcd7..9b67bb9aa0 100644 --- a/apps/web/pages/apps/index.tsx +++ b/apps/web/pages/apps/index.tsx @@ -6,7 +6,7 @@ import { getAppRegistry, getAppRegistryWithCredentials } from "@calcom/app-store import { getServerSession } from "@calcom/features/auth/lib/getServerSession"; import { classNames } from "@calcom/lib"; import { useLocale } from "@calcom/lib/hooks/useLocale"; -import type { AppCategories } from "@calcom/prisma/client"; +import type { AppCategories } from "@calcom/prisma/enums"; import type { inferSSRProps } from "@calcom/types/inferSSRProps"; import type { HorizontalTabItemProps } from "@calcom/ui"; import { AllApps, AppStoreCategories, HorizontalTabs, TextField, PopularAppsSlider } from "@calcom/ui"; diff --git a/apps/web/pages/auth/setup/index.tsx b/apps/web/pages/auth/setup/index.tsx index 9afbab6327..80214751d2 100644 --- a/apps/web/pages/auth/setup/index.tsx +++ b/apps/web/pages/auth/setup/index.tsx @@ -1,4 +1,3 @@ -import { UserPermissionRole } from "@prisma/client"; import type { GetServerSidePropsContext } from "next"; import { useRouter } from "next/router"; import { useState } from "react"; @@ -8,6 +7,7 @@ import { getServerSession } from "@calcom/features/auth/lib/getServerSession"; import { getDeploymentKey } from "@calcom/features/ee/deployment/lib/getDeploymentKey"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import prisma from "@calcom/prisma"; +import { UserPermissionRole } from "@calcom/prisma/enums"; import type { inferSSRProps } from "@calcom/types/inferSSRProps"; import { Meta, WizardForm } from "@calcom/ui"; diff --git a/apps/web/pages/booking/[uid].tsx b/apps/web/pages/booking/[uid].tsx index 20a5bd6141..c1b27528c8 100644 --- a/apps/web/pages/booking/[uid].tsx +++ b/apps/web/pages/booking/[uid].tsx @@ -1,4 +1,3 @@ -import { BookingStatus } from "@prisma/client"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible"; import classNames from "classnames"; import { createEvent } from "ics"; @@ -46,6 +45,7 @@ import { getIs24hClockFromLocalStorage, isBrowserLocale24h } from "@calcom/lib/t import { localStorage } from "@calcom/lib/webstorage"; import prisma from "@calcom/prisma"; import type { Prisma } from "@calcom/prisma/client"; +import { BookingStatus } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import { Button, EmailInput, HeadSeo, Badge, useCalcomTheme } from "@calcom/ui"; diff --git a/apps/web/pages/event-types/[type]/index.tsx b/apps/web/pages/event-types/[type]/index.tsx index 6786481aed..1c22818d1d 100644 --- a/apps/web/pages/event-types/[type]/index.tsx +++ b/apps/web/pages/event-types/[type]/index.tsx @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/no-empty-function */ import { useAutoAnimate } from "@formkit/auto-animate/react"; import { zodResolver } from "@hookform/resolvers/zod"; -import type { PeriodType, SchedulingType } from "@prisma/client"; import type { GetServerSidePropsContext } from "next"; import { Trans } from "next-i18next"; import { useEffect, useState } from "react"; @@ -19,6 +18,7 @@ import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery"; import { HttpError } from "@calcom/lib/http-error"; import { telemetryEventTypes, useTelemetry } from "@calcom/lib/telemetry"; import type { Prisma } from "@calcom/prisma/client"; +import type { PeriodType, SchedulingType } from "@calcom/prisma/enums"; import type { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import { eventTypeBookingFields } from "@calcom/prisma/zod-utils"; import type { RouterOutputs } from "@calcom/trpc/react"; diff --git a/apps/web/pages/event-types/index.tsx b/apps/web/pages/event-types/index.tsx index 0f679ea447..5ad100ae18 100644 --- a/apps/web/pages/event-types/index.tsx +++ b/apps/web/pages/event-types/index.tsx @@ -1,6 +1,5 @@ import { useAutoAnimate } from "@formkit/auto-animate/react"; import type { User } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import { Trans } from "next-i18next"; import Link from "next/link"; import { useRouter } from "next/router"; @@ -18,6 +17,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import useMediaQuery from "@calcom/lib/hooks/useMediaQuery"; import { useTypedQuery } from "@calcom/lib/hooks/useTypedQuery"; import { HttpError } from "@calcom/lib/http-error"; +import { SchedulingType } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc, TRPCClientError } from "@calcom/trpc/react"; import { diff --git a/apps/web/pages/settings/my-account/profile.tsx b/apps/web/pages/settings/my-account/profile.tsx index fb40b46b59..6116bcaa9d 100644 --- a/apps/web/pages/settings/my-account/profile.tsx +++ b/apps/web/pages/settings/my-account/profile.tsx @@ -1,5 +1,4 @@ import { zodResolver } from "@hookform/resolvers/zod"; -import { IdentityProvider } from "@prisma/client"; import { signOut } from "next-auth/react"; import type { BaseSyntheticEvent } from "react"; import { useRef, useState } from "react"; @@ -13,6 +12,7 @@ import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { md } from "@calcom/lib/markdownIt"; import turndown from "@calcom/lib/turndownService"; +import { IdentityProvider } from "@calcom/prisma/enums"; import type { TRPCClientErrorLike } from "@calcom/trpc/client"; import { trpc } from "@calcom/trpc/react"; import type { AppRouter } from "@calcom/trpc/server/routers/_app"; diff --git a/apps/web/pages/settings/security/password.tsx b/apps/web/pages/settings/security/password.tsx index 28c0326087..33a09370d7 100644 --- a/apps/web/pages/settings/security/password.tsx +++ b/apps/web/pages/settings/security/password.tsx @@ -1,10 +1,10 @@ -import { IdentityProvider } from "@prisma/client"; import { signOut, useSession } from "next-auth/react"; import { useForm } from "react-hook-form"; import { identityProviderNameMap } from "@calcom/features/auth/lib/identityProviderNameMap"; import { getLayout } from "@calcom/features/settings/layouts/SettingsLayout"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { IdentityProvider } from "@calcom/prisma/enums"; import { userMetadata } from "@calcom/prisma/zod-utils"; import { trpc } from "@calcom/trpc/react"; import { Alert, Button, Form, Meta, PasswordField, Select, SettingsToggle, showToast } from "@calcom/ui"; diff --git a/apps/web/playwright/booking-seats.e2e.ts b/apps/web/playwright/booking-seats.e2e.ts index 2a872151d6..74e5214119 100644 --- a/apps/web/playwright/booking-seats.e2e.ts +++ b/apps/web/playwright/booking-seats.e2e.ts @@ -1,9 +1,9 @@ import { expect } from "@playwright/test"; import type { Prisma } from "@prisma/client"; -import { BookingStatus } from "@prisma/client"; import { v4 as uuidv4 } from "uuid"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { Fixtures } from "./lib/fixtures"; import { test } from "./lib/fixtures"; diff --git a/apps/web/playwright/fixtures/users.ts b/apps/web/playwright/fixtures/users.ts index 6accd52b84..7f14200ae6 100644 --- a/apps/web/playwright/fixtures/users.ts +++ b/apps/web/playwright/fixtures/users.ts @@ -1,11 +1,12 @@ import type { Page, WorkerInfo } from "@playwright/test"; import type Prisma from "@prisma/client"; -import { MembershipRole, Prisma as PrismaType } from "@prisma/client"; +import { Prisma as PrismaType } from "@prisma/client"; import { hashSync as hash } from "bcryptjs"; import dayjs from "@calcom/dayjs"; import { DEFAULT_SCHEDULE, getAvailabilityFromSchedule } from "@calcom/lib/availability"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TimeZoneEnum } from "./types"; diff --git a/apps/web/playwright/manage-booking-questions.e2e.ts b/apps/web/playwright/manage-booking-questions.e2e.ts index 7aa5706999..203b1e4be4 100644 --- a/apps/web/playwright/manage-booking-questions.e2e.ts +++ b/apps/web/playwright/manage-booking-questions.e2e.ts @@ -1,10 +1,10 @@ import type { Locator, Page, PlaywrightTestArgs } from "@playwright/test"; import { expect } from "@playwright/test"; -import { WebhookTriggerEvents } from "@prisma/client"; import type { createUsersFixture } from "playwright/fixtures/users"; import { uuid } from "short-uuid"; import prisma from "@calcom/prisma"; +import { WebhookTriggerEvents } from "@calcom/prisma/enums"; import { test } from "./lib/fixtures"; import { testBothBookers } from "./lib/new-booker"; diff --git a/apps/web/playwright/reschedule.e2e.ts b/apps/web/playwright/reschedule.e2e.ts index 6bab7bd4b6..de7c37d9f1 100644 --- a/apps/web/playwright/reschedule.e2e.ts +++ b/apps/web/playwright/reschedule.e2e.ts @@ -1,7 +1,7 @@ import { expect } from "@playwright/test"; -import { BookingStatus } from "@prisma/client"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import { test } from "./lib/fixtures"; import { testBothBookers } from "./lib/new-booker"; diff --git a/apps/web/test/lib/getSchedule.test.ts b/apps/web/test/lib/getSchedule.test.ts index c00df7e1d5..78a02098f0 100644 --- a/apps/web/test/lib/getSchedule.test.ts +++ b/apps/web/test/lib/getSchedule.test.ts @@ -7,14 +7,14 @@ import type { User as PrismaUser, Booking as PrismaBooking, App as PrismaApp, - SchedulingType, } from "@prisma/client"; import { diff } from "jest-diff"; import { v4 as uuidv4 } from "uuid"; import logger from "@calcom/lib/logger"; import prisma from "@calcom/prisma"; -import type { BookingStatus } from "@calcom/prisma/client"; +import type { SchedulingType } from "@calcom/prisma/enums"; +import type { BookingStatus } from "@calcom/prisma/enums"; import type { Slot } from "@calcom/trpc/server/routers/viewer/slots/types"; import { getSchedule } from "@calcom/trpc/server/routers/viewer/slots/util"; diff --git a/packages/app-store/locations.ts b/packages/app-store/locations.ts index dbccb34363..717dc70215 100644 --- a/packages/app-store/locations.ts +++ b/packages/app-store/locations.ts @@ -1,8 +1,8 @@ -import { BookingStatus } from "@prisma/client"; import type { TFunction } from "next-i18next"; import { appStoreMetadata } from "@calcom/app-store/appStoreMetaData"; import logger from "@calcom/lib/logger"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { Ensure, Optional } from "@calcom/types/utils"; import type { EventLocationTypeFromAppMeta } from "../types/App"; diff --git a/packages/app-store/routing-forms/trpc-router.ts b/packages/app-store/routing-forms/trpc-router.ts index 600e8314e5..6e1ba9506c 100644 --- a/packages/app-store/routing-forms/trpc-router.ts +++ b/packages/app-store/routing-forms/trpc-router.ts @@ -1,10 +1,11 @@ import type { App_RoutingForms_Form, User } from "@prisma/client"; -import { Prisma, WebhookTriggerEvents } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import { z } from "zod"; import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks"; import { sendGenericWebhookPayload } from "@calcom/features/webhooks/lib/sendPayload"; import logger from "@calcom/lib/logger"; +import { WebhookTriggerEvents } from "@calcom/prisma/enums"; import { RoutingFormSettings } from "@calcom/prisma/zod-utils"; import { TRPCError } from "@calcom/trpc/server"; import { authedProcedure, publicProcedure, router } from "@calcom/trpc/server/trpc"; diff --git a/packages/app-store/vital/api/webhook.ts b/packages/app-store/vital/api/webhook.ts index b49c17d5f4..11406dd196 100644 --- a/packages/app-store/vital/api/webhook.ts +++ b/packages/app-store/vital/api/webhook.ts @@ -1,5 +1,4 @@ import type { Prisma } from "@prisma/client"; -import { BookingStatus } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import queue from "queue"; @@ -9,6 +8,7 @@ import { getErrorFromUnknown } from "@calcom/lib/errors"; import { HttpError as HttpCode } from "@calcom/lib/http-error"; import logger from "@calcom/lib/logger"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import { Reschedule } from "../lib"; import { initVitalClient, vitalEnv } from "../lib/client"; diff --git a/packages/app-store/vital/lib/reschedule.ts b/packages/app-store/vital/lib/reschedule.ts index 07733c58ef..fdfa3a3b15 100644 --- a/packages/app-store/vital/lib/reschedule.ts +++ b/packages/app-store/vital/lib/reschedule.ts @@ -1,5 +1,4 @@ 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"; @@ -10,6 +9,7 @@ import { sendRequestRescheduleEmail } from "@calcom/emails"; import logger from "@calcom/lib/logger"; import { getTranslation } from "@calcom/lib/server/i18n"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { Person } from "@calcom/types/Calendar"; import { getCalendar } from "../../_utils/getCalendar"; diff --git a/packages/app-store/wipemycalother/api/wipe.ts b/packages/app-store/wipemycalother/api/wipe.ts index 573e6036f1..005841c4b2 100644 --- a/packages/app-store/wipemycalother/api/wipe.ts +++ b/packages/app-store/wipemycalother/api/wipe.ts @@ -1,9 +1,9 @@ -import { BookingStatus } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import queue from "queue"; import { z, ZodError } from "zod"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import { Reschedule } from "../lib"; diff --git a/packages/app-store/wipemycalother/lib/reschedule.ts b/packages/app-store/wipemycalother/lib/reschedule.ts index bf62fdc5af..2cab855fd1 100644 --- a/packages/app-store/wipemycalother/lib/reschedule.ts +++ b/packages/app-store/wipemycalother/lib/reschedule.ts @@ -1,5 +1,4 @@ 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"; @@ -10,6 +9,7 @@ import { sendRequestRescheduleEmail } from "@calcom/emails"; import logger from "@calcom/lib/logger"; import { getTranslation } from "@calcom/lib/server/i18n"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { Person } from "@calcom/types/Calendar"; import { getCalendar } from "../../_utils/getCalendar"; diff --git a/packages/app-store/zapier/api/subscriptions/addSubscription.ts b/packages/app-store/zapier/api/subscriptions/addSubscription.ts index 9a5f180fe3..685b1db2fd 100644 --- a/packages/app-store/zapier/api/subscriptions/addSubscription.ts +++ b/packages/app-store/zapier/api/subscriptions/addSubscription.ts @@ -1,4 +1,3 @@ -import { BookingStatus, WebhookTriggerEvents } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import { v4 } from "uuid"; @@ -6,6 +5,7 @@ import { scheduleTrigger } from "@calcom/app-store/zapier/lib/nodeScheduler"; import findValidApiKey from "@calcom/features/ee/api-keys/lib/findValidApiKey"; import { defaultHandler, defaultResponder } from "@calcom/lib/server"; import prisma from "@calcom/prisma"; +import { BookingStatus, WebhookTriggerEvents } from "@calcom/prisma/enums"; async function handler(req: NextApiRequest, res: NextApiResponse) { const apiKey = req.query.apiKey as string; diff --git a/packages/app-store/zapier/api/subscriptions/deleteSubscription.ts b/packages/app-store/zapier/api/subscriptions/deleteSubscription.ts index f5a01d5dbf..0d6cc73c1a 100644 --- a/packages/app-store/zapier/api/subscriptions/deleteSubscription.ts +++ b/packages/app-store/zapier/api/subscriptions/deleteSubscription.ts @@ -1,10 +1,10 @@ -import { WebhookTriggerEvents } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import z from "zod"; import findValidApiKey from "@calcom/features/ee/api-keys/lib/findValidApiKey"; import { defaultHandler, defaultResponder } from "@calcom/lib/server"; import prisma from "@calcom/prisma"; +import { WebhookTriggerEvents } from "@calcom/prisma/enums"; const querySchema = z.object({ apiKey: z.string(), diff --git a/packages/core/getAggregateWorkingHours.ts b/packages/core/getAggregateWorkingHours.ts index 3a3ffbdd22..ddb2e6ee19 100644 --- a/packages/core/getAggregateWorkingHours.ts +++ b/packages/core/getAggregateWorkingHours.ts @@ -1,5 +1,4 @@ -import { SchedulingType } from "@prisma/client"; - +import { SchedulingType } from "@calcom/prisma/enums"; import type { WorkingHours } from "@calcom/types/schedule"; /** diff --git a/packages/core/getBusyTimes.ts b/packages/core/getBusyTimes.ts index 42928970d3..d7cf40e5af 100644 --- a/packages/core/getBusyTimes.ts +++ b/packages/core/getBusyTimes.ts @@ -1,5 +1,4 @@ import type { Credential } from "@prisma/client"; -import { BookingStatus } from "@prisma/client"; import { getBusyCalendarTimes } from "@calcom/core/CalendarManager"; import dayjs from "@calcom/dayjs"; @@ -7,6 +6,7 @@ import logger from "@calcom/lib/logger"; import { performance } from "@calcom/lib/server/perfObserver"; import prisma from "@calcom/prisma"; import type { SelectedCalendar } from "@calcom/prisma/client"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { EventBusyDetails } from "@calcom/types/Calendar"; export async function getBusyTimes(params: { diff --git a/packages/eslint-plugin/src/configs/recommended.ts b/packages/eslint-plugin/src/configs/recommended.ts index 66b87556e8..f1e114d4be 100644 --- a/packages/eslint-plugin/src/configs/recommended.ts +++ b/packages/eslint-plugin/src/configs/recommended.ts @@ -4,6 +4,7 @@ const recommended = { rules: { "@calcom/eslint/deprecated-imports": "error", "@calcom/eslint/avoid-web-storage": "error", + "@calcom/eslint/avoid-prisma-client-import-for-enums": "error", }, }; diff --git a/packages/eslint-plugin/src/rules/avoid-prisma-client-import-for-enums.ts b/packages/eslint-plugin/src/rules/avoid-prisma-client-import-for-enums.ts new file mode 100644 index 0000000000..40354c4701 --- /dev/null +++ b/packages/eslint-plugin/src/rules/avoid-prisma-client-import-for-enums.ts @@ -0,0 +1,45 @@ +import { ESLintUtils } from "@typescript-eslint/utils"; + +const createRule = ESLintUtils.RuleCreator((name) => `https://developer.cal.com/eslint/rule/${name}`); + +const rule = createRule({ + create(context) { + return { + ImportDeclaration(node) { + node.source.value === "@prisma/client" && + node.importKind !== "type" && + node.specifiers.forEach((item) => { + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore + const enumType = item.imported?.name; // ts doesn't know about imported, bad type? + if (!enumType || enumType === "Prisma" || enumType === "PrismaClient") return null; + + return context.report({ + node: item, + loc: node.loc, + messageId: "avoid-prisma-client-import", + data: { + enumType, + }, + }); + }); + }, + }; + }, + name: "avoid-prisma-client-import-for-enums", + meta: { + fixable: "code", + docs: { + description: "Avoid prisma client import for enums", + recommended: "error", + }, + messages: { + "avoid-prisma-client-import": `Import { {{enumType}} } from '@calcom/prisma/enums' to avoid including @prisma/client.`, + }, + type: "suggestion", + schema: [], + }, + defaultOptions: [], +}); + +export default rule; diff --git a/packages/eslint-plugin/src/rules/index.ts b/packages/eslint-plugin/src/rules/index.ts index b199eab87e..60ce126178 100644 --- a/packages/eslint-plugin/src/rules/index.ts +++ b/packages/eslint-plugin/src/rules/index.ts @@ -2,7 +2,7 @@ import type { ESLint } from "eslint"; export default { - "my-first-rule": require("./my-first-rule").default, "deprecated-imports": require("./deprecated-imports").default, "avoid-web-storage": require("./avoid-web-storage").default, + "avoid-prisma-client-import-for-enums": require("./avoid-prisma-client-import-for-enums").default, } as ESLint.Plugin["rules"]; diff --git a/packages/features/apps/AdminAppsList.tsx b/packages/features/apps/AdminAppsList.tsx index 3863c3b43b..210b1d9ce0 100644 --- a/packages/features/apps/AdminAppsList.tsx +++ b/packages/features/apps/AdminAppsList.tsx @@ -1,5 +1,4 @@ import { zodResolver } from "@hookform/resolvers/zod"; -import { AppCategories } from "@prisma/client"; import { noop } from "lodash"; import { useRouter } from "next/router"; import type { FC } from "react"; @@ -11,6 +10,7 @@ import AppCategoryNavigation from "@calcom/app-store/_components/AppCategoryNavi import { appKeysSchemas } from "@calcom/app-store/apps.keys-schemas.generated"; import { classNames as cs } from "@calcom/lib"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { AppCategories } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc } from "@calcom/trpc/react"; import { diff --git a/packages/features/auth/PermissionContainer.tsx b/packages/features/auth/PermissionContainer.tsx index 445aa45948..1da91ec56e 100644 --- a/packages/features/auth/PermissionContainer.tsx +++ b/packages/features/auth/PermissionContainer.tsx @@ -1,8 +1,9 @@ -import { UserPermissionRole } from "@prisma/client"; import { useSession } from "next-auth/react"; import type { FC } from "react"; import { Fragment } from "react"; +import { UserPermissionRole } from "@calcom/prisma/enums"; + type AdminRequiredProps = { as?: keyof JSX.IntrinsicElements; children?: React.ReactNode; diff --git a/packages/features/auth/lib/identityProviderNameMap.ts b/packages/features/auth/lib/identityProviderNameMap.ts index d7e9b02f4a..733e759faa 100644 --- a/packages/features/auth/lib/identityProviderNameMap.ts +++ b/packages/features/auth/lib/identityProviderNameMap.ts @@ -1,4 +1,4 @@ -import { IdentityProvider } from "@prisma/client"; +import { IdentityProvider } from "@calcom/prisma/enums"; export const identityProviderNameMap: { [key in IdentityProvider]: string } = { [IdentityProvider.CAL]: "Cal", diff --git a/packages/features/auth/lib/next-auth-options.ts b/packages/features/auth/lib/next-auth-options.ts index bf366b84e0..b5e27ee8f8 100644 --- a/packages/features/auth/lib/next-auth-options.ts +++ b/packages/features/auth/lib/next-auth-options.ts @@ -1,5 +1,4 @@ import type { UserPermissionRole, Membership, Team } from "@prisma/client"; -import { IdentityProvider } from "@prisma/client"; import type { AuthOptions, Session } from "next-auth"; import { encode } from "next-auth/jwt"; import type { Provider } from "next-auth/providers"; @@ -18,6 +17,7 @@ import { randomString } from "@calcom/lib/random"; import rateLimit from "@calcom/lib/rateLimit"; import slugify from "@calcom/lib/slugify"; import prisma from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; import { teamMetadataSchema, userMetadata } from "@calcom/prisma/zod-utils"; import { ErrorCode } from "./ErrorCode"; diff --git a/packages/features/bookings/components/event-meta/Members.tsx b/packages/features/bookings/components/event-meta/Members.tsx index 62e6db7477..c5b6242cbf 100644 --- a/packages/features/bookings/components/event-meta/Members.tsx +++ b/packages/features/bookings/components/event-meta/Members.tsx @@ -1,8 +1,8 @@ import { CAL_URL } from "@calcom/lib/constants"; +import { SchedulingType } from "@calcom/prisma/enums"; import { AvatarGroup } from "@calcom/ui"; import type { PublicEvent } from "../../types"; -import { SchedulingType } from ".prisma/client"; export interface EventMembersProps { /** diff --git a/packages/features/bookings/lib/getBookingFields.ts b/packages/features/bookings/lib/getBookingFields.ts index 5594185c9c..2fe9d074b0 100644 --- a/packages/features/bookings/lib/getBookingFields.ts +++ b/packages/features/bookings/lib/getBookingFields.ts @@ -2,6 +2,7 @@ import type { EventTypeCustomInput, EventType, Prisma, Workflow } from "@prisma/ import { z } from "zod"; import slugify from "@calcom/lib/slugify"; +import { EventTypeCustomInputType } from "@calcom/prisma/enums"; import { BookingFieldType, customInputSchema, @@ -43,15 +44,6 @@ export const getSmsReminderNumberSource = ({ type Fields = z.infer; -const EventTypeCustomInputType = { - TEXT: "TEXT", - TEXTLONG: "TEXTLONG", - NUMBER: "NUMBER", - BOOL: "BOOL", - RADIO: "RADIO", - PHONE: "PHONE", -} as const; - export const SystemField = z.enum([ "name", "email", diff --git a/packages/features/bookings/lib/handleCancelBooking.ts b/packages/features/bookings/lib/handleCancelBooking.ts index 324ff32534..bee4040357 100644 --- a/packages/features/bookings/lib/handleCancelBooking.ts +++ b/packages/features/bookings/lib/handleCancelBooking.ts @@ -1,5 +1,4 @@ import type { Prisma, WebhookTriggerEvents, WorkflowReminder } from "@prisma/client"; -import { BookingStatus, MembershipRole, WorkflowMethods } from "@prisma/client"; import type { NextApiRequest } from "next"; import appStore from "@calcom/app-store"; @@ -22,6 +21,7 @@ import { HttpError } from "@calcom/lib/http-error"; import { handleRefundError } from "@calcom/lib/payment/handleRefundError"; import { getTranslation } from "@calcom/lib/server/i18n"; import prisma, { bookingMinimalSelect } from "@calcom/prisma"; +import { BookingStatus, MembershipRole, WorkflowMethods } from "@calcom/prisma/enums"; import { schemaBookingCancelParams } from "@calcom/prisma/zod-utils"; import type { CalendarEvent } from "@calcom/types/Calendar"; diff --git a/packages/features/bookings/lib/handleConfirmation.ts b/packages/features/bookings/lib/handleConfirmation.ts index 0e4742497d..f7b3a87cd8 100644 --- a/packages/features/bookings/lib/handleConfirmation.ts +++ b/packages/features/bookings/lib/handleConfirmation.ts @@ -1,5 +1,4 @@ import type { Prisma, PrismaClient, Workflow, WorkflowsOnEventTypes, WorkflowStep } from "@prisma/client"; -import { BookingStatus, WebhookTriggerEvents } from "@prisma/client"; import { scheduleTrigger } from "@calcom/app-store/zapier/lib/nodeScheduler"; import type { EventManagerUser } from "@calcom/core/EventManager"; @@ -10,6 +9,7 @@ import getWebhooks from "@calcom/features/webhooks/lib/getWebhooks"; import type { EventTypeInfo } from "@calcom/features/webhooks/lib/sendPayload"; import sendPayload from "@calcom/features/webhooks/lib/sendPayload"; import logger from "@calcom/lib/logger"; +import { BookingStatus, WebhookTriggerEvents } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import type { AdditionalInformation, CalendarEvent } from "@calcom/types/Calendar"; diff --git a/packages/features/bookings/lib/handleNewBooking.ts b/packages/features/bookings/lib/handleNewBooking.ts index 0e463e6e69..32d93194b2 100644 --- a/packages/features/bookings/lib/handleNewBooking.ts +++ b/packages/features/bookings/lib/handleNewBooking.ts @@ -1,5 +1,5 @@ import type { App, Attendee, Credential, EventTypeCustomInput } from "@prisma/client"; -import { BookingStatus, SchedulingType, WebhookTriggerEvents, WorkflowMethods, Prisma } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import async from "async"; import { isValidPhoneNumber } from "libphonenumber-js"; import { cloneDeep } from "lodash"; @@ -53,6 +53,7 @@ import { updateWebUser as syncServicesUpdateWebUser } from "@calcom/lib/sync/Syn import { TimeFormat } from "@calcom/lib/timeFormat"; import prisma, { userSelect } from "@calcom/prisma"; import type { BookingReference } from "@calcom/prisma/client"; +import { BookingStatus, SchedulingType, WebhookTriggerEvents, WorkflowMethods } from "@calcom/prisma/enums"; import { bookingCreateSchemaLegacyPropsForApi } from "@calcom/prisma/zod-utils"; import { bookingCreateBodySchemaForApi, diff --git a/packages/features/calendars/weeklyview/types/events.ts b/packages/features/calendars/weeklyview/types/events.ts index 4ed3b919c5..816a539fb7 100644 --- a/packages/features/calendars/weeklyview/types/events.ts +++ b/packages/features/calendars/weeklyview/types/events.ts @@ -1,4 +1,4 @@ -import { BookingStatus } from "@calcom/prisma/client"; +import type { BookingStatus } from "@calcom/prisma/enums"; export interface CalendarEvent { id: number; diff --git a/packages/features/ee/managed-event-types/hooks/useLockedFieldsManager.tsx b/packages/features/ee/managed-event-types/hooks/useLockedFieldsManager.tsx index 01585289bc..385f48a80d 100644 --- a/packages/features/ee/managed-event-types/hooks/useLockedFieldsManager.tsx +++ b/packages/features/ee/managed-event-types/hooks/useLockedFieldsManager.tsx @@ -1,9 +1,9 @@ -import { SchedulingType } from "@prisma/client"; import { get } from "lodash"; import React from "react"; import type z from "zod"; import type { Prisma } from "@calcom/prisma/client"; +import { SchedulingType } from "@calcom/prisma/enums"; import type { _EventTypeModel } from "@calcom/prisma/zod/eventtype"; import { Tooltip } from "@calcom/ui"; import { Lock } from "@calcom/ui/components/icon"; diff --git a/packages/features/ee/managed-event-types/lib/handleChildrenEventTypes.ts b/packages/features/ee/managed-event-types/lib/handleChildrenEventTypes.ts index 2c7c17a4f7..9d6add1160 100644 --- a/packages/features/ee/managed-event-types/lib/handleChildrenEventTypes.ts +++ b/packages/features/ee/managed-event-types/lib/handleChildrenEventTypes.ts @@ -1,10 +1,10 @@ import type { PrismaClient, Prisma } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import short from "short-uuid"; import { v5 as uuidv5 } from "uuid"; import { sendSlugReplacementEmail } from "@calcom/emails/email-manager"; import { getTranslation } from "@calcom/lib/server/i18n"; +import { SchedulingType } from "@calcom/prisma/enums"; import { _EventTypeModel } from "@calcom/prisma/zod"; import { allManagedEventTypeProps, unlockedManagedEventTypeProps } from "@calcom/prisma/zod-utils"; diff --git a/packages/features/ee/payments/api/webhook.ts b/packages/features/ee/payments/api/webhook.ts index 458b7a6cd1..a7534efe09 100644 --- a/packages/features/ee/payments/api/webhook.ts +++ b/packages/features/ee/payments/api/webhook.ts @@ -1,4 +1,3 @@ -import { BookingStatus } from "@prisma/client"; import type { Prisma } from "@prisma/client"; import { buffer } from "micro"; import type { NextApiRequest, NextApiResponse } from "next"; @@ -16,6 +15,7 @@ import { getErrorFromUnknown } from "@calcom/lib/errors"; import { HttpError as HttpCode } from "@calcom/lib/http-error"; import { getTranslation } from "@calcom/lib/server/i18n"; import { prisma, bookingMinimalSelect } from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { CalendarEvent } from "@calcom/types/Calendar"; diff --git a/packages/features/ee/payments/pages/payment.tsx b/packages/features/ee/payments/pages/payment.tsx index 3bc4e77092..65a7d637bd 100644 --- a/packages/features/ee/payments/pages/payment.tsx +++ b/packages/features/ee/payments/pages/payment.tsx @@ -1,9 +1,9 @@ -import { BookingStatus } from "@prisma/client"; import type { GetServerSidePropsContext } from "next"; import { z } from "zod"; import type { StripePaymentData, StripeSetupIntentData } from "@calcom/app-store/stripepayment/lib/server"; import prisma from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { inferSSRProps } from "@calcom/types/inferSSRProps"; diff --git a/packages/features/ee/teams/components/MemberChangeRoleModal.tsx b/packages/features/ee/teams/components/MemberChangeRoleModal.tsx index 123fc8a351..23c6584dab 100644 --- a/packages/features/ee/teams/components/MemberChangeRoleModal.tsx +++ b/packages/features/ee/teams/components/MemberChangeRoleModal.tsx @@ -1,8 +1,8 @@ -import { MembershipRole } from "@prisma/client"; import type { SyntheticEvent } from "react"; import { useMemo, useState } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Button, Dialog, DialogContent, Select } from "@calcom/ui"; diff --git a/packages/features/ee/teams/components/MemberInvitationModal.tsx b/packages/features/ee/teams/components/MemberInvitationModal.tsx index ab54d349bf..24f3d31fc2 100644 --- a/packages/features/ee/teams/components/MemberInvitationModal.tsx +++ b/packages/features/ee/teams/components/MemberInvitationModal.tsx @@ -1,10 +1,10 @@ -import type { MembershipRole } from "@prisma/client"; import { Trans } from "next-i18next"; import { useMemo } from "react"; import { Controller, useForm } from "react-hook-form"; import { IS_TEAM_BILLING_ENABLED } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import type { MembershipRole } from "@calcom/prisma/enums"; import { Button, Checkbox as CheckboxField, diff --git a/packages/features/ee/teams/components/MemberListItem.tsx b/packages/features/ee/teams/components/MemberListItem.tsx index b94bba4353..2573d27e1f 100644 --- a/packages/features/ee/teams/components/MemberListItem.tsx +++ b/packages/features/ee/teams/components/MemberListItem.tsx @@ -1,10 +1,10 @@ -import { MembershipRole } from "@prisma/client"; import classNames from "classnames"; import { signIn } from "next-auth/react"; import { useState } from "react"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc } from "@calcom/trpc/react"; import useMeQuery from "@calcom/trpc/react/hooks/useMeQuery"; diff --git a/packages/features/ee/teams/components/TeamInviteList.tsx b/packages/features/ee/teams/components/TeamInviteList.tsx index 405a1a805f..dc81d7c3d4 100644 --- a/packages/features/ee/teams/components/TeamInviteList.tsx +++ b/packages/features/ee/teams/components/TeamInviteList.tsx @@ -1,6 +1,6 @@ import { useState } from "react"; -import type { MembershipRole } from "@calcom/prisma/client"; +import type { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { showToast } from "@calcom/ui"; diff --git a/packages/features/ee/teams/components/TeamInviteListItem.tsx b/packages/features/ee/teams/components/TeamInviteListItem.tsx index 204917634b..ae5da43829 100644 --- a/packages/features/ee/teams/components/TeamInviteListItem.tsx +++ b/packages/features/ee/teams/components/TeamInviteListItem.tsx @@ -1,8 +1,7 @@ -import type { MembershipRole } from "@prisma/client"; - import classNames from "@calcom/lib/classNames"; import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import type { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Avatar, diff --git a/packages/features/ee/teams/components/TeamListItem.tsx b/packages/features/ee/teams/components/TeamListItem.tsx index 9b0bd92f7d..637b257313 100644 --- a/packages/features/ee/teams/components/TeamListItem.tsx +++ b/packages/features/ee/teams/components/TeamListItem.tsx @@ -1,4 +1,3 @@ -import { MembershipRole } from "@prisma/client"; import Link from "next/link"; import { useRouter } from "next/router"; import { useState } from "react"; @@ -7,6 +6,7 @@ import MemberInvitationModal from "@calcom/ee/teams/components/MemberInvitationM import classNames from "@calcom/lib/classNames"; import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc } from "@calcom/trpc/react"; import { diff --git a/packages/features/ee/teams/components/TeamPill.tsx b/packages/features/ee/teams/components/TeamPill.tsx index 4e977b03bd..52785f6d59 100644 --- a/packages/features/ee/teams/components/TeamPill.tsx +++ b/packages/features/ee/teams/components/TeamPill.tsx @@ -1,7 +1,7 @@ -import { MembershipRole } from "@prisma/client"; import classNames from "classnames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; type PillColor = "blue" | "green" | "red" | "orange"; diff --git a/packages/features/ee/teams/lib/types.ts b/packages/features/ee/teams/lib/types.ts index 0f87289108..e84b5ea5fe 100644 --- a/packages/features/ee/teams/lib/types.ts +++ b/packages/features/ee/teams/lib/types.ts @@ -1,4 +1,4 @@ -import { MembershipRole } from "@prisma/client"; +import type { MembershipRole } from "@calcom/prisma/enums"; export interface NewTeamFormValues { name: string; diff --git a/packages/features/ee/teams/pages/team-appearance-view.tsx b/packages/features/ee/teams/pages/team-appearance-view.tsx index c5705c4f0f..031352762f 100644 --- a/packages/features/ee/teams/pages/team-appearance-view.tsx +++ b/packages/features/ee/teams/pages/team-appearance-view.tsx @@ -1,9 +1,9 @@ -import { MembershipRole } from "@prisma/client"; import { useRouter } from "next/router"; import { Controller, useForm } from "react-hook-form"; import { APP_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Button, diff --git a/packages/features/ee/teams/pages/team-members-view.tsx b/packages/features/ee/teams/pages/team-members-view.tsx index 99c4d24c10..fc3d62c897 100644 --- a/packages/features/ee/teams/pages/team-members-view.tsx +++ b/packages/features/ee/teams/pages/team-members-view.tsx @@ -1,9 +1,9 @@ -import { MembershipRole } from "@prisma/client"; import { useSession } from "next-auth/react"; import { useRouter } from "next/router"; import { useState } from "react"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Button, Meta, showToast } from "@calcom/ui"; import { Plus } from "@calcom/ui/components/icon"; diff --git a/packages/features/ee/teams/pages/team-profile-view.tsx b/packages/features/ee/teams/pages/team-profile-view.tsx index a1b6499619..742ab78179 100644 --- a/packages/features/ee/teams/pages/team-profile-view.tsx +++ b/packages/features/ee/teams/pages/team-profile-view.tsx @@ -1,6 +1,5 @@ import { zodResolver } from "@hookform/resolvers/zod"; import type { Prisma } from "@prisma/client"; -import { MembershipRole } from "@prisma/client"; import { useSession } from "next-auth/react"; import Link from "next/link"; import { useRouter } from "next/router"; @@ -14,6 +13,7 @@ import { useLocale } from "@calcom/lib/hooks/useLocale"; import { md } from "@calcom/lib/markdownIt"; import objectKeys from "@calcom/lib/objectKeys"; import turndown from "@calcom/lib/turndownService"; +import { MembershipRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Avatar, diff --git a/packages/features/ee/workflows/api/scheduleEmailReminders.ts b/packages/features/ee/workflows/api/scheduleEmailReminders.ts index c0b26a54c7..fb27e55bd5 100644 --- a/packages/features/ee/workflows/api/scheduleEmailReminders.ts +++ b/packages/features/ee/workflows/api/scheduleEmailReminders.ts @@ -1,5 +1,4 @@ /* Schedule any workflow reminder that falls within 72 hours for email */ -import { WorkflowActions, WorkflowMethods, WorkflowTemplates } from "@prisma/client"; import client from "@sendgrid/client"; import sgMail from "@sendgrid/mail"; import type { NextApiRequest, NextApiResponse } from "next"; @@ -8,6 +7,7 @@ import dayjs from "@calcom/dayjs"; import { getCalEventResponses } from "@calcom/features/bookings/lib/getCalEventResponses"; import { defaultHandler } from "@calcom/lib/server"; import prisma from "@calcom/prisma"; +import { WorkflowActions, WorkflowMethods, WorkflowTemplates } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import type { VariablesType } from "../lib/reminders/templates/customTemplate"; diff --git a/packages/features/ee/workflows/api/scheduleSMSReminders.ts b/packages/features/ee/workflows/api/scheduleSMSReminders.ts index 46f6d0e1f9..1b6601ec45 100644 --- a/packages/features/ee/workflows/api/scheduleSMSReminders.ts +++ b/packages/features/ee/workflows/api/scheduleSMSReminders.ts @@ -1,11 +1,11 @@ /* Schedule any workflow reminder that falls within 7 days for SMS */ -import { WorkflowActions, WorkflowMethods, WorkflowTemplates } from "@prisma/client"; import type { NextApiRequest, NextApiResponse } from "next"; import dayjs from "@calcom/dayjs"; import { getCalEventResponses } from "@calcom/features/bookings/lib/getCalEventResponses"; import { defaultHandler } from "@calcom/lib/server"; import prisma from "@calcom/prisma"; +import { WorkflowActions, WorkflowMethods, WorkflowTemplates } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import { getSenderId } from "../lib/alphanumericSenderIdSupport"; diff --git a/packages/features/ee/workflows/components/AddActionDialog.tsx b/packages/features/ee/workflows/components/AddActionDialog.tsx index 84b824df3b..42aa1610db 100644 --- a/packages/features/ee/workflows/components/AddActionDialog.tsx +++ b/packages/features/ee/workflows/components/AddActionDialog.tsx @@ -1,5 +1,4 @@ import { zodResolver } from "@hookform/resolvers/zod"; -import { WorkflowActions } from "@prisma/client"; import { isValidPhoneNumber } from "libphonenumber-js"; import type { Dispatch, SetStateAction } from "react"; import { useState } from "react"; @@ -9,6 +8,7 @@ import { z } from "zod"; import { SENDER_ID } from "@calcom/lib/constants"; import { SENDER_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { WorkflowActions } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Button, diff --git a/packages/features/ee/workflows/components/EventWorkflowsTab.tsx b/packages/features/ee/workflows/components/EventWorkflowsTab.tsx index 48d81abea1..7c742a43cf 100644 --- a/packages/features/ee/workflows/components/EventWorkflowsTab.tsx +++ b/packages/features/ee/workflows/components/EventWorkflowsTab.tsx @@ -1,4 +1,3 @@ -import { WorkflowActions } from "@prisma/client"; import Link from "next/link"; import { useRouter } from "next/router"; import { useEffect, useState } from "react"; @@ -7,6 +6,7 @@ import useLockedFieldsManager from "@calcom/features/ee/managed-event-types/hook import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { HttpError } from "@calcom/lib/http-error"; +import { WorkflowActions } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { trpc } from "@calcom/trpc/react"; import { Button, EmptyScreen, showToast, Switch, Tooltip, Alert } from "@calcom/ui"; diff --git a/packages/features/ee/workflows/components/WorkflowDetailsPage.tsx b/packages/features/ee/workflows/components/WorkflowDetailsPage.tsx index 236cb77be8..6a8bb886eb 100644 --- a/packages/features/ee/workflows/components/WorkflowDetailsPage.tsx +++ b/packages/features/ee/workflows/components/WorkflowDetailsPage.tsx @@ -1,5 +1,3 @@ -import type { WorkflowActions } from "@prisma/client"; -import { WorkflowTemplates, SchedulingType } from "@prisma/client"; import { useRouter } from "next/router"; import type { Dispatch, SetStateAction } from "react"; import { useMemo, useState } from "react"; @@ -8,6 +6,8 @@ import { Controller } from "react-hook-form"; import { SENDER_ID, SENDER_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { WorkflowTemplates, SchedulingType } from "@calcom/prisma/enums"; +import type { WorkflowActions } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import type { MultiSelectCheckboxesOptionType as Option } from "@calcom/ui"; import { Button, Label, MultiSelectCheckboxes, TextField } from "@calcom/ui"; diff --git a/packages/features/ee/workflows/components/WorkflowStepContainer.tsx b/packages/features/ee/workflows/components/WorkflowStepContainer.tsx index 9e1497046c..4b5e9dce11 100644 --- a/packages/features/ee/workflows/components/WorkflowStepContainer.tsx +++ b/packages/features/ee/workflows/components/WorkflowStepContainer.tsx @@ -1,5 +1,4 @@ import type { WorkflowStep } from "@prisma/client"; -import { TimeUnit, WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents } from "@prisma/client"; import type { Dispatch, SetStateAction } from "react"; import { useRef, useState, useEffect } from "react"; import type { UseFormReturn } from "react-hook-form"; @@ -11,6 +10,8 @@ import { SENDER_ID } from "@calcom/lib/constants"; import { SENDER_NAME } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { HttpError } from "@calcom/lib/http-error"; +import { WorkflowTemplates, TimeUnit, WorkflowActions } from "@calcom/prisma/enums"; +import { WorkflowTriggerEvents } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Badge, diff --git a/packages/features/ee/workflows/lib/actionHelperFunctions.ts b/packages/features/ee/workflows/lib/actionHelperFunctions.ts index 0bcda93572..4f106cb2e0 100644 --- a/packages/features/ee/workflows/lib/actionHelperFunctions.ts +++ b/packages/features/ee/workflows/lib/actionHelperFunctions.ts @@ -1,4 +1,4 @@ -import { WorkflowActions } from "@prisma/client"; +import { WorkflowActions } from "@calcom/prisma/enums"; export function isSMSAction(action: WorkflowActions) { return action === WorkflowActions.SMS_ATTENDEE || action === WorkflowActions.SMS_NUMBER; diff --git a/packages/features/ee/workflows/lib/constants.ts b/packages/features/ee/workflows/lib/constants.ts index d3a96df367..819ff2db53 100644 --- a/packages/features/ee/workflows/lib/constants.ts +++ b/packages/features/ee/workflows/lib/constants.ts @@ -1,4 +1,4 @@ -import { TimeUnit, WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents } from "@prisma/client"; +import { WorkflowTriggerEvents, TimeUnit, WorkflowActions, WorkflowTemplates } from "@calcom/prisma/enums"; export const WORKFLOW_TRIGGER_EVENTS = [ WorkflowTriggerEvents.BEFORE_EVENT, diff --git a/packages/features/ee/workflows/lib/getActionIcon.tsx b/packages/features/ee/workflows/lib/getActionIcon.tsx index 7792271af9..624ea50852 100644 --- a/packages/features/ee/workflows/lib/getActionIcon.tsx +++ b/packages/features/ee/workflows/lib/getActionIcon.tsx @@ -1,7 +1,7 @@ import type { WorkflowStep } from "@prisma/client"; -import { WorkflowActions } from "@prisma/client"; import { classNames } from "@calcom/lib"; +import { WorkflowActions } from "@calcom/prisma/enums"; import { Zap, Smartphone, Mail, Bell } from "@calcom/ui/components/icon"; export function getActionIcon(steps: WorkflowStep[], className?: string): JSX.Element { diff --git a/packages/features/ee/workflows/lib/getOptions.ts b/packages/features/ee/workflows/lib/getOptions.ts index bd9d52fe39..4ae35b75eb 100644 --- a/packages/features/ee/workflows/lib/getOptions.ts +++ b/packages/features/ee/workflows/lib/getOptions.ts @@ -1,6 +1,7 @@ -import { WorkflowActions } from "@prisma/client"; import type { TFunction } from "next-i18next"; +import { WorkflowActions } from "@calcom/prisma/enums"; + import { isSMSAction } from "./actionHelperFunctions"; import { TIME_UNIT, WORKFLOW_ACTIONS, WORKFLOW_TEMPLATES, WORKFLOW_TRIGGER_EVENTS } from "./constants"; diff --git a/packages/features/ee/workflows/lib/reminders/emailReminderManager.ts b/packages/features/ee/workflows/lib/reminders/emailReminderManager.ts index 7520d427ae..74d08f5938 100644 --- a/packages/features/ee/workflows/lib/reminders/emailReminderManager.ts +++ b/packages/features/ee/workflows/lib/reminders/emailReminderManager.ts @@ -1,6 +1,3 @@ -import type { TimeUnit } from "@prisma/client"; -import { WorkflowTemplates } from "@prisma/client"; -import { WorkflowTriggerEvents, WorkflowActions, WorkflowMethods } from "@prisma/client"; import client from "@sendgrid/client"; import type { MailData } from "@sendgrid/helpers/classes/mail"; import sgMail from "@sendgrid/mail"; @@ -8,6 +5,9 @@ import sgMail from "@sendgrid/mail"; import dayjs from "@calcom/dayjs"; import logger from "@calcom/lib/logger"; import prisma from "@calcom/prisma"; +import type { TimeUnit } from "@calcom/prisma/enums"; +import { WorkflowActions, WorkflowMethods, WorkflowTemplates } from "@calcom/prisma/enums"; +import { WorkflowTriggerEvents } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import type { BookingInfo, timeUnitLowerCase } from "./smsReminderManager"; diff --git a/packages/features/ee/workflows/lib/reminders/reminderScheduler.ts b/packages/features/ee/workflows/lib/reminders/reminderScheduler.ts index f7cf1d967a..88c753a68f 100644 --- a/packages/features/ee/workflows/lib/reminders/reminderScheduler.ts +++ b/packages/features/ee/workflows/lib/reminders/reminderScheduler.ts @@ -1,8 +1,9 @@ import type { Workflow, WorkflowsOnEventTypes, WorkflowStep } from "@prisma/client"; -import { WorkflowActions, WorkflowTriggerEvents } from "@prisma/client"; import type { MailData } from "@sendgrid/helpers/classes/mail"; import { SENDER_ID, SENDER_NAME } from "@calcom/lib/constants"; +import { WorkflowTriggerEvents } from "@calcom/prisma/enums"; +import { WorkflowActions } from "@calcom/prisma/enums"; import type { CalendarEvent } from "@calcom/types/Calendar"; import { scheduleEmailReminder } from "./emailReminderManager"; diff --git a/packages/features/ee/workflows/lib/reminders/smsReminderManager.ts b/packages/features/ee/workflows/lib/reminders/smsReminderManager.ts index 51a8b6e772..45c9792a25 100644 --- a/packages/features/ee/workflows/lib/reminders/smsReminderManager.ts +++ b/packages/features/ee/workflows/lib/reminders/smsReminderManager.ts @@ -1,10 +1,10 @@ -import type { TimeUnit } from "@prisma/client"; -import { WorkflowTriggerEvents, WorkflowTemplates, WorkflowActions, WorkflowMethods } from "@prisma/client"; - import dayjs from "@calcom/dayjs"; import logger from "@calcom/lib/logger"; import prisma from "@calcom/prisma"; import type { Prisma } from "@calcom/prisma/client"; +import type { TimeUnit } from "@calcom/prisma/enums"; +import { WorkflowTemplates, WorkflowActions, WorkflowMethods } from "@calcom/prisma/enums"; +import { WorkflowTriggerEvents } from "@calcom/prisma/enums"; import { bookingMetadataSchema } from "@calcom/prisma/zod-utils"; import type { CalEventResponses } from "@calcom/types/Calendar"; diff --git a/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts index 715b06a200..a7774bb49e 100644 --- a/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts +++ b/packages/features/ee/workflows/lib/reminders/templates/emailReminderTemplate.ts @@ -1,7 +1,6 @@ -import { WorkflowActions } from "@prisma/client"; - import dayjs from "@calcom/dayjs"; import { APP_NAME } from "@calcom/lib/constants"; +import { WorkflowActions } from "@calcom/prisma/enums"; const emailReminderTemplate = ( isEditingMode: boolean, diff --git a/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.ts b/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.ts index 2c328f267e..042d1e2c09 100644 --- a/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.ts +++ b/packages/features/ee/workflows/lib/reminders/templates/smsReminderTemplate.ts @@ -1,6 +1,5 @@ -import { WorkflowActions } from "@prisma/client"; - import dayjs from "@calcom/dayjs"; +import { WorkflowActions } from "@calcom/prisma/enums"; const smsReminderTemplate = ( isEditingMode: boolean, diff --git a/packages/features/ee/workflows/pages/workflow.tsx b/packages/features/ee/workflows/pages/workflow.tsx index 457d1e8bd3..71f0bc0877 100644 --- a/packages/features/ee/workflows/pages/workflow.tsx +++ b/packages/features/ee/workflows/pages/workflow.tsx @@ -1,12 +1,5 @@ import { zodResolver } from "@hookform/resolvers/zod"; import type { WorkflowStep } from "@prisma/client"; -import { - TimeUnit, - WorkflowActions, - WorkflowTemplates, - WorkflowTriggerEvents, - MembershipRole, -} from "@prisma/client"; import { isValidPhoneNumber } from "libphonenumber-js"; import { useSession } from "next-auth/react"; import { useRouter } from "next/router"; @@ -19,6 +12,8 @@ import { classNames } from "@calcom/lib"; import { SENDER_ID } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import { HttpError } from "@calcom/lib/http-error"; +import { TimeUnit, WorkflowActions, WorkflowTemplates } from "@calcom/prisma/enums"; +import { WorkflowTriggerEvents, MembershipRole } from "@calcom/prisma/enums"; import { stringOrNumber } from "@calcom/prisma/zod-utils"; import { trpc } from "@calcom/trpc/react"; import type { MultiSelectCheckboxesOptionType as Option } from "@calcom/ui"; diff --git a/packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx b/packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx index d48cc4cf68..106973b14c 100644 --- a/packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx +++ b/packages/features/eventtypes/components/ChildrenEventTypeSelect.tsx @@ -1,10 +1,10 @@ import { useAutoAnimate } from "@formkit/auto-animate/react"; -import { MembershipRole } from "@prisma/client"; import type { Props } from "react-select"; import { classNames } from "@calcom/lib"; import { CAL_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole } from "@calcom/prisma/enums"; import { Avatar, Badge, Button, ButtonGroup, Select, Switch, Tooltip } from "@calcom/ui"; import { ExternalLink, X } from "@calcom/ui/components/icon"; diff --git a/packages/features/eventtypes/components/CreateEventTypeDialog.tsx b/packages/features/eventtypes/components/CreateEventTypeDialog.tsx index 3aabcba827..73869d6d0d 100644 --- a/packages/features/eventtypes/components/CreateEventTypeDialog.tsx +++ b/packages/features/eventtypes/components/CreateEventTypeDialog.tsx @@ -1,6 +1,4 @@ import { zodResolver } from "@hookform/resolvers/zod"; -import { SchedulingType } from "@prisma/client"; -import { MembershipRole } from "@prisma/client"; import { isValidPhoneNumber } from "libphonenumber-js"; import { useRouter } from "next/router"; import { useEffect } from "react"; @@ -16,6 +14,7 @@ import { HttpError } from "@calcom/lib/http-error"; import { md } from "@calcom/lib/markdownIt"; import slugify from "@calcom/lib/slugify"; import turndown from "@calcom/lib/turndownService"; +import { SchedulingType, MembershipRole } from "@calcom/prisma/enums"; import { unlockedManagedEventTypeProps } from "@calcom/prisma/zod-utils"; import { createEventTypeInput } from "@calcom/prisma/zod/custom/eventtype"; import { trpc } from "@calcom/trpc/react"; diff --git a/packages/features/eventtypes/components/EventTypeDescription.tsx b/packages/features/eventtypes/components/EventTypeDescription.tsx index fa43ff6482..e4f5588d9a 100644 --- a/packages/features/eventtypes/components/EventTypeDescription.tsx +++ b/packages/features/eventtypes/components/EventTypeDescription.tsx @@ -1,5 +1,4 @@ import type { Prisma } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import { useMemo } from "react"; import type { z } from "zod"; @@ -7,6 +6,7 @@ import { classNames, parseRecurringEvent } from "@calcom/lib"; import getPaymentAppData from "@calcom/lib/getPaymentAppData"; import { useLocale } from "@calcom/lib/hooks/useLocale"; import type { baseEventTypeSelect } from "@calcom/prisma"; +import { SchedulingType } from "@calcom/prisma/enums"; import type { EventTypeModel } from "@calcom/prisma/zod"; import { Badge } from "@calcom/ui"; import { Clock, Users, RefreshCw, CreditCard, Clipboard, Plus, User, Lock } from "@calcom/ui/components/icon"; diff --git a/packages/features/settings/layouts/SettingsLayout.tsx b/packages/features/settings/layouts/SettingsLayout.tsx index 5490560d6f..1b74d5cb65 100644 --- a/packages/features/settings/layouts/SettingsLayout.tsx +++ b/packages/features/settings/layouts/SettingsLayout.tsx @@ -1,4 +1,3 @@ -import { MembershipRole, UserPermissionRole } from "@prisma/client"; import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "@radix-ui/react-collapsible"; import { useSession } from "next-auth/react"; import Link from "next/link"; @@ -11,6 +10,7 @@ import { classNames } from "@calcom/lib"; import { HOSTED_CAL_FEATURES, WEBAPP_URL } from "@calcom/lib/constants"; import { getPlaceholderAvatar } from "@calcom/lib/defaultAvatarImage"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { MembershipRole, UserPermissionRole } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import type { VerticalTabItemProps } from "@calcom/ui"; import { Badge, Button, ErrorBoundary, Skeleton, useMeta, VerticalTabItem } from "@calcom/ui"; diff --git a/packages/features/webhooks/components/WebhookForm.tsx b/packages/features/webhooks/components/WebhookForm.tsx index 9eabf20727..9912306a4d 100644 --- a/packages/features/webhooks/components/WebhookForm.tsx +++ b/packages/features/webhooks/components/WebhookForm.tsx @@ -1,9 +1,9 @@ -import { WebhookTriggerEvents } from "@prisma/client"; import { useEffect, useState } from "react"; import { Controller, useForm } from "react-hook-form"; import { WEBAPP_URL } from "@calcom/lib/constants"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import { WebhookTriggerEvents } from "@calcom/prisma/enums"; import type { RouterOutputs } from "@calcom/trpc/react"; import { Button, Form, Label, Select, Switch, TextArea, TextField, ToggleGroup } from "@calcom/ui"; diff --git a/packages/features/webhooks/components/WebhookListItem.tsx b/packages/features/webhooks/components/WebhookListItem.tsx index 14873ad5a4..f95cdd277f 100644 --- a/packages/features/webhooks/components/WebhookListItem.tsx +++ b/packages/features/webhooks/components/WebhookListItem.tsx @@ -1,7 +1,6 @@ -import type { WebhookTriggerEvents } from "@prisma/client"; - import classNames from "@calcom/lib/classNames"; import { useLocale } from "@calcom/lib/hooks/useLocale"; +import type { WebhookTriggerEvents } from "@calcom/prisma/enums"; import { trpc } from "@calcom/trpc/react"; import { Badge, diff --git a/packages/features/webhooks/lib/constants.ts b/packages/features/webhooks/lib/constants.ts index d09b991d48..e83ed8b1b9 100644 --- a/packages/features/webhooks/lib/constants.ts +++ b/packages/features/webhooks/lib/constants.ts @@ -1,4 +1,4 @@ -import { WebhookTriggerEvents } from "@prisma/client"; +import { WebhookTriggerEvents } from "@calcom/prisma/enums"; // this is exported as we can't use `WebhookTriggerEvents` in the frontend straight-off diff --git a/packages/features/webhooks/lib/getWebhooks.ts b/packages/features/webhooks/lib/getWebhooks.ts index 4709cb9cfc..b2fc512df2 100644 --- a/packages/features/webhooks/lib/getWebhooks.ts +++ b/packages/features/webhooks/lib/getWebhooks.ts @@ -1,6 +1,7 @@ -import { PrismaClient, WebhookTriggerEvents } from "@prisma/client"; +import type { PrismaClient } from "@prisma/client"; import defaultPrisma from "@calcom/prisma"; +import type { WebhookTriggerEvents } from "@calcom/prisma/enums"; export type GetSubscriberOptions = { userId: number; diff --git a/packages/lib/defaultEvents.ts b/packages/lib/defaultEvents.ts index 36f1671e4d..8a069fee1c 100644 --- a/packages/lib/defaultEvents.ts +++ b/packages/lib/defaultEvents.ts @@ -1,8 +1,8 @@ import type { Prisma, Credential } from "@prisma/client"; -import { PeriodType, SchedulingType } from "@prisma/client"; import { DailyLocationType } from "@calcom/app-store/locations"; import { getBookingFieldsWithSystemFields } from "@calcom/features/bookings/lib/getBookingFields"; +import { PeriodType, SchedulingType } from "@calcom/prisma/enums"; import type { userSelect } from "@calcom/prisma/selects"; import type { CustomInputSchema } from "@calcom/prisma/zod-utils"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; diff --git a/packages/lib/getEventTypeById.ts b/packages/lib/getEventTypeById.ts index 0863e00579..319551e341 100644 --- a/packages/lib/getEventTypeById.ts +++ b/packages/lib/getEventTypeById.ts @@ -1,6 +1,4 @@ import type { PrismaClient } from "@prisma/client"; -import { MembershipRole } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import { Prisma } from "@prisma/client"; import type { StripeData } from "@calcom/app-store/stripepayment/lib/server"; @@ -12,6 +10,7 @@ import getEnabledApps from "@calcom/lib/apps/getEnabledApps"; import { CAL_URL } from "@calcom/lib/constants"; import getPaymentAppData from "@calcom/lib/getPaymentAppData"; import { getTranslation } from "@calcom/lib/server/i18n"; +import { SchedulingType, MembershipRole } from "@calcom/prisma/enums"; import { customInputSchema, EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import { TRPCError } from "@trpc/server"; diff --git a/packages/lib/isOutOfBounds.tsx b/packages/lib/isOutOfBounds.tsx index eeba900c3f..d66a73e081 100644 --- a/packages/lib/isOutOfBounds.tsx +++ b/packages/lib/isOutOfBounds.tsx @@ -1,7 +1,7 @@ import type { EventType } from "@prisma/client"; -import { PeriodType } from "@prisma/client"; import dayjs from "@calcom/dayjs"; +import { PeriodType } from "@calcom/prisma/enums"; export class BookingDateInPastError extends Error { constructor(message = "Attempting to book a meeting in the past.") { diff --git a/packages/lib/payment/deletePayment.ts b/packages/lib/payment/deletePayment.ts index 9afa9b3e54..7de1328d22 100644 --- a/packages/lib/payment/deletePayment.ts +++ b/packages/lib/payment/deletePayment.ts @@ -1,6 +1,7 @@ -import type { AppCategories, Payment, Prisma } from "@prisma/client"; +import type { Payment, Prisma } from "@prisma/client"; import appStore from "@calcom/app-store"; +import type { AppCategories } from "@calcom/prisma/enums"; const deletePayment = async ( paymentId: Payment["id"], diff --git a/packages/lib/server/queries/teams/index.ts b/packages/lib/server/queries/teams/index.ts index bbf57c2343..1b99394c59 100644 --- a/packages/lib/server/queries/teams/index.ts +++ b/packages/lib/server/queries/teams/index.ts @@ -1,6 +1,7 @@ -import { Prisma, SchedulingType } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import prisma, { baseEventTypeSelect } from "@calcom/prisma"; +import { SchedulingType } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import { WEBAPP_URL } from "../../../constants"; diff --git a/packages/lib/sync/SyncServiceManager.ts b/packages/lib/sync/SyncServiceManager.ts index 4c9851889a..14096dddd8 100644 --- a/packages/lib/sync/SyncServiceManager.ts +++ b/packages/lib/sync/SyncServiceManager.ts @@ -1,6 +1,5 @@ -import type { MembershipRole } from "@prisma/client"; - import logger from "@calcom/lib/logger"; +import type { MembershipRole } from "@calcom/prisma/enums"; import type { ConsoleUserInfoType, TeamInfoType, WebUserInfoType } from "./ISyncService"; import services from "./services"; diff --git a/packages/lib/sync/services/CloseComService.ts b/packages/lib/sync/services/CloseComService.ts index 9b730038e9..a7243afb84 100644 --- a/packages/lib/sync/services/CloseComService.ts +++ b/packages/lib/sync/services/CloseComService.ts @@ -1,5 +1,3 @@ -import { MembershipRole } from "@prisma/client"; - import type { CloseComFieldOptions, CloseComLead } from "@calcom/lib/CloseCom"; import CloseCom from "@calcom/lib/CloseCom"; import { getCloseComContactIds, getCloseComLeadId, getCustomFieldsIds } from "@calcom/lib/CloseComeUtils"; @@ -8,6 +6,7 @@ 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"; +import { MembershipRole } from "@calcom/prisma/enums"; // Cal.com Custom Contact Fields const calComCustomContactFields: CloseComFieldOptions = [ diff --git a/packages/lib/test/builder.ts b/packages/lib/test/builder.ts index c1b2059fec..c6f116cff4 100644 --- a/packages/lib/test/builder.ts +++ b/packages/lib/test/builder.ts @@ -1,7 +1,7 @@ import { faker } from "@faker-js/faker"; import type { Booking, EventType, Prisma, Webhook } from "@prisma/client"; -import { BookingStatus } from "@prisma/client"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { CalendarEvent, Person, VideoCallData } from "@calcom/types/Calendar"; export const buildVideoCallData = (callData?: Partial): VideoCallData => { diff --git a/packages/prisma/client/index.js b/packages/prisma/client/index.js new file mode 100644 index 0000000000..b98f8c8fc6 --- /dev/null +++ b/packages/prisma/client/index.js @@ -0,0 +1 @@ +export * from "../../../node_modules/.prisma/client"; diff --git a/packages/prisma/enum-generator.ts b/packages/prisma/enum-generator.ts new file mode 100644 index 0000000000..992e01f963 --- /dev/null +++ b/packages/prisma/enum-generator.ts @@ -0,0 +1,37 @@ +import { generatorHandler } from "@prisma/generator-helper"; +import fs from "node:fs/promises"; +import path from "node:path"; + +const header = `// This file was generated by a custom prisma generator, do not edit manually.\n`; + +generatorHandler({ + onManifest() { + return { + defaultOutput: "./enums/index.ts", + prettyName: "Prisma Enum Generator", + }; + }, + async onGenerate(options) { + const enums = options.dmmf.datamodel.enums; + + const output = enums.map((e) => { + let enumString = `export const ${e.name} = {\n`; + e.values.forEach(({ name: value }) => { + enumString += ` ${value}: "${value}",\n`; + }); + enumString += `} as const;\n\n`; + enumString += `export type ${e.name} = (typeof ${e.name})[keyof typeof ${e.name}];\n`; + + return enumString; + }); + + const outputFile = options.generator.output; + if (!outputFile || !outputFile.value) { + throw new Error("No output file specified"); + } + + const outputPath = path.resolve(outputFile.value); + await fs.mkdir(path.dirname(outputPath), { recursive: true }); + await fs.writeFile(outputPath, header + output.join("\n"), "utf-8"); + }, +}); diff --git a/packages/prisma/package.json b/packages/prisma/package.json index e86e0a1d92..e4977d15d8 100644 --- a/packages/prisma/package.json +++ b/packages/prisma/package.json @@ -25,6 +25,7 @@ "dependencies": { "@calcom/lib": "*", "@prisma/client": "^4.13.0", + "@prisma/generator-helper": "^4.13.0", "prisma": "^4.13.0", "ts-node": "^10.9.1", "zod": "^3.20.2", diff --git a/packages/prisma/schema.prisma b/packages/prisma/schema.prisma index c24e9b2e0b..847877154a 100644 --- a/packages/prisma/schema.prisma +++ b/packages/prisma/schema.prisma @@ -18,6 +18,10 @@ generator zod { relationModel = "default" } +generator enums { + provider = "ts-node --transpile-only ./enum-generator" +} + enum SchedulingType { ROUND_ROBIN @map("roundRobin") COLLECTIVE @map("collective") diff --git a/packages/prisma/seed-insights.ts b/packages/prisma/seed-insights.ts index 5c784450c5..440e0e2bfc 100644 --- a/packages/prisma/seed-insights.ts +++ b/packages/prisma/seed-insights.ts @@ -1,9 +1,10 @@ import type { Prisma } from "@prisma/client"; -import { BookingStatus, PrismaClient } from "@prisma/client"; +import { PrismaClient } from "@prisma/client"; import { v4 as uuidv4 } from "uuid"; import dayjs from "@calcom/dayjs"; import { hashPassword } from "@calcom/features/auth/lib/hashPassword"; +import { BookingStatus } from "@calcom/prisma/enums"; const shuffle = ( booking: any, diff --git a/packages/prisma/seed.ts b/packages/prisma/seed.ts index b90afe96b3..6ebf5cec17 100644 --- a/packages/prisma/seed.ts +++ b/packages/prisma/seed.ts @@ -1,5 +1,4 @@ import type { Prisma, UserPermissionRole } from "@prisma/client"; -import { BookingStatus, MembershipRole } from "@prisma/client"; import { uuid } from "short-uuid"; import dailyMeta from "@calcom/app-store/dailyvideo/_metadata"; @@ -8,6 +7,7 @@ import zoomMeta from "@calcom/app-store/zoomvideo/_metadata"; import dayjs from "@calcom/dayjs"; import { hashPassword } from "@calcom/features/auth/lib/hashPassword"; import { DEFAULT_SCHEDULE, getAvailabilityFromSchedule } from "@calcom/lib/availability"; +import { BookingStatus, MembershipRole } from "@calcom/prisma/enums"; import prisma from "."; import mainAppStore from "./seed-app-store"; diff --git a/packages/prisma/zod-utils.ts b/packages/prisma/zod-utils.ts index 7bb69aca47..b90ed3b1b8 100644 --- a/packages/prisma/zod-utils.ts +++ b/packages/prisma/zod-utils.ts @@ -1,5 +1,4 @@ import type { Prisma } from "@prisma/client"; -import { EventTypeCustomInputType } from "@prisma/client"; import type { UnitTypeLongPlural } from "dayjs"; import { pick } from "lodash"; import z, { ZodNullable, ZodObject, ZodOptional } from "zod"; @@ -18,6 +17,7 @@ import { appDataSchemas } from "@calcom/app-store/apps.schemas.generated"; import dayjs from "@calcom/dayjs"; import { fieldsSchema as formBuilderFieldsSchema } from "@calcom/features/form-builder/FormBuilderFieldsSchema"; import { slugify } from "@calcom/lib/slugify"; +import { EventTypeCustomInputType } from "@calcom/prisma/enums"; // Let's not import 118kb just to get an enum export enum Frequency { diff --git a/packages/prisma/zod/custom/eventtype.ts b/packages/prisma/zod/custom/eventtype.ts index f63fe5388b..b278fe1607 100755 --- a/packages/prisma/zod/custom/eventtype.ts +++ b/packages/prisma/zod/custom/eventtype.ts @@ -1,4 +1,4 @@ -import { SchedulingType } from "@prisma/client"; +import { SchedulingType } from "@calcom/prisma/enums"; import { z } from "zod"; import * as imports from "../../zod-utils"; // TODO: figure out why EventTypeModel is being called even if it's not imported here, causing a circular dependency diff --git a/packages/trpc/server/routers/loggedInViewer/bookingUnconfirmedCount.handler.ts b/packages/trpc/server/routers/loggedInViewer/bookingUnconfirmedCount.handler.ts index 5a0e96b9cd..11d509cb7c 100644 --- a/packages/trpc/server/routers/loggedInViewer/bookingUnconfirmedCount.handler.ts +++ b/packages/trpc/server/routers/loggedInViewer/bookingUnconfirmedCount.handler.ts @@ -1,6 +1,5 @@ -import { BookingStatus } from "@prisma/client"; - import { prisma } from "@calcom/prisma"; +import { BookingStatus } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; type BookingUnconfirmedCountOptions = { diff --git a/packages/trpc/server/routers/loggedInViewer/connectedCalendars.handler.ts b/packages/trpc/server/routers/loggedInViewer/connectedCalendars.handler.ts index 3a79cf95dc..d2adcc5329 100644 --- a/packages/trpc/server/routers/loggedInViewer/connectedCalendars.handler.ts +++ b/packages/trpc/server/routers/loggedInViewer/connectedCalendars.handler.ts @@ -1,8 +1,8 @@ import type { DestinationCalendar } from "@prisma/client"; -import { AppCategories } from "@prisma/client"; import { getCalendarCredentials, getConnectedCalendars } from "@calcom/core/CalendarManager"; import { prisma } from "@calcom/prisma"; +import { AppCategories } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; type ConnectedCalendarsOptions = { diff --git a/packages/trpc/server/routers/loggedInViewer/deleteCredential.handler.ts b/packages/trpc/server/routers/loggedInViewer/deleteCredential.handler.ts index 08c6fffc3e..1d744190a4 100644 --- a/packages/trpc/server/routers/loggedInViewer/deleteCredential.handler.ts +++ b/packages/trpc/server/routers/loggedInViewer/deleteCredential.handler.ts @@ -1,4 +1,3 @@ -import { AppCategories, BookingStatus } from "@prisma/client"; import z from "zod"; import { cancelScheduledJobs } from "@calcom/app-store/zapier/lib/nodeScheduler"; @@ -12,6 +11,7 @@ import { deletePayment } from "@calcom/lib/payment/deletePayment"; import { getTranslation } from "@calcom/lib/server/i18n"; import { bookingMinimalSelect } from "@calcom/prisma"; import { prisma } from "@calcom/prisma"; +import { AppCategories, BookingStatus } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; diff --git a/packages/trpc/server/routers/loggedInViewer/deleteMe.handler.ts b/packages/trpc/server/routers/loggedInViewer/deleteMe.handler.ts index 3dac93e029..58b9eba27b 100644 --- a/packages/trpc/server/routers/loggedInViewer/deleteMe.handler.ts +++ b/packages/trpc/server/routers/loggedInViewer/deleteMe.handler.ts @@ -1,4 +1,3 @@ -import { IdentityProvider } from "@prisma/client"; import { authenticator } from "otplib"; import { deleteStripeCustomer } from "@calcom/app-store/stripepayment/lib/customer"; @@ -7,6 +6,7 @@ import { verifyPassword } from "@calcom/features/auth/lib/verifyPassword"; import { symmetricDecrypt } from "@calcom/lib/crypto"; import { deleteWebUser as syncServicesDeleteWebUser } from "@calcom/lib/sync/SyncServiceManager"; import { prisma } from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import type { TDeleteMeInputSchema } from "./deleteMe.schema"; diff --git a/packages/trpc/server/routers/loggedInViewer/deleteMeWithoutPassword.handler.ts b/packages/trpc/server/routers/loggedInViewer/deleteMeWithoutPassword.handler.ts index 55b13ce44b..a05f2484c4 100644 --- a/packages/trpc/server/routers/loggedInViewer/deleteMeWithoutPassword.handler.ts +++ b/packages/trpc/server/routers/loggedInViewer/deleteMeWithoutPassword.handler.ts @@ -1,9 +1,8 @@ -import { IdentityProvider } from "@prisma/client"; - import { deleteStripeCustomer } from "@calcom/app-store/stripepayment/lib/customer"; import { ErrorCode } from "@calcom/features/auth/lib/ErrorCode"; import { deleteWebUser as syncServicesDeleteWebUser } from "@calcom/lib/sync/SyncServiceManager"; import { prisma } from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; type DeleteMeWithoutPasswordOptions = { diff --git a/packages/trpc/server/routers/viewer/apps/listLocal.handler.ts b/packages/trpc/server/routers/viewer/apps/listLocal.handler.ts index 3771a93206..874f0f9a08 100644 --- a/packages/trpc/server/routers/viewer/apps/listLocal.handler.ts +++ b/packages/trpc/server/routers/viewer/apps/listLocal.handler.ts @@ -1,8 +1,8 @@ import type { Prisma, PrismaClient } from "@prisma/client"; -import { AppCategories } from "@prisma/client"; import { appKeysSchemas } from "@calcom/app-store/apps.keys-schemas.generated"; import { getLocalAppMetadata } from "@calcom/app-store/utils"; +import { AppCategories } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "../../../trpc"; import type { TListLocalInputSchema } from "./listLocal.schema"; diff --git a/packages/trpc/server/routers/viewer/apps/listLocal.schema.ts b/packages/trpc/server/routers/viewer/apps/listLocal.schema.ts index 03861aa8a1..72c1bdf142 100644 --- a/packages/trpc/server/routers/viewer/apps/listLocal.schema.ts +++ b/packages/trpc/server/routers/viewer/apps/listLocal.schema.ts @@ -1,6 +1,7 @@ -import { AppCategories } from "@prisma/client"; import { z } from "zod"; +import { AppCategories } from "@calcom/prisma/enums"; + export const ZListLocalInputSchema = z.object({ category: z.nativeEnum({ ...AppCategories, conferencing: "conferencing" }), }); diff --git a/packages/trpc/server/routers/viewer/apps/saveKeys.handler.ts b/packages/trpc/server/routers/viewer/apps/saveKeys.handler.ts index f293609252..004992cf28 100644 --- a/packages/trpc/server/routers/viewer/apps/saveKeys.handler.ts +++ b/packages/trpc/server/routers/viewer/apps/saveKeys.handler.ts @@ -1,9 +1,9 @@ -import type { AppCategories } from "@prisma/client"; import type { Prisma } from "@prisma/client"; import type { PrismaClient } from "@prisma/client"; import { appKeysSchemas } from "@calcom/app-store/apps.keys-schemas.generated"; import { getLocalAppMetadata } from "@calcom/app-store/utils"; +import type { AppCategories } from "@calcom/prisma/enums"; // import prisma from "@calcom/prisma"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/apps/toggle.handler.ts b/packages/trpc/server/routers/viewer/apps/toggle.handler.ts index 2c1502955c..35b06b3b2e 100644 --- a/packages/trpc/server/routers/viewer/apps/toggle.handler.ts +++ b/packages/trpc/server/routers/viewer/apps/toggle.handler.ts @@ -3,7 +3,7 @@ import type { PrismaClient } from "@prisma/client"; import { getLocalAppMetadata } from "@calcom/app-store/utils"; import { sendDisabledAppEmail } from "@calcom/emails"; import { getTranslation } from "@calcom/lib/server"; -import type { AppCategories } from "@calcom/prisma/client"; +import type { AppCategories } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/auth/changePassword.handler.ts b/packages/trpc/server/routers/viewer/auth/changePassword.handler.ts index ac11fb1187..022dfe8cec 100644 --- a/packages/trpc/server/routers/viewer/auth/changePassword.handler.ts +++ b/packages/trpc/server/routers/viewer/auth/changePassword.handler.ts @@ -1,9 +1,8 @@ -import { IdentityProvider } from "@prisma/client"; - import { hashPassword } from "@calcom/features/auth/lib/hashPassword"; import { validPassword } from "@calcom/features/auth/lib/validPassword"; import { verifyPassword } from "@calcom/features/auth/lib/verifyPassword"; import { prisma } from "@calcom/prisma"; +import { IdentityProvider } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/bookings/confirm.handler.ts b/packages/trpc/server/routers/viewer/bookings/confirm.handler.ts index cde45e620a..e58a5ffe4b 100644 --- a/packages/trpc/server/routers/viewer/bookings/confirm.handler.ts +++ b/packages/trpc/server/routers/viewer/bookings/confirm.handler.ts @@ -1,4 +1,4 @@ -import { BookingStatus, MembershipRole, Prisma, SchedulingType } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import appStore from "@calcom/app-store"; import { sendDeclinedEmails } from "@calcom/emails"; @@ -7,6 +7,7 @@ import { handleConfirmation } from "@calcom/features/bookings/lib/handleConfirma import { isPrismaObjOrUndefined, parseRecurringEvent } from "@calcom/lib"; import { getTranslation } from "@calcom/lib/server"; import { prisma } from "@calcom/prisma"; +import { BookingStatus, MembershipRole, SchedulingType } from "@calcom/prisma/enums"; import type { CalendarEvent } from "@calcom/types/Calendar"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/bookings/get.handler.ts b/packages/trpc/server/routers/viewer/bookings/get.handler.ts index a2424600f4..7420dbbd97 100644 --- a/packages/trpc/server/routers/viewer/bookings/get.handler.ts +++ b/packages/trpc/server/routers/viewer/bookings/get.handler.ts @@ -1,8 +1,7 @@ -import { BookingStatus } from "@prisma/client"; - import { parseRecurringEvent } from "@calcom/lib"; import { bookingMinimalSelect } from "@calcom/prisma"; import type { Prisma, PrismaClient } from "@calcom/prisma/client"; +import { BookingStatus } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { TrpcSessionUser } from "../../../trpc"; diff --git a/packages/trpc/server/routers/viewer/bookings/requestReschedule.handler.ts b/packages/trpc/server/routers/viewer/bookings/requestReschedule.handler.ts index 75150486a4..461a0affa6 100644 --- a/packages/trpc/server/routers/viewer/bookings/requestReschedule.handler.ts +++ b/packages/trpc/server/routers/viewer/bookings/requestReschedule.handler.ts @@ -1,5 +1,4 @@ -import type { BookingReference, EventType, WebhookTriggerEvents } from "@prisma/client"; -import { BookingStatus, WorkflowMethods } from "@prisma/client"; +import type { BookingReference, EventType } from "@prisma/client"; import type { TFunction } from "next-i18next"; import { getCalendar } from "@calcom/app-store/_utils/getCalendar"; @@ -17,6 +16,8 @@ import sendPayload from "@calcom/features/webhooks/lib/sendPayload"; import { isPrismaObjOrUndefined } from "@calcom/lib"; import { getTranslation } from "@calcom/lib/server"; import { prisma } from "@calcom/prisma"; +import type { WebhookTriggerEvents } from "@calcom/prisma/enums"; +import { BookingStatus, WorkflowMethods } from "@calcom/prisma/enums"; import type { CalendarEvent, Person } from "@calcom/types/Calendar"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/bookings/util.ts b/packages/trpc/server/routers/viewer/bookings/util.ts index cd1e178c79..c29e939387 100644 --- a/packages/trpc/server/routers/viewer/bookings/util.ts +++ b/packages/trpc/server/routers/viewer/bookings/util.ts @@ -7,9 +7,9 @@ import type { EventType, User, } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import { prisma } from "@calcom/prisma"; +import { SchedulingType } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/eventTypes/create.handler.ts b/packages/trpc/server/routers/viewer/eventTypes/create.handler.ts index 10fd91f632..7b7308f072 100644 --- a/packages/trpc/server/routers/viewer/eventTypes/create.handler.ts +++ b/packages/trpc/server/routers/viewer/eventTypes/create.handler.ts @@ -1,11 +1,11 @@ import type { Prisma } from "@prisma/client"; -import { SchedulingType } from "@prisma/client"; import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library"; import getAppKeysFromSlug from "@calcom/app-store/_utils/getAppKeysFromSlug"; import { DailyLocationType } from "@calcom/app-store/locations"; import getApps from "@calcom/app-store/utils"; import type { PrismaClient } from "@calcom/prisma/client"; +import { SchedulingType } from "@calcom/prisma/enums"; import { userMetadata as userMetadataSchema } from "@calcom/prisma/zod-utils"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts b/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts index cc3133b397..50ea5facc0 100644 --- a/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts +++ b/packages/trpc/server/routers/viewer/eventTypes/getByViewer.handler.ts @@ -1,10 +1,10 @@ -import { MembershipRole, Prisma, SchedulingType } from "@prisma/client"; -import type { PrismaClient } from "@prisma/client"; +import { type PrismaClient, Prisma } from "@prisma/client"; import { orderBy } from "lodash"; import { CAL_URL } from "@calcom/lib/constants"; import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML"; import { baseEventTypeSelect, baseUserSelect } from "@calcom/prisma"; +import { MembershipRole, SchedulingType } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/eventTypes/update.handler.ts b/packages/trpc/server/routers/viewer/eventTypes/update.handler.ts index a6c3067300..6efa74abf2 100644 --- a/packages/trpc/server/routers/viewer/eventTypes/update.handler.ts +++ b/packages/trpc/server/routers/viewer/eventTypes/update.handler.ts @@ -1,10 +1,11 @@ import type { PrismaClient } from "@prisma/client"; -import { Prisma, SchedulingType } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import type { NextApiResponse, GetServerSidePropsContext } from "next"; import { stripeDataSchema } from "@calcom/app-store/stripepayment/lib/server"; import updateChildrenEventTypes from "@calcom/features/ee/managed-event-types/lib/handleChildrenEventTypes"; import { validateIntervalLimitOrder } from "@calcom/lib"; +import { SchedulingType } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/eventTypes/util.ts b/packages/trpc/server/routers/viewer/eventTypes/util.ts index 8a4407b980..21c63a2c7f 100644 --- a/packages/trpc/server/routers/viewer/eventTypes/util.ts +++ b/packages/trpc/server/routers/viewer/eventTypes/util.ts @@ -1,6 +1,6 @@ -import { MembershipRole, PeriodType } from "@prisma/client"; import { z } from "zod"; +import { MembershipRole, PeriodType } from "@calcom/prisma/enums"; import type { CustomInputSchema } from "@calcom/prisma/zod-utils"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/slots/util.ts b/packages/trpc/server/routers/viewer/slots/util.ts index 13959a741e..d47ece5cef 100644 --- a/packages/trpc/server/routers/viewer/slots/util.ts +++ b/packages/trpc/server/routers/viewer/slots/util.ts @@ -1,4 +1,3 @@ -import { SchedulingType } from "@prisma/client"; import { countBy } from "lodash"; import { v4 as uuid } from "uuid"; @@ -14,6 +13,7 @@ import { performance } from "@calcom/lib/server/perfObserver"; import getTimeSlots from "@calcom/lib/slots"; import { availabilityUserSelect } from "@calcom/prisma"; import prisma from "@calcom/prisma"; +import { SchedulingType } from "@calcom/prisma/enums"; import { EventTypeMetaDataSchema } from "@calcom/prisma/zod-utils"; import type { EventBusyDate } from "@calcom/types/Calendar"; diff --git a/packages/trpc/server/routers/viewer/teams/acceptOrLeave.handler.ts b/packages/trpc/server/routers/viewer/teams/acceptOrLeave.handler.ts index a2b54bcffa..d15e4dba47 100644 --- a/packages/trpc/server/routers/viewer/teams/acceptOrLeave.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/acceptOrLeave.handler.ts @@ -1,7 +1,6 @@ -import { MembershipRole } from "@prisma/client"; - import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import type { TAcceptOrLeaveInputSchema } from "./acceptOrLeave.schema"; diff --git a/packages/trpc/server/routers/viewer/teams/changeMemberRole.handler.ts b/packages/trpc/server/routers/viewer/teams/changeMemberRole.handler.ts index bb91f2da4f..f2a6f23861 100644 --- a/packages/trpc/server/routers/viewer/teams/changeMemberRole.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/changeMemberRole.handler.ts @@ -1,8 +1,7 @@ -import { MembershipRole } from "@prisma/client"; - import { isTeamAdmin, isTeamOwner } from "@calcom/lib/server/queries/teams"; import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/teams/changeMemberRole.schema.ts b/packages/trpc/server/routers/viewer/teams/changeMemberRole.schema.ts index 17ea122d67..1b0ad481a2 100644 --- a/packages/trpc/server/routers/viewer/teams/changeMemberRole.schema.ts +++ b/packages/trpc/server/routers/viewer/teams/changeMemberRole.schema.ts @@ -1,6 +1,7 @@ -import { MembershipRole } from "@prisma/client"; import { z } from "zod"; +import { MembershipRole } from "@calcom/prisma/enums"; + export const ZChangeMemberRoleInputSchema = z.object({ teamId: z.number(), memberId: z.number(), diff --git a/packages/trpc/server/routers/viewer/teams/create.handler.ts b/packages/trpc/server/routers/viewer/teams/create.handler.ts index 7f4ae162e2..7eae61e936 100644 --- a/packages/trpc/server/routers/viewer/teams/create.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/create.handler.ts @@ -1,8 +1,7 @@ -import { MembershipRole } from "@prisma/client"; - import { IS_TEAM_BILLING_ENABLED } from "@calcom/lib/constants"; import { closeComUpsertTeamUser } from "@calcom/lib/sync/SyncServiceManager"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/teams/get.handler.ts b/packages/trpc/server/routers/viewer/teams/get.handler.ts index 05f53253a0..75de7fbfee 100644 --- a/packages/trpc/server/routers/viewer/teams/get.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/get.handler.ts @@ -1,7 +1,6 @@ -import type { MembershipRole } from "@prisma/client"; - import { markdownToSafeHTML } from "@calcom/lib/markdownToSafeHTML"; import { getTeamWithMembers } from "@calcom/lib/server/queries/teams"; +import type { MembershipRole } from "@calcom/prisma/enums"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/teams/getUpgradeable.handler.ts b/packages/trpc/server/routers/viewer/teams/getUpgradeable.handler.ts index 22f766a11a..71ff46d70f 100644 --- a/packages/trpc/server/routers/viewer/teams/getUpgradeable.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/getUpgradeable.handler.ts @@ -1,7 +1,6 @@ -import { MembershipRole } from "@prisma/client"; - import { IS_TEAM_BILLING_ENABLED } from "@calcom/lib/constants"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import { teamMetadataSchema } from "@calcom/prisma/zod-utils"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; diff --git a/packages/trpc/server/routers/viewer/teams/inviteMember.handler.ts b/packages/trpc/server/routers/viewer/teams/inviteMember.handler.ts index 1c10fdf2db..9ec7e819a9 100644 --- a/packages/trpc/server/routers/viewer/teams/inviteMember.handler.ts +++ b/packages/trpc/server/routers/viewer/teams/inviteMember.handler.ts @@ -1,4 +1,4 @@ -import { MembershipRole, Prisma } from "@prisma/client"; +import { Prisma } from "@prisma/client"; import { randomBytes } from "crypto"; import { sendTeamInviteEmail } from "@calcom/emails"; @@ -7,6 +7,7 @@ import { IS_TEAM_BILLING_ENABLED, WEBAPP_URL } from "@calcom/lib/constants"; import { getTranslation } from "@calcom/lib/server/i18n"; import { isTeamAdmin, isTeamOwner } from "@calcom/lib/server/queries/teams"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/teams/inviteMember.schema.ts b/packages/trpc/server/routers/viewer/teams/inviteMember.schema.ts index bf728981d1..2c84285c8e 100644 --- a/packages/trpc/server/routers/viewer/teams/inviteMember.schema.ts +++ b/packages/trpc/server/routers/viewer/teams/inviteMember.schema.ts @@ -1,6 +1,7 @@ -import { MembershipRole } from "@prisma/client"; import { z } from "zod"; +import { MembershipRole } from "@calcom/prisma/enums"; + export const ZInviteMemberInputSchema = z.object({ teamId: z.number(), usernameOrEmail: z.string().transform((usernameOrEmail) => usernameOrEmail.toLowerCase()), diff --git a/packages/trpc/server/routers/viewer/workflows/activateEventType.handler.ts b/packages/trpc/server/routers/viewer/workflows/activateEventType.handler.ts index a952cd42a2..9ec85ae4f7 100644 --- a/packages/trpc/server/routers/viewer/workflows/activateEventType.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/activateEventType.handler.ts @@ -1,6 +1,5 @@ -import { MembershipRole, WorkflowActions } from "@prisma/client"; - import { prisma } from "@calcom/prisma"; +import { MembershipRole, WorkflowActions } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/workflows/create.handler.ts b/packages/trpc/server/routers/viewer/workflows/create.handler.ts index 9a346b23f7..75c71acec1 100644 --- a/packages/trpc/server/routers/viewer/workflows/create.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/create.handler.ts @@ -1,16 +1,16 @@ import type { Workflow } from "@prisma/client"; + +import emailReminderTemplate from "@calcom/ee/workflows/lib/reminders/templates/emailReminderTemplate"; +import { SENDER_NAME } from "@calcom/lib/constants"; +import { prisma } from "@calcom/prisma"; +import type { PrismaClient } from "@calcom/prisma/client"; import { MembershipRole, TimeUnit, WorkflowActions, WorkflowTemplates, WorkflowTriggerEvents, -} from "@prisma/client"; - -import emailReminderTemplate from "@calcom/ee/workflows/lib/reminders/templates/emailReminderTemplate"; -import { SENDER_NAME } from "@calcom/lib/constants"; -import { prisma } from "@calcom/prisma"; -import type { PrismaClient } from "@calcom/prisma/client"; +} from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/workflows/delete.handler.ts b/packages/trpc/server/routers/viewer/workflows/delete.handler.ts index d1dfe978eb..228531765f 100644 --- a/packages/trpc/server/routers/viewer/workflows/delete.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/delete.handler.ts @@ -1,8 +1,7 @@ -import { WorkflowMethods } from "@prisma/client"; - import { deleteScheduledEmailReminder } from "@calcom/features/ee/workflows/lib/reminders/emailReminderManager"; import { deleteScheduledSMSReminder } from "@calcom/features/ee/workflows/lib/reminders/smsReminderManager"; import { prisma } from "@calcom/prisma"; +import { WorkflowMethods } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/workflows/getByViewer.handler.ts b/packages/trpc/server/routers/viewer/workflows/getByViewer.handler.ts index 0f397e7094..efd0b67bbf 100644 --- a/packages/trpc/server/routers/viewer/workflows/getByViewer.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/getByViewer.handler.ts @@ -1,7 +1,6 @@ -import { MembershipRole } from "@prisma/client"; - import { CAL_URL } from "@calcom/lib/constants"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/workflows/list.handler.ts b/packages/trpc/server/routers/viewer/workflows/list.handler.ts index 8baac7f4a3..0a860fa7e9 100644 --- a/packages/trpc/server/routers/viewer/workflows/list.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/list.handler.ts @@ -1,9 +1,8 @@ -import { MembershipRole } from "@prisma/client"; - import type { WorkflowType } from "@calcom/features/ee/workflows/components/WorkflowListPage"; // import dayjs from "@calcom/dayjs"; // import { getErrorFromUnknown } from "@calcom/lib/errors"; import { prisma } from "@calcom/prisma"; +import { MembershipRole } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import type { TListInputSchema } from "./list.schema"; diff --git a/packages/trpc/server/routers/viewer/workflows/update.handler.ts b/packages/trpc/server/routers/viewer/workflows/update.handler.ts index cbfc2b9c18..048951c94b 100644 --- a/packages/trpc/server/routers/viewer/workflows/update.handler.ts +++ b/packages/trpc/server/routers/viewer/workflows/update.handler.ts @@ -1,5 +1,4 @@ import type { Prisma } from "@prisma/client"; -import { BookingStatus, WorkflowActions, WorkflowMethods, WorkflowTriggerEvents } from "@prisma/client"; import { isSMSAction } from "@calcom/features/ee/workflows/lib/actionHelperFunctions"; import { @@ -12,6 +11,7 @@ import { } from "@calcom/features/ee/workflows/lib/reminders/smsReminderManager"; import { SENDER_ID, SENDER_NAME } from "@calcom/lib/constants"; import type { PrismaClient } from "@calcom/prisma/client"; +import { BookingStatus, WorkflowActions, WorkflowMethods, WorkflowTriggerEvents } from "@calcom/prisma/enums"; import type { TrpcSessionUser } from "@calcom/trpc/server/trpc"; import { TRPCError } from "@trpc/server"; diff --git a/packages/trpc/server/routers/viewer/workflows/util.ts b/packages/trpc/server/routers/viewer/workflows/util.ts index 01ee25b7eb..be71284afa 100644 --- a/packages/trpc/server/routers/viewer/workflows/util.ts +++ b/packages/trpc/server/routers/viewer/workflows/util.ts @@ -1,5 +1,4 @@ import type { Workflow } from "@prisma/client"; -import { MembershipRole } from "@prisma/client"; import { isSMSAction } from "@calcom/ee/workflows/lib/actionHelperFunctions"; import { @@ -11,6 +10,7 @@ import { removeBookingField, upsertBookingField } from "@calcom/features/eventty import { SENDER_ID, SENDER_NAME } from "@calcom/lib/constants"; import type PrismaType from "@calcom/prisma"; import type { WorkflowStep } from "@calcom/prisma/client"; +import { MembershipRole } from "@calcom/prisma/enums"; export function getSender( step: Pick & { senderName: string | null | undefined } diff --git a/yarn.lock b/yarn.lock index c49de8412a..841a0272b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,34 +5,6 @@ __metadata: version: 6 cacheKey: 8 -"@47ng/cloak@npm:^1.1.0": - version: 1.1.0 - resolution: "@47ng/cloak@npm:1.1.0" - dependencies: - "@47ng/codec": ^1.0.1 - "@stablelib/base64": ^1.0.1 - "@stablelib/hex": ^1.0.1 - "@stablelib/utf8": ^1.0.1 - chalk: ^4.1.2 - commander: ^8.3.0 - dotenv: ^10.0.0 - s-ago: ^2.2.0 - bin: - cloak: dist/cli.js - checksum: 7d72c66ff7837368e9ca8f5ba402d72041427eb47c53c340b4640e3352f2956d8673a4a8e97591fb2b9dfe27f3d2765bcd925617273ef2488df2565c77c78299 - languageName: node - linkType: hard - -"@47ng/codec@npm:^1.0.1": - version: 1.1.0 - resolution: "@47ng/codec@npm:1.1.0" - dependencies: - "@stablelib/base64": ^1.0.1 - "@stablelib/hex": ^1.0.1 - checksum: 4f780c4413fe78bbedbaff4135340c0e5f5a30df88f5cffbec51349eb0a1c909728e6c2bbda52506ff8c12653bf39b78c67b78bbe9501b0b9741da0cdaeec6ff - languageName: node - linkType: hard - "@achrinza/event-pubsub@npm:5.0.8": version: 5.0.8 resolution: "@achrinza/event-pubsub@npm:5.0.8" @@ -80,67 +52,6 @@ __metadata: languageName: node linkType: hard -"@apidevtools/json-schema-ref-parser@npm:9.0.9": - version: 9.0.9 - resolution: "@apidevtools/json-schema-ref-parser@npm:9.0.9" - dependencies: - "@jsdevtools/ono": ^7.1.3 - "@types/json-schema": ^7.0.6 - call-me-maybe: ^1.0.1 - js-yaml: ^4.1.0 - checksum: b21f6bdd37d2942c3967ee77569bc74fadd1b922f688daf5ef85057789a2c3a7f4afc473aa2f3a93ec950dabb6ef365f8bd9cf51e4e062a1ee1e59b989f8f9b4 - languageName: node - linkType: hard - -"@apidevtools/openapi-schemas@npm:^2.0.4": - version: 2.1.0 - resolution: "@apidevtools/openapi-schemas@npm:2.1.0" - checksum: 4a8f64935b9049ef21e41fa4b188f39f6bc3f5291cebd451701db1115451ccb246a739e46cc5ce9ecdec781671431db40db7851acdac84a990a45756e0f32de3 - languageName: node - linkType: hard - -"@apidevtools/swagger-methods@npm:^3.0.2": - version: 3.0.2 - resolution: "@apidevtools/swagger-methods@npm:3.0.2" - checksum: d06b1ac5c1956613c4c6be695612ef860cd4e962b93a509ca551735a328a856cae1e33399cac1dcbf8333ba22b231746f3586074769ef0e172cf549ec9e7eaae - languageName: node - linkType: hard - -"@apidevtools/swagger-parser@npm:10.0.2": - version: 10.0.2 - resolution: "@apidevtools/swagger-parser@npm:10.0.2" - dependencies: - "@apidevtools/json-schema-ref-parser": ^9.0.6 - "@apidevtools/openapi-schemas": ^2.0.4 - "@apidevtools/swagger-methods": ^3.0.2 - "@jsdevtools/ono": ^7.1.3 - call-me-maybe: ^1.0.1 - z-schema: ^4.2.3 - peerDependencies: - openapi-types: ">=7" - checksum: fbae8e363c4944c10b9c5702a9b64d04ce2d55b5418d0ca4ef044aeaa92c7f3160ba8d3e335798f7482ab1179d947bdd7393cddf9861d76393789d7559ddf7ba - languageName: node - linkType: hard - -"@auth/core@npm:^0.1.4": - version: 0.1.4 - resolution: "@auth/core@npm:0.1.4" - dependencies: - "@panva/hkdf": 1.0.2 - cookie: 0.5.0 - jose: 4.11.1 - oauth4webapi: 2.0.5 - preact: 10.11.3 - preact-render-to-string: 5.2.3 - peerDependencies: - nodemailer: 6.8.0 - peerDependenciesMeta: - nodemailer: - optional: true - checksum: 64854404ea1883e0deb5535b34bed95cd43fc85094aeaf4f15a79e14045020eb944f844defe857edfc8528a0a024be89cbb2a3069dedef0e9217a74ca6c3eb79 - languageName: node - linkType: hard - "@aws-crypto/ie11-detection@npm:^3.0.0": version: 3.0.0 resolution: "@aws-crypto/ie11-detection@npm:3.0.0" @@ -3889,39 +3800,6 @@ __metadata: languageName: unknown linkType: soft -"@calcom/api@workspace:apps/api": - version: 0.0.0-use.local - resolution: "@calcom/api@workspace:apps/api" - dependencies: - "@calcom/app-store": "*" - "@calcom/core": "*" - "@calcom/dayjs": "*" - "@calcom/emails": "*" - "@calcom/features": "*" - "@calcom/lib": "*" - "@calcom/prisma": "*" - "@calcom/trpc": "*" - "@calcom/tsconfig": "*" - "@calcom/types": "*" - "@sentry/nextjs": ^7.20.0 - babel-jest: ^28.1.0 - bcryptjs: ^2.4.3 - jest: ^28.1.0 - memory-cache: ^0.2.0 - modify-response-middleware: ^1.1.0 - next: ^13.2.1 - next-api-middleware: ^1.0.1 - next-axiom: ^0.16.0 - next-swagger-doc: ^0.3.4 - next-validations: ^0.2.0 - node-mocks-http: ^1.11.0 - typescript: ^4.9.4 - tzdata: ^1.0.30 - uuid: ^8.3.2 - zod: ^3.20.2 - languageName: unknown - linkType: soft - "@calcom/app-store-cli@*, @calcom/app-store-cli@workspace:packages/app-store-cli": version: 0.0.0-use.local resolution: "@calcom/app-store-cli@workspace:packages/app-store-cli" @@ -3994,39 +3872,6 @@ __metadata: languageName: unknown linkType: soft -"@calcom/auth@workspace:apps/auth": - version: 0.0.0-use.local - resolution: "@calcom/auth@workspace:apps/auth" - dependencies: - "@auth/core": ^0.1.4 - "@calcom/app-store": "*" - "@calcom/app-store-cli": "*" - "@calcom/config": "*" - "@calcom/core": "*" - "@calcom/dayjs": "*" - "@calcom/embed-core": "workspace:*" - "@calcom/embed-react": "workspace:*" - "@calcom/embed-snippet": "workspace:*" - "@calcom/features": "*" - "@calcom/lib": "*" - "@calcom/prisma": "*" - "@calcom/trpc": "*" - "@calcom/tsconfig": "*" - "@calcom/types": "*" - "@calcom/ui": "*" - "@types/node": 16.9.1 - "@types/react": 18.0.26 - "@types/react-dom": 18.0.9 - eslint: ^8.34.0 - eslint-config-next: ^13.2.1 - next: ^13.2.1 - next-auth: ^4.20.1 - react: ^18.2.0 - react-dom: ^18.2.0 - typescript: ^4.9.4 - languageName: unknown - linkType: soft - "@calcom/caldavcalendar@workspace:packages/app-store/caldavcalendar": version: 0.0.0-use.local resolution: "@calcom/caldavcalendar@workspace:packages/app-store/caldavcalendar" @@ -4087,43 +3932,6 @@ __metadata: languageName: unknown linkType: soft -"@calcom/console@workspace:apps/console": - version: 0.0.0-use.local - resolution: "@calcom/console@workspace:apps/console" - dependencies: - "@calcom/dayjs": "*" - "@calcom/features": "*" - "@calcom/lib": "*" - "@calcom/tsconfig": "*" - "@calcom/ui": "*" - "@headlessui/react": ^1.5.0 - "@heroicons/react": ^1.0.6 - "@prisma/client": ^4.13.0 - "@tailwindcss/forms": ^0.5.2 - "@types/node": 16.9.1 - "@types/react": 18.0.26 - autoprefixer: ^10.4.12 - chart.js: ^3.7.1 - client-only: ^0.0.1 - eslint: ^8.34.0 - next: ^13.2.1 - next-auth: ^4.20.1 - next-i18next: ^11.3.0 - postcss: ^8.4.18 - prisma: ^4.13.0 - prisma-field-encryption: ^1.4.0 - react: ^18.2.0 - react-chartjs-2: ^4.0.1 - react-dom: ^18.2.0 - react-hook-form: ^7.43.3 - react-live-chat-loader: ^2.7.3 - swr: ^1.2.2 - tailwindcss: ^3.2.1 - typescript: ^4.9.4 - zod: ^3.20.2 - languageName: unknown - linkType: soft - "@calcom/core@*, @calcom/core@workspace:packages/core": version: 0.0.0-use.local resolution: "@calcom/core@workspace:packages/core" @@ -4236,7 +4044,7 @@ __metadata: languageName: unknown linkType: soft -"@calcom/embed-react@workspace:*, @calcom/embed-react@workspace:^, @calcom/embed-react@workspace:packages/embeds/embed-react": +"@calcom/embed-react@workspace:*, @calcom/embed-react@workspace:packages/embeds/embed-react": version: 0.0.0-use.local resolution: "@calcom/embed-react@workspace:packages/embeds/embed-react" dependencies: @@ -4557,6 +4365,7 @@ __metadata: dependencies: "@calcom/lib": "*" "@prisma/client": ^4.13.0 + "@prisma/generator-helper": ^4.13.0 npm-run-all: ^4.1.5 prisma: ^4.13.0 ts-node: ^10.9.1 @@ -5020,91 +4829,6 @@ __metadata: languageName: unknown linkType: soft -"@calcom/website@workspace:apps/website": - version: 0.0.0-use.local - resolution: "@calcom/website@workspace:apps/website" - dependencies: - "@calcom/app-store": "*" - "@calcom/config": "*" - "@calcom/dayjs": "*" - "@calcom/embed-react": "workspace:^" - "@calcom/features": "*" - "@calcom/lib": "*" - "@calcom/prisma": "*" - "@calcom/tsconfig": "*" - "@calcom/ui": "*" - "@floating-ui/react-dom": ^1.0.0 - "@headlessui/react": ^1.5.0 - "@heroicons/react": ^1.0.6 - "@hookform/resolvers": ^2.9.7 - "@juggle/resize-observer": ^3.4.0 - "@next/bundle-analyzer": ^13.1.6 - "@radix-ui/react-accordion": ^1.0.0 - "@radix-ui/react-navigation-menu": ^1.0.0 - "@radix-ui/react-portal": ^1.0.0 - "@radix-ui/react-slider": ^1.0.0 - "@radix-ui/react-tabs": ^1.0.0 - "@radix-ui/react-tooltip": ^1.0.0 - "@stripe/stripe-js": ^1.35.0 - "@tanstack/react-query": ^4.3.9 - "@typeform/embed-react": ^1.2.4 - "@types/bcryptjs": ^2.4.2 - "@types/debounce": ^1.2.1 - "@types/gtag.js": ^0.0.10 - "@types/micro": 7.3.7 - "@types/node": 16.9.1 - "@types/react": 18.0.26 - "@types/react-gtm-module": ^2.0.1 - "@vercel/analytics": ^0.1.6 - "@vercel/edge-functions-ui": ^0.2.1 - "@vercel/og": ^0.5.0 - autoprefixer: ^10.4.12 - bcryptjs: ^2.4.3 - cobe: ^0.4.1 - concurrently: ^7.6.0 - cross-env: ^7.0.3 - datocms-structured-text-to-plain-text: ^2.0.4 - datocms-structured-text-utils: ^2.0.4 - debounce: ^1.2.1 - env-cmd: ^10.1.0 - eslint: ^8.34.0 - fathom-client: ^3.5.0 - globby: ^13.1.3 - gray-matter: ^4.0.3 - gsap: ^3.11.0 - iframe-resizer-react: ^1.1.0 - keen-slider: ^6.8.0 - lucide-react: ^0.125.0 - micro: ^10.0.1 - next: 13.2.4-canary.5 - next-auth: ^4.20.1 - next-i18next: ^11.3.0 - playwright: ^1.31.2 - postcss: ^8.4.18 - prism-react-renderer: ^1.3.5 - react: ^18.2.0 - react-confetti: ^6.0.1 - react-datocms: ^3.1.0 - react-device-detect: ^2.2.2 - react-dom: ^18.2.0 - react-fast-marquee: ^1.3.5 - react-github-btn: ^1.4.0 - react-hook-form: ^7.43.3 - react-hot-toast: ^2.3.0 - react-live-chat-loader: ^2.8.1 - react-merge-refs: 1.1.0 - react-twemoji: ^0.3.0 - react-use-measure: ^2.1.1 - remark: ^14.0.2 - remark-html: ^14.0.1 - stripe: ^9.16.0 - tailwindcss: ^3.2.1 - typescript: ^4.9.4 - wait-on: ^7.0.1 - zod: ^3.20.2 - languageName: unknown - linkType: soft - "@calcom/whatsapp@workspace:packages/app-store/whatsapp": version: 0.0.0-use.local resolution: "@calcom/whatsapp@workspace:packages/app-store/whatsapp" @@ -6443,7 +6167,7 @@ __metadata: languageName: node linkType: hard -"@floating-ui/react-dom@npm:^1.0.0, @floating-ui/react-dom@npm:^1.3.0": +"@floating-ui/react-dom@npm:^1.3.0": version: 1.3.0 resolution: "@floating-ui/react-dom@npm:1.3.0" dependencies: @@ -6581,34 +6305,6 @@ __metadata: languageName: node linkType: hard -"@hapi/hoek@npm:^9.0.0": - version: 9.3.0 - resolution: "@hapi/hoek@npm:9.3.0" - checksum: 4771c7a776242c3c022b168046af4e324d116a9d2e1d60631ee64f474c6e38d1bb07092d898bf95c7bc5d334c5582798a1456321b2e53ca817d4e7c88bc25b43 - languageName: node - linkType: hard - -"@hapi/topo@npm:^5.0.0": - version: 5.1.0 - resolution: "@hapi/topo@npm:5.1.0" - dependencies: - "@hapi/hoek": ^9.0.0 - checksum: 604dfd5dde76d5c334bd03f9001fce69c7ce529883acf92da96f4fe7e51221bf5e5110e964caca287a6a616ba027c071748ab636ff178ad750547fba611d6014 - languageName: node - linkType: hard - -"@headlessui/react@npm:^1.5.0": - version: 1.7.14 - resolution: "@headlessui/react@npm:1.7.14" - dependencies: - client-only: ^0.0.1 - peerDependencies: - react: ^16 || ^17 || ^18 - react-dom: ^16 || ^17 || ^18 - checksum: 9122114d7a618877a8da2ada000422ce82e6af47195e414076fa5cf45687709479eb30b0df414eed52079be6e5904151bc92e4acfafbdde2592c608f015c490e - languageName: node - linkType: hard - "@heroicons/react@npm:^1.0.6": version: 1.0.6 resolution: "@heroicons/react@npm:1.0.6" @@ -7496,13 +7192,6 @@ __metadata: languageName: node linkType: hard -"@jridgewell/sourcemap-codec@npm:^1.4.13": - version: 1.4.15 - resolution: "@jridgewell/sourcemap-codec@npm:1.4.15" - checksum: b881c7e503db3fc7f3c1f35a1dd2655a188cc51a3612d76efc8a6eb74728bef5606e6758ee77423e564092b4a518aba569bbb21c9bac5ab7a35b0c6ae7e344c8 - languageName: node - linkType: hard - "@jridgewell/trace-mapping@npm:0.3.9": version: 0.3.9 resolution: "@jridgewell/trace-mapping@npm:0.3.9" @@ -7560,13 +7249,6 @@ __metadata: languageName: node linkType: hard -"@jsdevtools/ono@npm:^7.1.3": - version: 7.1.3 - resolution: "@jsdevtools/ono@npm:7.1.3" - checksum: 2297fcd472ba810bffe8519d2249171132844c7174f3a16634f9260761c8c78bc0428a4190b5b6d72d45673c13918ab9844d706c3ed4ef8f62ab11a2627a08ad - languageName: node - linkType: hard - "@json-rpc-tools/provider@npm:^1.5.5": version: 1.7.6 resolution: "@json-rpc-tools/provider@npm:1.7.6" @@ -7598,13 +7280,6 @@ __metadata: languageName: node linkType: hard -"@juggle/resize-observer@npm:^3.4.0": - version: 3.4.0 - resolution: "@juggle/resize-observer@npm:3.4.0" - checksum: 2505028c05cc2e17639fcad06218b1c4b60f932a4ebb4b41ab546ef8c157031ae377e3f560903801f6d01706dbefd4943b6c4704bf19ed86dfa1c62f1473a570 - languageName: node - linkType: hard - "@lexical/clipboard@npm:0.5.0": version: 0.5.0 resolution: "@lexical/clipboard@npm:0.5.0" @@ -8014,13 +7689,6 @@ __metadata: languageName: node linkType: hard -"@next/env@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/env@npm:13.2.4-canary.5" - checksum: d46767ba464334b8487b671a9b366b25e7c1b6bf262bd66afd62b07b17f52066158fe69b14db3abc8219e1e580cd60e0655af6c71550506770780d1ba28ae92d - languageName: node - linkType: hard - "@next/eslint-plugin-next@npm:13.2.1": version: 13.2.1 resolution: "@next/eslint-plugin-next@npm:13.2.1" @@ -8037,13 +7705,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm-eabi@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-android-arm-eabi@npm:13.2.4-canary.5" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@next/swc-android-arm64@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-android-arm64@npm:13.2.3" @@ -8051,13 +7712,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-android-arm64@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-android-arm64@npm:13.2.4-canary.5" - conditions: os=android & cpu=arm64 - languageName: node - linkType: hard - "@next/swc-darwin-arm64@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-darwin-arm64@npm:13.2.3" @@ -8065,13 +7719,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-arm64@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-darwin-arm64@npm:13.2.4-canary.5" - conditions: os=darwin & cpu=arm64 - languageName: node - linkType: hard - "@next/swc-darwin-x64@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-darwin-x64@npm:13.2.3" @@ -8079,13 +7726,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-darwin-x64@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-darwin-x64@npm:13.2.4-canary.5" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@next/swc-freebsd-x64@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-freebsd-x64@npm:13.2.3" @@ -8093,13 +7733,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-freebsd-x64@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-freebsd-x64@npm:13.2.4-canary.5" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@next/swc-linux-arm-gnueabihf@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-linux-arm-gnueabihf@npm:13.2.3" @@ -8107,13 +7740,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm-gnueabihf@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-linux-arm-gnueabihf@npm:13.2.4-canary.5" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@next/swc-linux-arm64-gnu@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-linux-arm64-gnu@npm:13.2.3" @@ -8121,13 +7747,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-gnu@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-linux-arm64-gnu@npm:13.2.4-canary.5" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@next/swc-linux-arm64-musl@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-linux-arm64-musl@npm:13.2.3" @@ -8135,13 +7754,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-arm64-musl@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-linux-arm64-musl@npm:13.2.4-canary.5" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@next/swc-linux-x64-gnu@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-linux-x64-gnu@npm:13.2.3" @@ -8149,13 +7761,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-gnu@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-linux-x64-gnu@npm:13.2.4-canary.5" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@next/swc-linux-x64-musl@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-linux-x64-musl@npm:13.2.3" @@ -8163,13 +7768,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-linux-x64-musl@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-linux-x64-musl@npm:13.2.4-canary.5" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@next/swc-win32-arm64-msvc@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-win32-arm64-msvc@npm:13.2.3" @@ -8177,13 +7775,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-arm64-msvc@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-win32-arm64-msvc@npm:13.2.4-canary.5" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@next/swc-win32-ia32-msvc@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-win32-ia32-msvc@npm:13.2.3" @@ -8191,13 +7782,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-ia32-msvc@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-win32-ia32-msvc@npm:13.2.4-canary.5" - conditions: os=win32 & cpu=ia32 - languageName: node - linkType: hard - "@next/swc-win32-x64-msvc@npm:13.2.3": version: 13.2.3 resolution: "@next/swc-win32-x64-msvc@npm:13.2.3" @@ -8205,13 +7789,6 @@ __metadata: languageName: node linkType: hard -"@next/swc-win32-x64-msvc@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "@next/swc-win32-x64-msvc@npm:13.2.4-canary.5" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@node-ipc/js-queue@npm:2.0.3": version: 2.0.3 resolution: "@node-ipc/js-queue@npm:2.0.3" @@ -8357,13 +7934,6 @@ __metadata: languageName: node linkType: hard -"@panva/hkdf@npm:1.0.2": - version: 1.0.2 - resolution: "@panva/hkdf@npm:1.0.2" - checksum: 75183b4d5ea816ef516dcea70985c610683579a9e2ac540c2d59b9a3ed27eedaff830a43a1c43c1683556a457c92ac66e09109ee995ab173090e4042c4c4bb03 - languageName: node - linkType: hard - "@panva/hkdf@npm:^1.0.2": version: 1.0.4 resolution: "@panva/hkdf@npm:1.0.4" @@ -8504,7 +8074,7 @@ __metadata: languageName: node linkType: hard -"@prisma/generator-helper@npm:^4.0.0": +"@prisma/generator-helper@npm:^4.13.0": version: 4.13.0 resolution: "@prisma/generator-helper@npm:4.13.0" dependencies: @@ -8564,27 +8134,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-accordion@npm:^1.0.0": - version: 1.1.1 - resolution: "@radix-ui/react-accordion@npm:1.1.1" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.0 - "@radix-ui/react-collapsible": 1.0.2 - "@radix-ui/react-collection": 1.0.2 - "@radix-ui/react-compose-refs": 1.0.0 - "@radix-ui/react-context": 1.0.0 - "@radix-ui/react-direction": 1.0.0 - "@radix-ui/react-id": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-use-controllable-state": 1.0.0 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: a666da8abca778a150e2cb6d2c0e19fa32912b2cd9aca04359a7a50f238d30b056d46a3119f93376da5ee964262a7fe1174f16e34096d9f51d6639beb9f0e8cd - languageName: node - linkType: hard - "@radix-ui/react-arrow@npm:1.0.0": version: 1.0.0 resolution: "@radix-ui/react-arrow@npm:1.0.0" @@ -8627,26 +8176,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-collapsible@npm:1.0.2": - version: 1.0.2 - resolution: "@radix-ui/react-collapsible@npm:1.0.2" - 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-id": 1.0.0 - "@radix-ui/react-presence": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-use-controllable-state": 1.0.0 - "@radix-ui/react-use-layout-effect": 1.0.0 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: a0fcfd3aad5159e1fb6fc54fd09210d7de9c1ee1e19739a5a82af81d3f2233e4e5eb204da326f32e2f2a4740aa4c3b42530b61e36b7ced9f857801809d1d3527 - languageName: node - linkType: hard - "@radix-ui/react-collapsible@npm:^1.0.0": version: 1.0.0 resolution: "@radix-ui/react-collapsible@npm:1.0.0" @@ -8698,22 +8227,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-collection@npm:1.0.2": - version: 1.0.2 - resolution: "@radix-ui/react-collection@npm:1.0.2" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/react-compose-refs": 1.0.0 - "@radix-ui/react-context": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-slot": 1.0.1 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: f7d92f52c7f92b53c055370a5cbf077eea54366706eec9100973737577d841c0cc76a2a577fec67dd85b2853d03c20c4810058f0f511821052358439017e9e5d - languageName: node - linkType: hard - "@radix-ui/react-compose-refs@npm:0.1.0": version: 0.1.0 resolution: "@radix-ui/react-compose-refs@npm:0.1.0" @@ -8846,23 +8359,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-dismissable-layer@npm:1.0.3": - version: 1.0.3 - resolution: "@radix-ui/react-dismissable-layer@npm:1.0.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.0 - "@radix-ui/react-compose-refs": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-use-callback-ref": 1.0.0 - "@radix-ui/react-use-escape-keydown": 1.0.2 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: cb2a38a65dd129d1fd58436bedee765f46f6a6edc2ec15d534a1499c10f768ae06ad874704e030c85869b3ee4b61103076a116dfdb7e0c761a8c8cdc30a5c951 - languageName: node - linkType: hard - "@radix-ui/react-dropdown-menu@npm:^1.0.0": version: 1.0.0 resolution: "@radix-ui/react-dropdown-menu@npm:1.0.0" @@ -9022,32 +8518,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-navigation-menu@npm:^1.0.0": - version: 1.1.2 - resolution: "@radix-ui/react-navigation-menu@npm:1.1.2" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.0 - "@radix-ui/react-collection": 1.0.2 - "@radix-ui/react-compose-refs": 1.0.0 - "@radix-ui/react-context": 1.0.0 - "@radix-ui/react-direction": 1.0.0 - "@radix-ui/react-dismissable-layer": 1.0.3 - "@radix-ui/react-id": 1.0.0 - "@radix-ui/react-presence": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-use-callback-ref": 1.0.0 - "@radix-ui/react-use-controllable-state": 1.0.0 - "@radix-ui/react-use-layout-effect": 1.0.0 - "@radix-ui/react-use-previous": 1.0.0 - "@radix-ui/react-visually-hidden": 1.0.2 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 2c321a10acf532cfead8f63c1eca9acb742fb94de3d67c8c8e2614845086376995e78cb3d31ac1bc4a915e961e5c19d60b52106c1c9196c9789d4da3e831fd5b - languageName: node - linkType: hard - "@radix-ui/react-popover@npm:^1.0.2": version: 1.0.2 resolution: "@radix-ui/react-popover@npm:1.0.2" @@ -9209,19 +8679,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-primitive@npm:1.0.2": - version: 1.0.2 - resolution: "@radix-ui/react-primitive@npm:1.0.2" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/react-slot": 1.0.1 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 070b1770749eb629425ef959c4cdbd86957b83c5286ae4423e55ab1a89fa286a51f5aeee44e3a13eb6ca44771415ac1acbaeb0ba03013b49ecb5253e1a5a8996 - languageName: node - linkType: hard - "@radix-ui/react-radio-group@npm:^1.0.0": version: 1.0.0 resolution: "@radix-ui/react-radio-group@npm:1.0.0" @@ -9266,27 +8723,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-roving-focus@npm:1.0.3": - version: 1.0.3 - resolution: "@radix-ui/react-roving-focus@npm:1.0.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.0 - "@radix-ui/react-collection": 1.0.2 - "@radix-ui/react-compose-refs": 1.0.0 - "@radix-ui/react-context": 1.0.0 - "@radix-ui/react-direction": 1.0.0 - "@radix-ui/react-id": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-use-callback-ref": 1.0.0 - "@radix-ui/react-use-controllable-state": 1.0.0 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 08f33c7cd2962b5603a83c67e54f4b1d43f89138bc598644bde551845a302da2fc32f53cad712aa2b17915b2c598fc36244d88fbc5f01986ea93d788faf32101 - languageName: node - linkType: hard - "@radix-ui/react-select@npm:^0.1.1": version: 0.1.1 resolution: "@radix-ui/react-select@npm:0.1.1" @@ -9396,26 +8832,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-tabs@npm:^1.0.0": - version: 1.0.3 - resolution: "@radix-ui/react-tabs@npm:1.0.3" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/primitive": 1.0.0 - "@radix-ui/react-context": 1.0.0 - "@radix-ui/react-direction": 1.0.0 - "@radix-ui/react-id": 1.0.0 - "@radix-ui/react-presence": 1.0.0 - "@radix-ui/react-primitive": 1.0.2 - "@radix-ui/react-roving-focus": 1.0.3 - "@radix-ui/react-use-controllable-state": 1.0.0 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 603b06a1c071fec7b01cf82c3058aff239079b14f7d7988b559b9877bcd4e3f23d287b8cf38ebef6bb6b0c4f238a80f67525aa5fc9db519fbf1b70777a40f0ec - languageName: node - linkType: hard - "@radix-ui/react-toggle-group@npm:^1.0.0": version: 1.0.0 resolution: "@radix-ui/react-toggle-group@npm:1.0.0" @@ -9661,19 +9077,6 @@ __metadata: languageName: node linkType: hard -"@radix-ui/react-visually-hidden@npm:1.0.2": - version: 1.0.2 - resolution: "@radix-ui/react-visually-hidden@npm:1.0.2" - dependencies: - "@babel/runtime": ^7.13.10 - "@radix-ui/react-primitive": 1.0.2 - peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 67c4a55cfad9a8ff519a9b4ce24d2cc9d78c34d08a128a85de1a0a41228fdeb961eaeb4e50ca0d2080c5e31cef6f6e703cb06786579b44e5c66af161b941adb6 - languageName: node - linkType: hard - "@radix-ui/rect@npm:1.0.0": version: 1.0.0 resolution: "@radix-ui/rect@npm:1.0.0" @@ -9842,25 +9245,6 @@ __metadata: languageName: node linkType: hard -"@rollup/plugin-commonjs@npm:24.0.0": - version: 24.0.0 - resolution: "@rollup/plugin-commonjs@npm:24.0.0" - dependencies: - "@rollup/pluginutils": ^5.0.1 - commondir: ^1.0.1 - estree-walker: ^2.0.2 - glob: ^8.0.3 - is-reference: 1.2.1 - magic-string: ^0.27.0 - peerDependencies: - rollup: ^2.68.0||^3.0.0 - peerDependenciesMeta: - rollup: - optional: true - checksum: e2a1bf295bbb45ab56747f7ce636d4b94046bfecc758a64c7276823b80271e0ba1196642c232aa61d1b1a98abeaddad45486c7227ec19a97d19d16f7661d49a6 - languageName: node - linkType: hard - "@rollup/plugin-inject@npm:^4.0.0": version: 4.0.4 resolution: "@rollup/plugin-inject@npm:4.0.4" @@ -9979,167 +9363,6 @@ __metadata: languageName: node linkType: hard -"@sentry-internal/tracing@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry-internal/tracing@npm:7.49.0" - dependencies: - "@sentry/core": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - tslib: ^1.9.3 - checksum: 765e15b26e5074acb49f7b18f1eac9171cd00f19d9c7b311af1da05d5a8f8e114ee99512deeb9a85e2759ffea521a392da5edda529485abe5d519a3047ca02bf - languageName: node - linkType: hard - -"@sentry/browser@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/browser@npm:7.49.0" - dependencies: - "@sentry-internal/tracing": 7.49.0 - "@sentry/core": 7.49.0 - "@sentry/replay": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - tslib: ^1.9.3 - checksum: 4a7ff0cf566937b59f892d52453895dea0e9b689f6fa0f725909171afc9d2e692ccb767cd277b325355fb4406dc17bbd1398ed9b3a291cd1d83a67e9377335b8 - languageName: node - linkType: hard - -"@sentry/cli@npm:^1.74.6": - version: 1.75.0 - resolution: "@sentry/cli@npm:1.75.0" - dependencies: - https-proxy-agent: ^5.0.0 - mkdirp: ^0.5.5 - node-fetch: ^2.6.7 - progress: ^2.0.3 - proxy-from-env: ^1.1.0 - which: ^2.0.2 - bin: - sentry-cli: bin/sentry-cli - checksum: d5b130bb45bc96d0f738801343455e6a113d1cc9e16166f0d6bfa022809b557159f010677d2dc05adcdfa7f8ad23c401182b6daef720fa2a0bad82fa6e3b2148 - languageName: node - linkType: hard - -"@sentry/core@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/core@npm:7.49.0" - dependencies: - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - tslib: ^1.9.3 - checksum: b1222afd09d219c990e2a8df136c6e540bd13f26616331f3d4e143182b6b4b550426b165dafc52e504a4bff111b634c756202656b383557e4cb3f2ff58022e1b - languageName: node - linkType: hard - -"@sentry/integrations@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/integrations@npm:7.49.0" - dependencies: - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - localforage: ^1.8.1 - tslib: ^1.9.3 - checksum: 547d3bf84e9abfa7a6ab80e7a2589293657166334a9fb75d221f4fa0f8d6327f35b4c2e5bea3f87ea0306392908c159ce3961ceb04f06e82ee656d39aa0cf4d6 - languageName: node - linkType: hard - -"@sentry/nextjs@npm:^7.20.0": - version: 7.49.0 - resolution: "@sentry/nextjs@npm:7.49.0" - dependencies: - "@rollup/plugin-commonjs": 24.0.0 - "@sentry/core": 7.49.0 - "@sentry/integrations": 7.49.0 - "@sentry/node": 7.49.0 - "@sentry/react": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - "@sentry/webpack-plugin": 1.20.0 - chalk: 3.0.0 - rollup: 2.78.0 - stacktrace-parser: ^0.1.10 - tslib: ^1.9.3 - peerDependencies: - next: ^10.0.8 || ^11.0 || ^12.0 || ^13.0 - react: 16.x || 17.x || 18.x - webpack: ">= 4.0.0" - peerDependenciesMeta: - webpack: - optional: true - checksum: 79a330e77851d2c809db5909d9591b9c88145a75ce0a9856860dee9b627ac82071298bf92ba5dae7e20a21ea4c7052dd7f78408b12d6769d40cacd0f7b3162b2 - languageName: node - linkType: hard - -"@sentry/node@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/node@npm:7.49.0" - dependencies: - "@sentry-internal/tracing": 7.49.0 - "@sentry/core": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - cookie: ^0.4.1 - https-proxy-agent: ^5.0.0 - lru_map: ^0.3.3 - tslib: ^1.9.3 - checksum: 13650fb0384e438f18c4cba1d0cff86d4be4c61da4ed12d4fa720bc37627ff7190c2368f934287cb39fe898b38e24f7b097fcb5e4b10aaf24131c46145f1e3c2 - languageName: node - linkType: hard - -"@sentry/react@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/react@npm:7.49.0" - dependencies: - "@sentry/browser": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - hoist-non-react-statics: ^3.3.2 - tslib: ^1.9.3 - peerDependencies: - react: 15.x || 16.x || 17.x || 18.x - checksum: 73cdef3362c9263c04ecdfa677f7a7b39109d6247737f2592b21e17fdfcfcd0fda3ac3a2fafcd1db8b2fe34a5d1882e7062fe931c590fbb8cb290149f71b24f0 - languageName: node - linkType: hard - -"@sentry/replay@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/replay@npm:7.49.0" - dependencies: - "@sentry/core": 7.49.0 - "@sentry/types": 7.49.0 - "@sentry/utils": 7.49.0 - checksum: 0789ead51e2284fcf6871ba11c4b022de608b31354aa1c1fc30bb26811bad3e353a80dfb2a1517b1567c39be80e263e67f4d5d1efb0747048ee173d855daa308 - languageName: node - linkType: hard - -"@sentry/types@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/types@npm:7.49.0" - checksum: c6665e5ea14aa0288a44daf0ccbf8ab3134ec7ab61a6cda57e233c865a9c1ca3a9e45b5ab75705d2d3506c357e08cc500a550794fe6e888d363e0254b46c057b - languageName: node - linkType: hard - -"@sentry/utils@npm:7.49.0": - version: 7.49.0 - resolution: "@sentry/utils@npm:7.49.0" - dependencies: - "@sentry/types": 7.49.0 - tslib: ^1.9.3 - checksum: b3382418fbc98a685c3c01571ef24217d8cbcb283f8e12e2e44a518d9697e9fadcaa48c24e31063ecad6a13f3fc7b0caf0dcb8e7c0097bc2613e8f465de5d0be - languageName: node - linkType: hard - -"@sentry/webpack-plugin@npm:1.20.0": - version: 1.20.0 - resolution: "@sentry/webpack-plugin@npm:1.20.0" - dependencies: - "@sentry/cli": ^1.74.6 - webpack-sources: ^2.0.0 || ^3.0.0 - checksum: d582026c3686f287ddc23de4e64c6f03afc2a73a84ec5a8fd3eded56a45683094bf132f4c624a35386fff872eb518771109d5c0b91a2cf79da0aff035c5bb05b - languageName: node - linkType: hard - "@shuding/opentype.js@npm:1.4.0-beta.0": version: 1.4.0-beta.0 resolution: "@shuding/opentype.js@npm:1.4.0-beta.0" @@ -10152,29 +9375,6 @@ __metadata: languageName: node linkType: hard -"@sideway/address@npm:^4.1.3": - version: 4.1.4 - resolution: "@sideway/address@npm:4.1.4" - dependencies: - "@hapi/hoek": ^9.0.0 - checksum: b9fca2a93ac2c975ba12e0a6d97853832fb1f4fb02393015e012b47fa916a75ca95102d77214b2a29a2784740df2407951af8c5dde054824c65577fd293c4cdb - languageName: node - linkType: hard - -"@sideway/formula@npm:^3.0.1": - version: 3.0.1 - resolution: "@sideway/formula@npm:3.0.1" - checksum: e4beeebc9dbe2ff4ef0def15cec0165e00d1612e3d7cea0bc9ce5175c3263fc2c818b679bd558957f49400ee7be9d4e5ac90487e1625b4932e15c4aa7919c57a - languageName: node - linkType: hard - -"@sideway/pinpoint@npm:^2.0.0": - version: 2.0.0 - resolution: "@sideway/pinpoint@npm:2.0.0" - checksum: 0f4491e5897fcf5bf02c46f5c359c56a314e90ba243f42f0c100437935daa2488f20482f0f77186bd6bf43345095a95d8143ecf8b1f4d876a7bc0806aba9c3d2 - languageName: node - linkType: hard - "@sinclair/typebox@npm:^0.24.1": version: 0.24.19 resolution: "@sinclair/typebox@npm:0.24.19" @@ -10266,27 +9466,13 @@ __metadata: languageName: node linkType: hard -"@stablelib/base64@npm:^1.0.0, @stablelib/base64@npm:^1.0.1": +"@stablelib/base64@npm:^1.0.0": version: 1.0.1 resolution: "@stablelib/base64@npm:1.0.1" checksum: 3ef4466d1d6889ac3fc67407bc21aa079953981c322eeca3b29f426d05506c63011faab1bfc042d7406e0677a94de6c9d2db2ce079afdd1eccae90031bfb5859 languageName: node linkType: hard -"@stablelib/hex@npm:^1.0.1": - version: 1.0.1 - resolution: "@stablelib/hex@npm:1.0.1" - checksum: 557f1c5d6b42963deee7627d4be1ae3542607851c5561e9419c42682d09562ebd3a06e2d92e088c52213a71ed121ec38221abfc5acd9e65707a77ecee3c96915 - languageName: node - linkType: hard - -"@stablelib/utf8@npm:^1.0.1": - version: 1.0.1 - resolution: "@stablelib/utf8@npm:1.0.1" - checksum: 098d9446f38a641a8ee265a7fc3467fefd561fc46ca65e1216c1df7a9b4d004e616347ce79f4b83d62e944f0f91d6be4af029ad0b027a20c3271951921ebfac5 - languageName: node - linkType: hard - "@storybook/addon-actions@npm:6.5.13, @storybook/addon-actions@npm:^6.5.13": version: 6.5.13 resolution: "@storybook/addon-actions@npm:6.5.13" @@ -12307,25 +11493,6 @@ __metadata: languageName: node linkType: hard -"@typeform/embed-react@npm:^1.2.4": - version: 1.21.0 - resolution: "@typeform/embed-react@npm:1.21.0" - dependencies: - "@typeform/embed": 1.38.0 - fast-deep-equal: ^3.1.3 - peerDependencies: - react: ">=16.8.0" - checksum: 1d91cb797dfe7b27e08798f7a571f34724a8f56bf9c89a8ed2a454820efce2de4db44fd4a18f446573784c28f79478f269c1719500e1b332e7ea34ea77ffa185 - languageName: node - linkType: hard - -"@typeform/embed@npm:1.38.0": - version: 1.38.0 - resolution: "@typeform/embed@npm:1.38.0" - checksum: 41115134e5cee28f5e031181b4525c7885d23707699cf183921110262717c7544bfd101428267410b812914c235687783e373ce98e37bdc447d72f8177663597 - languageName: node - linkType: hard - "@types/accept-language-parser@npm:1.5.2": version: 1.5.2 resolution: "@types/accept-language-parser@npm:1.5.2" @@ -12538,13 +11705,6 @@ __metadata: languageName: node linkType: hard -"@types/debounce@npm:^1.2.1": - version: 1.2.1 - resolution: "@types/debounce@npm:1.2.1" - checksum: bea6d414acefbee50adfe87cee10f8a855d033e4778567ab03bdc3cb2648b6bf9237ca53f4ee76fe4be75f77f86d4688411499626fe409bc870f53631d24231f - languageName: node - linkType: hard - "@types/debug@npm:4.1.7, @types/debug@npm:^4.0.0": version: 4.1.7 resolution: "@types/debug@npm:4.1.7" @@ -12711,13 +11871,6 @@ __metadata: languageName: node linkType: hard -"@types/gtag.js@npm:^0.0.10": - version: 0.0.10 - resolution: "@types/gtag.js@npm:0.0.10" - checksum: 5c18ffdc64418887763ec1a564e73c9fbf222ff3eece1fbc35a182fdd884e7884bb7708f67e6e4939f157bb9f2cb7a4aff42be7834527e35c5aac4f98783164c - languageName: node - linkType: hard - "@types/hast@npm:^2.0.0": version: 2.3.4 resolution: "@types/hast@npm:2.3.4" @@ -12841,7 +11994,7 @@ __metadata: languageName: node linkType: hard -"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.4, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.6, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": +"@types/json-schema@npm:*, @types/json-schema@npm:^7.0.4, @types/json-schema@npm:^7.0.5, @types/json-schema@npm:^7.0.7, @types/json-schema@npm:^7.0.8, @types/json-schema@npm:^7.0.9": version: 7.0.11 resolution: "@types/json-schema@npm:7.0.11" checksum: 527bddfe62db9012fccd7627794bd4c71beb77601861055d87e3ee464f2217c85fca7a4b56ae677478367bbd248dbde13553312b7d4dbc702a2f2bbf60c4018d @@ -13046,7 +12199,7 @@ __metadata: languageName: node linkType: hard -"@types/parse5@npm:^6.0.0, @types/parse5@npm:^6.0.3": +"@types/parse5@npm:^6.0.3": version: 6.0.3 resolution: "@types/parse5@npm:6.0.3" checksum: ddb59ee4144af5dfcc508a8dcf32f37879d11e12559561e65788756b95b33e6f03ea027d88e1f5408f9b7bfb656bf630ace31a2169edf44151daaf8dd58df1b7 @@ -13124,13 +12277,6 @@ __metadata: languageName: node linkType: hard -"@types/react-gtm-module@npm:^2.0.1": - version: 2.0.1 - resolution: "@types/react-gtm-module@npm:2.0.1" - checksum: cd57eece80d80453e79b16c977e13d51dc22c19af69a16ac6ea1eda01ab471f4dbe46ce80ce04ef13a0ecd0082372addec4c2e394978d1ce7fe86dbda4dfb922 - languageName: node - linkType: hard - "@types/react-phone-number-input@npm:^3.0.14": version: 3.0.14 resolution: "@types/react-phone-number-input@npm:3.0.14" @@ -13660,15 +12806,6 @@ __metadata: languageName: node linkType: hard -"@vercel/analytics@npm:^0.1.6": - version: 0.1.11 - resolution: "@vercel/analytics@npm:0.1.11" - peerDependencies: - react: ^16.8||^17||^18 - checksum: 05b8180ac6e23ebe7c09d74c43f8ee78c408cd0b6546e676389cbf4fba44dfeeae3648c9b52e2421be64fe3aeee8b026e6ea4bdfc0589fb5780670f2b090a167 - languageName: node - linkType: hard - "@vercel/edge-config@npm:^0.1.1": version: 0.1.1 resolution: "@vercel/edge-config@npm:0.1.1" @@ -14499,7 +13636,7 @@ __metadata: languageName: node linkType: hard -"accepts@npm:^1.3.7, accepts@npm:~1.3.5, accepts@npm:~1.3.8": +"accepts@npm:~1.3.5, accepts@npm:~1.3.8": version: 1.3.8 resolution: "accepts@npm:1.3.8" dependencies: @@ -15121,13 +14258,6 @@ __metadata: languageName: node linkType: hard -"array-flatten@npm:^3.0.0": - version: 3.0.0 - resolution: "array-flatten@npm:3.0.0" - checksum: ad00c51ca70cf837501fb6da823ba39bc6a86b43d0b76d840daa02fe0f8e68e94ad5bc2d0d038053118b879aaca8ea6168c32c7387a2fa5b118ad28db4f1f863 - languageName: node - linkType: hard - "array-includes@npm:^3.0.3, array-includes@npm:^3.1.5": version: 3.1.5 resolution: "array-includes@npm:3.1.5" @@ -15899,7 +15029,7 @@ __metadata: languageName: node linkType: hard -"base64-js@npm:^1.0.2, base64-js@npm:^1.1.2, base64-js@npm:^1.3.0, base64-js@npm:^1.3.1, base64-js@npm:^1.5.1": +"base64-js@npm:^1.0.2, base64-js@npm:^1.3.0, base64-js@npm:^1.3.1, base64-js@npm:^1.5.1": version: 1.5.1 resolution: "base64-js@npm:1.5.1" checksum: 669632eb3745404c2f822a18fc3a0122d2f9a7a13f7fb8b5823ee19d1d2ff9ee5b52c53367176ea4ad093c332fd5ab4bd0ebae5a8e27917a4105a4cfc86b1005 @@ -16275,15 +15405,6 @@ __metadata: languageName: node linkType: hard -"brotli@npm:^1.3.2": - version: 1.3.3 - resolution: "brotli@npm:1.3.3" - dependencies: - base64-js: ^1.1.2 - checksum: 2c97329f4ccb8e4332cedd2f63b85c2e15ffb305b1cbf046df86201434caf93cb7992ca73c0f7053b6a1417f595069ec7783c26e01510cefc10035a0f466e594 - languageName: node - linkType: hard - "browser-assert@npm:^1.2.1": version: 1.2.1 resolution: "browser-assert@npm:1.2.1" @@ -17036,16 +16157,6 @@ __metadata: languageName: node linkType: hard -"chalk@npm:3.0.0, chalk@npm:^3.0.0": - version: 3.0.0 - resolution: "chalk@npm:3.0.0" - dependencies: - ansi-styles: ^4.1.0 - supports-color: ^7.1.0 - checksum: 8e3ddf3981c4da405ddbd7d9c8d91944ddf6e33d6837756979f7840a29272a69a5189ecae0ff84006750d6d1e92368d413335eab4db5476db6e6703a1d1e0505 - languageName: node - linkType: hard - "chalk@npm:4.1.1": version: 4.1.1 resolution: "chalk@npm:4.1.1" @@ -17090,6 +16201,16 @@ __metadata: languageName: node linkType: hard +"chalk@npm:^3.0.0": + version: 3.0.0 + resolution: "chalk@npm:3.0.0" + dependencies: + ansi-styles: ^4.1.0 + supports-color: ^7.1.0 + checksum: 8e3ddf3981c4da405ddbd7d9c8d91944ddf6e33d6837756979f7840a29272a69a5189ecae0ff84006750d6d1e92368d413335eab4db5476db6e6703a1d1e0505 + languageName: node + linkType: hard + "change-case@npm:^2.3.0": version: 2.3.1 resolution: "change-case@npm:2.3.1" @@ -17191,13 +16312,6 @@ __metadata: languageName: node linkType: hard -"chart.js@npm:^3.7.1": - version: 3.9.1 - resolution: "chart.js@npm:3.9.1" - checksum: 9ab0c0ac01215af0b3f020f2e313030fd6e347b48ed17d5484ee9c4e8ead45e78ae71bea16c397621c386b409ce0b14bf17f9f6c2492cd15b56c0f433efdfff6 - languageName: node - linkType: hard - "check-more-types@npm:2.24.0": version: 2.24.0 resolution: "check-more-types@npm:2.24.0" @@ -17391,16 +16505,6 @@ __metadata: languageName: node linkType: hard -"cleye@npm:1.2.1": - version: 1.2.1 - resolution: "cleye@npm:1.2.1" - dependencies: - terminal-columns: ^1.4.1 - type-flag: ^2.1.0 - checksum: 80ccfe7aba18d61bcf30248a7fd55848df50c1eb4215bad8b661716335ae1bca504e649e7b0204976c1d1c104cab0e8d4141d9e9b4333ec3696de11c9ed4a3b7 - languageName: node - linkType: hard - "cli-boxes@npm:^2.2.0, cli-boxes@npm:^2.2.1": version: 2.2.1 resolution: "cli-boxes@npm:2.2.1" @@ -17480,7 +16584,7 @@ __metadata: languageName: node linkType: hard -"client-only@npm:0.0.1, client-only@npm:^0.0.1": +"client-only@npm:0.0.1": version: 0.0.1 resolution: "client-only@npm:0.0.1" checksum: 0c16bf660dadb90610553c1d8946a7fdfb81d624adea073b8440b7d795d5b5b08beb3c950c6a2cf16279365a3265158a236876d92bce16423c485c322d7dfaf8 @@ -17626,15 +16730,6 @@ __metadata: languageName: node linkType: hard -"cobe@npm:^0.4.1": - version: 0.4.2 - resolution: "cobe@npm:0.4.2" - dependencies: - phenomenon: ^1.6.0 - checksum: 4c11dd8cf3c6614a2ff2f6eacca5283278c6db06c2e441011aa90f58c66d045e66ef98a5e4b9d0282d58ee22f5b87d965538aa4c6064ed97f436f3e4cd9ee3ed - languageName: node - linkType: hard - "code-block-writer@npm:^11.0.0": version: 11.0.0 resolution: "code-block-writer@npm:11.0.0" @@ -17772,13 +16867,6 @@ __metadata: languageName: node linkType: hard -"commander@npm:6.2.0": - version: 6.2.0 - resolution: "commander@npm:6.2.0" - checksum: 59baef90f07ba8ae941e9d41a0a15be721d69e948ff833c218d936ffbbe2141580ce1ae2b1103c41436c30eefd1eb7bc3285de8936cd283fb78409f54a93f45a - languageName: node - linkType: hard - "commander@npm:9.1.0": version: 9.1.0 resolution: "commander@npm:9.1.0" @@ -17786,7 +16874,7 @@ __metadata: languageName: node linkType: hard -"commander@npm:^2.19.0, commander@npm:^2.20.0, commander@npm:^2.20.3, commander@npm:^2.7.1, commander@npm:^2.8.1, commander@npm:^2.9.0": +"commander@npm:^2.19.0, commander@npm:^2.20.0, commander@npm:^2.20.3, commander@npm:^2.8.1, commander@npm:^2.9.0": version: 2.20.3 resolution: "commander@npm:2.20.3" checksum: ab8c07884e42c3a8dbc5dd9592c606176c7eb5c1ca5ff274bcf907039b2c41de3626f684ea75ccf4d361ba004bbaff1f577d5384c155f3871e456bdf27becf9e @@ -17923,26 +17011,6 @@ __metadata: languageName: node linkType: hard -"concurrently@npm:^7.6.0": - version: 7.6.0 - resolution: "concurrently@npm:7.6.0" - dependencies: - chalk: ^4.1.0 - date-fns: ^2.29.1 - lodash: ^4.17.21 - rxjs: ^7.0.0 - shell-quote: ^1.7.3 - spawn-command: ^0.0.2-1 - supports-color: ^8.1.0 - tree-kill: ^1.2.2 - yargs: ^17.3.1 - bin: - conc: dist/bin/concurrently.js - concurrently: dist/bin/concurrently.js - checksum: f705c9a7960f1b16559ca64958043faeeef6385c0bf30a03d1375e15ab2d96dba4f8166f1bbbb1c85e8da35ca0ce3c353875d71dff2aa132b2357bb533b3332e - languageName: node - linkType: hard - "console-browserify@npm:^1.1.0": version: 1.2.0 resolution: "console-browserify@npm:1.2.0" @@ -17974,7 +17042,7 @@ __metadata: languageName: node linkType: hard -"content-disposition@npm:0.5.4, content-disposition@npm:^0.5.2, content-disposition@npm:^0.5.3": +"content-disposition@npm:0.5.4, content-disposition@npm:^0.5.2": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" dependencies: @@ -18024,7 +17092,7 @@ __metadata: languageName: node linkType: hard -"cookie@npm:0.4.2, cookie@npm:^0.4.1, cookie@npm:^0.4.2": +"cookie@npm:0.4.2, cookie@npm:^0.4.2": version: 0.4.2 resolution: "cookie@npm:0.4.2" checksum: a00833c998bedf8e787b4c342defe5fa419abd96b32f4464f718b91022586b8f1bafbddd499288e75c037642493c83083da426c6a9080d309e3bd90fd11baa9b @@ -18299,18 +17367,6 @@ __metadata: languageName: node linkType: hard -"cross-env@npm:^7.0.3": - version: 7.0.3 - resolution: "cross-env@npm:7.0.3" - dependencies: - cross-spawn: ^7.0.1 - bin: - cross-env: src/bin/cross-env.js - cross-env-shell: src/bin/cross-env-shell.js - checksum: 26f2f3ea2ab32617f57effb70d329c2070d2f5630adc800985d8b30b56e8bf7f5f439dd3a0358b79cee6f930afc23cf8e23515f17ccfb30092c6b62c6b630a79 - languageName: node - linkType: hard - "cross-fetch@npm:3.1.5, cross-fetch@npm:^3.1.4, cross-fetch@npm:^3.1.5": version: 3.1.5 resolution: "cross-fetch@npm:3.1.5" @@ -18320,7 +17376,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.1, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": +"cross-spawn@npm:7.0.3, cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" dependencies: @@ -18721,48 +17777,13 @@ __metadata: languageName: node linkType: hard -"date-fns@npm:^2.28.0, date-fns@npm:^2.29.1, date-fns@npm:^2.29.3": +"date-fns@npm:^2.28.0, date-fns@npm:^2.29.3": version: 2.29.3 resolution: "date-fns@npm:2.29.3" checksum: e01cf5b62af04e05dfff921bb9c9933310ed0e1ae9a81eb8653452e64dc841acf7f6e01e1a5ae5644d0337e9a7f936175fd2cb6819dc122fdd9c5e86c56be484 languageName: node linkType: hard -"datocms-listen@npm:^0.1.9": - version: 0.1.14 - resolution: "datocms-listen@npm:0.1.14" - checksum: 220309b8c35179160c2992b4f266cba10093984c51c16f459cc404962c8f5d859d596da42d70e3193190c227e31ac7406f2e2944830a35673be2757f895bfa93 - languageName: node - linkType: hard - -"datocms-structured-text-generic-html-renderer@npm:^2.0.1, datocms-structured-text-generic-html-renderer@npm:^2.0.4": - version: 2.0.4 - resolution: "datocms-structured-text-generic-html-renderer@npm:2.0.4" - dependencies: - datocms-structured-text-utils: ^2.0.4 - checksum: 58831e7bbcf8b8a18eb79af482898ba59b22ca18a52fafd9e855dce91933c26d0ae5ba53f002b1f34f4ebc106eb679232f3d00c560a4921b648a1787546f32b2 - languageName: node - linkType: hard - -"datocms-structured-text-to-plain-text@npm:^2.0.4": - version: 2.0.4 - resolution: "datocms-structured-text-to-plain-text@npm:2.0.4" - dependencies: - datocms-structured-text-generic-html-renderer: ^2.0.4 - datocms-structured-text-utils: ^2.0.4 - checksum: 24b36817849e6f8959bcdb3082f25487584d0f376765c0f1f94f3b549c10502220ea1c4936e6b323cc68d84da75488ce94d68528d9acecb835f3e5bcfb76a84a - languageName: node - linkType: hard - -"datocms-structured-text-utils@npm:^2.0.1, datocms-structured-text-utils@npm:^2.0.4": - version: 2.0.4 - resolution: "datocms-structured-text-utils@npm:2.0.4" - dependencies: - array-flatten: ^3.0.0 - checksum: 9e10d4faae0c47eebeee028cb0e8c459ecea6fb3dc4950ed0ab310d9b7f18d8ee014071142a42098b20c77264b60a2dd928e9a6462ae4ffea50a70d867f82f34 - languageName: node - linkType: hard - "dayjs-business-days2@npm:1.1.0": version: 1.1.0 resolution: "dayjs-business-days2@npm:1.1.0" @@ -18786,13 +17807,6 @@ __metadata: languageName: node linkType: hard -"debounce@npm:^1.2.1": - version: 1.2.1 - resolution: "debounce@npm:1.2.1" - checksum: 682a89506d9e54fb109526f4da255c5546102fbb8e3ae75eef3b04effaf5d4853756aee97475cd4650641869794e44f410eeb20ace2b18ea592287ab2038519e - languageName: node - linkType: hard - "debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.0, debug@npm:^2.6.9": version: 2.6.9 resolution: "debug@npm:2.6.9" @@ -19127,7 +18141,7 @@ __metadata: languageName: node linkType: hard -"depd@npm:^1.1.0, depd@npm:~1.1.2": +"depd@npm:~1.1.2": version: 1.1.2 resolution: "depd@npm:1.1.2" checksum: 6b406620d269619852885ce15965272b829df6f409724415e0002c8632ab6a8c0a08ec1f0bd2add05dc7bd7507606f7e2cc034fa24224ab829580040b835ecd9 @@ -19141,7 +18155,7 @@ __metadata: languageName: node linkType: hard -"dequal@npm:^2.0.2, dequal@npm:^2.0.3": +"dequal@npm:^2.0.3": version: 2.0.3 resolution: "dequal@npm:2.0.3" checksum: 8679b850e1a3d0ebbc46ee780d5df7b478c23f335887464023a631d1b9af051ad4a6595a44220f9ff8ff95a8ddccf019b5ad778a976fd7bbf77383d36f412f90 @@ -19315,15 +18329,6 @@ __metadata: languageName: node linkType: hard -"doctrine@npm:3.0.0, doctrine@npm:^3.0.0": - version: 3.0.0 - resolution: "doctrine@npm:3.0.0" - dependencies: - esutils: ^2.0.2 - checksum: fd7673ca77fe26cd5cba38d816bc72d641f500f1f9b25b83e8ce28827fe2da7ad583a8da26ab6af85f834138cf8dae9f69b0cd6ab925f52ddab1754db44d99ce - languageName: node - linkType: hard - "doctrine@npm:^2.1.0": version: 2.1.0 resolution: "doctrine@npm:2.1.0" @@ -19333,6 +18338,15 @@ __metadata: languageName: node linkType: hard +"doctrine@npm:^3.0.0": + version: 3.0.0 + resolution: "doctrine@npm:3.0.0" + dependencies: + esutils: ^2.0.2 + checksum: fd7673ca77fe26cd5cba38d816bc72d641f500f1f9b25b83e8ce28827fe2da7ad583a8da26ab6af85f834138cf8dae9f69b0cd6ab925f52ddab1754db44d99ce + languageName: node + linkType: hard + "dom-accessibility-api@npm:^0.5.9": version: 0.5.14 resolution: "dom-accessibility-api@npm:0.5.14" @@ -19553,13 +18567,6 @@ __metadata: languageName: node linkType: hard -"dotenv@npm:^10.0.0": - version: 10.0.0 - resolution: "dotenv@npm:10.0.0" - checksum: f412c5fe8c24fbe313d302d2500e247ba8a1946492db405a4de4d30dd0eb186a88a43f13c958c5a7de303938949c4231c56994f97d05c4bc1f22478d631b4005 - languageName: node - linkType: hard - "dotenv@npm:^16.0.0, dotenv@npm:^16.0.1": version: 16.0.1 resolution: "dotenv@npm:16.0.1" @@ -22104,13 +21111,6 @@ __metadata: languageName: node linkType: hard -"fathom-client@npm:^3.5.0": - version: 3.5.0 - resolution: "fathom-client@npm:3.5.0" - checksum: 16299bd50dc6bcc716a0d6c81fdad65272ff4f08d68695b64b00e19a04de14771c96ddc1205ce7c4220eddd0d3cf70c65ee9c8fb32b8b776ef155faf61e44479 - languageName: node - linkType: hard - "fault@npm:^1.0.0": version: 1.0.4 resolution: "fault@npm:1.0.4" @@ -22722,7 +21722,7 @@ __metadata: languageName: node linkType: hard -"fresh@npm:0.5.2, fresh@npm:^0.5.2": +"fresh@npm:0.5.2": version: 0.5.2 resolution: "fresh@npm:0.5.2" checksum: 13ea8b08f91e669a64e3ba3a20eb79d7ca5379a81f1ff7f4310d54e2320645503cc0c78daedc93dfb6191287295f6479544a649c64d8e41a1c0fb0c221552346 @@ -22775,17 +21775,6 @@ __metadata: languageName: node linkType: hard -"fs-extra@npm:^8.0.1": - version: 8.1.0 - resolution: "fs-extra@npm:8.1.0" - dependencies: - graceful-fs: ^4.2.0 - jsonfile: ^4.0.0 - universalify: ^0.1.0 - checksum: bf44f0e6cea59d5ce071bba4c43ca76d216f89e402dc6285c128abc0902e9b8525135aa808adad72c9d5d218e9f4bcc63962815529ff2f684ad532172a284880 - languageName: node - linkType: hard - "fs-extra@npm:^9.0.0, fs-extra@npm:^9.0.1": version: 9.1.0 resolution: "fs-extra@npm:9.1.0" @@ -23180,13 +22169,6 @@ __metadata: languageName: node linkType: hard -"github-buttons@npm:^2.22.0": - version: 2.27.0 - resolution: "github-buttons@npm:2.27.0" - checksum: 1954e04fc7e65a5c14b9c0726b486015deee648c9de62f7f0d4267bbd548090f57137d33e1755490736b10578c4fc7bf149fe64c296d7634a1bfc3707e25e96b - languageName: node - linkType: hard - "github-slugger@npm:^1.0.0, github-slugger@npm:^1.3.0": version: 1.4.0 resolution: "github-slugger@npm:1.4.0" @@ -23314,7 +22296,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.1, glob@npm:^8.0.3, glob@npm:^8.1.0": +"glob@npm:^8.0.1, glob@npm:^8.1.0": version: 8.1.0 resolution: "glob@npm:8.1.0" dependencies: @@ -23427,19 +22409,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^13.1.3": - version: 13.1.4 - resolution: "globby@npm:13.1.4" - dependencies: - dir-glob: ^3.0.1 - fast-glob: ^3.2.11 - ignore: ^5.2.0 - merge2: ^1.4.1 - slash: ^4.0.0 - checksum: e8bc13879972082d590cd1b0e27080d90d2e12fff7eeb2cee9329c29115ace14cc5b9f899e3d6beb136ba826307a727016658919a6f383e1511d698acee81741 - languageName: node - linkType: hard - "globby@npm:^9.2.0": version: 9.2.0 resolution: "globby@npm:9.2.0" @@ -23642,13 +22611,6 @@ __metadata: languageName: node linkType: hard -"gsap@npm:^3.11.0": - version: 3.11.5 - resolution: "gsap@npm:3.11.5" - checksum: 0d62c9405ed9703f8c65e6190b648d9691fa84bd03bcde0d286cd29d80c5865c22aa57a128b33299c0c15d41473e83f13be1645700325f3821dd912a3022350d - languageName: node - linkType: hard - "gtoken@npm:^5.0.4": version: 5.3.2 resolution: "gtoken@npm:5.3.2" @@ -23910,21 +22872,6 @@ __metadata: languageName: node linkType: hard -"hast-util-from-parse5@npm:^7.0.0": - version: 7.1.2 - resolution: "hast-util-from-parse5@npm:7.1.2" - dependencies: - "@types/hast": ^2.0.0 - "@types/unist": ^2.0.0 - hastscript: ^7.0.0 - property-information: ^6.0.0 - vfile: ^5.0.0 - vfile-location: ^4.0.0 - web-namespaces: ^2.0.0 - checksum: 7b4ed5b508b1352127c6719f7b0c0880190cf9859fe54ccaf7c9228ecf623d36cef3097910b3874d2fe1aac6bf4cf45d3cc2303daac3135a05e9ade6534ddddb - languageName: node - linkType: hard - "hast-util-parse-selector@npm:^2.0.0": version: 2.2.5 resolution: "hast-util-parse-selector@npm:2.2.5" @@ -23932,15 +22879,6 @@ __metadata: languageName: node linkType: hard -"hast-util-parse-selector@npm:^3.0.0": - version: 3.1.1 - resolution: "hast-util-parse-selector@npm:3.1.1" - dependencies: - "@types/hast": ^2.0.0 - checksum: 511d373465f60dd65e924f88bf0954085f4fb6e3a2b062a4b5ac43b93cbfd36a8dce6234b5d1e3e63499d936375687e83fc5da55628b22bd6b581b5ee167d1c4 - languageName: node - linkType: hard - "hast-util-raw@npm:6.0.1": version: 6.0.1 resolution: "hast-util-raw@npm:6.0.1" @@ -23959,34 +22897,6 @@ __metadata: languageName: node linkType: hard -"hast-util-raw@npm:^7.0.0": - version: 7.2.3 - resolution: "hast-util-raw@npm:7.2.3" - dependencies: - "@types/hast": ^2.0.0 - "@types/parse5": ^6.0.0 - hast-util-from-parse5: ^7.0.0 - hast-util-to-parse5: ^7.0.0 - html-void-elements: ^2.0.0 - parse5: ^6.0.0 - unist-util-position: ^4.0.0 - unist-util-visit: ^4.0.0 - vfile: ^5.0.0 - web-namespaces: ^2.0.0 - zwitch: ^2.0.0 - checksum: 21857eea3ffb8fd92d2d9be7793b56d0b2c40db03c4cfa14828855ae41d7c584917aa83efb7157220b2e41e25e95f81f24679ac342c35145e5f1c1d39015f81f - languageName: node - linkType: hard - -"hast-util-sanitize@npm:^4.0.0": - version: 4.1.0 - resolution: "hast-util-sanitize@npm:4.1.0" - dependencies: - "@types/hast": ^2.0.0 - checksum: 4f1786d6556bae6485a657a3e77e7e71b573fd20e4e2d70678e0f445eb8fe3dc6c4441cda6d18b89a79b53e2c03b6232eb6c470ecd478737050724ea09398603 - languageName: node - linkType: hard - "hast-util-to-estree@npm:^2.0.0": version: 2.0.2 resolution: "hast-util-to-estree@npm:2.0.2" @@ -24009,25 +22919,6 @@ __metadata: languageName: node linkType: hard -"hast-util-to-html@npm:^8.0.0": - version: 8.0.4 - resolution: "hast-util-to-html@npm:8.0.4" - dependencies: - "@types/hast": ^2.0.0 - "@types/unist": ^2.0.0 - ccount: ^2.0.0 - comma-separated-tokens: ^2.0.0 - hast-util-raw: ^7.0.0 - hast-util-whitespace: ^2.0.0 - html-void-elements: ^2.0.0 - property-information: ^6.0.0 - space-separated-tokens: ^2.0.0 - stringify-entities: ^4.0.0 - zwitch: ^2.0.4 - checksum: 8f2ae071df2ced5afb4f19f76af8fd3a2f837dc47bcc1c0e0c1578d29dafcd28738f9617505d13c4a2adf13d70e043143e2ad8f130d5554ab4fc11bfa8f74094 - languageName: node - linkType: hard - "hast-util-to-parse5@npm:^6.0.0": version: 6.0.0 resolution: "hast-util-to-parse5@npm:6.0.0" @@ -24041,20 +22932,6 @@ __metadata: languageName: node linkType: hard -"hast-util-to-parse5@npm:^7.0.0": - version: 7.1.0 - resolution: "hast-util-to-parse5@npm:7.1.0" - dependencies: - "@types/hast": ^2.0.0 - comma-separated-tokens: ^2.0.0 - property-information: ^6.0.0 - space-separated-tokens: ^2.0.0 - web-namespaces: ^2.0.0 - zwitch: ^2.0.0 - checksum: 3a7f2175a3db599bbae7e49ba73d3e5e688e5efca7590ff50130ba108ad649f728402815d47db49146f6b94c14c934bf119915da9f6964e38802c122bcc8af6b - languageName: node - linkType: hard - "hast-util-whitespace@npm:^2.0.0": version: 2.0.0 resolution: "hast-util-whitespace@npm:2.0.0" @@ -24075,19 +22952,6 @@ __metadata: languageName: node linkType: hard -"hastscript@npm:^7.0.0": - version: 7.2.0 - resolution: "hastscript@npm:7.2.0" - dependencies: - "@types/hast": ^2.0.0 - comma-separated-tokens: ^2.0.0 - hast-util-parse-selector: ^3.0.0 - property-information: ^6.0.0 - space-separated-tokens: ^2.0.0 - checksum: 928a21576ff7b9a8c945e7940bcbf2d27f770edb4279d4d04b33dc90753e26ca35c1172d626f54afebd377b2afa32331e399feb3eb0f7b91a399dca5927078ae - languageName: node - linkType: hard - "he@npm:^1.2.0": version: 1.2.0 resolution: "he@npm:1.2.0" @@ -24234,13 +23098,6 @@ __metadata: languageName: node linkType: hard -"html-void-elements@npm:^2.0.0": - version: 2.0.1 - resolution: "html-void-elements@npm:2.0.1" - checksum: 06d41f13b9d5d6e0f39861c4bec9a9196fa4906d56cd5cf6cf54ad2e52a85bf960cca2bf9600026bde16c8331db171bedba5e5a35e2e43630c8f1d497b2fb658 - languageName: node - linkType: hard - "html-webpack-plugin@npm:^4.0.0": version: 4.5.2 resolution: "html-webpack-plugin@npm:4.5.2" @@ -24643,20 +23500,6 @@ __metadata: languageName: node linkType: hard -"immediate@npm:~3.0.5": - version: 3.0.6 - resolution: "immediate@npm:3.0.6" - checksum: f9b3486477555997657f70318cc8d3416159f208bec4cca3ff3442fd266bc23f50f0c9bd8547e1371a6b5e82b821ec9a7044a4f7b944798b25aa3cc6d5e63e62 - languageName: node - linkType: hard - -"immer@npm:^9.0.15": - version: 9.0.21 - resolution: "immer@npm:9.0.21" - checksum: 70e3c274165995352f6936695f0ef4723c52c92c92dd0e9afdfe008175af39fa28e76aafb3a2ca9d57d1fb8f796efc4dd1e1cc36f18d33fa5b74f3dfb0375432 - languageName: node - linkType: hard - "immutable@npm:^3.8.2, immutable@npm:^3.x.x": version: 3.8.2 resolution: "immutable@npm:3.8.2" @@ -25511,15 +24354,6 @@ __metadata: languageName: node linkType: hard -"is-reference@npm:1.2.1": - version: 1.2.1 - resolution: "is-reference@npm:1.2.1" - dependencies: - "@types/estree": "*" - checksum: e7b48149f8abda2c10849ea51965904d6a714193d68942ad74e30522231045acf06cbfae5a4be2702fede5d232e61bf50b3183acdc056e6e3afe07fcf4f4b2bc - languageName: node - linkType: hard - "is-reference@npm:^3.0.0": version: 3.0.0 resolution: "is-reference@npm:3.0.0" @@ -26539,26 +25373,6 @@ __metadata: languageName: node linkType: hard -"joi@npm:^17.7.0": - version: 17.9.1 - resolution: "joi@npm:17.9.1" - dependencies: - "@hapi/hoek": ^9.0.0 - "@hapi/topo": ^5.0.0 - "@sideway/address": ^4.1.3 - "@sideway/formula": ^3.0.1 - "@sideway/pinpoint": ^2.0.0 - checksum: 055df3841e00d7ed065ef1cc3330cf69097ab2ffec3083d8b1d6edfd2e25504bf2983f5249d6f0459bcad99fe21bb0c9f6f1cc03569713af27cd5eb00ee7bb7d - languageName: node - linkType: hard - -"jose@npm:4.11.1": - version: 4.11.1 - resolution: "jose@npm:4.11.1" - checksum: cd15cba258d0fd20f6168631ce2e94fda8442df80e43c1033c523915cecdf390a1cc8efe0eab0c2d65935ca973d791c668aea80724d2aa9c2879d4e70f3081d7 - languageName: node - linkType: hard - "jose@npm:4.12.0": version: 4.12.0 resolution: "jose@npm:4.12.0" @@ -26935,19 +25749,6 @@ __metadata: languageName: node linkType: hard -"jsonfile@npm:^5.0.0": - version: 5.0.0 - resolution: "jsonfile@npm:5.0.0" - dependencies: - graceful-fs: ^4.1.6 - universalify: ^0.1.2 - dependenciesMeta: - graceful-fs: - optional: true - checksum: e0ecff572dba34153a66e3a3bc5c6cb01a2c1d2cf4a2c19b6728dcfcab39d94be9cca4a0fc86a17ff2c815f2aeb43768ac75545780dbea4009433fdc32aa14d1 - languageName: node - linkType: hard - "jsonfile@npm:^6.0.1": version: 6.1.0 resolution: "jsonfile@npm:6.1.0" @@ -27117,13 +25918,6 @@ __metadata: languageName: node linkType: hard -"keen-slider@npm:^6.8.0": - version: 6.8.5 - resolution: "keen-slider@npm:6.8.5" - checksum: 1ef25cde02636068a0c66de994eb1e5ac1935a1a1f28e5cf4dcbf2c9cf2b802e0e23bdcd97dd9a9ae93de335ccc990379ab21bda75637fe04e86cbb7d799e23a - languageName: node - linkType: hard - "keypress@npm:~0.2.1": version: 0.2.1 resolution: "keypress@npm:0.2.1" @@ -27390,15 +26184,6 @@ __metadata: languageName: node linkType: hard -"lie@npm:3.1.1": - version: 3.1.1 - resolution: "lie@npm:3.1.1" - dependencies: - immediate: ~3.0.5 - checksum: 6da9f2121d2dbd15f1eca44c0c7e211e66a99c7b326ec8312645f3648935bc3a658cf0e9fa7b5f10144d9e2641500b4f55bd32754607c3de945b5f443e50ddd1 - languageName: node - linkType: hard - "lilconfig@npm:2.0.5, lilconfig@npm:^2.0.5": version: 2.0.5 resolution: "lilconfig@npm:2.0.5" @@ -27605,15 +26390,6 @@ __metadata: languageName: node linkType: hard -"localforage@npm:^1.8.1": - version: 1.10.0 - resolution: "localforage@npm:1.10.0" - dependencies: - lie: 3.1.1 - checksum: f2978b434dafff9bcb0d9498de57d97eba165402419939c944412e179cab1854782830b5ec196212560b22712d1dd03918939f59cf1d4fc1d756fca7950086cf - languageName: node - linkType: hard - "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -27750,13 +26526,6 @@ __metadata: languageName: node linkType: hard -"lodash.mergewith@npm:^4.6.2": - version: 4.6.2 - resolution: "lodash.mergewith@npm:4.6.2" - checksum: a6db2a9339752411f21b956908c404ec1e088e783a65c8b29e30ae5b3b6384f82517662d6f425cc97c2070b546cc2c7daaa8d33f78db7b6e9be06cd834abdeb8 - languageName: node - linkType: hard - "lodash.once@npm:^4.0.0, lodash.once@npm:^4.1.1": version: 4.1.1 resolution: "lodash.once@npm:4.1.1" @@ -28000,13 +26769,6 @@ __metadata: languageName: node linkType: hard -"lru_map@npm:^0.3.3": - version: 0.3.3 - resolution: "lru_map@npm:0.3.3" - checksum: ca9dd43c65ed7a4f117c548028101c5b6855e10923ea9d1f635af53ad20c5868ff428c364d454a7b57fe391b89c704982275410c3c5099cca5aeee00d76e169a - languageName: node - linkType: hard - "ltgt@npm:^2.1.2": version: 2.2.1 resolution: "ltgt@npm:2.2.1" @@ -28014,15 +26776,6 @@ __metadata: languageName: node linkType: hard -"lucide-react@npm:^0.125.0": - version: 0.125.0 - resolution: "lucide-react@npm:0.125.0" - peerDependencies: - react: ^16.5.1 || ^17.0.0 || ^18.0.0 - checksum: 6d86330fd4316a42624d537cc07adc3c51c18a699a02ef3abbd221c3140ae5ac5685396e1f5cb20f5f5ba80fa100523a5a6811c22a51bd13bbfdf65546cfffdf - languageName: node - linkType: hard - "lucide-react@npm:^0.130.0": version: 0.130.1 resolution: "lucide-react@npm:0.130.1" @@ -28075,15 +26828,6 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.27.0": - version: 0.27.0 - resolution: "magic-string@npm:0.27.0" - dependencies: - "@jridgewell/sourcemap-codec": ^1.4.13 - checksum: 273faaa50baadb7a2df6e442eac34ad611304fc08fe16e24fe2e472fd944bfcb73ffb50d2dc972dc04e92784222002af46868cb9698b1be181c81830fd95a13e - languageName: node - linkType: hard - "make-dir@npm:^1.0.0": version: 1.3.0 resolution: "make-dir@npm:1.3.0" @@ -28487,23 +27231,6 @@ __metadata: languageName: node linkType: hard -"mdast-util-to-hast@npm:^11.0.0": - version: 11.3.0 - resolution: "mdast-util-to-hast@npm:11.3.0" - dependencies: - "@types/hast": ^2.0.0 - "@types/mdast": ^3.0.0 - "@types/mdurl": ^1.0.0 - mdast-util-definitions: ^5.0.0 - mdurl: ^1.0.0 - unist-builder: ^3.0.0 - unist-util-generated: ^2.0.0 - unist-util-position: ^4.0.0 - unist-util-visit: ^4.0.0 - checksum: a968d034613aa5cfb44b9c03d8e61a08bb563bfde3a233fb3d83a28857357e2beef56b6767bab2867d3c3796dc5dd796af4d03fb83e3133aeb7f4187b5cc9327 - languageName: node - linkType: hard - "mdast-util-to-hast@npm:^12.1.0": version: 12.1.1 resolution: "mdast-util-to-hast@npm:12.1.1" @@ -28716,7 +27443,7 @@ __metadata: languageName: node linkType: hard -"merge-descriptors@npm:1.0.1, merge-descriptors@npm:^1.0.1": +"merge-descriptors@npm:1.0.1": version: 1.0.1 resolution: "merge-descriptors@npm:1.0.1" checksum: 5abc259d2ae25bb06d19ce2b94a21632583c74e2a9109ee1ba7fd147aa7362b380d971e0251069f8b3eb7d48c21ac839e21fa177b335e82c76ec172e30c31a26 @@ -29358,13 +28085,6 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.7": - version: 1.2.8 - resolution: "minimist@npm:1.2.8" - checksum: 75a6d645fb122dad29c06a7597bddea977258957ed88d7a6df59b5cd3fe4a527e253e9bbf2e783e4b73657f9098b96a5fe96ab8a113655d4109108577ecf85b0 - languageName: node - linkType: hard - "minipass-collect@npm:^1.0.2": version: 1.0.2 resolution: "minipass-collect@npm:1.0.2" @@ -29568,15 +28288,6 @@ __metadata: languageName: node linkType: hard -"modify-response-middleware@npm:^1.1.0": - version: 1.1.0 - resolution: "modify-response-middleware@npm:1.1.0" - dependencies: - brotli: ^1.3.2 - checksum: eeee5c14ae9492f8b3949b10786af35e7ff362c1f54ef2015ee4db770492b1ba41ec8b5ffd08dee6401346c94bffff663ef93187c3487913cd3a79df10379081 - languageName: node - linkType: hard - "module-alias@npm:^2.2.2": version: 2.2.2 resolution: "module-alias@npm:2.2.2" @@ -29948,17 +28659,6 @@ __metadata: languageName: node linkType: hard -"next-api-middleware@npm:^1.0.1": - version: 1.0.1 - resolution: "next-api-middleware@npm:1.0.1" - dependencies: - debug: ^4.3.2 - peerDependencies: - next: ">=10" - checksum: c370494616edaef7f8a4efa33c35fe18b1b15405c74f3d77f6475efa5b792346fffd87679affb5936c2fc604bfcd4e64a8e679049a8fc432bf8426eada48c9fc - languageName: node - linkType: hard - "next-auth@npm:^4.20.1": version: 4.20.1 resolution: "next-auth@npm:4.20.1" @@ -30037,21 +28737,6 @@ __metadata: languageName: node linkType: hard -"next-swagger-doc@npm:^0.3.4": - version: 0.3.6 - resolution: "next-swagger-doc@npm:0.3.6" - dependencies: - cleye: 1.2.1 - isarray: 2.0.5 - swagger-jsdoc: 6.2.5 - peerDependencies: - next: ">=9" - bin: - next-swagger-doc-cli: dist/cli.js - checksum: b9e11ecda6327e4a881a61f17b96407d9a260a532467b3552eb4bdb874c48889fc437db437395c121c80b33ba3be87cbff00f34c6f103259df78588227c83a2e - languageName: node - linkType: hard - "next-themes@npm:^0.0.8": version: 0.0.8 resolution: "next-themes@npm:0.0.8" @@ -30091,86 +28776,6 @@ __metadata: languageName: node linkType: hard -"next-validations@npm:^0.2.0": - version: 0.2.1 - resolution: "next-validations@npm:0.2.1" - peerDependencies: - next: "*" - checksum: f0af51cd0e07e5ece3353b290f36c36f859436b465071a0765cc0dcea630ecccaaa217cf992e174b9f357a6ca24ea65c85084bb0c4bc2029d4b2ac93c1a66ca2 - languageName: node - linkType: hard - -"next@npm:13.2.4-canary.5": - version: 13.2.4-canary.5 - resolution: "next@npm:13.2.4-canary.5" - dependencies: - "@next/env": 13.2.4-canary.5 - "@next/swc-android-arm-eabi": 13.2.4-canary.5 - "@next/swc-android-arm64": 13.2.4-canary.5 - "@next/swc-darwin-arm64": 13.2.4-canary.5 - "@next/swc-darwin-x64": 13.2.4-canary.5 - "@next/swc-freebsd-x64": 13.2.4-canary.5 - "@next/swc-linux-arm-gnueabihf": 13.2.4-canary.5 - "@next/swc-linux-arm64-gnu": 13.2.4-canary.5 - "@next/swc-linux-arm64-musl": 13.2.4-canary.5 - "@next/swc-linux-x64-gnu": 13.2.4-canary.5 - "@next/swc-linux-x64-musl": 13.2.4-canary.5 - "@next/swc-win32-arm64-msvc": 13.2.4-canary.5 - "@next/swc-win32-ia32-msvc": 13.2.4-canary.5 - "@next/swc-win32-x64-msvc": 13.2.4-canary.5 - "@swc/helpers": 0.4.14 - caniuse-lite: ^1.0.30001406 - postcss: 8.4.14 - styled-jsx: 5.1.1 - peerDependencies: - "@opentelemetry/api": ^1.4.0 - fibers: ">= 3.1.0" - node-sass: ^6.0.0 || ^7.0.0 - react: ^18.2.0 - react-dom: ^18.2.0 - sass: ^1.3.0 - dependenciesMeta: - "@next/swc-android-arm-eabi": - optional: true - "@next/swc-android-arm64": - optional: true - "@next/swc-darwin-arm64": - optional: true - "@next/swc-darwin-x64": - optional: true - "@next/swc-freebsd-x64": - optional: true - "@next/swc-linux-arm-gnueabihf": - optional: true - "@next/swc-linux-arm64-gnu": - optional: true - "@next/swc-linux-arm64-musl": - optional: true - "@next/swc-linux-x64-gnu": - optional: true - "@next/swc-linux-x64-musl": - optional: true - "@next/swc-win32-arm64-msvc": - optional: true - "@next/swc-win32-ia32-msvc": - optional: true - "@next/swc-win32-x64-msvc": - optional: true - peerDependenciesMeta: - "@opentelemetry/api": - optional: true - fibers: - optional: true - node-sass: - optional: true - sass: - optional: true - bin: - next: dist/bin/next - checksum: 47616f1ebbf0e716ca67313d247d56f646e1f663dcfc99125a0e882ed74a6ebc2c776a7e05438b4e928d38d8dae42933c5b314dfb8e4c0a566edd0e26647335a - languageName: node - linkType: hard - "next@npm:^13.2.1": version: 13.2.3 resolution: "next@npm:13.2.3" @@ -30425,24 +29030,6 @@ __metadata: languageName: node linkType: hard -"node-mocks-http@npm:^1.11.0": - version: 1.12.2 - resolution: "node-mocks-http@npm:1.12.2" - dependencies: - accepts: ^1.3.7 - content-disposition: ^0.5.3 - depd: ^1.1.0 - fresh: ^0.5.2 - merge-descriptors: ^1.0.1 - methods: ^1.1.2 - mime: ^1.3.4 - parseurl: ^1.3.3 - range-parser: ^1.2.0 - type-is: ^1.6.18 - checksum: 39e50b7146bd37fd56a0588ee3df46fd310f76395d52e9b8889545910aca6cc8e8a41de3cdd3e103903d4bbfc556e67624fcbe934c0bd3b0cca6ee1358a0f440 - languageName: node - linkType: hard - "node-releases@npm:^2.0.2": version: 2.0.2 resolution: "node-releases@npm:2.0.2" @@ -30661,13 +29248,6 @@ __metadata: languageName: node linkType: hard -"oauth4webapi@npm:2.0.5": - version: 2.0.5 - resolution: "oauth4webapi@npm:2.0.5" - checksum: 32d0cb7b1cca42d51dfb88075ca2d69fe33172a807e8ea50e317d17cab3bc80588ab8ebcb7eb4600c371a70af4674595b4b341daf6f3a655f1efa1ab715bb6c9 - languageName: node - linkType: hard - "oauth@npm:^0.9.15": version: 0.9.15 resolution: "oauth@npm:0.9.15" @@ -30746,13 +29326,6 @@ __metadata: languageName: node linkType: hard -"object-path@npm:^0.11.8": - version: 0.11.8 - resolution: "object-path@npm:0.11.8" - checksum: 684ccf0fb6b82f067dc81e2763481606692b8485bec03eb2a64e086a44dbea122b2b9ef44423a08e09041348fe4b4b67bd59985598f1652f67df95f0618f5968 - languageName: node - linkType: hard - "object-visit@npm:^1.0.0": version: 1.0.1 resolution: "object-visit@npm:1.0.1" @@ -31551,7 +30124,7 @@ __metadata: languageName: node linkType: hard -"parseurl@npm:^1.3.3, parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": +"parseurl@npm:~1.3.2, parseurl@npm:~1.3.3": version: 1.3.3 resolution: "parseurl@npm:1.3.3" checksum: 407cee8e0a3a4c5cd472559bca8b6a45b82c124e9a4703302326e9ab60fc1081442ada4e02628efef1eb16197ddc7f8822f5a91fd7d7c86b51f530aedb17dfa2 @@ -31832,13 +30405,6 @@ __metadata: languageName: node linkType: hard -"phenomenon@npm:^1.6.0": - version: 1.6.0 - resolution: "phenomenon@npm:1.6.0" - checksum: e05ca8223a9df42c5cee02c082103ef96a349424fec18a8478d2171060a63095e21bef394529263c64d8082aff43204a0fa1355211fd7ac2a338c2839fffbca3 - languageName: node - linkType: hard - "phin@npm:^2.9.1": version: 2.9.3 resolution: "phin@npm:2.9.3" @@ -31999,26 +30565,6 @@ __metadata: languageName: node linkType: hard -"playwright-core@npm:1.32.3": - version: 1.32.3 - resolution: "playwright-core@npm:1.32.3" - bin: - playwright: cli.js - checksum: 7ea091c41a7d1bb97b445bc541a85b123ffcf167bcc00fb7e13e9079f06c92f59fd27caf9d1c1d7e0054f2b5765d1a16d198833c2be7266cebb9dbb916cd90f4 - languageName: node - linkType: hard - -"playwright@npm:^1.31.2": - version: 1.32.3 - resolution: "playwright@npm:1.32.3" - dependencies: - playwright-core: 1.32.3 - bin: - playwright: cli.js - checksum: 9627771a131ab96a26d702757e89dcf09a228f0038c43a14f982cc59a2eca672cb27c9d92c324ddc2c44457b82d77c30b3562b386601969e0456b52dba5df176 - languageName: node - linkType: hard - "pngjs@npm:^3.0.0, pngjs@npm:^3.3.0, pngjs@npm:^3.3.3": version: 3.4.0 resolution: "pngjs@npm:3.4.0" @@ -32358,17 +30904,6 @@ __metadata: languageName: node linkType: hard -"preact-render-to-string@npm:5.2.3": - version: 5.2.3 - resolution: "preact-render-to-string@npm:5.2.3" - dependencies: - pretty-format: ^3.8.0 - peerDependencies: - preact: ">=10" - checksum: 6e46288d8956adde35b9fe3a21aecd9dea29751b40f0f155dea62f3896f27cb8614d457b32f48d33909d2da81135afcca6c55077520feacd7d15164d1371fb44 - languageName: node - linkType: hard - "preact-render-to-string@npm:^5.1.19": version: 5.2.6 resolution: "preact-render-to-string@npm:5.2.6" @@ -32380,13 +30915,6 @@ __metadata: languageName: node linkType: hard -"preact@npm:10.11.3, preact@npm:^10.6.3": - version: 10.11.3 - resolution: "preact@npm:10.11.3" - checksum: 9387115aa0581e8226309e6456e9856f17dfc0e3d3e63f774de80f3d462a882ba7c60914c05942cb51d51e23e120dcfe904b8d392d46f29ad15802941fe7a367 - languageName: node - linkType: hard - "preact@npm:10.4.1": version: 10.4.1 resolution: "preact@npm:10.4.1" @@ -32401,6 +30929,13 @@ __metadata: languageName: node linkType: hard +"preact@npm:^10.6.3": + version: 10.11.3 + resolution: "preact@npm:10.11.3" + checksum: 9387115aa0581e8226309e6456e9856f17dfc0e3d3e63f774de80f3d462a882ba7c60914c05942cb51d51e23e120dcfe904b8d392d46f29ad15802941fe7a367 + languageName: node + linkType: hard + "prelude-ls@npm:^1.2.1": version: 1.2.1 resolution: "prelude-ls@npm:1.2.1" @@ -32586,33 +31121,6 @@ __metadata: languageName: node linkType: hard -"prism-react-renderer@npm:^1.3.5": - version: 1.3.5 - resolution: "prism-react-renderer@npm:1.3.5" - peerDependencies: - react: ">=0.14.9" - checksum: c18806dcbc4c0b4fd6fd15bd06b4f7c0a6da98d93af235c3e970854994eb9b59e23315abb6cfc29e69da26d36709a47e25da85ab27fed81b6812f0a52caf6dfa - languageName: node - linkType: hard - -"prisma-field-encryption@npm:^1.4.0": - version: 1.4.1 - resolution: "prisma-field-encryption@npm:1.4.1" - dependencies: - "@47ng/cloak": ^1.1.0 - "@prisma/generator-helper": ^4.0.0 - debug: ^4.3.4 - immer: ^9.0.15 - object-path: ^0.11.8 - zod: ^3.17.3 - peerDependencies: - "@prisma/client": ^3.8.0 || ^4 - bin: - prisma-field-encryption: dist/generator/main.js - checksum: cf059abc1c39ae9252494aaf6ce2bfa0f415583b8cd11b9d84eeadfbb504e00f61570b0e3158ba4b7d52daf91353ffe92766a717c03b9965c421cc08ed49c303 - languageName: node - linkType: hard - "prisma@npm:^4.13.0": version: 4.13.0 resolution: "prisma@npm:4.13.0" @@ -32667,7 +31175,7 @@ __metadata: languageName: node linkType: hard -"progress@npm:^2.0.0, progress@npm:^2.0.3": +"progress@npm:^2.0.0": version: 2.0.3 resolution: "progress@npm:2.0.3" checksum: f67403fe7b34912148d9252cb7481266a354bd99ce82c835f79070643bb3c6583d10dbcfda4d41e04bbc1d8437e9af0fb1e1f2135727878f5308682a579429b7 @@ -33112,7 +31620,7 @@ __metadata: languageName: node linkType: hard -"range-parser@npm:^1.2.0, range-parser@npm:^1.2.1, range-parser@npm:~1.2.1": +"range-parser@npm:^1.2.1, range-parser@npm:~1.2.1": version: 1.2.1 resolution: "range-parser@npm:1.2.1" checksum: 0a268d4fea508661cf5743dfe3d5f47ce214fd6b7dec1de0da4d669dd4ef3d2144468ebe4179049eff253d9d27e719c88dae55be64f954e80135a0cada804ec9 @@ -33221,16 +31729,6 @@ __metadata: languageName: node linkType: hard -"react-chartjs-2@npm:^4.0.1": - version: 4.3.1 - resolution: "react-chartjs-2@npm:4.3.1" - peerDependencies: - chart.js: ^3.5.0 - react: ^16.8.0 || ^17.0.0 || ^18.0.0 - checksum: 574d12cc43b9b4a0f1e04cc692982e16ef7083c03da2a8a9fc2180fe9bcadc793008f81d8f4eec5465925eff84c95d7c523cb74376858b363ae75a83bb3c2a5d - languageName: node - linkType: hard - "react-colorful@npm:^5.6.0": version: 5.6.0 resolution: "react-colorful@npm:5.6.0" @@ -33241,17 +31739,6 @@ __metadata: languageName: node linkType: hard -"react-confetti@npm:^6.0.1": - version: 6.1.0 - resolution: "react-confetti@npm:6.1.0" - dependencies: - tween-functions: ^1.2.0 - peerDependencies: - react: ^16.3.0 || ^17.0.1 || ^18.0.0 - checksum: 24b6975df144d2bf09d8e1c95ddc49e547775f911efaa8d96b49e522659d931539e9d9e48cc0db3a01f3a671be7e3824e6e728db85096f5527db5d1c69ebb153 - languageName: node - linkType: hard - "react-copy-to-clipboard@npm:5.0.4": version: 5.0.4 resolution: "react-copy-to-clipboard@npm:5.0.4" @@ -33285,23 +31772,6 @@ __metadata: languageName: node linkType: hard -"react-datocms@npm:^3.1.0": - version: 3.1.4 - resolution: "react-datocms@npm:3.1.4" - dependencies: - datocms-listen: ^0.1.9 - datocms-structured-text-generic-html-renderer: ^2.0.1 - datocms-structured-text-utils: ^2.0.1 - react-intersection-observer: ^8.33.1 - react-string-replace: ^1.1.0 - universal-base64: ^2.1.0 - use-deep-compare-effect: ^1.6.1 - peerDependencies: - react: ">= 16.12.0" - checksum: 54aba12aef4937175c2011548a8a576c96c8d8a596e84d191826910624c1d596e76a49782689dc236388a10803b02e700ac820cb7500cca7fd147a81f6c544c3 - languageName: node - linkType: hard - "react-debounce-input@npm:=3.2.4": version: 3.2.4 resolution: "react-debounce-input@npm:3.2.4" @@ -33314,18 +31784,6 @@ __metadata: languageName: node linkType: hard -"react-device-detect@npm:^2.2.2": - version: 2.2.3 - resolution: "react-device-detect@npm:2.2.3" - dependencies: - ua-parser-js: ^1.0.33 - peerDependencies: - react: ">= 0.14.0" - react-dom: ">= 0.14.0" - checksum: 42d9b3182b9d2495bf0d7914c9f370da51d8bdb853a3eba2acaf433894ae760386a075ba103185be825b33d42f50d85ef462087f261656d433f4c74dab23861f - languageName: node - linkType: hard - "react-devtools-core@npm:^4.19.1": version: 4.24.6 resolution: "react-devtools-core@npm:4.24.6" @@ -33442,16 +31900,6 @@ __metadata: languageName: node linkType: hard -"react-fast-marquee@npm:^1.3.5": - version: 1.5.0 - resolution: "react-fast-marquee@npm:1.5.0" - peerDependencies: - react: ">= 16.8.0 || 18.0.0" - react-dom: ">= 16.8.0 || 18.0.0" - checksum: b159c1f567d24eed00a20c72339e896213b3107d0dd30a24bbcac5a8ae39b23398ff721efdbe63224b5c87ae7997351cac425046dd9d632ebe4b166d466f30fe - languageName: node - linkType: hard - "react-feather@npm:^2.0.10": version: 2.0.10 resolution: "react-feather@npm:2.0.10" @@ -33477,17 +31925,6 @@ __metadata: languageName: node linkType: hard -"react-github-btn@npm:^1.4.0": - version: 1.4.0 - resolution: "react-github-btn@npm:1.4.0" - dependencies: - github-buttons: ^2.22.0 - peerDependencies: - react: ">=16.3.0" - checksum: 33a416ad76ab4cc9238ac5cf5cfcab636bb2127c48fb30805385350fd3a3c2aa0aaeb78f6c726c52a0d3d133ca469be35d4b3d188c8e40c735c7ff458d2c8c3c - languageName: node - linkType: hard - "react-hook-form@npm:^7.43.3": version: 7.43.3 resolution: "react-hook-form@npm:7.43.3" @@ -33581,15 +32018,6 @@ __metadata: languageName: node linkType: hard -"react-intersection-observer@npm:^8.33.1": - version: 8.34.0 - resolution: "react-intersection-observer@npm:8.34.0" - peerDependencies: - react: ^15.0.0 || ^16.0.0 || ^17.0.0|| ^18.0.0 - checksum: 7713fecfd1512c7f5a60f9f0bf15403b8f8bbd4110bcafaeaea6de36a0e0eb60368c3638f99e9c97b75ad8fc787ea48c241dcb5c694f821d7f2976f709082cc5 - languageName: node - linkType: hard - "react-intl@npm:^5.25.1": version: 5.25.1 resolution: "react-intl@npm:5.25.1" @@ -33651,16 +32079,7 @@ __metadata: languageName: node linkType: hard -"react-live-chat-loader@npm:^2.8.1": - version: 2.8.1 - resolution: "react-live-chat-loader@npm:2.8.1" - peerDependencies: - react: ^16.14.0 || ^17.0.0 || ^18.0.0 - checksum: 784648dc5c8e56ad11517433b2685c4e562efde6116d03444d2e8a0f87076860712800551698f82e980939ed3ac305947b78a514187ae2d5a1a0fc0a659c5c22 - languageName: node - linkType: hard - -"react-merge-refs@npm:1.1.0, react-merge-refs@npm:^1.0.0": +"react-merge-refs@npm:^1.0.0": version: 1.1.0 resolution: "react-merge-refs@npm:1.1.0" checksum: 90884352999002d868ab9f1bcfe3222fb0f2178ed629f1da7e98e5a9b02a2c96b4aa72800db92aabd69d2483211b4be57a2088e89a11a0b660e7ada744d4ddf7 @@ -33923,13 +32342,6 @@ __metadata: languageName: node linkType: hard -"react-string-replace@npm:^1.1.0": - version: 1.1.0 - resolution: "react-string-replace@npm:1.1.0" - checksum: 5df67fbdb49cacdc9f4488d4bc3dedef1f85d6156b3626d9b4b6c317ec8cc534494def078ab0b2df7aea8fa3cbcecd8d3f76a161f04bf8b29869daccf33785ec - languageName: node - linkType: hard - "react-style-singleton@npm:^2.1.0": version: 2.1.1 resolution: "react-style-singleton@npm:2.1.1" @@ -34038,20 +32450,6 @@ __metadata: languageName: node linkType: hard -"react-twemoji@npm:^0.3.0": - version: 0.3.0 - resolution: "react-twemoji@npm:0.3.0" - dependencies: - lodash.isequal: ^4.5.0 - prop-types: ^15.7.2 - twemoji: ^13.0.1 - peerDependencies: - react: ^16.4.2 - react-dom: ^16.4.2 - checksum: d4e56477c28c0ad65b98a062a2e9a1777b808a16c05dfa35d77d84fea26f7d1e884d2e30f95a8f14c94c31330d3d4f53a4fd0bfce917bc4be9fb21d34a05db8a - languageName: node - linkType: hard - "react-use-intercom@npm:1.5.1": version: 1.5.1 resolution: "react-use-intercom@npm:1.5.1" @@ -34062,18 +32460,6 @@ __metadata: languageName: node linkType: hard -"react-use-measure@npm:^2.1.1": - version: 2.1.1 - resolution: "react-use-measure@npm:2.1.1" - dependencies: - debounce: ^1.2.1 - peerDependencies: - react: ">=16.13" - react-dom: ">=16.13" - checksum: b8e8939229d463c3c505f7b617925c0228efae0cd6f651371f463846417b06c9170be57df51293a61027c41770f8a090fdb8a08717c4e36290ccb496e0318f1f - languageName: node - linkType: hard - "react-virtual@npm:^2.8.2": version: 2.10.4 resolution: "react-virtual@npm:2.10.4" @@ -34500,19 +32886,6 @@ __metadata: languageName: node linkType: hard -"remark-html@npm:^14.0.1": - version: 14.0.1 - resolution: "remark-html@npm:14.0.1" - dependencies: - "@types/mdast": ^3.0.0 - hast-util-sanitize: ^4.0.0 - hast-util-to-html: ^8.0.0 - mdast-util-to-hast: ^11.0.0 - unified: ^10.0.0 - checksum: 5d689b05dc6b4f24e08ece07aabca98685949198a8b6ceacb2fbf7fba8f45f55cea5623caddfd92aaf6e6f082bc1c93797dfb82dc48a6f6e1c5263947a4779c9 - languageName: node - linkType: hard - "remark-mdx@npm:1.6.22": version: 1.6.22 resolution: "remark-mdx@npm:1.6.22" @@ -35078,20 +33451,6 @@ __metadata: languageName: node linkType: hard -"rollup@npm:2.78.0": - version: 2.78.0 - resolution: "rollup@npm:2.78.0" - dependencies: - fsevents: ~2.3.2 - dependenciesMeta: - fsevents: - optional: true - bin: - rollup: dist/bin/rollup - checksum: 01b5a7ae082d2a14201c973ee973099f0899cc87b65063d5ca5a77c05eeefb3b51e14b1346cf1a0fc879ac2cbb87239d4f960917bfc30b7c52f5dce50a7f56e7 - languageName: node - linkType: hard - "rollup@npm:>=2.59.0 <2.78.0": version: 2.77.3 resolution: "rollup@npm:2.77.3" @@ -35210,15 +33569,6 @@ __metadata: languageName: node linkType: hard -"rxjs@npm:^7.0.0, rxjs@npm:^7.8.0": - version: 7.8.0 - resolution: "rxjs@npm:7.8.0" - dependencies: - tslib: ^2.1.0 - checksum: 61b4d4fd323c1043d8d6ceb91f24183b28bcf5def4f01ca111511d5c6b66755bc5578587fe714ef5d67cf4c9f2e26f4490d4e1d8cabf9bd5967687835e9866a2 - languageName: node - linkType: hard - "rxjs@npm:^7.5.5": version: 7.5.5 resolution: "rxjs@npm:7.5.5" @@ -35228,13 +33578,6 @@ __metadata: languageName: node linkType: hard -"s-ago@npm:^2.2.0": - version: 2.2.0 - resolution: "s-ago@npm:2.2.0" - checksum: f665fef44d9d88322ce5a798ca3c49b40f96231ddc7bd46dc23c883e98215675aa422985760d45d3779faa3c0bc94edb2a50630bf15f54c239d11963e53d998c - languageName: node - linkType: hard - "sade@npm:^1.7.3": version: 1.8.1 resolution: "sade@npm:1.8.1" @@ -35870,13 +34213,6 @@ __metadata: languageName: node linkType: hard -"shell-quote@npm:^1.7.3": - version: 1.8.1 - resolution: "shell-quote@npm:1.8.1" - checksum: 5f01201f4ef504d4c6a9d0d283fa17075f6770bfbe4c5850b074974c68062f37929ca61700d95ad2ac8822e14e8c4b990ca0e6e9272e64befd74ce5e19f0736b - languageName: node - linkType: hard - "short-uuid@npm:^4.2.0": version: 4.2.0 resolution: "short-uuid@npm:4.2.0" @@ -36213,13 +34549,6 @@ __metadata: languageName: node linkType: hard -"spawn-command@npm:^0.0.2-1": - version: 0.0.2 - resolution: "spawn-command@npm:0.0.2" - checksum: e35c5d28177b4d461d33c88cc11f6f3a5079e2b132c11e1746453bbb7a0c0b8a634f07541a2a234fa4758239d88203b758def509161b651e81958894c0b4b64b - languageName: node - linkType: hard - "spdx-correct@npm:^3.0.0": version: 3.1.1 resolution: "spdx-correct@npm:3.1.1" @@ -36385,15 +34714,6 @@ __metadata: languageName: node linkType: hard -"stacktrace-parser@npm:^0.1.10": - version: 0.1.10 - resolution: "stacktrace-parser@npm:0.1.10" - dependencies: - type-fest: ^0.7.1 - checksum: f4fbddfc09121d91e587b60de4beb4941108e967d71ad3a171812dc839b010ca374d064ad0a296295fed13acd103609d99a4224a25b4e67de13cae131f1901ee - languageName: node - linkType: hard - "state-toggle@npm:^1.0.0": version: 1.0.3 resolution: "state-toggle@npm:1.0.3" @@ -37170,7 +35490,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^8.0.0, supports-color@npm:^8.1.0": +"supports-color@npm:^8.0.0": version: 8.1.1 resolution: "supports-color@npm:8.1.1" dependencies: @@ -37258,31 +35578,6 @@ __metadata: languageName: node linkType: hard -"swagger-jsdoc@npm:6.2.5": - version: 6.2.5 - resolution: "swagger-jsdoc@npm:6.2.5" - dependencies: - commander: 6.2.0 - doctrine: 3.0.0 - glob: 7.1.6 - lodash.mergewith: ^4.6.2 - swagger-parser: 10.0.2 - yaml: 2.0.0-1 - bin: - swagger-jsdoc: bin/swagger-jsdoc.js - checksum: 8ad468bce4934fdca4e5a857fda9cbf98f305b73ffa0ca3ebb5dc34e8c53452c01684010bfa487f17179b860b6b3291e7e5b14433007ca79109dfc7a10441864 - languageName: node - linkType: hard - -"swagger-parser@npm:10.0.2": - version: 10.0.2 - resolution: "swagger-parser@npm:10.0.2" - dependencies: - "@apidevtools/swagger-parser": 10.0.2 - checksum: 02aa7d6caa5dde20fe93f00928a7803b11099a7cffa70c1750b89add23e8dfb220ee5354d3f691dce91300f25dd155060be9a28ed7772d6aa4ff4ab3f5a36db0 - languageName: node - linkType: hard - "swagger-ui-react@npm:4.11.1": version: 4.11.1 resolution: "swagger-ui-react@npm:4.11.1" @@ -37356,15 +35651,6 @@ __metadata: languageName: node linkType: hard -"swr@npm:^1.2.2": - version: 1.3.0 - resolution: "swr@npm:1.3.0" - peerDependencies: - react: ^16.11.0 || ^17.0.0 || ^18.0.0 - checksum: e7a184f0d560e9c8be85c023cc8e65e56a88a6ed46f9394b301b07f838edca23d2e303685319a4fcd620b81d447a7bcb489c7fa0a752c259f91764903c690cdb - languageName: node - linkType: hard - "symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" @@ -37626,13 +35912,6 @@ __metadata: languageName: node linkType: hard -"terminal-columns@npm:^1.4.1": - version: 1.4.1 - resolution: "terminal-columns@npm:1.4.1" - checksum: 54a3d625963fa9cb2110bd2af982f31865438c7cf3dfe95d8e9c453c3cd67b7352fa4a78e8b31dc6f4955ccd9fe2ab8ac8224c5b1db61c6226364a12150739bc - languageName: node - linkType: hard - "terminal-link@npm:^2.0.0": version: 2.1.1 resolution: "terminal-link@npm:2.1.1" @@ -38110,15 +36389,6 @@ __metadata: languageName: node linkType: hard -"tree-kill@npm:^1.2.2": - version: 1.2.2 - resolution: "tree-kill@npm:1.2.2" - bin: - tree-kill: cli.js - checksum: 49117f5f410d19c84b0464d29afb9642c863bc5ba40fcb9a245d474c6d5cc64d1b177a6e6713129eb346b40aebb9d4631d967517f9fbe8251c35b21b13cd96c7 - languageName: node - linkType: hard - "trim-newlines@npm:^1.0.0": version: 1.0.0 resolution: "trim-newlines@npm:1.0.0" @@ -38512,13 +36782,6 @@ __metadata: languageName: node linkType: hard -"tween-functions@npm:^1.2.0": - version: 1.2.0 - resolution: "tween-functions@npm:1.2.0" - checksum: 880708d680eff5c347ddcb9f922ad121703a91c78ce308ed309073e73a794b633eb0b80589a839365803f150515ad34c9646809ae8a0e90f09e62686eefb1ab6 - languageName: node - linkType: hard - "tweetnacl@npm:^0.14.3, tweetnacl@npm:~0.14.0": version: 0.14.5 resolution: "tweetnacl@npm:0.14.5" @@ -38533,25 +36796,6 @@ __metadata: languageName: node linkType: hard -"twemoji-parser@npm:13.1.0": - version: 13.1.0 - resolution: "twemoji-parser@npm:13.1.0" - checksum: 8046ce003c03dd92d68c2648cfbfa39c659fca4f05c10da8d14957985dc3c0c680f3ecf2de8245dc1ddffedc5b2a675f2032053e1e77cc7474301a88fe192ad3 - languageName: node - linkType: hard - -"twemoji@npm:^13.0.1": - version: 13.1.1 - resolution: "twemoji@npm:13.1.1" - dependencies: - fs-extra: ^8.0.1 - jsonfile: ^5.0.0 - twemoji-parser: 13.1.0 - universalify: ^0.1.2 - checksum: f60a8785ad6eb1a673c4f1bccb00a852ead13639db9f763c0e3e9dee6e3e67d88f1d2b481bcee34c35570ab060918b30b6ee68aa65ea1042ad35cd83212a102a - languageName: node - linkType: hard - "twilio@npm:^3.80.1": version: 3.80.1 resolution: "twilio@npm:3.80.1" @@ -38638,13 +36882,6 @@ __metadata: languageName: node linkType: hard -"type-fest@npm:^0.7.1": - version: 0.7.1 - resolution: "type-fest@npm:0.7.1" - checksum: 5b1b113529d59949d97b76977d545989ddc11b81bb0c766b6d2ccc65473cb4b4a5c7d24f5be2c2bb2de302a5d7a13c1732ea1d34c8c59b7e0ec1f890cf7fc424 - languageName: node - linkType: hard - "type-fest@npm:^0.8.1": version: 0.8.1 resolution: "type-fest@npm:0.8.1" @@ -38659,14 +36896,7 @@ __metadata: languageName: node linkType: hard -"type-flag@npm:^2.1.0": - version: 2.2.0 - resolution: "type-flag@npm:2.2.0" - checksum: 728218708795c84b81a4923049b357be1ad12880e15f39940cba89472664b590368d3383f254246876edbd2eb01872b4675be62570088d7377f052420f5e9c9a - languageName: node - linkType: hard - -"type-is@npm:^1.6.18, type-is@npm:~1.6.18": +"type-is@npm:~1.6.18": version: 1.6.18 resolution: "type-is@npm:1.6.18" dependencies: @@ -38835,20 +37065,6 @@ __metadata: languageName: node linkType: hard -"tzdata@npm:^1.0.30": - version: 1.0.38 - resolution: "tzdata@npm:1.0.38" - checksum: 866abff1316bd1311057f5de9da702c78a27f3bba213aa6986e8e4d22d0d25b554dda2330e6d853e2c34566270bb327babe467ad9a5f069ad466f09571872800 - languageName: node - linkType: hard - -"ua-parser-js@npm:^1.0.33": - version: 1.0.35 - resolution: "ua-parser-js@npm:1.0.35" - checksum: 02370d38a0c8b586f2503d1c3bbba5cbc0b97d407282f9023201a99e4c03eae4357a2800fdf50cf80d73ec25c0b0cc5bfbaa03975b0add4043d6e4c86712c9c1 - languageName: node - linkType: hard - "uc.micro@npm:^1.0.1, uc.micro@npm:^1.0.5": version: 1.0.6 resolution: "uc.micro@npm:1.0.6" @@ -39233,13 +37449,6 @@ __metadata: languageName: node linkType: hard -"universal-base64@npm:^2.1.0": - version: 2.1.0 - resolution: "universal-base64@npm:2.1.0" - checksum: 03bc6f7de04aee83038c26038cd2639f470fd9665f99b3613934c4ccde5d59047d45e34ea4c843ac582da83ea1b050bf8defba8eb390e566f0be314646ddbc9b - languageName: node - linkType: hard - "universalify@npm:^0.1.0, universalify@npm:^0.1.2": version: 0.1.2 resolution: "universalify@npm:0.1.2" @@ -39479,18 +37688,6 @@ __metadata: languageName: node linkType: hard -"use-deep-compare-effect@npm:^1.6.1": - version: 1.8.1 - resolution: "use-deep-compare-effect@npm:1.8.1" - dependencies: - "@babel/runtime": ^7.12.5 - dequal: ^2.0.2 - peerDependencies: - react: ">=16.13" - checksum: 2b9b6291df3f772f44d259b352e5d998963ccee0db2efeb76bb05525d928064aeeb69bb0dee5a5e428fea7cf3db67c097a770ebd30caa080662b565f6ef02b2e - languageName: node - linkType: hard - "use-isomorphic-layout-effect@npm:^1.1.1, use-isomorphic-layout-effect@npm:^1.1.2": version: 1.1.2 resolution: "use-isomorphic-layout-effect@npm:1.1.2" @@ -39728,13 +37925,6 @@ __metadata: languageName: node linkType: hard -"validator@npm:^13.6.0": - version: 13.9.0 - resolution: "validator@npm:13.9.0" - checksum: e2c936f041f61faa42bafd17c6faddf939498666cd82e88d733621c286893730b008959f4cb12ab3e236148a4f3805c30b85e3dcf5e0efd8b0cbcd36c02bfc0c - languageName: node - linkType: hard - "varint@npm:^5.0.0": version: 5.0.2 resolution: "varint@npm:5.0.2" @@ -39767,16 +37957,6 @@ __metadata: languageName: node linkType: hard -"vfile-location@npm:^4.0.0": - version: 4.1.0 - resolution: "vfile-location@npm:4.1.0" - dependencies: - "@types/unist": ^2.0.0 - vfile: ^5.0.0 - checksum: c894e8e5224170d1f85288f4a1d1ebcee0780823ea2b49d881648ab360ebf01b37ecb09b1c4439a75f9a51f31a9f9742cd045e987763e367c352a1ef7c50d446 - languageName: node - linkType: hard - "vfile-message@npm:^2.0.0": version: 2.0.4 resolution: "vfile-message@npm:2.0.4" @@ -39998,21 +38178,6 @@ __metadata: languageName: node linkType: hard -"wait-on@npm:^7.0.1": - version: 7.0.1 - resolution: "wait-on@npm:7.0.1" - dependencies: - axios: ^0.27.2 - joi: ^17.7.0 - lodash: ^4.17.21 - minimist: ^1.2.7 - rxjs: ^7.8.0 - bin: - wait-on: bin/wait-on - checksum: 1e8a17d8ee6436f71d3ab82781ce31267481fcd7bbccde49b0f8124871e6e40a1acac3401f04f775ba6203853a5813352fa131620fc139914351f3b2894d573f - languageName: node - linkType: hard - "walker@npm:^1.0.7, walker@npm:^1.0.8, walker@npm:~1.0.5": version: 1.0.8 resolution: "walker@npm:1.0.8" @@ -40090,13 +38255,6 @@ __metadata: languageName: node linkType: hard -"web-namespaces@npm:^2.0.0": - version: 2.0.1 - resolution: "web-namespaces@npm:2.0.1" - checksum: b6d9f02f1a43d0ef0848a812d89c83801d5bbad57d8bb61f02eb6d7eb794c3736f6cc2e1191664bb26136594c8218ac609f4069722c6f56d9fc2d808fa9271c6 - languageName: node - linkType: hard - "web-streams-polyfill@npm:4.0.0-beta.1": version: 4.0.0-beta.1 resolution: "web-streams-polyfill@npm:4.0.0-beta.1" @@ -40488,7 +38646,7 @@ __metadata: languageName: node linkType: hard -"webpack-sources@npm:^2.0.0 || ^3.0.0, webpack-sources@npm:^3.2.3": +"webpack-sources@npm:^3.2.3": version: 3.2.3 resolution: "webpack-sources@npm:3.2.3" checksum: 989e401b9fe3536529e2a99dac8c1bdc50e3a0a2c8669cbafad31271eadd994bc9405f88a3039cd2e29db5e6d9d0926ceb7a1a4e7409ece021fe79c37d9c4607 @@ -41242,13 +39400,6 @@ __metadata: languageName: node linkType: hard -"yaml@npm:2.0.0-1": - version: 2.0.0-1 - resolution: "yaml@npm:2.0.0-1" - checksum: ccfbd1424dbf205a8828593faa91dfd40bd21e3fb575e257280d3526ade9508f3ea0acbe7605abc81bac6b4d6729ddb5b3de6bd818232f48480fd1eda8d7fd4c - languageName: node - linkType: hard - "yaml@npm:^1.10.0, yaml@npm:^1.10.2, yaml@npm:^1.7.2": version: 1.10.2 resolution: "yaml@npm:1.10.2" @@ -41441,23 +39592,6 @@ __metadata: languageName: node linkType: hard -"z-schema@npm:^4.2.3": - version: 4.2.4 - resolution: "z-schema@npm:4.2.4" - dependencies: - commander: ^2.7.1 - lodash.get: ^4.4.2 - lodash.isequal: ^4.5.0 - validator: ^13.6.0 - dependenciesMeta: - commander: - optional: true - bin: - z-schema: bin/z-schema - checksum: 9afc0b8d4f75122fbbac8835b0398fc6ab3cfa3f68792e4e86edcd9be1e9ae9d982368a8ae25a4eeea6aad3ab35a24379b76e1525b105c23169c4f93b3185004 - languageName: node - linkType: hard - "zenscroll@npm:^4.0.2": version: 4.0.2 resolution: "zenscroll@npm:4.0.2" @@ -41485,13 +39619,6 @@ __metadata: languageName: node linkType: hard -"zod@npm:^3.17.3": - version: 3.21.4 - resolution: "zod@npm:3.21.4" - checksum: f185ba87342ff16f7a06686767c2b2a7af41110c7edf7c1974095d8db7a73792696bcb4a00853de0d2edeb34a5b2ea6a55871bc864227dace682a0a28de33e1f - languageName: node - linkType: hard - "zod@npm:^3.20.2": version: 3.20.2 resolution: "zod@npm:3.20.2" @@ -41546,10 +39673,3 @@ __metadata: checksum: 8edd7af8375f12f64d8dbef815af32cd77bd9237d0b013210ba4e3aef25fdc460fe264cd0a19deabe9f86ef0c607240ebac1a336bf4a70bf06ef53e0652de116 languageName: node linkType: hard - -"zwitch@npm:^2.0.4": - version: 2.0.4 - resolution: "zwitch@npm:2.0.4" - checksum: f22ec5fc2d5f02c423c93d35cdfa83573a3a3bd98c66b927c368ea4d0e7252a500df2a90a6b45522be536a96a73404393c958e945fdba95e6832c200791702b6 - languageName: node - linkType: hard