We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5dd292 commit 9d106deCopy full SHA for 9d106de
src/infrastructure/factorial-client/schema/Employee.ts
@@ -23,7 +23,7 @@ export const Employee = z.object({
23
preferredName: z.string().nullable(),
24
pronouns: z.string().nullable(),
25
regularAccessStartsOn: z.string().nullable(),
26
- showBirthday: z.boolean(),
+ showBirthday: z.boolean().optional(),
27
supervisedByCurrent: z.boolean(),
28
tenureStartDate: z.string().nullable(),
29
terminatedOn: z.string().nullable(),
test/fixtures/employees.json
@@ -267,7 +267,6 @@
267
"regularAccessStartsOn": "2019-10-04",
268
"irpf": null,
269
"pronouns": null,
270
- "showBirthday": true,
271
"permissions": {
272
"hirings": {
273
"read": true,
0 commit comments