@qandq/cloud-gcs-core 1.2.49 → 1.2.51

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.
@@ -56,6 +56,7 @@ export interface IEventListener {
56
56
  * Triggered when the active aircraft changes.
57
57
  */
58
58
  onActiveAircraftChanged(callback: any): void;
59
+ onFlightIdentifierChanged(callback: any): void;
59
60
  /**
60
61
  * Triggered when aircraft parameters change.
61
62
  */
@@ -124,4 +125,5 @@ export interface IEventListener {
124
125
  removeUnitTypeChanged(callback: any): void;
125
126
  removeInsertFlightEvent(callback: any): void;
126
127
  removeAircraftParametersChanged(callback: any): void;
128
+ removeFlightIdentifierChanged(callback: any): void;
127
129
  }
@@ -6,6 +6,7 @@ import { CommandTypeEnum } from "../../../models/enums/CommandTypeEnum";
6
6
  import { AircraftPlugin } from "../../../models/AircraftPlugin";
7
7
  import { PluginCommandResponseData } from "../../../models/PluginCommandResponseData";
8
8
  import { PluginData } from "../../../models/PluginData";
9
+ import { FlightIdentifier } from "../../../models/telemetry/FlightIdentifier";
9
10
  export interface IAircraftApi {
10
11
  /**
11
12
  * Indicates whether the aircraft is being controlled.
@@ -63,4 +64,5 @@ export interface IAircraftApi {
63
64
  * Lists the installed plugins in the mission controller.
64
65
  */
65
66
  getAircraftPlugins(aircraftIdentifier: AircraftIdentifier): AircraftPlugin[];
67
+ getFlightIdentifier(aircraftIdentifier: AircraftIdentifier): FlightIdentifier;
66
68
  }
@@ -4,6 +4,7 @@ import { AircraftLocation } from "../../../models/AircraftLocation";
4
4
  import { AircraftIdentifier } from "../../../models/AircraftIdentifier";
5
5
  import { CommandTypeEnum } from "../../../models/enums/CommandTypeEnum";
6
6
  import { PluginData } from "../../../models/PluginData";
7
+ import { FlightIdentifier } from "../../../models/telemetry/FlightIdentifier";
7
8
  export interface ISelectedAircraftApi {
8
9
  /**
9
10
  * Indicates whether the selected aircraft is being controlled.
@@ -54,4 +55,5 @@ export interface ISelectedAircraftApi {
54
55
  * Returns the configuration of this plugin on the selected aircraft.
55
56
  */
56
57
  getPluginConfig(): any;
58
+ getFlightIdentifier(): FlightIdentifier;
57
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qandq/cloud-gcs-core",
3
- "version": "1.2.49",
3
+ "version": "1.2.51",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -72,6 +72,7 @@ export interface IEventListener {
72
72
  * Triggered when the active aircraft changes.
73
73
  */
74
74
  onActiveAircraftChanged(callback: any): void;
75
+ onFlightIdentifierChanged(callback: any): void;
75
76
 
76
77
  /**
77
78
  * Triggered when aircraft parameters change.
@@ -152,4 +153,5 @@ export interface IEventListener {
152
153
  removeUnitTypeChanged(callback: any): void;
153
154
  removeInsertFlightEvent(callback: any): void
154
155
  removeAircraftParametersChanged(callback: any): void;
156
+ removeFlightIdentifierChanged(callback: any): void;
155
157
  }
@@ -6,6 +6,7 @@ import {CommandTypeEnum} from "../../../models/enums/CommandTypeEnum";
6
6
  import { AircraftPlugin } from "../../../models/AircraftPlugin";
7
7
  import {PluginCommandResponseData} from "../../../models/PluginCommandResponseData";
8
8
  import {PluginData} from "../../../models/PluginData";
9
+ import {FlightIdentifier} from "../../../models/telemetry/FlightIdentifier";
9
10
 
10
11
  export interface IAircraftApi {
11
12
  /**
@@ -77,4 +78,6 @@ export interface IAircraftApi {
77
78
  * Lists the installed plugins in the mission controller.
78
79
  */
79
80
  getAircraftPlugins(aircraftIdentifier: AircraftIdentifier): AircraftPlugin[];
81
+
82
+ getFlightIdentifier(aircraftIdentifier: AircraftIdentifier): FlightIdentifier;
80
83
  }
@@ -4,6 +4,7 @@ import {AircraftLocation} from "../../../models/AircraftLocation";
4
4
  import {AircraftIdentifier} from "../../../models/AircraftIdentifier";
5
5
  import {CommandTypeEnum} from "../../../models/enums/CommandTypeEnum";
6
6
  import {PluginData} from "../../../models/PluginData";
7
+ import {FlightIdentifier} from "../../../models/telemetry/FlightIdentifier";
7
8
 
8
9
  export interface ISelectedAircraftApi {
9
10
  /**
@@ -66,5 +67,6 @@ export interface ISelectedAircraftApi {
66
67
  * Returns the configuration of this plugin on the selected aircraft.
67
68
  */
68
69
  getPluginConfig(): any;
70
+ getFlightIdentifier(): FlightIdentifier;
69
71
  }
70
72