@qandq/cloud-gcs-core 1.2.56-CLOUD-873-1 → 1.2.56

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,4 +1,5 @@
1
1
  import { FailSafeAction } from "./FailSafeAction";
2
+ /** @deprecated Use any instead */
2
3
  export interface FailSafe {
3
4
  longAction: FailSafeAction;
4
5
  rescueOnLossOfControl: boolean;
@@ -1,4 +1,5 @@
1
1
  import { Coordinates2D } from "./telemetry/Coordinates2D";
2
+ /** @deprecated Use any instead */
2
3
  export interface GeoFence {
3
4
  maxAltitude: number;
4
5
  minAltitude: number;
@@ -7,6 +7,7 @@ import { AircraftPlugin } from "../../../models/AircraftPlugin";
7
7
  import { PluginCommandResponseData } from "../../../models/PluginCommandResponseData";
8
8
  import { PluginData } from "../../../models/PluginData";
9
9
  import { FlightIdentifier } from "../../../models/telemetry/FlightIdentifier";
10
+ import { AircraftTelemetry } from "../../../models/telemetry/AircraftTelemetry";
10
11
  export interface IAircraftApi {
11
12
  /**
12
13
  * Indicates whether the aircraft is being controlled.
@@ -24,6 +25,7 @@ export interface IAircraftApi {
24
25
  * Returns the list of controlled aircraft.
25
26
  */
26
27
  getControllingAircraft(): AircraftIdentifier[];
28
+ getTelemetry(aircraftId: number): AircraftTelemetry;
27
29
  /**
28
30
  * Returns the 3D model file URL of the aircraft.
29
31
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qandq/cloud-gcs-core",
3
- "version": "1.2.56-CLOUD-873-1",
3
+ "version": "1.2.56",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -1,5 +1,6 @@
1
1
  import {FailSafeAction} from "./FailSafeAction";
2
2
 
3
+ /** @deprecated Use any instead */
3
4
  export interface FailSafe {
4
5
  longAction: FailSafeAction;
5
6
  rescueOnLossOfControl: boolean;
@@ -1,5 +1,6 @@
1
1
  import {Coordinates2D} from "./telemetry/Coordinates2D";
2
2
 
3
+ /** @deprecated Use any instead */
3
4
  export interface GeoFence {
4
5
  maxAltitude: number;
5
6
  minAltitude: number;
@@ -7,6 +7,7 @@ import { AircraftPlugin } from "../../../models/AircraftPlugin";
7
7
  import {PluginCommandResponseData} from "../../../models/PluginCommandResponseData";
8
8
  import {PluginData} from "../../../models/PluginData";
9
9
  import {FlightIdentifier} from "../../../models/telemetry/FlightIdentifier";
10
+ import {AircraftTelemetry} from "../../../models/telemetry/AircraftTelemetry";
10
11
 
11
12
  export interface IAircraftApi {
12
13
  /**
@@ -28,7 +29,7 @@ export interface IAircraftApi {
28
29
  * Returns the list of controlled aircraft.
29
30
  */
30
31
  getControllingAircraft(): AircraftIdentifier[];
31
-
32
+ getTelemetry(aircraftId: number): AircraftTelemetry
32
33
  /**
33
34
  * Returns the 3D model file URL of the aircraft.
34
35
  */