@deeptrekker/api-domain 1.0.31 → 1.0.32-serial-on-x4.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.
@@ -1 +1 @@
1
- export declare const API_VERSION = "1.0.31";
1
+ export declare const API_VERSION = "1.0.32-serial-on-x4.1";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.API_VERSION = void 0;
4
4
  /* AUTO GENERATED FILE */
5
- exports.API_VERSION = "1.0.31";
5
+ exports.API_VERSION = "1.0.32-serial-on-x4.1";
@@ -1,5 +1,5 @@
1
1
  import { Movement } from "../../../core";
2
- import { DeviceModel, MotorDiagnostics, Sonar, StereoCamera, X4CameraHead } from "../../cameraHeads";
2
+ import { DeviceModel, MotorDiagnostics, SerialDevice, Sonar, StereoCamera, X4CameraHead } from "../../cameraHeads";
3
3
  import { ImpaqDriver, SensorPod, X4Light } from "../../peripherals";
4
4
  /**
5
5
  * The coordinate system used for navigation and positioning.
@@ -109,11 +109,16 @@ export type X4Faults = {
109
109
  light1Overcurrent: boolean;
110
110
  light1Overtemp: boolean;
111
111
  pdmNotEnoughMessages: boolean;
112
- pdmUndervoltage: boolean;
113
- pdmOvervoltage: boolean;
112
+ pdmUndervoltage24v: boolean;
113
+ pdmOvervoltage24v: boolean;
114
+ pdmUndervoltage48v: boolean;
115
+ pdmOvervoltage48v: boolean;
116
+ pdmUndervoltageChassis: boolean;
117
+ pdmOvervoltageChassis: boolean;
114
118
  pdmOvercurrent: boolean;
115
119
  pdmOvertemp: boolean;
116
120
  pdmOffline: boolean;
121
+ pdmLeakageOvercurrent: boolean;
117
122
  brushedMotorNotEnoughMessages: boolean;
118
123
  brushedMotorOvervoltage: boolean;
119
124
  brushedMotorUndervoltage: boolean;
@@ -800,4 +805,5 @@ export type X4 = {
800
805
  * Raw string from the cp probe, to be displayed on screen
801
806
  */
802
807
  cpProbe?: string;
808
+ serialDevices?: Record<string, SerialDevice>;
803
809
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.31",
3
+ "version": "1.0.32-serial-on-x4.1",
4
4
  "description": "A business domain of types and schemas that the Deep Trekker topside communicates with via an API.",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
@@ -37,16 +37,16 @@
37
37
  "@knodes/typedoc-plugin-code-blocks": "^0.22.7",
38
38
  "@types/lodash": "^4.14.182",
39
39
  "@types/node": "^22.0.0",
40
- "@typescript-eslint/eslint-plugin": "^6.1.0",
41
- "@typescript-eslint/parser": "^6.1.0",
42
40
  "@zamiell/typedoc-plugin-not-exported": "^0.2.0",
43
- "eslint": "^8.45.0",
44
- "eslint-config-prettier": "^8.8.0",
45
- "eslint-plugin-unused-imports": "^3.0.0",
46
41
  "prettier": "3.0.3",
47
42
  "rimraf": "^3.0.2",
48
43
  "semver-compare-cli": "^2.0.0",
49
44
  "ts-json-schema-generator": "2.4.0",
45
+ "eslint": "^8.45.0",
46
+ "@typescript-eslint/eslint-plugin": "^6.1.0",
47
+ "@typescript-eslint/parser": "^6.1.0",
48
+ "eslint-plugin-unused-imports": "^3.0.0",
49
+ "eslint-config-prettier": "^8.8.0",
50
50
  "ts-node": "^10.8.1",
51
51
  "tslib": "^2.4.0",
52
52
  "typedoc": "^0.28.9",
@@ -62,7 +62,6 @@
62
62
  "mkdirp": "^1.0.4",
63
63
  "ts-pattern": "^4.3.0",
64
64
  "ts-toolbelt": "^9.6.0",
65
- "type-zoo": "^3.4.1",
66
- "yarn": "^1.22.22"
65
+ "type-zoo": "^3.4.1"
67
66
  }
68
67
  }