parse-tmx 2.17.0 → 2.19.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.
- package/LICENSE +201 -201
- package/README.md +123 -123
- package/dist/index.d.ts +8 -8
- package/dist/index.js +10018 -7587
- package/package.json +22 -19
package/dist/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@ interface TMXEditorSettingsParsed extends Record<string, unknown> {}
|
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/models/tmx/parsed/TMXFlipsParsed.d.ts
|
|
5
5
|
interface TMXFlipsParsed {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
Diagonal: boolean;
|
|
7
|
+
Horizontal: boolean;
|
|
8
|
+
Vertical: boolean;
|
|
9
9
|
}
|
|
10
10
|
//#endregion
|
|
11
11
|
//#region src/models/tmx/shared/TMXImageShared.d.ts
|
|
@@ -23,7 +23,7 @@ declare enum Shape {
|
|
|
23
23
|
Ellipse = "ellipse",
|
|
24
24
|
Point = "point",
|
|
25
25
|
Polygon = "polygon",
|
|
26
|
-
Rectangle = "rectangle"
|
|
26
|
+
Rectangle = "rectangle"
|
|
27
27
|
}
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/models/tmx/parsed/TMXPropertiesParsed.d.ts
|
|
@@ -181,20 +181,20 @@ declare const parseTmx: (xmlString: string, translateFlips?: boolean) => Promise
|
|
|
181
181
|
//#region src/models/Compression.d.ts
|
|
182
182
|
declare enum Compression {
|
|
183
183
|
Gzip = "gzip",
|
|
184
|
-
Zlib = "zlib"
|
|
184
|
+
Zlib = "zlib"
|
|
185
185
|
}
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/models/Encoding.d.ts
|
|
188
188
|
declare enum Encoding {
|
|
189
189
|
Base64 = "base64",
|
|
190
|
-
Csv = "csv"
|
|
190
|
+
Csv = "csv"
|
|
191
191
|
}
|
|
192
192
|
//#endregion
|
|
193
193
|
//#region src/models/Flipped.d.ts
|
|
194
194
|
declare enum Flipped {
|
|
195
195
|
Diagonally = 536870912,
|
|
196
|
-
Horizontally = 2147483648,
|
|
197
196
|
Vertically = 1073741824,
|
|
197
|
+
Horizontally = 2147483648
|
|
198
198
|
}
|
|
199
199
|
//#endregion
|
|
200
200
|
//#region src/util/isExternalTileset.d.ts
|
|
@@ -362,7 +362,7 @@ declare enum TMXNodeType {
|
|
|
362
362
|
Objectgroup = "objectgroup",
|
|
363
363
|
Properties = "properties",
|
|
364
364
|
Property = "property",
|
|
365
|
-
Tileset = "tileset"
|
|
365
|
+
Tileset = "tileset"
|
|
366
366
|
}
|
|
367
367
|
//#endregion
|
|
368
368
|
//#region src/models/tmx/parsed/TMXExportParsed.d.ts
|