haiku-atelier-2024/web/app/themes/haiku-atelier-2024/assets/js/cart-update-item.js
2024-10-23 16:24:30 +02:00

11 lines
422 B
JavaScript

import { o as object, s as string, a as pipe, m as minValue, n as number } from "./index.Dco04HYW.js";
const WCStoreCartUpdateItemArgsSchema = object({
/** Unique identifier (key) for the basket item to update. */
key: string(),
/** New quantity of the item in the basket. */
quantity: pipe(number(), minValue(1))
});
export {
WCStoreCartUpdateItemArgsSchema as W
};
//# sourceMappingURL=cart-update-item.js.map