busroot-sdk 0.0.8-dev.2778251899 → 0.0.8-dev.2785859549
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 +2 -6
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -10151,7 +10151,7 @@ var require_station4 = __commonJS({
|
|
|
10151
10151
|
"../../packages/common/build/view-models/station.js"(exports2) {
|
|
10152
10152
|
"use strict";
|
|
10153
10153
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
10154
|
-
exports2.StationWithSchedulesViewModel = exports2.StationViewModel = exports2.StationStates = exports2.
|
|
10154
|
+
exports2.StationWithSchedulesViewModel = exports2.StationViewModel = exports2.StationStates = exports2.StationState = void 0;
|
|
10155
10155
|
exports2.getStationState = getStationState;
|
|
10156
10156
|
var zod_1 = require("zod");
|
|
10157
10157
|
var schemas_1 = require_schemas();
|
|
@@ -10168,7 +10168,6 @@ var require_station4 = __commonJS({
|
|
|
10168
10168
|
order: zod_1.z.number(),
|
|
10169
10169
|
color: zod_1.z.string()
|
|
10170
10170
|
});
|
|
10171
|
-
exports2.SIGNAL_NON_PRODUCTION_LABEL = "Non-Production Signal";
|
|
10172
10171
|
exports2.StationStates = {
|
|
10173
10172
|
unknown: { code: "unknown", label: "Unknown", order: 7, color: enums_1.RagStatus.NA },
|
|
10174
10173
|
out_of_shift: { code: "out_of_shift", label: "Out of Shift", order: 6, color: enums_1.RagStatus.NA },
|
|
@@ -10242,10 +10241,7 @@ var require_station4 = __commonJS({
|
|
|
10242
10241
|
} else if (station.activeSchedule?.nonProductionReasonCode != null) {
|
|
10243
10242
|
state = exports2.StationStates.non_production;
|
|
10244
10243
|
} else if ((0, station_windows_1.signalNonProductionReasonCode)(station.lastStationWindow) != null) {
|
|
10245
|
-
state =
|
|
10246
|
-
...exports2.StationStates.non_production,
|
|
10247
|
-
label: exports2.SIGNAL_NON_PRODUCTION_LABEL
|
|
10248
|
-
};
|
|
10244
|
+
state = exports2.StationStates.non_production;
|
|
10249
10245
|
} else if (station.activeSchedule?.skuCode != null) {
|
|
10250
10246
|
state = exports2.StationStates.running;
|
|
10251
10247
|
} else {
|
package/package.json
CHANGED