@qandq/cloud-gcs-core 1.2.54-cloud-752-6 → 1.2.54

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.
@@ -6,5 +6,5 @@ export interface AircraftInfo {
6
6
  installedPlugins: AircraftPlugin[];
7
7
  notInstalledPlugins: AircraftPlugin[];
8
8
  videoStreamServer: string;
9
- config: Map<string, any>;
9
+ config: any;
10
10
  }
@@ -55,7 +55,7 @@ export interface IAircraftApi {
55
55
  /**
56
56
  * Returns the aircraft configuration information.
57
57
  */
58
- getAircraftConfiguration(identifier: AircraftIdentifier): Map<string, any> | null;
58
+ getAircraftConfiguration(identifier: AircraftIdentifier): any;
59
59
  getAircraftInfo(identifier: AircraftIdentifier): AircraftInfo;
60
60
  getAircraftVideoStreamUrl(identifier: AircraftIdentifier, streamName: string): string;
61
61
  /**
@@ -22,10 +22,10 @@ export interface ISelectedAircraftApi {
22
22
  * Returns the 3D model address of the selected aircraft.
23
23
  */
24
24
  getAircraft3dModel(): string;
25
+ getAircraftConfiguration(): any;
25
26
  /**
26
27
  * Returns the configuration settings of the selected aircraft.
27
28
  */
28
- getAircraftConfiguration(): Map<string, any> | null;
29
29
  getAircraftInfo(): AircraftInfo;
30
30
  getAircraftVideoStreamUrl(streamName: string): string;
31
31
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qandq/cloud-gcs-core",
3
- "version": "1.2.54-cloud-752-6",
3
+ "version": "1.2.54",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -7,5 +7,5 @@ export interface AircraftInfo {
7
7
  installedPlugins: AircraftPlugin[],
8
8
  notInstalledPlugins: AircraftPlugin[],
9
9
  videoStreamServer: string,
10
- config: Map<string, any>
10
+ config: any
11
11
  }
@@ -67,7 +67,10 @@ export interface IAircraftApi {
67
67
  /**
68
68
  * Returns the aircraft configuration information.
69
69
  */
70
- getAircraftConfiguration(identifier: AircraftIdentifier): Map<string, any> | null;
70
+
71
+ // Deprecated: getAircraftConfiguration is obsolete.
72
+ // Please use getAircraftInfo instead to retrieve aircraft info and configurations.
73
+ getAircraftConfiguration(identifier: AircraftIdentifier): any;
71
74
  getAircraftInfo(identifier: AircraftIdentifier): AircraftInfo;
72
75
  getAircraftVideoStreamUrl(identifier: AircraftIdentifier, streamName: string): string
73
76
 
@@ -27,10 +27,13 @@ export interface ISelectedAircraftApi {
27
27
  */
28
28
  getAircraft3dModel(): string;
29
29
 
30
+ // Deprecated: getAircraftConfiguration is obsolete.
31
+ // Please use getAircraftInfo instead to retrieve aircraft info and configurations.
32
+ getAircraftConfiguration(): any;
33
+
30
34
  /**
31
35
  * Returns the configuration settings of the selected aircraft.
32
36
  */
33
- getAircraftConfiguration(): Map<string, any> | null;
34
37
  getAircraftInfo(): AircraftInfo;
35
38
  getAircraftVideoStreamUrl(streamName: string): string
36
39