Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / DeliveryDestinationSchema

Variable: DeliveryDestinationSchema

const DeliveryDestinationSchema: z.ZodObject<{ communeId: z.ZodOptional<z.ZodString>; deliveryType: z.ZodEnum<{ home: "home"; stop_desk: "stop_desk"; }>; wilayaId: z.ZodNumber; }, z.core.$strip>

Where a basket would be delivered, for a delivery quote. The commune is optional — without it the wilaya's rate applies; with it, the commune's own override when the merchant set one.