@wocart/storefront / index / ProductListSchema
Variable: ProductListSchema
constProductListSchema: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<{hexColor:z.ZodDefault<z.ZodNullable<...>>;value:z.ZodString; },z.core.$strip>>; },z.core.$strip>>>; },z.core.$strip>
A product in a listing: its first photo stands for it.