@fboes/aerofly-custom-missions 1.7.0 → 1.8.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.7.0] - 2026-04-19
6
+
7
+ - Added new flight configuration strings to `AeroflySettingsFlight`
8
+
5
9
  ## [1.6.0]
6
10
 
7
11
  - Added `toJSON` improvements to most DTOs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fboes/aerofly-custom-missions",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Builder for Aerofly FS4 Custom Missions Files",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -3,11 +3,30 @@ import { AeroflyConfigurationNode } from "../node/AeroflyConfigurationNode.js";
3
3
 
4
4
  export class AeroflySettingsFlight {
5
5
  gear: number;
6
+
7
+ /**
8
+ * Throttle is supposed to be set to
9
+ * - 0 on "ColdAndDark", "OnGround" and "Takeoff" configuration
10
+ * - 0.4 on "ShortFinal" and "Final" configuration
11
+ * - 0.6 on "Cruise" configuration
12
+ */
6
13
  throttle: number;
14
+
15
+ /**
16
+ * Flaps is supposed to be set to 1 on "ShortFinal" and "Final" configurations
17
+ */
7
18
  flaps: number;
8
- configuration: "Keep" | "OnGround" | "Cruise";
19
+ configuration: "Keep" | "ColdAndDark" | "ColdAndDark" | "OnGround" | "Takeoff" | "Cruise" | "ShortFinal" | "Final";
9
20
  onGround: boolean;
21
+
22
+ /**
23
+ * Airport is supposed to be set on any configurations but "Cruise" and "Keep"
24
+ */
10
25
  airport: string;
26
+
27
+ /**
28
+ * Runway is supposed to be set on "Takeoff", "ShortFinal" and "Final" configurations
29
+ */
11
30
  runway: string;
12
31
 
13
32
  constructor(
@@ -7,11 +7,26 @@ export declare class AeroflySettingsFlight {
7
7
  heading_degree: number;
8
8
  speed_kts: number;
9
9
  gear: number;
10
+ /**
11
+ * Throttle is supposed to be set to
12
+ * - 0 on "ColdAndDark", "OnGround" and "Takeoff" configuration
13
+ * - 0.4 on "ShortFinal" and "Final" configuration
14
+ * - 0.6 on "Cruise" configuration
15
+ */
10
16
  throttle: number;
17
+ /**
18
+ * Flaps is supposed to be set to 1 on "ShortFinal" and "Final" configurations
19
+ */
11
20
  flaps: number;
12
- configuration: "Keep" | "OnGround" | "Cruise";
21
+ configuration: "Keep" | "ColdAndDark" | "ColdAndDark" | "OnGround" | "Takeoff" | "Cruise" | "ShortFinal" | "Final";
13
22
  onGround: boolean;
23
+ /**
24
+ * Airport is supposed to be set on any configurations but "Cruise" and "Keep"
25
+ */
14
26
  airport: string;
27
+ /**
28
+ * Runway is supposed to be set on "Takeoff", "ShortFinal" and "Final" configurations
29
+ */
15
30
  runway: string;
16
31
  constructor(
17
32
  longitude: number,
@@ -1 +1 @@
1
- {"version":3,"file":"AeroflySettingsFlight.d.ts","sourceRoot":"","sources":["../../src/dto-flight/AeroflySettingsFlight.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAW,MAAM,oBAAoB,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E,qBAAa,qBAAqB;IAUnB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,cAAc,EAAE,MAAM;IACtB,SAAS,EAAE,MAAM;IAb5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC9C,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;gBAGJ,SAAS,EA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