Update:PROFILE API's and create get users api's with pagination
This commit is contained in:
@@ -1,6 +1,15 @@
|
||||
import { z } from "zod";
|
||||
const update_profile = z.object({
|
||||
fullName: z.string().optional(),
|
||||
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 = {
|
||||
|
||||
Reference in New Issue
Block a user