Add optional referencedBy field to hostCompanyDetails validation schema and update HostService to handle referencedBy data
This commit is contained in:
@@ -110,6 +110,10 @@ export const hostCompanyDetailsSchema = z.object({
|
||||
.int("Company type must be a valid integer")
|
||||
.min(1, "Company type is required"),
|
||||
|
||||
|
||||
referencedBy: z.string()
|
||||
.optional(),
|
||||
|
||||
websiteUrl: z.string().nullable().optional(),
|
||||
instagramUrl: z.string().nullable().optional(),
|
||||
facebookUrl: z.string().nullable().optional(),
|
||||
|
||||
Reference in New Issue
Block a user