@teamkeel/functions-runtime 0.420.1 → 0.421.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2924,7 +2924,7 @@ var pickList = /* @__PURE__ */ __name((name, options) => {
|
|
|
2924
2924
|
return "Items must be an array";
|
|
2925
2925
|
}
|
|
2926
2926
|
if (data.items.some(
|
|
2927
|
-
(item) => typeof item !== "object" || typeof item.id !== "string" || typeof item.
|
|
2927
|
+
(item) => typeof item !== "object" || typeof item.id !== "string" || typeof item.quantity !== "number" || typeof item.targetQuantity !== "number" || item.scannedBarcodes && !Array.isArray(item.scannedBarcodes)
|
|
2928
2928
|
)) {
|
|
2929
2929
|
return "Invalid data";
|
|
2930
2930
|
}
|