@sk-global/js-msearch-gsi-jp 2.2.0 → 2.2.2

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.
@@ -1,6 +1,52 @@
1
+ /** Shared multilingual name fields across all JMA area types */
2
+ export interface JMALocalizedNames {
3
+ /** Japanese (日本語) */
4
+ name?: string;
5
+ /** English */
6
+ enName?: string;
7
+ /** Chinese Simplified (简体中文) */
8
+ chName?: string;
9
+ /** Chinese Traditional (繁體中文) */
10
+ zhName?: string;
11
+ /** Korean (한국어) */
12
+ koName?: string;
13
+ /** Spanish (Español) */
14
+ esName?: string;
15
+ /** Portuguese (Português) */
16
+ ptName?: string;
17
+ /** Thai (ภาษาไทย) */
18
+ thName?: string;
19
+ /** Vietnamese (Tiếng Việt) */
20
+ viName?: string;
21
+ /** Indonesian (Bahasa Indonesia) */
22
+ inName?: string;
23
+ /** Filipino (Wikang Filipino) */
24
+ tlName?: string;
25
+ /** Mongolian (Монгол хэл) */
26
+ moName?: string;
27
+ /** Burmese (မြန်မာဘာသာ) */
28
+ buName?: string;
29
+ /** Khmer (ភាសាខ្មែរ) */
30
+ khName?: string;
31
+ /** Nepali (नेपाली) */
32
+ neName?: string;
33
+ }
34
+ export interface JMAAreaInfo extends JMALocalizedNames {
35
+ code?: string;
36
+ }
37
+ export interface JMAOfficeInfo extends JMAAreaInfo {
38
+ /** Responsible meteorological office (気象台名) */
39
+ officeName?: string;
40
+ }
41
+ export interface JMAClass20Info extends JMALocalizedNames {
42
+ code?: string;
43
+ /** Japanese reading (ふりがな) */
44
+ kana?: string;
45
+ }
1
46
  export interface JMAHierarchyEntry {
2
- officeCode?: string;
3
- class10Code?: string;
4
- class15Code?: string;
47
+ office: JMAOfficeInfo;
48
+ class10: JMAAreaInfo;
49
+ class15?: JMAAreaInfo;
50
+ class20: JMAClass20Info;
5
51
  }
6
52
  export declare const jmaHierarchy: Record<string, JMAHierarchyEntry>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  import { openReverseGeocoder, latLonToAddress, getElevation, gsiReverseGeocoder } from './m_reverse_geocode';
2
- import { latLonToJMACode } from './m_jma_geocode';
2
+ import { latLonToJMACode, JMAHierarchyEntry } from './m_jma_geocode';
3
+ export type { JMAHierarchyEntry };
4
+ export type { JMAAreaInfo, JMAOfficeInfo, JMAClass20Info } from './data/jma-hierarchy';
3
5
  import { getMuniMap } from './muni';
4
6
  import { searchAddress } from './msearch';
5
7
  export { latLonToAddress, getElevation, gsiReverseGeocoder, openReverseGeocoder, getMuniMap as getCityMap, searchAddress, latLonToJMACode, };