UNPKG

@devx-commerce/plugin-product-reviews

Version:
43 lines (42 loc) 1.09 kB
import { z } from "zod"; export declare const updateReviewSchema: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ id: z.ZodString; is_admin_verified: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { id: string; is_admin_verified?: boolean | undefined; }, { id: string; is_admin_verified?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { data: { id: string; is_admin_verified?: boolean | undefined; }[]; }, { data: { id: string; is_admin_verified?: boolean | undefined; }[]; }>; export type updateReviewType = z.infer<typeof updateReviewSchema>; export declare const deleteBulkReviewSchema: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>, "many">; }, "strip", z.ZodTypeAny, { data: { id: string; }[]; }, { data: { id: string; }[]; }>; export type deleteBulkReviewType = z.infer<typeof deleteBulkReviewSchema>;