@fboes/aerofly-custom-missions 1.11.0 → 1.12.0
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
This changelog documents all notable changes to the Aerofly Custom Missions project. Each version entry includes a list of changes, with the most recent version at the top.
|
|
4
4
|
|
|
5
|
+
## [1.12.0] - 2026-07-08
|
|
6
|
+
|
|
7
|
+
- Added unofficial `_cruiseSpeed` property to `AeroflyNavigationConfig`
|
|
8
|
+
|
|
5
9
|
## [1.11.0] - 2026-06-18
|
|
6
10
|
|
|
7
11
|
- Added unofficial `_missionTitle` and `_missionBriefing` property to `AeroflyFlight`
|
|
@@ -10,21 +10,28 @@ export class AeroflyNavigationConfig {
|
|
|
10
10
|
* @property {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
11
11
|
*/
|
|
12
12
|
waypoints;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
*/
|
|
16
|
+
_cruiseSpeed_kts;
|
|
13
17
|
/**
|
|
14
18
|
* @param {number} cruiseAltitude in meters
|
|
15
19
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
20
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
16
21
|
*/
|
|
17
|
-
constructor(cruiseAltitude, waypoints = []) {
|
|
22
|
+
constructor(cruiseAltitude, waypoints = [], _cruiseSpeed_kts = undefined) {
|
|
18
23
|
this.cruiseAltitude = cruiseAltitude;
|
|
19
24
|
this.waypoints = waypoints;
|
|
25
|
+
this._cruiseSpeed_kts = _cruiseSpeed_kts;
|
|
20
26
|
}
|
|
21
27
|
/**
|
|
22
28
|
* @param {number} cruiseAltitude_ft in feet
|
|
23
29
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
30
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
24
31
|
* @returns {AeroflyNavigationConfig} with cruise altitude converted to meters
|
|
25
32
|
*/
|
|
26
|
-
static createInFeet(cruiseAltitude_ft, waypoints = []) {
|
|
27
|
-
return new AeroflyNavigationConfig(Convert.convertFeetToMeter(cruiseAltitude_ft), waypoints);
|
|
33
|
+
static createInFeet(cruiseAltitude_ft, waypoints = [], _cruiseSpeed_kts = undefined) {
|
|
34
|
+
return new AeroflyNavigationConfig(Convert.convertFeetToMeter(cruiseAltitude_ft), waypoints, _cruiseSpeed_kts);
|
|
28
35
|
}
|
|
29
36
|
/**
|
|
30
37
|
* @returns {number} cruise altitude in feet
|
package/package.json
CHANGED
|
@@ -13,22 +13,38 @@ export class AeroflyNavigationConfig {
|
|
|
13
13
|
*/
|
|
14
14
|
waypoints: AeroflyNavRouteBase[];
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
_cruiseSpeed_kts: number | undefined;
|
|
20
|
+
|
|
16
21
|
/**
|
|
17
22
|
* @param {number} cruiseAltitude in meters
|
|
18
23
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
24
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
19
25
|
*/
|
|
20
|
-
constructor(
|
|
26
|
+
constructor(
|
|
27
|
+
cruiseAltitude: number,
|
|
28
|
+
waypoints: AeroflyNavRouteBase[] = [],
|
|
29
|
+
_cruiseSpeed_kts: number | undefined = undefined,
|
|
30
|
+
) {
|
|
21
31
|
this.cruiseAltitude = cruiseAltitude;
|
|
22
32
|
this.waypoints = waypoints;
|
|
33
|
+
this._cruiseSpeed_kts = _cruiseSpeed_kts;
|
|
23
34
|
}
|
|
24
35
|
|
|
25
36
|
/**
|
|
26
37
|
* @param {number} cruiseAltitude_ft in feet
|
|
27
38
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
39
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
28
40
|
* @returns {AeroflyNavigationConfig} with cruise altitude converted to meters
|
|
29
41
|
*/
|
|
30
|
-
static createInFeet(
|
|
31
|
-
|
|
42
|
+
static createInFeet(
|
|
43
|
+
cruiseAltitude_ft: number,
|
|
44
|
+
waypoints: AeroflyNavRouteBase[] = [],
|
|
45
|
+
_cruiseSpeed_kts: number | undefined = undefined,
|
|
46
|
+
): AeroflyNavigationConfig {
|
|
47
|
+
return new AeroflyNavigationConfig(Convert.convertFeetToMeter(cruiseAltitude_ft), waypoints, _cruiseSpeed_kts);
|
|
32
48
|
}
|
|
33
49
|
|
|
34
50
|
/**
|
|
@@ -9,17 +9,27 @@ export declare class AeroflyNavigationConfig {
|
|
|
9
9
|
* @property {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
10
10
|
*/
|
|
11
11
|
waypoints: AeroflyNavRouteBase[];
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
_cruiseSpeed_kts: number | undefined;
|
|
12
16
|
/**
|
|
13
17
|
* @param {number} cruiseAltitude in meters
|
|
14
18
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
19
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
15
20
|
*/
|
|
16
|
-
constructor(cruiseAltitude: number, waypoints?: AeroflyNavRouteBase[]);
|
|
21
|
+
constructor(cruiseAltitude: number, waypoints?: AeroflyNavRouteBase[], _cruiseSpeed_kts?: number | undefined);
|
|
17
22
|
/**
|
|
18
23
|
* @param {number} cruiseAltitude_ft in feet
|
|
19
24
|
* @param {AeroflyNavRouteBase[]} waypoints in order of flight, if used in an array will set the array index
|
|
25
|
+
* @param {number|undefined} _cruiseSpeed_kts in knots
|
|
20
26
|
* @returns {AeroflyNavigationConfig} with cruise altitude converted to meters
|
|
21
27
|
*/
|
|
22
|
-
static createInFeet(
|
|
28
|
+
static createInFeet(
|
|
29
|
+
cruiseAltitude_ft: number,
|
|
30
|
+
waypoints?: AeroflyNavRouteBase[],
|
|
31
|
+
_cruiseSpeed_kts?: number | undefined,
|
|
32
|
+
): AeroflyNavigationConfig;
|
|
23
33
|
/**
|
|
24
34
|
* @returns {number} cruise altitude in feet
|
|
25
35
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AeroflyNavigationConfig.d.ts","sourceRoot":"","sources":["../../src/dto-flight/AeroflyNavigationConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,uBAAuB;IAChC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAEjC
|
|
1
|
+
{"version":3,"file":"AeroflyNavigationConfig.d.ts","sourceRoot":"","sources":["../../src/dto-flight/AeroflyNavigationConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D,qBAAa,uBAAuB;IAChC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAEjC;;OAEG;IACH,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAErC;;;;OAIG;gBAEC,cAAc,EAAE,MAAM,EACtB,SAAS,GAAE,mBAAmB,EAAO,EACrC,gBAAgB,GAAE,MAAM,GAAG,SAAqB;IAOpD;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CACf,iBAAiB,EAAE,MAAM,EACzB,SAAS,GAAE,mBAAmB,EAAO,EACrC,gBAAgB,GAAE,MAAM,GAAG,SAAqB,GACjD,uBAAuB;IAI1B;;OAEG;IACH,IAAI,iBAAiB,IAAI,MAAM,CAE9B;IAED,IAAI,iBAAiB,CAAC,iBAAiB,EAAE,MAAM,EAE9C;IAED;;OAEG;IACH,qBAAqB,IAAI,wBAAwB,EAAE;IAMnD,UAAU,IAAI,wBAAwB;IAmBtC,MAAM;IAQN;;OAEG;IACH,QAAQ,IAAI,MAAM;CAGrB"}
|