Misc fixes
parent
e3fa0e546b
commit
ccf0a40b67
|
@ -10,6 +10,7 @@ const schemaBookingBaseBodyParams = Booking.pick({
|
|||
userId: true,
|
||||
eventTypeId: true,
|
||||
title: true,
|
||||
description: true,
|
||||
startTime: true,
|
||||
endTime: true,
|
||||
}).partial();
|
||||
|
|
|
@ -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"),
|
||||
};
|
||||
|
||||
|
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue