18 lines
430 B
TypeScript
18 lines
430 B
TypeScript
import { z } from "zod";
|
|
const update_profile = z.object({
|
|
shopName: z.string().optional(),
|
|
shopAddress: z.string().optional(),
|
|
shopPhone: z.string().optional(),
|
|
shopLocation: z.string().optional(),
|
|
shopImage: z.string().optional(),
|
|
shopMapLocation: z.string().optional(),
|
|
contactNumber: z.string().optional(),
|
|
shopCategory: z.string().optional(),
|
|
|
|
|
|
});
|
|
|
|
export const profile_validations = {
|
|
update_profile,
|
|
};
|