11 lines
422 B
JavaScript
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
|