mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-20 09:53:06 +00:00
9 lines
286 B
TypeScript
9 lines
286 B
TypeScript
import { z } from 'zod'
|
|
import { commentSchema } from './comment'
|
|
import { contactSchema } from './contact'
|
|
|
|
export const whatsAppFormSchema = contactSchema
|
|
.omit({ postalCode: true })
|
|
.extend(commentSchema.shape)
|
|
|
|
export type WhatsAppFormInput = z.infer<typeof whatsAppFormSchema>
|