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