Skip to content

Scheduling infrastructure for absolutely everyone.

Misc fixes

zomarsccf0a40b6751
diff --git a/lib/validations/booking.ts b/lib/validations/booking.ts
index d5ee93da3e4..72f1e10be5e 100644
--- a/lib/validations/booking.ts
+++ b/lib/validations/booking.ts
@@ -10,6 +10,7 @@ const schemaBookingBaseBodyParams = Booking.pick({
userId: true,
eventTypeId: true,
title: true,
+ description: true,
startTime: true,
endTime: true,
}).partial();
diff --git a/next-i18next.config.js b/next-i18next.config.js
index 402b72363cf..c985d846fc3 100644
--- a/next-i18next.config.js
+++ b/next-i18next.config.js
@@ -4,6 +4,7 @@ const i18nConfig = require("@calcom/config/next-i18next.config");
/** @type {import("next-i18next").UserConfig} */
const config = {
...i18nConfig,
+ localeDetection: false,
localePath: path.resolve("../web/public/static/locales"),
};
diff --git a/tsconfig.json b/tsconfig.json
index 3b72d5ec748..3e4341ce5ed 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -2,14 +2,29 @@
"extends": "@calcom/tsconfig/nextjs.json",
"compilerOptions": {
"strict": true,
- "jsx": "react-jsx",
+ "jsx": "preserve",
"baseUrl": ".",
"paths": {
- "@api/*": ["pages/api/*"],
- "@lib/*": ["lib/*"],
- "@/*": ["*"]
+ "@api/*": [
+ "pages/api/*"
+ ],
+ "@lib/*": [
+ "lib/*"
+ ],
+ "@/*": [
+ "*"
+ ]
}
},
- "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "../../packages/types/next-auth.d.ts"],
- "exclude": ["node_modules", "templates", "auth"]
+ "include": [
+ "next-env.d.ts",
+ "**/*.ts",
+ "**/*.tsx",
+ "../../packages/types/next-auth.d.ts"
+ ],
+ "exclude": [
+ "node_modules",
+ "templates",
+ "auth"
+ ]
}