@deeptrekker/api-domain 1.0.37-release-3-0.0 → 1.0.37
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.37
|
|
1
|
+
export declare const API_VERSION = "1.0.37";
|
|
@@ -55,16 +55,13 @@ export type TransferPayload<T> = {
|
|
|
55
55
|
payload: T;
|
|
56
56
|
};
|
|
57
57
|
export declare enum ReferencePoints {
|
|
58
|
+
Body = "body",
|
|
58
59
|
Altitude = "altitude",
|
|
59
60
|
Depth = "depth",
|
|
60
61
|
Global = "global",
|
|
61
62
|
Local = "local",
|
|
62
63
|
Distance = "distance"
|
|
63
64
|
}
|
|
64
|
-
export declare enum ControlFrames {
|
|
65
|
-
Body = "body",
|
|
66
|
-
Footprint = "footprint"
|
|
67
|
-
}
|
|
68
65
|
/**
|
|
69
66
|
* Movement
|
|
70
67
|
*
|
|
@@ -102,11 +99,6 @@ export type Movement = {
|
|
|
102
99
|
* A reference to the position or heading that the vehicle should target and base its locking on.
|
|
103
100
|
*/
|
|
104
101
|
reference?: ReferencePoints;
|
|
105
|
-
/**
|
|
106
|
-
* @remarks
|
|
107
|
-
* The frame of reference for the movement. This is used to determine how the vehicle should interpret the movement command.
|
|
108
|
-
*/
|
|
109
|
-
controlFrame?: ControlFrames;
|
|
110
102
|
};
|
|
111
103
|
/**
|
|
112
104
|
* The different kinds of payload requests that can be sent and received.
|
package/dist/types/core/index.js
CHANGED
|
@@ -15,20 +15,16 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
var _a;
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.ERROR_MESSAGES = exports.ErrorCode = exports.TransferMethodType = exports.
|
|
18
|
+
exports.ERROR_MESSAGES = exports.ErrorCode = exports.TransferMethodType = exports.ReferencePoints = void 0;
|
|
19
19
|
var ReferencePoints;
|
|
20
20
|
(function (ReferencePoints) {
|
|
21
|
+
ReferencePoints["Body"] = "body";
|
|
21
22
|
ReferencePoints["Altitude"] = "altitude";
|
|
22
23
|
ReferencePoints["Depth"] = "depth";
|
|
23
24
|
ReferencePoints["Global"] = "global";
|
|
24
25
|
ReferencePoints["Local"] = "local";
|
|
25
26
|
ReferencePoints["Distance"] = "distance";
|
|
26
27
|
})(ReferencePoints || (exports.ReferencePoints = ReferencePoints = {}));
|
|
27
|
-
var ControlFrames;
|
|
28
|
-
(function (ControlFrames) {
|
|
29
|
-
ControlFrames["Body"] = "body";
|
|
30
|
-
ControlFrames["Footprint"] = "footprint";
|
|
31
|
-
})(ControlFrames || (exports.ControlFrames = ControlFrames = {}));
|
|
32
28
|
/**
|
|
33
29
|
* The different kinds of payload requests that can be sent and received.
|
|
34
30
|
* @category Core
|
|
@@ -158,11 +158,6 @@ export type X4DriveCommand = {
|
|
|
158
158
|
* See {@link ControlMode | ControlMode} for more details.
|
|
159
159
|
*/
|
|
160
160
|
controlMode?: ControlMode;
|
|
161
|
-
/**
|
|
162
|
-
* The velocity control option for the drive command, which can be used to specify whether the vehicle should use velocity control or position control.
|
|
163
|
-
* If true the vehicle is locked to velocity control.
|
|
164
|
-
*/
|
|
165
|
-
useVelocityControl?: boolean;
|
|
166
161
|
/**
|
|
167
162
|
* The forward movement command, which includes speed and position.
|
|
168
163
|
* This allows the user to control the vehicle's forward movement. (Forward and backward)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deeptrekker/api-domain",
|
|
3
|
-
"version": "1.0.37
|
|
3
|
+
"version": "1.0.37",
|
|
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",
|
|
40
42
|
"@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",
|
|
41
46
|
"prettier": "3.0.3",
|
|
42
47
|
"rimraf": "^3.0.2",
|
|
43
48
|
"semver-compare-cli": "^2.0.0",
|
|
44
49
|
"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,6 +62,7 @@
|
|
|
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"
|
|
65
|
+
"type-zoo": "^3.4.1",
|
|
66
|
+
"yarn": "^1.22.22"
|
|
66
67
|
}
|
|
67
68
|
}
|