@wocart/storefront / index / StoreConfigSchema
Variable: StoreConfigSchema
constStoreConfigSchema:z.ZodObject<{cartEnabled:z.ZodBoolean;checkoutForm:z.ZodObject<{address:z.ZodEnum<{hidden:"hidden";optional:"optional";required:"required"; }>;customFields:z.ZodArray<z.ZodObject<{id:z.ZodString;label:z.ZodString;options:z.ZodOptional<z.ZodArray<z.ZodString>>;required:z.ZodBoolean;type:z.ZodEnum<{number:"number";select:"select";text:"text";textarea:"textarea"; }>; },z.core.$strip>>;deliveryOptions:z.ZodObject<{home:z.ZodBoolean;stopDesk:z.ZodBoolean; },z.core.$strip>;z.ZodEnum<{hidden:"hidden";optional:"optional";required:"required"; }>;notes:z.ZodEnum<{hidden:"hidden";optional:"optional"; }>; },z.core.$strip>;contact:z.ZodObject<{address:z.ZodNullable<z.ZodString>;z.ZodNullable<z.ZodString>;phone:z.ZodNullable<z.ZodString>; },z.core.$strip>;contentOverrides:z.ZodRecord<z.ZodString,z.ZodRecord<z.ZodString,z.ZodString>>;conversionEvent:z.ZodEnum<{Lead:"Lead";Purchase:"Purchase";Purchase_Confirmed:"Purchase_Confirmed";Purchase_Delivered:"Purchase_Delivered"; }>;currency:z.ZodString;currencySymbol:z.ZodString;domain:z.ZodNullable<z.ZodString>;freeShippingThreshold:z.ZodNullable<z.ZodNumber>;id:z.ZodString;lang:z.ZodString;locale:z.ZodString;locales:z.ZodArray<z.ZodObject<{code:z.ZodString;direction:z.ZodEnum<{ltr:"ltr";rtl:"rtl"; }>;nativeName:z.ZodString; },z.core.$strip>>;logo:z.ZodNullable<z.ZodObject<{height:z.ZodNullable<z.ZodNumber>;key:z.ZodString;url:z.ZodString;width:z.ZodNullable<z.ZodNumber>; },z.core.$strip>>;media:z.ZodObject<{kind:z.ZodEnum<{cloudflare:"cloudflare";direct:"direct";imagekit:"imagekit"; }>;origin:z.ZodString; },z.core.$strip>;metaDescription:z.ZodNullable<z.ZodString>;metaTitle:z.ZodNullable<z.ZodString>;name:z.ZodString;ogImage:z.ZodNullable<z.ZodObject<{height:z.ZodNullable<z.ZodNumber>;key:z.ZodString;url:z.ZodString;width:z.ZodNullable<z.ZodNumber>; },z.core.$strip>>;otpEnabled:z.ZodBoolean;pages:z.ZodArray<z.ZodObject<{id:z.ZodString;kind:z.ZodEnum<{custom:"custom";privacy:"privacy";refund:"refund";shipping:"shipping";terms:"terms"; }>;position:z.ZodNumber;slug:z.ZodString;title:z.ZodString; },z.core.$strip>>;pixelId:z.ZodNullable<z.ZodString>;reviewsEnabled:z.ZodBoolean;themeSettings:z.ZodRecord<z.ZodString,z.ZodUnknown>;turnstileEnabled:z.ZodBoolean;turnstileSiteKey:z.ZodNullable<z.ZodString>;z.ZodNullable<z.ZodObject<{accent:z.ZodEnum<{primary:"primary";"whatsapp"; }>;agentName:z.ZodNullable<z.ZodString>;attention:z.ZodBoolean;avatarUrl:z.ZodNullable<z.ZodString>;caption:z.ZodNullable<z.ZodString>;ctaLabel:z.ZodNullable<z.ZodString>;href:z.ZodString;launcherLabel:z.ZodNullable<z.ZodString>;position:z.ZodEnum<{left:"left";right:"right"; }>;prefillGeneral:z.ZodNullable<z.ZodString>;prefillProduct:z.ZodNullable<z.ZodString>;prefillThankYou:z.ZodNullable<z.ZodString>;surfaces:z.ZodObject<{catalog:z.ZodBoolean;checkout:z.ZodBoolean;home:z.ZodBoolean;landing:z.ZodBoolean;pages:z.ZodBoolean;product:z.ZodBoolean;thankYou:z.ZodBoolean; },z.core.$strip>;thankYouButtonLabel:z.ZodNullable<z.ZodString>;welcomeMessage:z.ZodNullable<z.ZodString>; },z.core.$strip>>; },z.core.$strip>