@qandq/cloud-gcs-core 1.2.49 → 1.2.50
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.
- package/dist/index.d.ts +2 -1
- package/dist/models/FlightInfo.d.ts +5 -0
- package/dist/plugin-contract/interfaces/IEventListener.d.ts +2 -0
- package/dist/plugin-contract/system-api/aircraft-api/IAircraftApi.d.ts +2 -0
- package/dist/plugin-contract/system-api/selected-aircraft-api/ISelectedAircraftApi.d.ts +2 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/models/FlightInfo.ts +6 -0
- package/src/plugin-contract/interfaces/IEventListener.ts +2 -0
- package/src/plugin-contract/system-api/aircraft-api/IAircraftApi.ts +3 -0
- package/src/plugin-contract/system-api/selected-aircraft-api/ISelectedAircraftApi.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -94,5 +94,6 @@ import { TelemetryHeader } from "./models/TelemetryHeader";
|
|
|
94
94
|
import { FlightEventMessage } from "./models/FlightEventMessage";
|
|
95
95
|
import { FlightEventMessageInput } from "./models/FlightEventMessageInput";
|
|
96
96
|
import { FlightEventTarget } from "./models/FlightEventTarget";
|
|
97
|
-
|
|
97
|
+
import { FlightInfo } from "./models/FlightInfo";
|
|
98
|
+
export type { IPlugin, IPluginApi, IPluginEventManager, IPluginServiceManager, IPluginUIManager, IEventListener, ISystemApi, IAircraftLocationApi, ISelectedAircraftApi, ITelemetryApi, IDataAnalyzeApi, IUnitsApi, IUserApi, IHandOverApi, IAircraftApi, AircraftConfiguration, AircraftLocation, AircraftTelemetry, AircraftWarningStatuses, AirInfo, AttitudeInfo, BatteryInfo, ClimbInfo, CommandInfo, Coordinates2D, EngineInfo, HeadingInfo, IndexedWaypoint, PluginService, MenuItem, PluginEventArgs, PluginEventCallback, PluginServiceInformation, SpeedInfo, StatusInfo, Waypoint, User, AircraftPlugin, AircraftPilotageStatus, AircraftState, AircraftStatusTopicMessage, PilotUserHealth, GCSController, UserStatusTopicSubscriptionMessage, HandOverResponseData, HandOverCommandData, AircraftIdentifier, GPSInfo, PluginTelemetryData, VtolControlInfo, VtolQuadInfo, LinkHealthStatus, AircraftMission, GeoFence, FailSafe, NavigationCommandParam, FailSafeAction, FlightInfo, Coordinates, FlightIdentifier, PluginCallback, PluginCommandResponseData, UserStatus, ICurrentUser, UIPluginCommand, IFlightEventApi, IMissionApi, IUserAuth, Mission, PilotUserStatus, TelemetryHeader, FlightEventMessage, FlightEventMessageInput };
|
|
98
99
|
export { SensorStatus, CommandTypeEnum, CommandSourceEnum, GPSCorrectionStatusEnum, UnitTypeEnum, GPSFixStatusEnum, PayloadRetractStatusEnum, TravelStatusEnum, UnitSystemEnum, WarningStatusEnum, PilotageStateEnum, UserTypeEnum, AircraftHealthEnum, HandOverCommandType, IndicatorStatusEnum, LogLevel, FailSafeTypeEnum, PluginNames, PluginServiceNames, PilotageStatus, PluginData, ClientType, IPluginDataAnalysis, FlightEventTarget };
|
|
@@ -56,6 +56,7 @@ export interface IEventListener {
|
|
|
56
56
|
* Triggered when the active aircraft changes.
|
|
57
57
|
*/
|
|
58
58
|
onActiveAircraftChanged(callback: any): void;
|
|
59
|
+
onFlightIdChanged(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
|
+
removeFlightIdChanged(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 { FlightInfo } from "../../../models/FlightInfo";
|
|
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
|
+
getFlightInfo(aircraftIdentifier: AircraftIdentifier): FlightInfo;
|
|
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 { FlightInfo } from "../../../models/FlightInfo";
|
|
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
|
+
getFlightInfo(): FlightInfo;
|
|
57
59
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -100,6 +100,7 @@ import {TelemetryHeader} from "./models/TelemetryHeader";
|
|
|
100
100
|
import {FlightEventMessage} from "./models/FlightEventMessage";
|
|
101
101
|
import {FlightEventMessageInput} from "./models/FlightEventMessageInput";
|
|
102
102
|
import {FlightEventTarget} from "./models/FlightEventTarget";
|
|
103
|
+
import { FlightInfo } from "./models/FlightInfo";
|
|
103
104
|
|
|
104
105
|
export type {
|
|
105
106
|
IPlugin,
|
|
@@ -159,6 +160,7 @@ export type {
|
|
|
159
160
|
FailSafe,
|
|
160
161
|
NavigationCommandParam,
|
|
161
162
|
FailSafeAction,
|
|
163
|
+
FlightInfo,
|
|
162
164
|
Coordinates,
|
|
163
165
|
FlightIdentifier,
|
|
164
166
|
PluginCallback,
|
|
@@ -72,6 +72,7 @@ export interface IEventListener {
|
|
|
72
72
|
* Triggered when the active aircraft changes.
|
|
73
73
|
*/
|
|
74
74
|
onActiveAircraftChanged(callback: any): void;
|
|
75
|
+
onFlightIdChanged(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
|
+
removeFlightIdChanged(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 {FlightInfo} from "../../../models/FlightInfo";
|
|
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
|
+
getFlightInfo(aircraftIdentifier: AircraftIdentifier): FlightInfo;
|
|
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 {FlightInfo} from "../../../models/FlightInfo";
|
|
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
|
+
getFlightInfo(): FlightInfo;
|
|
69
71
|
}
|
|
70
72
|
|