@wocart/storefront / index / ReviewSchema
Variable: ReviewSchema
constReviewSchema:z.ZodObject<{body:z.ZodString;createdAt:z.ZodString;customerName:z.ZodString;id:z.ZodString;media:z.ZodArray<z.ZodObject<{durationMs:z.ZodNullable<z.ZodNumber>;height:z.ZodNullable<z.ZodNumber>;id:z.ZodString;kind:z.ZodEnum<{audio:"audio";image:"image"; }>;thumbUrl:z.ZodNullable<z.ZodString>;url:z.ZodString;width:z.ZodNullable<z.ZodNumber>; },z.core.$strip>>;rating:z.ZodNumber;title:z.ZodNullable<z.ZodString>;verified:z.ZodBoolean; },z.core.$strip>
An approved review, newest first: who wrote it, and whether a delivered order proves the purchase.