diff --git a/lib/validations/attendee.ts b/lib/validations/attendee.ts index cf73bdb4d0..66ae50b2f1 100644 --- a/lib/validations/attendee.ts +++ b/lib/validations/attendee.ts @@ -9,7 +9,7 @@ export const schemaAttendeeBaseBodyParams = Attendee.pick({ email: true, name: true, timeZone: true, -}).partial(); +}); const schemaAttendeeCreateParams = z .object({ diff --git a/package.json b/package.json index 33dd0c54a7..cc5455ed48 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,9 @@ "@calcom/tsconfig": "*", "@typescript-eslint/eslint-plugin": "^5.25.0", "babel-jest": "^28.1.0", - "jest": "^28.0.3", + "jest": "^28.1.0", "node-mocks-http": "^1.11.0" - }, + }, "dependencies": { "@calcom/prisma": "*", "@sentry/nextjs": "^6.19.7", @@ -34,6 +34,7 @@ "next-transpile-modules": "^9.0.0", "next-validations": "^0.2.0", "typescript": "^4.6.4", - "tzdata": "^1.0.30" + "tzdata": "^1.0.30", + "zod": "^3.14.4" } } diff --git a/tsconfig.json b/tsconfig.json index 5622a85041..26060017f9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "@calcom/tsconfig/nextjs.json", "compilerOptions": { + "strict": true, "baseUrl": ".", "paths": { "@api/*": ["pages/api/*"],