@neaps/tide-database 0.0.20251221 → 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.
@@ -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,49 +1,57 @@
1
- type HarmonicConstituent = {
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: {
2
27
  name: string;
3
- description?: string;
4
- amplitude: number;
5
- phase_UTC: number;
6
- phase_local: number;
7
- speed?: number;
8
- };
9
- export interface Station {
10
28
  id: string;
11
- 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
- source_url: string;
26
- };
27
- license: {
28
- type: string;
29
- commercial_use: boolean;
30
- url: string;
31
- notes?: 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';
32
45
  };
33
- harmonic_constituents: HarmonicConstituent[];
34
- offsets?: {
35
- reference: string;
36
- height: {
37
- high: number;
38
- low: number;
39
- type: 'ratio' | 'fixed';
40
- };
41
- time: {
42
- high: number;
43
- low: number;
44
- };
46
+ time: {
47
+ high: number;
48
+ low: number;
45
49
  };
46
- datums: Record<string, number>;
50
+ };
51
+ datums: Record<string, number>;
47
52
  }
53
+ declare const constituents: Constituent[];
48
54
  declare const stations: Station[];
49
- export default stations;
55
+ //#endregion
56
+ export { Constituent, HarmonicConstituent, Station, constituents, stations };
57
+ //# sourceMappingURL=index.d.ts.map