@qandq/cloud-gcs-core 1.2.47-C698 → 1.2.47-C698-2

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.
@@ -39,7 +39,7 @@ export interface IEventListener {
39
39
  /**
40
40
  * Triggered when a summary log is inserted.
41
41
  */
42
- onInsertSummaryLog(callback: any): void;
42
+ onInsertFlightEvent(callback: any): void;
43
43
  /**
44
44
  * Triggered when pilotage status of the active aircraft changes.
45
45
  */
@@ -104,7 +104,6 @@ export interface IEventListener {
104
104
  removeAnyAircraftStatusMessageReceived(callback: any): void;
105
105
  removeConnectionLoss(callback: any): void;
106
106
  removeAnyUserStatusMessageReceived(callback: any): void;
107
- removeInsertSummaryLog(callback: any): void;
108
107
  removeActiveAircraftPilotageStateChanged(callback: any): void;
109
108
  removeFlyByWireControlsChanged(callback: any): void;
110
109
  removeStatusIndicatorChanged(callback: any): void;
@@ -119,4 +118,5 @@ export interface IEventListener {
119
118
  removeAircraftPilotageStatusChanged(callback: any): void;
120
119
  removeHandoverPilotMessage(callback: any): void;
121
120
  removeUnitTypeChanged(callback: any): void;
121
+ removeInsertFlightEvent(callback: any): void;
122
122
  }
@@ -1,4 +1,5 @@
1
1
  import { FlightEventMessage } from "../../models/FlightEventMessage";
2
+ import { AircraftIdentifier } from "../../models/AircraftIdentifier";
2
3
  export interface IFlightEventApi {
3
- sendFlightEvent(log: FlightEventMessage): void;
4
+ sendFlightEvent(identifier: AircraftIdentifier, log: FlightEventMessage): void;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qandq/cloud-gcs-core",
3
- "version": "1.2.47-C698",
3
+ "version": "1.2.47-C698-2",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -49,7 +49,7 @@ export interface IEventListener {
49
49
  /**
50
50
  * Triggered when a summary log is inserted.
51
51
  */
52
- onInsertSummaryLog(callback: any): void;
52
+ onInsertFlightEvent(callback: any): void
53
53
 
54
54
  /**
55
55
  * Triggered when pilotage status of the active aircraft changes.
@@ -129,7 +129,6 @@ export interface IEventListener {
129
129
  removeAnyAircraftStatusMessageReceived(callback: any): void;
130
130
  removeConnectionLoss(callback: any): void;
131
131
  removeAnyUserStatusMessageReceived(callback: any): void;
132
- removeInsertSummaryLog(callback: any): void;
133
132
  removeActiveAircraftPilotageStateChanged(callback: any): void;
134
133
  removeFlyByWireControlsChanged(callback: any): void;
135
134
  removeStatusIndicatorChanged(callback: any): void;
@@ -144,4 +143,5 @@ export interface IEventListener {
144
143
  removeAircraftPilotageStatusChanged(callback: any): void;
145
144
  removeHandoverPilotMessage(callback: any): void;
146
145
  removeUnitTypeChanged(callback: any): void;
146
+ removeInsertFlightEvent(callback: any): void
147
147
  }
@@ -1,5 +1,6 @@
1
1
  import {FlightEventMessage} from "../../models/FlightEventMessage";
2
+ import {AircraftIdentifier} from "../../models/AircraftIdentifier";
2
3
 
3
4
  export interface IFlightEventApi {
4
- sendFlightEvent(log: FlightEventMessage): void;
5
+ sendFlightEvent(identifier: AircraftIdentifier, log: FlightEventMessage): void;
5
6
  }