@7365admin1/layer-common 4.97.1-staging.579 → 4.97.1-staging.580
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/package.json +1 -1
- package/utils/robot-fleet-ops.ts +6 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.97.1-staging.
|
|
5
|
+
"version": "4.97.1-staging.580",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|
package/utils/robot-fleet-ops.ts
CHANGED
|
@@ -35,6 +35,12 @@ export const FLEET_OPS_SWITCHES = [
|
|
|
35
35
|
help: "An idle robot at or below the low-battery mark is driven to its charger (never during an emergency). The alert is sent either way.",
|
|
36
36
|
moves: true,
|
|
37
37
|
},
|
|
38
|
+
{
|
|
39
|
+
key: "resumePatrolAfterCharge",
|
|
40
|
+
label: "Carry on an interrupted patrol after charging",
|
|
41
|
+
help: "OneWay robots do not resume a patrol after charging. With this on, a patrol interrupted by charging restarts from the next point once the robot is charged and standing by. Never after a cancel or emergency stop, and not once the last point was reached. This DRIVES the robot - switch on only after the on-site test.",
|
|
42
|
+
moves: true,
|
|
43
|
+
},
|
|
38
44
|
] as const;
|
|
39
45
|
|
|
40
46
|
export type TFleetOpsKey = (typeof FLEET_OPS_SWITCHES)[number]["key"];
|