@deeptrekker/api-domain 1.0.16 → 1.0.17

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.16";
1
+ export declare const API_VERSION = "1.0.17";
@@ -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.16";
5
+ exports.API_VERSION = "1.0.17";
@@ -8,4 +8,24 @@ import { OcleaCam } from "../ocleaCam";
8
8
  export type StereoCamera = Omit<OcleaCam, "model"> & {
9
9
  cameraHead?: string;
10
10
  leak?: boolean;
11
+ framerate?: {
12
+ desired_fps?: FPSCmdOptions;
13
+ current_state?: FPSStateOptions;
14
+ errorCode: FPSErrorCodeOptions;
15
+ };
11
16
  };
17
+ export declare enum FPSCmdOptions {
18
+ FPS_30 = 1,
19
+ FPS_60 = 2
20
+ }
21
+ export declare enum FPSStateOptions {
22
+ LOADING = 0,// For both bootup, and while switching
23
+ FPS_30 = 1,
24
+ FPS_60 = 2
25
+ }
26
+ export declare enum FPSErrorCodeOptions {
27
+ NONE = 0,
28
+ UNKNOWN_ERROR = 1,
29
+ UNSUPPORTED_FPS = 2,
30
+ FAILED_TO_START_PIPELINE = 3
31
+ }
@@ -1,2 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FPSErrorCodeOptions = exports.FPSStateOptions = exports.FPSCmdOptions = void 0;
4
+ var FPSCmdOptions;
5
+ (function (FPSCmdOptions) {
6
+ FPSCmdOptions[FPSCmdOptions["FPS_30"] = 1] = "FPS_30";
7
+ FPSCmdOptions[FPSCmdOptions["FPS_60"] = 2] = "FPS_60";
8
+ })(FPSCmdOptions || (exports.FPSCmdOptions = FPSCmdOptions = {}));
9
+ var FPSStateOptions;
10
+ (function (FPSStateOptions) {
11
+ FPSStateOptions[FPSStateOptions["LOADING"] = 0] = "LOADING";
12
+ FPSStateOptions[FPSStateOptions["FPS_30"] = 1] = "FPS_30";
13
+ FPSStateOptions[FPSStateOptions["FPS_60"] = 2] = "FPS_60";
14
+ })(FPSStateOptions || (exports.FPSStateOptions = FPSStateOptions = {}));
15
+ var FPSErrorCodeOptions;
16
+ (function (FPSErrorCodeOptions) {
17
+ FPSErrorCodeOptions[FPSErrorCodeOptions["NONE"] = 0] = "NONE";
18
+ FPSErrorCodeOptions[FPSErrorCodeOptions["UNKNOWN_ERROR"] = 1] = "UNKNOWN_ERROR";
19
+ FPSErrorCodeOptions[FPSErrorCodeOptions["UNSUPPORTED_FPS"] = 2] = "UNSUPPORTED_FPS";
20
+ FPSErrorCodeOptions[FPSErrorCodeOptions["FAILED_TO_START_PIPELINE"] = 3] = "FAILED_TO_START_PIPELINE";
21
+ })(FPSErrorCodeOptions || (exports.FPSErrorCodeOptions = FPSErrorCodeOptions = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deeptrekker/api-domain",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
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": {