Files
medreport_mrb2b/lib/validations/company-offer.schema.ts
Helena 9122acc89f MED-151: add profile view and working smoking dashboard card (#71)
* MED-151: add profile view and working smoking dashboard card

* update zod

* move some components to shared

* move some components to shared

* remove console.logs

* remove unused password form components

* only check null for variant

* use pathsconfig
2025-09-04 12:17:54 +03:00

16 lines
315 B
TypeScript

import { z } from 'zod';
export const companyOfferSchema = z.object({
companyName: z.string({
error: 'Company name is required',
}),
contactPerson: z.string({
error: 'Contact person is required',
}),
email: z
.email({
error: 'Invalid email',
}),
phone: z.string().optional(),
});