@airframes/acars-decoder 1.9.3 → 1.9.5
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/bin/acars-decoder-test.js +1773 -105
- package/dist/bin/acars-decoder-test.js.map +1 -1
- package/dist/bin/acars-decoder-test.mjs +1773 -105
- package/dist/bin/acars-decoder-test.mjs.map +1 -1
- package/dist/bin/acars-decoder.js +1773 -105
- package/dist/bin/acars-decoder.js.map +1 -1
- package/dist/bin/acars-decoder.mjs +1773 -105
- package/dist/bin/acars-decoder.mjs.map +1 -1
- package/dist/index.d.mts +53 -0
- package/dist/index.d.ts +53 -0
- package/dist/index.js +1773 -105
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1773 -105
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
package/dist/index.d.mts
CHANGED
|
@@ -6,6 +6,18 @@ declare class IcaoDecoder {
|
|
|
6
6
|
isMilitary(): boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* A runway an airline's landing or takeoff data offers in place of one it could not use.
|
|
11
|
+
*/
|
|
12
|
+
interface AlternativeRunway {
|
|
13
|
+
/** runway as it would be requested, e.g. 11/AIB */
|
|
14
|
+
runway: string;
|
|
15
|
+
/** the variant's name as sent, e.g. 11-E1804F */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** what the variant is, e.g. 1804 feet off the east end */
|
|
18
|
+
variant?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
9
21
|
/**
|
|
10
22
|
* Represenation of a waypoint.
|
|
11
23
|
*
|
|
@@ -59,6 +71,37 @@ interface Route {
|
|
|
59
71
|
waypoints?: Waypoint[];
|
|
60
72
|
}
|
|
61
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Landing performance for one runway, as an airline's landing data uplink gives it.
|
|
76
|
+
*/
|
|
77
|
+
interface RunwayLandingData {
|
|
78
|
+
/** runway as sent, with any suffix */
|
|
79
|
+
runway: string;
|
|
80
|
+
/** what the runway's variant is, e.g. 1804 feet off the east end */
|
|
81
|
+
variant?: string;
|
|
82
|
+
/** feet */
|
|
83
|
+
length?: number;
|
|
84
|
+
flaps?: number;
|
|
85
|
+
/** knots; negative is a tailwind */
|
|
86
|
+
headwind?: number;
|
|
87
|
+
/** knots */
|
|
88
|
+
crosswind?: number;
|
|
89
|
+
crosswindSide?: 'L' | 'R';
|
|
90
|
+
/** knots */
|
|
91
|
+
vref?: number;
|
|
92
|
+
/** knots */
|
|
93
|
+
vtarget?: number;
|
|
94
|
+
/** knots added to VREF to get VTGT */
|
|
95
|
+
additive?: number;
|
|
96
|
+
/** maximum landing weight as sent, e.g. 129.2/S */
|
|
97
|
+
maxLandingWeight?: string;
|
|
98
|
+
/** pounds */
|
|
99
|
+
landingWeight?: number;
|
|
100
|
+
/** feet of runway left at each autobrake setting, keyed as sent (AB2, AB3, ABM) */
|
|
101
|
+
stoppingMargins: Record<string, number>;
|
|
102
|
+
notes?: string[];
|
|
103
|
+
}
|
|
104
|
+
|
|
62
105
|
interface Wind {
|
|
63
106
|
waypoint: Waypoint;
|
|
64
107
|
flightLevel: number;
|
|
@@ -98,7 +141,12 @@ interface RawFields {
|
|
|
98
141
|
heading?: number;
|
|
99
142
|
groundspeed?: number;
|
|
100
143
|
airspeed?: number;
|
|
144
|
+
indicated_airspeed?: number;
|
|
101
145
|
mach?: number;
|
|
146
|
+
track?: number;
|
|
147
|
+
wind_direction?: number;
|
|
148
|
+
wind_speed?: number;
|
|
149
|
+
wind_variable?: boolean;
|
|
102
150
|
flight_number?: string;
|
|
103
151
|
callsign?: string;
|
|
104
152
|
tail?: string;
|
|
@@ -107,9 +155,13 @@ interface RawFields {
|
|
|
107
155
|
arrival_icao?: string;
|
|
108
156
|
arrival_iata?: string;
|
|
109
157
|
alternate_icao?: string;
|
|
158
|
+
landing_icao?: string;
|
|
110
159
|
departure_runway?: string;
|
|
111
160
|
arrival_runway?: string;
|
|
112
161
|
alternate_runway?: string;
|
|
162
|
+
landing_runways?: RunwayLandingData[];
|
|
163
|
+
alternative_runways?: AlternativeRunway[];
|
|
164
|
+
arrival_gate?: string;
|
|
113
165
|
message_timestamp?: number;
|
|
114
166
|
eta_time?: number;
|
|
115
167
|
out_time?: number;
|
|
@@ -133,6 +185,7 @@ interface RawFields {
|
|
|
133
185
|
start_fuel?: number;
|
|
134
186
|
outside_air_temperature?: number;
|
|
135
187
|
total_air_temperature?: number;
|
|
188
|
+
gross_weight?: number;
|
|
136
189
|
center_of_gravity?: number;
|
|
137
190
|
cg_lower_limit?: number;
|
|
138
191
|
cg_upper_limit?: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,18 @@ declare class IcaoDecoder {
|
|
|
6
6
|
isMilitary(): boolean;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* A runway an airline's landing or takeoff data offers in place of one it could not use.
|
|
11
|
+
*/
|
|
12
|
+
interface AlternativeRunway {
|
|
13
|
+
/** runway as it would be requested, e.g. 11/AIB */
|
|
14
|
+
runway: string;
|
|
15
|
+
/** the variant's name as sent, e.g. 11-E1804F */
|
|
16
|
+
name?: string;
|
|
17
|
+
/** what the variant is, e.g. 1804 feet off the east end */
|
|
18
|
+
variant?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
9
21
|
/**
|
|
10
22
|
* Represenation of a waypoint.
|
|
11
23
|
*
|
|
@@ -59,6 +71,37 @@ interface Route {
|
|
|
59
71
|
waypoints?: Waypoint[];
|
|
60
72
|
}
|
|
61
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Landing performance for one runway, as an airline's landing data uplink gives it.
|
|
76
|
+
*/
|
|
77
|
+
interface RunwayLandingData {
|
|
78
|
+
/** runway as sent, with any suffix */
|
|
79
|
+
runway: string;
|
|
80
|
+
/** what the runway's variant is, e.g. 1804 feet off the east end */
|
|
81
|
+
variant?: string;
|
|
82
|
+
/** feet */
|
|
83
|
+
length?: number;
|
|
84
|
+
flaps?: number;
|
|
85
|
+
/** knots; negative is a tailwind */
|
|
86
|
+
headwind?: number;
|
|
87
|
+
/** knots */
|
|
88
|
+
crosswind?: number;
|
|
89
|
+
crosswindSide?: 'L' | 'R';
|
|
90
|
+
/** knots */
|
|
91
|
+
vref?: number;
|
|
92
|
+
/** knots */
|
|
93
|
+
vtarget?: number;
|
|
94
|
+
/** knots added to VREF to get VTGT */
|
|
95
|
+
additive?: number;
|
|
96
|
+
/** maximum landing weight as sent, e.g. 129.2/S */
|
|
97
|
+
maxLandingWeight?: string;
|
|
98
|
+
/** pounds */
|
|
99
|
+
landingWeight?: number;
|
|
100
|
+
/** feet of runway left at each autobrake setting, keyed as sent (AB2, AB3, ABM) */
|
|
101
|
+
stoppingMargins: Record<string, number>;
|
|
102
|
+
notes?: string[];
|
|
103
|
+
}
|
|
104
|
+
|
|
62
105
|
interface Wind {
|
|
63
106
|
waypoint: Waypoint;
|
|
64
107
|
flightLevel: number;
|
|
@@ -98,7 +141,12 @@ interface RawFields {
|
|
|
98
141
|
heading?: number;
|
|
99
142
|
groundspeed?: number;
|
|
100
143
|
airspeed?: number;
|
|
144
|
+
indicated_airspeed?: number;
|
|
101
145
|
mach?: number;
|
|
146
|
+
track?: number;
|
|
147
|
+
wind_direction?: number;
|
|
148
|
+
wind_speed?: number;
|
|
149
|
+
wind_variable?: boolean;
|
|
102
150
|
flight_number?: string;
|
|
103
151
|
callsign?: string;
|
|
104
152
|
tail?: string;
|
|
@@ -107,9 +155,13 @@ interface RawFields {
|
|
|
107
155
|
arrival_icao?: string;
|
|
108
156
|
arrival_iata?: string;
|
|
109
157
|
alternate_icao?: string;
|
|
158
|
+
landing_icao?: string;
|
|
110
159
|
departure_runway?: string;
|
|
111
160
|
arrival_runway?: string;
|
|
112
161
|
alternate_runway?: string;
|
|
162
|
+
landing_runways?: RunwayLandingData[];
|
|
163
|
+
alternative_runways?: AlternativeRunway[];
|
|
164
|
+
arrival_gate?: string;
|
|
113
165
|
message_timestamp?: number;
|
|
114
166
|
eta_time?: number;
|
|
115
167
|
out_time?: number;
|
|
@@ -133,6 +185,7 @@ interface RawFields {
|
|
|
133
185
|
start_fuel?: number;
|
|
134
186
|
outside_air_temperature?: number;
|
|
135
187
|
total_air_temperature?: number;
|
|
188
|
+
gross_weight?: number;
|
|
136
189
|
center_of_gravity?: number;
|
|
137
190
|
cg_lower_limit?: number;
|
|
138
191
|
cg_upper_limit?: number;
|