Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / CartValidationLineSchema

Variable: CartValidationLineSchema

const CartValidationLineSchema: z.ZodObject<{ blocker: z.ZodNullable<z.ZodEnum<{ missing: "missing"; out_of_stock: "out_of_stock"; unlisted: "unlisted"; }>>; discount: z.ZodNumber; lineTotal: z.ZodNumber; maxQuantity: z.ZodNullable<z.ZodNumber>; offerId: z.ZodNullable<z.ZodString>; offerName: z.ZodNullable<z.ZodString>; productId: z.ZodString; productName: z.ZodString; quantity: z.ZodNumber; unitPrice: z.ZodNumber; variantId: z.ZodNullable<z.ZodString>; variantLabel: z.ZodNullable<z.ZodString>; }, z.core.$strip>