thrust-wasm 0.2.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.
Binary file
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "thrust-wasm",
3
+ "description": "WASM bindings for traffic-thrust core parsers",
4
+ "version": "0.2.0",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/xoolive/thrust"
9
+ },
10
+ "files": [
11
+ "thrust_wasm_bg.wasm",
12
+ "thrust_wasm.js",
13
+ "thrust_wasm.d.ts"
14
+ ],
15
+ "main": "thrust_wasm.js",
16
+ "types": "thrust_wasm.d.ts"
17
+ }
@@ -0,0 +1,52 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export function airac_code_from_date(date: string): string;
4
+ export function airac_interval(airac_code: string): any;
5
+ export function effective_date_from_airac_code(airac_code: string): string;
6
+ export function run(): void;
7
+ export function wasm_build_profile(): string;
8
+ export class EurocontrolResolver {
9
+ free(): void;
10
+ [Symbol.dispose](): void;
11
+ resolve_fix(code: string): any;
12
+ resolve_airway(name: string): any;
13
+ resolve_navaid(code: string): any;
14
+ static fromDdrFolder(ddr_folder: any): EurocontrolResolver;
15
+ resolve_airport(code: string): any;
16
+ static fromDdrArchive(ddr_archive: Uint8Array): EurocontrolResolver;
17
+ constructor(aixm_folder: any);
18
+ fixes(): any;
19
+ airways(): any;
20
+ navaids(): any;
21
+ airports(): any;
22
+ }
23
+ export class FaaArcgisResolver {
24
+ free(): void;
25
+ [Symbol.dispose](): void;
26
+ resolve_fix(code: string): any;
27
+ resolve_airway(name: string): any;
28
+ resolve_navaid(code: string): any;
29
+ resolve_airport(code: string): any;
30
+ resolve_airspace(designator: string): any;
31
+ constructor(feature_collections_json: any);
32
+ fixes(): any;
33
+ airways(): any;
34
+ navaids(): any;
35
+ airports(): any;
36
+ airspaces(): any;
37
+ }
38
+ export class NasrResolver {
39
+ free(): void;
40
+ [Symbol.dispose](): void;
41
+ resolve_fix(code: string): any;
42
+ resolve_airway(name: string): any;
43
+ resolve_navaid(code: string): any;
44
+ resolve_airport(code: string): any;
45
+ resolve_airspace(designator: string): any;
46
+ constructor(zip_bytes: Uint8Array);
47
+ fixes(): any;
48
+ airways(): any;
49
+ navaids(): any;
50
+ airports(): any;
51
+ airspaces(): any;
52
+ }