@teamkeel/functions-runtime 0.421.0 → 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.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2894,7 +2894,7 @@ var pickList = /* @__PURE__ */ __name((name, options) => {
|
|
|
2894
2894
|
return "Items must be an array";
|
|
2895
2895
|
}
|
|
2896
2896
|
if (data.items.some(
|
|
2897
|
-
(item) => typeof item !== "object" || typeof item.id !== "string" || typeof item.
|
|
2897
|
+
(item) => typeof item !== "object" || typeof item.id !== "string" || typeof item.quantity !== "number" || typeof item.targetQuantity !== "number" || item.scannedBarcodes && !Array.isArray(item.scannedBarcodes)
|
|
2898
2898
|
)) {
|
|
2899
2899
|
return "Invalid data";
|
|
2900
2900
|
}
|