fix: change optional to nullable in validation

This commit is contained in:
Christel Westerberg
2024-05-13 16:41:50 +02:00
parent 43f10abdbc
commit ed052dbfa4
6 changed files with 26 additions and 24 deletions

View File

@@ -55,6 +55,6 @@ export type ContactConfigData = z.infer<typeof validateContactConfigSchema>
export type ContactConfig = ContactConfigData["all_contact_config"]["items"][0]
export type ContactFields = {
display_text?: string
display_text: string | null
contact_field: string
}