Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / ProductPageEnvelopeSchema

Variable: ProductPageEnvelopeSchema

const ProductPageEnvelopeSchema: z.ZodObject<{ data: z.ZodArray<z.ZodObject<{ categoryId: z.ZodNullable<z.ZodString>; compareAtPrice: z.ZodNullable<z.ZodNumber>; coverImage: z.ZodNullable<z.ZodObject<{ altText: z.ZodNullable<z.ZodString>; height: z.ZodNullable<z.ZodNumber>; id: z.ZodString; key: z.ZodString; position: z.ZodNumber; url: z.ZodString; width: z.ZodNullable<z.ZodNumber>; }, z.core.$strip>>; currency: z.ZodString; description: z.ZodNullable<z.ZodString>; descriptionFormat: z.ZodEnum<{ html: "html"; text: "text"; }>; descriptionPlain: z.ZodNullable<z.ZodString>; handle: z.ZodString; hasVariants: z.ZodBoolean; id: z.ZodString; inventory: z.ZodNumber; lowStockThreshold: z.ZodNumber; metaDescription: z.ZodNullable<z.ZodString>; metaTitle: z.ZodNullable<z.ZodString>; name: z.ZodString; price: z.ZodNumber; reviewStats: z.ZodNullable<z.ZodObject<{ avgRating: z.ZodNumber; reviewCount: z.ZodNumber; }, z.core.$strip>>; sku: z.ZodNullable<z.ZodString>; tags: z.ZodArray<z.ZodString>; trackInventory: z.ZodBoolean; type: z.ZodEnum<{ DIGITAL: "DIGITAL"; PHYSICAL: "PHYSICAL"; }>; variantOptions: z.ZodNullable<z.ZodArray<z.ZodObject<{ name: z.ZodString; values: z.ZodArray<z.ZodObject<..., ...>>; }, z.core.$strip>>>; }, z.core.$strip>>; total: z.ZodNumber; }, z.core.$strip>

A page of products with the whole listing's size.