Misc fixes

pull/9078/head
zomars 2022-10-14 11:42:05 -06:00
parent e3fa0e546b
commit ccf0a40b67
3 changed files with 23 additions and 6 deletions

View File

@ -10,6 +10,7 @@ const schemaBookingBaseBodyParams = Booking.pick({
userId: true,
eventTypeId: true,
title: true,
description: true,
startTime: true,
endTime: true,
}).partial();

View File

@ -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"),
};

View File

@ -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"
]
}