diff --git a/.env.appStore.example b/.env.appStore.example index 10da881498..fe1f1038a9 100644 --- a/.env.appStore.example +++ b/.env.appStore.example @@ -16,11 +16,12 @@ # - WEB3 # - SALESFORCE # - ZOHOCRM +# - ZOHO_BIGIN # - APP STORE ********************************************************************************************** # ⚠️ ⚠️ ⚠️ THESE WILL BE MIGRATED TO THE DATABASE TO PREVENT AWS's 4KB ENV QUOTA ⚠️ ⚠️ ⚠️ # - DAILY.CO VIDEO -# Enables Cal Video. to get your key +# Enables Cal Video. to get your key # 1. Visit our [Daily.co Partnership Form](https://go.cal.com/daily) and enter your information # 2. From within your dashboard, go to the [developers](https://dashboard.daily.co/developers) tab. # @see https://github.com/calcom/cal.com#obtaining-daily-api-credentials 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/README.md b/README.md index 5160a4e8bd..3ef368a738 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@
-## About The Project +## About the Project
@@ -53,13 +53,13 @@
The open source Calendly alternative. You are in charge
of your own data, workflow and appearance.
-Calendly and other scheduling tools are awesome. It made our lives massively easier. We're using it for business meetings, seminars, yoga classes and even calls with our families. However, most tools are very limited in terms of control and customisations.
+Calendly and other scheduling tools are awesome. It made our lives massively easier. We're using it for business meetings, seminars, yoga classes and even calls with our families. However, most tools are very limited in terms of control and customizations.
That's where Cal.com comes in. Self-hosted or hosted by us. White-label by design. API-driven and ready to be deployed on your own domain. Full control of your events and data.
## Recognition
-#### Hacker News
+#### [Hacker News](https://news.ycombinator.com/from?site=cal.com)
@@ -184,14 +184,14 @@ echo 'NEXT_PUBLIC_DEBUG=1' >> .env
6. Once you completed the above steps, click on your newly created `Heroku Postgres` and go to its `Settings`.

- 7. In `Settings`, copy your URI to your Cal.com .env file and replace the `postgresql://- {t( - "Need help? See our guides for embedding Cal on Wix, Squarespace, or WordPress, check our common questions, or explore advanced embed options." - )} -
+{t("need_help_embedding")}
> ); }), @@ -622,7 +617,7 @@ Cal("init", {origin:"${WEBAPP_URL}"}); const ThemeSelectControl = ({ children, ...props }: ControlProps<{ value: Theme; label: string }, false>) => { return ({getEveryFreqFor({ 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/EventSetupTab.tsx b/apps/web/components/eventtype/EventSetupTab.tsx index bc2f1b1181..c3949449fc 100644 --- a/apps/web/components/eventtype/EventSetupTab.tsx +++ b/apps/web/components/eventtype/EventSetupTab.tsx @@ -276,7 +276,7 @@ export const EventSetupTab = ( return (
{t("light_brand_color")}
{t("dark_brand_color")}