busroot-sdk 0.0.8-dev.2853863945 → 0.0.8-dev.2857486400
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/build/index.js +7 -2
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -8479,8 +8479,13 @@ var require_production3 = __commonJS({
|
|
|
8479
8479
|
const cap = productionCap(manifest);
|
|
8480
8480
|
return cap == null ? schemas_1.MAX_PARTS_PER_CYCLE : Math.min(schemas_1.MAX_PARTS_PER_CYCLE, cap);
|
|
8481
8481
|
}
|
|
8482
|
-
|
|
8483
|
-
|
|
8482
|
+
var PARTS_PER_CYCLE_SOURCE_SUBJECT = {
|
|
8483
|
+
sku: "This SKU's PPC",
|
|
8484
|
+
override: "PPC override",
|
|
8485
|
+
ppc: "PPC"
|
|
8486
|
+
};
|
|
8487
|
+
function partsPerCycleCapMessage(cap, source) {
|
|
8488
|
+
return `${PARTS_PER_CYCLE_SOURCE_SUBJECT[source]} exceeds the limit of ${cap} units per schedule`;
|
|
8484
8489
|
}
|
|
8485
8490
|
function isAtProductionCap(manifest, quantityTotal) {
|
|
8486
8491
|
const cap = productionCap(manifest);
|
package/package.json
CHANGED