@qandq/cloud-gcs-core 1.0.49 → 1.0.52
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/UserStatus.d.ts +7 -0
- package/dist/models/telemetry/StatusInfo.d.ts +1 -1
- package/dist/plugin-contract/interfaces/IEventListener.d.ts +2 -2
- package/dist/plugin-contract/interfaces/IPluginUIManager.d.ts +1 -1
- package/dist/plugin-contract/system-api/user-api/IUserApi.d.ts +2 -0
- package/package.json +1 -1
- package/src/index.ts +3 -1
- package/src/models/UserStatus.ts +8 -0
- package/src/models/telemetry/StatusInfo.ts +1 -1
- package/src/plugin-contract/interfaces/IEventListener.ts +2 -2
- package/src/plugin-contract/interfaces/IPluginUIManager.ts +1 -1
- package/src/plugin-contract/system-api/units-api/IUnitsApi.ts +0 -1
- package/src/plugin-contract/system-api/user-api/IUserApi.ts +2 -0
package/dist/index.d.ts
CHANGED
|
@@ -59,6 +59,7 @@ import { GCSController } from "./models/GCSController";
|
|
|
59
59
|
import { PilotUserHealth } from "./models/PilotUserHealth";
|
|
60
60
|
import { HandOverResponseData } from "./models/handover/HandOverResponseData";
|
|
61
61
|
import { HandOverCommandData } from "./models/handover/HandOverCommandData";
|
|
62
|
+
import { UserStatus } from "./models/UserStatus";
|
|
62
63
|
import { GPSInfo } from "./models/telemetry/GPSInfo";
|
|
63
64
|
import { PluginTelemetryData } from "./models/telemetry/PluginTelemetryData";
|
|
64
65
|
import { VtolControlInfo } from "./models/telemetry/VtolControlInfo";
|
|
@@ -71,5 +72,5 @@ import { NavigationCommandParam } from "./models/NavigationCommandParam";
|
|
|
71
72
|
import { FailSafeAction } from "./models/FailSafeAction";
|
|
72
73
|
import { Coordinates } from "./models/telemetry/Coordinates";
|
|
73
74
|
import { CommandTypeEnum } from "./models/enums/CommandTypeEnum";
|
|
74
|
-
export type { IPlugin, IPluginApi, IPluginEventManager, IPluginServiceManager, IPluginUIManager, IEventListener, ISystemApi, IAircraftLocationApi, ISelectedAircraftApi, ITelemetryApi, 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, AircraftPilotageStatus, AircraftState, AircraftStatusTopicMessage, PilotUserHealth, GCSController, UserStatusTopicSubscriptionMessage, HandOverResponseData, HandOverCommandData, AircraftIdentifier, GPSInfo, PluginTelemetryData, VtolControlInfo, LinkHealthStatus, AircraftMission, GeoFence, FailSafe, NavigationCommandParam, FailSafeAction, Coordinates, FlightIdentifier, PluginCallback };
|
|
75
|
+
export type { IPlugin, IPluginApi, IPluginEventManager, IPluginServiceManager, IPluginUIManager, IEventListener, ISystemApi, IAircraftLocationApi, ISelectedAircraftApi, ITelemetryApi, 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, AircraftPilotageStatus, AircraftState, AircraftStatusTopicMessage, PilotUserHealth, GCSController, UserStatusTopicSubscriptionMessage, HandOverResponseData, HandOverCommandData, AircraftIdentifier, GPSInfo, PluginTelemetryData, VtolControlInfo, LinkHealthStatus, AircraftMission, GeoFence, FailSafe, NavigationCommandParam, FailSafeAction, Coordinates, FlightIdentifier, PluginCallback, UserStatus };
|
|
75
76
|
export { CommandTypeEnum, CommandEnum, CommandSourceEnum, GPSCorrectionStatusEnum, UnitTypeEnum, GPSFixStatusEnum, PayloadRetractStatusEnum, TravelStatusEnum, UnitSystemEnum, WarningStatusEnum, PilotageStateEnum, UserTypeEnum, AircraftHealthEnum, HandOverCommandType, IndicatorStatusEnum, LogLevel };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PluginCallback } from "../../models/PluginCallback";
|
|
2
2
|
export interface IEventListener {
|
|
3
|
+
onOnlineUsersCode(callback: any): void;
|
|
3
4
|
onLogout(callback: PluginCallback): void;
|
|
4
5
|
onAircraftPilotChanged(callback: any): void;
|
|
5
6
|
onReceivedHandOverCommand(callback: any): void;
|
|
@@ -9,7 +10,6 @@ export interface IEventListener {
|
|
|
9
10
|
onConnectionLoss(callback: any): void;
|
|
10
11
|
onAnyUserStatusMessageReceived(callback: any): void;
|
|
11
12
|
onInsertSummaryLog(callback: any): void;
|
|
12
|
-
onOnlineUsersCode(callback: any): void;
|
|
13
13
|
onActiveAircraftPilotageStateChanged(callback: any): void;
|
|
14
14
|
onFlyByWireControlsChanged(callback: any): void;
|
|
15
15
|
onStatusIndicatorChanged(callback: any): void;
|
|
@@ -19,6 +19,7 @@ export interface IEventListener {
|
|
|
19
19
|
onTelemetryDataChanged(callback: any): void;
|
|
20
20
|
onAircraftLocationChanged(callback: any): void;
|
|
21
21
|
onAircraftRemoved(callback: any): void;
|
|
22
|
+
removeOnlineUsersCode(callback: any): void;
|
|
22
23
|
removeLogout(callback: PluginCallback): void;
|
|
23
24
|
removeAircraftPilotChanged(callback: any): void;
|
|
24
25
|
removeReceivedHandOverCommand(callback: any): void;
|
|
@@ -27,7 +28,6 @@ export interface IEventListener {
|
|
|
27
28
|
removeConnectionLoss(callback: any): void;
|
|
28
29
|
removeAnyUserStatusMessageReceived(callback: any): void;
|
|
29
30
|
removeInsertSummaryLog(callback: any): void;
|
|
30
|
-
removeOnlineUsersCode(callback: any): void;
|
|
31
31
|
removeActiveAircraftPilotageStateChanged(callback: any): void;
|
|
32
32
|
removeFlyByWireControlsChanged(callback: any): void;
|
|
33
33
|
removeStatusIndicatorChanged(callback: any): void;
|
|
@@ -7,5 +7,5 @@ export interface IPluginUIManager {
|
|
|
7
7
|
clearSubMenuItems: (menuId: string) => void;
|
|
8
8
|
setDisabledMenuItem: (menuId: string, disabled: boolean) => void;
|
|
9
9
|
setDisabledSubMenuItem: (menuId: string, itemKey: string, disabled: boolean) => void;
|
|
10
|
-
getBottomStack: () =>
|
|
10
|
+
getBottomStack: () => Promise<HTMLElement>;
|
|
11
11
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ import { GCSController } from "./models/GCSController";
|
|
|
62
62
|
import { PilotUserHealth } from "./models/PilotUserHealth";
|
|
63
63
|
import {HandOverResponseData} from "./models/handover/HandOverResponseData";
|
|
64
64
|
import {HandOverCommandData} from "./models/handover/HandOverCommandData";
|
|
65
|
+
import {UserStatus} from "./models/UserStatus";
|
|
65
66
|
|
|
66
67
|
import {GPSInfo} from "./models/telemetry/GPSInfo";
|
|
67
68
|
import {PluginTelemetryData} from "./models/telemetry/PluginTelemetryData";
|
|
@@ -134,7 +135,8 @@ export type {
|
|
|
134
135
|
FailSafeAction,
|
|
135
136
|
Coordinates,
|
|
136
137
|
FlightIdentifier,
|
|
137
|
-
PluginCallback
|
|
138
|
+
PluginCallback,
|
|
139
|
+
UserStatus
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
export {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {PluginCallback} from "../../models/PluginCallback";
|
|
2
2
|
|
|
3
3
|
export interface IEventListener {
|
|
4
|
+
onOnlineUsersCode(callback: any): void
|
|
4
5
|
onLogout(callback: PluginCallback): void
|
|
5
6
|
onAircraftPilotChanged(callback: any): void;
|
|
6
7
|
onReceivedHandOverCommand(callback: any): void;
|
|
@@ -10,7 +11,6 @@ export interface IEventListener {
|
|
|
10
11
|
onConnectionLoss(callback: any): void;
|
|
11
12
|
onAnyUserStatusMessageReceived(callback: any): void;
|
|
12
13
|
onInsertSummaryLog(callback: any): void;
|
|
13
|
-
onOnlineUsersCode(callback: any): void;
|
|
14
14
|
onActiveAircraftPilotageStateChanged(callback: any): void;
|
|
15
15
|
onFlyByWireControlsChanged(callback: any): void;
|
|
16
16
|
onStatusIndicatorChanged(callback: any): void;
|
|
@@ -21,6 +21,7 @@ export interface IEventListener {
|
|
|
21
21
|
onAircraftLocationChanged(callback: any): void;
|
|
22
22
|
onAircraftRemoved(callback: any): void;
|
|
23
23
|
|
|
24
|
+
removeOnlineUsersCode(callback: any): void
|
|
24
25
|
removeLogout(callback: PluginCallback): void
|
|
25
26
|
removeAircraftPilotChanged(callback: any): void;
|
|
26
27
|
removeReceivedHandOverCommand(callback: any): void;
|
|
@@ -29,7 +30,6 @@ export interface IEventListener {
|
|
|
29
30
|
removeConnectionLoss(callback: any): void;
|
|
30
31
|
removeAnyUserStatusMessageReceived(callback: any): void;
|
|
31
32
|
removeInsertSummaryLog(callback: any): void;
|
|
32
|
-
removeOnlineUsersCode(callback: any): void;
|
|
33
33
|
removeActiveAircraftPilotageStateChanged(callback: any): void;
|
|
34
34
|
removeFlyByWireControlsChanged(callback: any): void;
|
|
35
35
|
removeStatusIndicatorChanged(callback: any): void;
|
|
@@ -11,5 +11,5 @@ export interface IPluginUIManager {
|
|
|
11
11
|
setDisabledMenuItem: (menuId: string, disabled: boolean) => void;
|
|
12
12
|
setDisabledSubMenuItem: (menuId: string, itemKey: string, disabled: boolean) => void;
|
|
13
13
|
|
|
14
|
-
getBottomStack: () =>
|
|
14
|
+
getBottomStack: () => Promise<HTMLElement>
|
|
15
15
|
}
|
|
@@ -6,6 +6,5 @@ export interface IUnitsApi {
|
|
|
6
6
|
convertNumber: (system: UnitSystemEnum, type: UnitTypeEnum, value: number) => number;
|
|
7
7
|
convertToSI: (system: UnitSystemEnum, unit: UnitTypeEnum, value: number) => number;
|
|
8
8
|
getUnitText: (system: UnitSystemEnum, type: UnitTypeEnum) => string;
|
|
9
|
-
|
|
10
9
|
getUnitSystem: () => UnitSystemEnum;
|
|
11
10
|
}
|