@kadown/types 0.1.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.
- package/LICENSE +19 -0
- package/README.md +8 -0
- package/index.d.ts +208 -0
- package/index.js +12 -0
- package/lib/admdiv.ts +133 -0
- package/lib/properties.ts +106 -0
- package/package.json +40 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright 2025 Pho Thin Maung<phothinmg@disroot.org>
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute
|
|
6
|
+
this software for any purpose with or without fee is
|
|
7
|
+
hereby granted, provided that the above copyright
|
|
8
|
+
notice and this permission notice appear in all copies.
|
|
9
|
+
|
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR
|
|
11
|
+
DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
|
|
12
|
+
INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
13
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
|
|
14
|
+
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
|
|
15
|
+
DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
|
16
|
+
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
|
|
17
|
+
CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
|
18
|
+
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
|
|
19
|
+
THIS SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/phothinmg/types/main/kadown.svg" width="160" height="160">
|
|
3
|
+
<h1>Kadown</h1>
|
|
4
|
+
</div>
|
|
5
|
+
|
|
6
|
+
### Type Definitions for geojson
|
|
7
|
+
|
|
8
|
+
These definitions are focus for geojson data of Myanmar, that provided by [Myanmar Information Management Unit(MIMU)](https://geonode.themimu.info/).
|
package/index.d.ts
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SNR_Names,
|
|
3
|
+
SNR_Types,
|
|
4
|
+
SAD_SAZ_Ethnic_Group,
|
|
5
|
+
SAD_SAZ_Names,
|
|
6
|
+
District_Names,
|
|
7
|
+
} from "./lib/admdiv";
|
|
8
|
+
import { Geo_Properties } from "./lib/properties";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Type Definitions for `geojson`
|
|
12
|
+
*
|
|
13
|
+
* These definitions are focus for geojson data of Myanmar, that provided by Myanmar Information Management Unit(MIMU).
|
|
14
|
+
*
|
|
15
|
+
* @see https://geonode.themimu.info/
|
|
16
|
+
*/
|
|
17
|
+
export as namespace GeoDataJson;
|
|
18
|
+
|
|
19
|
+
/** Coordinates */
|
|
20
|
+
export type Coord = number[];
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Administrative division names of Myanmar (First level)
|
|
24
|
+
*
|
|
25
|
+
* - 2 sub-region in Bago and 3 sub-state in Shan
|
|
26
|
+
*/
|
|
27
|
+
export type SNRNames = SNR_Names;
|
|
28
|
+
/**
|
|
29
|
+
* Administrative divisions of Myanmar (First level)
|
|
30
|
+
*/
|
|
31
|
+
export type SNRTypes = SNR_Types;
|
|
32
|
+
/**
|
|
33
|
+
* Names of Ethnic Group , SAD or SAZ
|
|
34
|
+
*/
|
|
35
|
+
export type SAD_SAZ_EthnicGroup = SAD_SAZ_Ethnic_Group;
|
|
36
|
+
/**
|
|
37
|
+
* Administrative divisions of Myanmar (Sub-first level && Second level)
|
|
38
|
+
*
|
|
39
|
+
* Self-Administered Division(SAD) - Sub-first level
|
|
40
|
+
*
|
|
41
|
+
* Self-Administered Zone(SAZ) - Second level
|
|
42
|
+
*/
|
|
43
|
+
export type SAD_SAZNames = SAD_SAZ_Names;
|
|
44
|
+
/** Names of District */
|
|
45
|
+
export type DistrictNames = District_Names;
|
|
46
|
+
/**
|
|
47
|
+
* Geodata properties , base on https://geonode.themimu.info/
|
|
48
|
+
*/
|
|
49
|
+
export type GeoProperties = Geo_Properties;
|
|
50
|
+
/**
|
|
51
|
+
* Coordinate Reference System
|
|
52
|
+
*
|
|
53
|
+
* No "crs" Member Required: It is not necessary to include a "crs"
|
|
54
|
+
* member in the JSON structure because the WGS 84 standard is assumed by default.
|
|
55
|
+
*/
|
|
56
|
+
export type CRS = {
|
|
57
|
+
type: "name";
|
|
58
|
+
properties: {
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Geometry types `Point`
|
|
64
|
+
*
|
|
65
|
+
* @see https://geojson.org/
|
|
66
|
+
*/
|
|
67
|
+
export type Point = {
|
|
68
|
+
type: "Point";
|
|
69
|
+
coordinates: Coord;
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Geometry types `MultiPoint`
|
|
73
|
+
*
|
|
74
|
+
* @see https://geojson.org/
|
|
75
|
+
*/
|
|
76
|
+
export type MultiPoint = {
|
|
77
|
+
type: "MultiPoint";
|
|
78
|
+
coordinates: Coord[];
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Geometry types `LineString`
|
|
82
|
+
*
|
|
83
|
+
* @see https://geojson.org/
|
|
84
|
+
*/
|
|
85
|
+
export type LineString = {
|
|
86
|
+
type: "LineString";
|
|
87
|
+
coordinates: Coord[];
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Geometry types `MultiLineString`
|
|
91
|
+
*
|
|
92
|
+
* @see https://geojson.org/
|
|
93
|
+
*/
|
|
94
|
+
export type MultiLineString = {
|
|
95
|
+
type: "MultiLineString";
|
|
96
|
+
coordinates: Coord[][];
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Geometry types `Polygon`
|
|
100
|
+
*
|
|
101
|
+
* @see https://geojson.org/
|
|
102
|
+
*/
|
|
103
|
+
export type Polygon = {
|
|
104
|
+
type: "Polygon";
|
|
105
|
+
coordinates: Coord[][];
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Geometry types `MultiPolygon`
|
|
109
|
+
*
|
|
110
|
+
* @see https://geojson.org/
|
|
111
|
+
*/
|
|
112
|
+
export type MultiPolygon = {
|
|
113
|
+
type: "MultiPolygon";
|
|
114
|
+
coordinates: Coord[][][];
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Group of Main(6) Geometric objects
|
|
118
|
+
*
|
|
119
|
+
* The GeoJSON Specification (RFC 7946)
|
|
120
|
+
*
|
|
121
|
+
* 1. Point
|
|
122
|
+
* 2. MultiPoint
|
|
123
|
+
* 3. LineString
|
|
124
|
+
* 4. MultiLineString
|
|
125
|
+
* 5. Polygon
|
|
126
|
+
* 6. MultiPolygon
|
|
127
|
+
*
|
|
128
|
+
* @see https://datatracker.ietf.org/doc/html/rfc7946
|
|
129
|
+
*/
|
|
130
|
+
export type GeometricObjects =
|
|
131
|
+
| Point
|
|
132
|
+
| MultiPoint
|
|
133
|
+
| LineString
|
|
134
|
+
| MultiLineString
|
|
135
|
+
| Polygon
|
|
136
|
+
| MultiPolygon;
|
|
137
|
+
/**
|
|
138
|
+
* Group of Main(3) Multi Geometric objects
|
|
139
|
+
*
|
|
140
|
+
* 1. MultiLineString
|
|
141
|
+
* 2. Polygon
|
|
142
|
+
* 3. MultiPolygon
|
|
143
|
+
*
|
|
144
|
+
* @see https://datatracker.ietf.org/doc/html/rfc7946
|
|
145
|
+
*/
|
|
146
|
+
export type GeometricObjectMulti = MultiPoint | MultiLineString | MultiPolygon;
|
|
147
|
+
/**
|
|
148
|
+
* Group of Main(3) Single Geometric objects
|
|
149
|
+
*
|
|
150
|
+
* 1. Point
|
|
151
|
+
* 2. MultiPoint
|
|
152
|
+
* 3. LineString
|
|
153
|
+
*
|
|
154
|
+
* @see https://datatracker.ietf.org/doc/html/rfc7946
|
|
155
|
+
*/
|
|
156
|
+
export type GeometricObjectSingle = Point | LineString | Polygon;
|
|
157
|
+
/**
|
|
158
|
+
* Geometry Collection Object
|
|
159
|
+
*
|
|
160
|
+
* A `GeometryCollection` in GeoJSON is a single geometry object that can group multiple,
|
|
161
|
+
* potentially different, geometry types (like a Point and a LineString) into a single unit.
|
|
162
|
+
* This is unlike other "Multi" geometries (e.g., MultiPoint, MultiPolygon) which can only
|
|
163
|
+
* contain homogeneous collections of a single type.
|
|
164
|
+
*
|
|
165
|
+
* @see https://datatracker.ietf.org/doc/html/rfc7946
|
|
166
|
+
*/
|
|
167
|
+
export type GeometryCollection = {
|
|
168
|
+
type: "GeometryCollection";
|
|
169
|
+
geometries: GeometricObjects[];
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Feature Object (additional Geometric object)
|
|
173
|
+
*
|
|
174
|
+
* @see https://geojson.org/
|
|
175
|
+
*/
|
|
176
|
+
export type GeoFeature = {
|
|
177
|
+
type: "Feature";
|
|
178
|
+
geometry: GeometricObjects | GeometryCollection;
|
|
179
|
+
id: string | number;
|
|
180
|
+
properties: GeoProperties;
|
|
181
|
+
geometry_name: "the_geom";
|
|
182
|
+
};
|
|
183
|
+
/**
|
|
184
|
+
* Feature Collection object
|
|
185
|
+
*
|
|
186
|
+
* Set of Feature Objects
|
|
187
|
+
*
|
|
188
|
+
* @see https://geojson.org/
|
|
189
|
+
*/
|
|
190
|
+
export type GeoFeatureCollection = {
|
|
191
|
+
type: "FeatureCollection";
|
|
192
|
+
totalFeatures: number;
|
|
193
|
+
features: GeoFeature[];
|
|
194
|
+
crs: CRS;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Group of :
|
|
198
|
+
*
|
|
199
|
+
* 1. Geometric Objects
|
|
200
|
+
* 2. Geometry Collection Object
|
|
201
|
+
* 3. Feature Object
|
|
202
|
+
* 4. Feature Collection Object
|
|
203
|
+
*/
|
|
204
|
+
export type GeoJsonObject =
|
|
205
|
+
| GeometricObjects
|
|
206
|
+
| GeometryCollection
|
|
207
|
+
| GeoFeature
|
|
208
|
+
| GeoFeatureCollection;
|
package/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const geometryTypeSingle = ["Point", "Polygon", "LineString"];
|
|
2
|
+
const geometryTypeMulti = ["MultiPoint", "MultiPolygon", "MultiLineString"];
|
|
3
|
+
const geometryTypes = [
|
|
4
|
+
"Point",
|
|
5
|
+
"Polygon",
|
|
6
|
+
"LineString",
|
|
7
|
+
"MultiPoint",
|
|
8
|
+
"MultiPolygon",
|
|
9
|
+
"MultiLineString",
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
export { geometryTypeMulti, geometryTypeSingle, geometryTypes };
|
package/lib/admdiv.ts
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Administrative division names of Myanmar (First level)
|
|
3
|
+
*
|
|
4
|
+
* - 2 sub-region in Bago and 3 sub-state in Shan
|
|
5
|
+
*/
|
|
6
|
+
export type SNR_Names =
|
|
7
|
+
| "Ayeyarwady"
|
|
8
|
+
| "Bago"
|
|
9
|
+
| "Chin"
|
|
10
|
+
| "Kachin"
|
|
11
|
+
| "Kayah"
|
|
12
|
+
| "Kayin"
|
|
13
|
+
| "Magway"
|
|
14
|
+
| "Mandalay"
|
|
15
|
+
| "Mon"
|
|
16
|
+
| "Nay Pyi Taw"
|
|
17
|
+
| "Rakhine"
|
|
18
|
+
| "Sagaing"
|
|
19
|
+
| "Shan"
|
|
20
|
+
| "Tanintharyi"
|
|
21
|
+
| "Yangon"
|
|
22
|
+
| "Bago (East)"
|
|
23
|
+
| "Bago (West)"
|
|
24
|
+
| "Shan (East)"
|
|
25
|
+
| "Shan (North)"
|
|
26
|
+
| "Shan (South)"
|
|
27
|
+
| "Shan State (South)"
|
|
28
|
+
| "Shan State (North)";
|
|
29
|
+
/**
|
|
30
|
+
* Administrative divisions of Myanmar (First level)
|
|
31
|
+
*/
|
|
32
|
+
export type SNR_Types = "Region" | "State" | "Union Territory";
|
|
33
|
+
/**
|
|
34
|
+
* Administrative divisions of Myanmar (Sub-first level && Second level)
|
|
35
|
+
*
|
|
36
|
+
* Self-Administered Division(SAD) - Sub-first level
|
|
37
|
+
*
|
|
38
|
+
* Self-Administered Zone(SAZ) - Second level
|
|
39
|
+
*/
|
|
40
|
+
export type SAD_SAZ_Names =
|
|
41
|
+
| "Danu Self-Administered Zone"
|
|
42
|
+
| "Pa-O Self-Administered Zone"
|
|
43
|
+
| "Naga Self-Administered Zone"
|
|
44
|
+
| "Wa Self-Administered Division"
|
|
45
|
+
| "Kokang Self-Administered Zone"
|
|
46
|
+
| "Pa Laung Self-Administered Zone";
|
|
47
|
+
/**
|
|
48
|
+
* Names of Ethnic Group , SAD or SAZ
|
|
49
|
+
*/
|
|
50
|
+
export type SAD_SAZ_Ethnic_Group =
|
|
51
|
+
| "Danu"
|
|
52
|
+
| "Pa-O"
|
|
53
|
+
| "Naga"
|
|
54
|
+
| "Wa"
|
|
55
|
+
| "Kokang"
|
|
56
|
+
| "Pa Laung";
|
|
57
|
+
|
|
58
|
+
export type District_Names =
|
|
59
|
+
| "Hinthada"
|
|
60
|
+
| "Labutta"
|
|
61
|
+
| "Maubin"
|
|
62
|
+
| "Myaungmya"
|
|
63
|
+
| "Pathein"
|
|
64
|
+
| "Pyapon"
|
|
65
|
+
| "Bago"
|
|
66
|
+
| "Taungoo"
|
|
67
|
+
| "Pyay"
|
|
68
|
+
| "Thayarwady"
|
|
69
|
+
| "Falam"
|
|
70
|
+
| "Hakha"
|
|
71
|
+
| "Matupi"
|
|
72
|
+
| "Mindat"
|
|
73
|
+
| "Bhamo"
|
|
74
|
+
| "Mohnyin"
|
|
75
|
+
| "Myitkyina"
|
|
76
|
+
| "Puta-O"
|
|
77
|
+
| "Bawlake"
|
|
78
|
+
| "Loikaw"
|
|
79
|
+
| "Hpa-An"
|
|
80
|
+
| "Hpapun"
|
|
81
|
+
| "Kawkareik"
|
|
82
|
+
| "Myawaddy"
|
|
83
|
+
| "Gangaw"
|
|
84
|
+
| "Magway"
|
|
85
|
+
| "Minbu"
|
|
86
|
+
| "Pakokku"
|
|
87
|
+
| "Thayet"
|
|
88
|
+
| "Kyaukse"
|
|
89
|
+
| "Kawlin"
|
|
90
|
+
| "Mawlaik"
|
|
91
|
+
| "Monywa"
|
|
92
|
+
| "Sagaing"
|
|
93
|
+
| "Tamu"
|
|
94
|
+
| "Yinmarbin"
|
|
95
|
+
| "Kengtung"
|
|
96
|
+
| "Monghsat"
|
|
97
|
+
| "Tachileik"
|
|
98
|
+
| "Hopang"
|
|
99
|
+
| "Kyaukme"
|
|
100
|
+
| "Lashio"
|
|
101
|
+
| "Matman"
|
|
102
|
+
| "Mongmit"
|
|
103
|
+
| "Muse"
|
|
104
|
+
| "Langkho"
|
|
105
|
+
| "Loilen"
|
|
106
|
+
| "Taunggyi"
|
|
107
|
+
| "Dawei"
|
|
108
|
+
| "Kawthoung"
|
|
109
|
+
| "Myeik"
|
|
110
|
+
| "Yangon (East)"
|
|
111
|
+
| "Yangon (North)"
|
|
112
|
+
| "Yangon (South)"
|
|
113
|
+
| "Yangon (West)"
|
|
114
|
+
| "Mandalay"
|
|
115
|
+
| "Meiktila"
|
|
116
|
+
| "Myingyan"
|
|
117
|
+
| "Nyaung-U"
|
|
118
|
+
| "Pyinoolwin"
|
|
119
|
+
| "Yamethin"
|
|
120
|
+
| "Mawlamyine"
|
|
121
|
+
| "Thaton"
|
|
122
|
+
| "Det Khi Na"
|
|
123
|
+
| "Oke Ta Ra"
|
|
124
|
+
| "Kyaukpyu"
|
|
125
|
+
| "Maungdaw"
|
|
126
|
+
| "Mrauk-U"
|
|
127
|
+
| "Sittwe"
|
|
128
|
+
| "Thandwe"
|
|
129
|
+
| "Kale"
|
|
130
|
+
| "Kanbalu"
|
|
131
|
+
| "Katha"
|
|
132
|
+
| "Shwebo"
|
|
133
|
+
| "Hkamti";
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SNR_Names,
|
|
3
|
+
SNR_Types,
|
|
4
|
+
SAD_SAZ_Ethnic_Group,
|
|
5
|
+
SAD_SAZ_Names,
|
|
6
|
+
District_Names,
|
|
7
|
+
} from "./admdiv";
|
|
8
|
+
|
|
9
|
+
export interface Geo_Properties {
|
|
10
|
+
/**
|
|
11
|
+
* Version of Place codes (Pcodes)
|
|
12
|
+
*
|
|
13
|
+
* @see{https://themimu.info/place-codes}
|
|
14
|
+
*/
|
|
15
|
+
PCode_V: number;
|
|
16
|
+
/** State and Region Names */
|
|
17
|
+
ST?: SNR_Names;
|
|
18
|
+
/** State and Region Names in Myanmar*/
|
|
19
|
+
ST_MMR?: string;
|
|
20
|
+
/** Pcode for State and Region */
|
|
21
|
+
ST_PCODE?: string;
|
|
22
|
+
/** Administrative division types */
|
|
23
|
+
ST_RG?: SNR_Types;
|
|
24
|
+
/**
|
|
25
|
+
* Names
|
|
26
|
+
*
|
|
27
|
+
* 1. District
|
|
28
|
+
* 2. Self-Administered Division(SAD)
|
|
29
|
+
* 3. Self-Administered Zone(SAZ)
|
|
30
|
+
*/
|
|
31
|
+
DT?: SAD_SAZ_Names | District_Names;
|
|
32
|
+
/**
|
|
33
|
+
* Names in Myanmar
|
|
34
|
+
*
|
|
35
|
+
* 1. District
|
|
36
|
+
* 2. Self-Administered Division(SAD)
|
|
37
|
+
* 3. Self-Administered Zone(SAZ)
|
|
38
|
+
*/
|
|
39
|
+
DT_MMR?: string;
|
|
40
|
+
/** Pcodes */
|
|
41
|
+
DT_PCODE?: string;
|
|
42
|
+
/** */
|
|
43
|
+
OBJECTID?: number;
|
|
44
|
+
/**
|
|
45
|
+
* Names
|
|
46
|
+
*
|
|
47
|
+
* 1. Self-Administered Division(SAD)
|
|
48
|
+
* 2. Self-Administered Zone(SAZ)
|
|
49
|
+
*/
|
|
50
|
+
SAD_SAZ?: SAD_SAZ_Names;
|
|
51
|
+
/**
|
|
52
|
+
* Names in Burmese
|
|
53
|
+
*
|
|
54
|
+
* 1. Self-Administered Division(SAD)
|
|
55
|
+
* 2. Self-Administered Zone(SAZ)
|
|
56
|
+
*/
|
|
57
|
+
SAZ_D_MMR?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Names of Athnic Group , SAD or SAZ
|
|
60
|
+
*/
|
|
61
|
+
SELF_ADMIN?: SAD_SAZ_Ethnic_Group;
|
|
62
|
+
/** Pcodes */
|
|
63
|
+
SAZ_PCODE?: string;
|
|
64
|
+
/** State and Region Names */
|
|
65
|
+
ST_2?: SNR_Names;
|
|
66
|
+
/** Names of Township */
|
|
67
|
+
TS?: string;
|
|
68
|
+
/** Names of Township in Burmese */
|
|
69
|
+
TS_MMR?: string;
|
|
70
|
+
/** Pcodes for Township*/
|
|
71
|
+
TS_PCODE?: string;
|
|
72
|
+
// Town and Ward
|
|
73
|
+
/** Names of Town */
|
|
74
|
+
TOWN?: string;
|
|
75
|
+
/** Pcodes of Town */
|
|
76
|
+
TOWN_PCODE?: string;
|
|
77
|
+
/** Names of Ward */
|
|
78
|
+
WARD?: string;
|
|
79
|
+
/** Names of Ward in Burmese */
|
|
80
|
+
WARD_MMR?: string;
|
|
81
|
+
/** Pcodes of Ward */
|
|
82
|
+
WARD_PCODE?: string;
|
|
83
|
+
/** */
|
|
84
|
+
SOURCE?: string;
|
|
85
|
+
/** */
|
|
86
|
+
REMARK?: string;
|
|
87
|
+
// ===
|
|
88
|
+
/** Names of Village Tract */
|
|
89
|
+
VT?: string;
|
|
90
|
+
/** Pcodes of Village Tract */
|
|
91
|
+
VT_PCODE?: string;
|
|
92
|
+
/** Names of Village */
|
|
93
|
+
VILLAGE?: string;
|
|
94
|
+
/** Names of Village in Burmese */
|
|
95
|
+
VLG_MMR?: string;
|
|
96
|
+
/** Pcodes of Village */
|
|
97
|
+
VLG_PCODE?: string | number;
|
|
98
|
+
/** Alt Names of Village */
|
|
99
|
+
ALTVLG_ENG?: string;
|
|
100
|
+
/** Alt Names of Village in Burmese */
|
|
101
|
+
ALTVLG_MMR?: string;
|
|
102
|
+
/** Longitude for Village */
|
|
103
|
+
Longitude?: number;
|
|
104
|
+
/** Latitude for Village */
|
|
105
|
+
Latitude?: number;
|
|
106
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@kadown/types",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Type Definitions for geojson",
|
|
5
|
+
"types": "./index.d.ts",
|
|
6
|
+
"module": "index.js",
|
|
7
|
+
"keywords": [],
|
|
8
|
+
"author": {
|
|
9
|
+
"name": "Pho Thin Mg",
|
|
10
|
+
"email": "phothinmg@disroot.org",
|
|
11
|
+
"url": "https://phothinmg.github.io/"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"devDependencies": {
|
|
16
|
+
"@types/node": "^25.0.3",
|
|
17
|
+
"typescript": "^5.9.3"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"package.json",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE",
|
|
23
|
+
"index.js",
|
|
24
|
+
"index.d.ts",
|
|
25
|
+
"lib/**/*"
|
|
26
|
+
],
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/phothinmg/types.git"
|
|
33
|
+
},
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"import": "./index.js",
|
|
37
|
+
"types": "./index.d.ts"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|