@neaps/tide-database 0.1.20260105 → 0.1.20260107
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/index.cjs +494810 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +57 -0
- package/dist/index.d.ts +52 -43
- package/dist/index.js +494807 -46289
- package/dist/index.js.map +1 -0
- package/package.json +12 -6
- package/dist/constituents.json.d.ts +0 -605
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
//#region src/index.d.ts
|
|
2
|
+
interface HarmonicConstituent {
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
amplitude: number;
|
|
6
|
+
phase_UTC: number;
|
|
7
|
+
phase_local: number;
|
|
8
|
+
speed?: number;
|
|
9
|
+
}
|
|
10
|
+
interface Constituent {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
speed: number;
|
|
14
|
+
}
|
|
15
|
+
interface Station {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
continent: string;
|
|
19
|
+
country: string;
|
|
20
|
+
region?: string;
|
|
21
|
+
timezone: string;
|
|
22
|
+
disclaimers: string;
|
|
23
|
+
type: 'reference' | 'subordinate';
|
|
24
|
+
latitude: number;
|
|
25
|
+
longitude: number;
|
|
26
|
+
source: {
|
|
27
|
+
name: string;
|
|
28
|
+
id: string;
|
|
29
|
+
published_harmonics: boolean;
|
|
30
|
+
url: string;
|
|
31
|
+
};
|
|
32
|
+
license: {
|
|
33
|
+
type: string;
|
|
34
|
+
commercial_use: boolean;
|
|
35
|
+
url: string;
|
|
36
|
+
notes?: string;
|
|
37
|
+
};
|
|
38
|
+
harmonic_constituents: HarmonicConstituent[];
|
|
39
|
+
offsets?: {
|
|
40
|
+
reference: string;
|
|
41
|
+
height: {
|
|
42
|
+
high: number;
|
|
43
|
+
low: number;
|
|
44
|
+
type: 'ratio' | 'fixed';
|
|
45
|
+
};
|
|
46
|
+
time: {
|
|
47
|
+
high: number;
|
|
48
|
+
low: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
datums: Record<string, number>;
|
|
52
|
+
}
|
|
53
|
+
declare const constituents: Constituent[];
|
|
54
|
+
declare const stations: Station[];
|
|
55
|
+
//#endregion
|
|
56
|
+
export { Constituent, HarmonicConstituent, Station, constituents, stations };
|
|
57
|
+
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,48 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
//#region src/index.d.ts
|
|
2
|
+
interface HarmonicConstituent {
|
|
3
|
+
name: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
amplitude: number;
|
|
6
|
+
phase_UTC: number;
|
|
7
|
+
phase_local: number;
|
|
8
|
+
speed?: number;
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
interface Constituent {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
speed: number;
|
|
14
|
+
}
|
|
15
|
+
interface Station {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
continent: string;
|
|
19
|
+
country: string;
|
|
20
|
+
region?: string;
|
|
21
|
+
timezone: string;
|
|
22
|
+
disclaimers: string;
|
|
23
|
+
type: 'reference' | 'subordinate';
|
|
24
|
+
latitude: number;
|
|
25
|
+
longitude: number;
|
|
26
|
+
source: {
|
|
11
27
|
name: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
type:
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
url: string;
|
|
30
|
-
notes?: string;
|
|
28
|
+
id: string;
|
|
29
|
+
published_harmonics: boolean;
|
|
30
|
+
url: string;
|
|
31
|
+
};
|
|
32
|
+
license: {
|
|
33
|
+
type: string;
|
|
34
|
+
commercial_use: boolean;
|
|
35
|
+
url: string;
|
|
36
|
+
notes?: string;
|
|
37
|
+
};
|
|
38
|
+
harmonic_constituents: HarmonicConstituent[];
|
|
39
|
+
offsets?: {
|
|
40
|
+
reference: string;
|
|
41
|
+
height: {
|
|
42
|
+
high: number;
|
|
43
|
+
low: number;
|
|
44
|
+
type: 'ratio' | 'fixed';
|
|
31
45
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
height: {
|
|
36
|
-
high: number;
|
|
37
|
-
low: number;
|
|
38
|
-
type: 'ratio' | 'fixed';
|
|
39
|
-
};
|
|
40
|
-
time: {
|
|
41
|
-
high: number;
|
|
42
|
-
low: number;
|
|
43
|
-
};
|
|
46
|
+
time: {
|
|
47
|
+
high: number;
|
|
48
|
+
low: number;
|
|
44
49
|
};
|
|
45
|
-
|
|
50
|
+
};
|
|
51
|
+
datums: Record<string, number>;
|
|
46
52
|
}
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
declare const constituents: Constituent[];
|
|
54
|
+
declare const stations: Station[];
|
|
55
|
+
//#endregion
|
|
56
|
+
export { Constituent, HarmonicConstituent, Station, constituents, stations };
|
|
57
|
+
//# sourceMappingURL=index.d.ts.map
|