Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / WilayaIdSchema

Variable: WilayaIdSchema

const WilayaIdSchema: z.ZodNumber

A wilaya id, bounded by the reference dataset itself rather than a literal.

The server validates the same 1..58 range; deriving the ceiling from WILAYAS keeps the route's early rejection and the platform's accepted range in step.