jmapcloud-ng-types 1.1.17 → 1.1.19
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/ambient.d.ts +10 -15
- package/package.json +4 -3
- package/public/annotation.d.ts +4 -2
- package/public/app.d.ts +2862 -2842
- package/public/draw.d.ts +7 -6
- package/public/extension.d.ts +3 -2
- package/public/form.d.ts +4 -3
- package/public/geometry.d.ts +3 -2
- package/public/global-aliases.d.ts +92 -0
- package/public/layer.d.ts +16 -15
- package/public/map-context.d.ts +4 -1
- package/public/measure.d.ts +8 -6
- package/public/message.d.ts +6 -5
- package/public/panel.d.ts +5 -4
- package/public/print.d.ts +6 -5
- package/public/selection.d.ts +3 -1
- package/public/startup-options.d.ts +1 -0
- package/public/ui.d.ts +3 -2
- package/public/user.d.ts +2 -1
package/ambient.d.ts
CHANGED
|
@@ -1,19 +1,14 @@
|
|
|
1
|
+
// This file is generated, do not edit it.
|
|
2
|
+
/// <reference path="./public/global-aliases.d.ts" />
|
|
1
3
|
/// <reference path="./public/app.d.ts" />
|
|
2
|
-
/// <reference path="./
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
/// <reference path="./public/measure.d.ts" />
|
|
11
|
-
/// <reference path="./public/message.d.ts" />
|
|
12
|
-
/// <reference path="./public/panel.d.ts" />
|
|
13
|
-
/// <reference path="./public/print.d.ts" />
|
|
14
|
-
/// <reference path="./public/selection.d.ts" />
|
|
15
|
-
/// <reference path="./public/ui.d.ts" />
|
|
16
|
-
/// <reference path="./public/user.d.ts" />
|
|
4
|
+
/// <reference path="./index.ts" />
|
|
5
|
+
|
|
6
|
+
declare global {
|
|
7
|
+
// Bring the NG Application namespace under the main JMap namespace to preserve the public API.
|
|
8
|
+
namespace JMap {
|
|
9
|
+
export import Application = JMapCloudNgApp.Application
|
|
10
|
+
}
|
|
11
|
+
}
|
|
17
12
|
|
|
18
13
|
export * from "./index"
|
|
19
14
|
export {}
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jmapcloud-ng-types",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.19",
|
|
4
4
|
"description": "JMap Cloud specific version of JMap Cloud NG types and interfaces",
|
|
5
5
|
"main": "src/app.ts",
|
|
6
6
|
"types": "ambient.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"update-types-bridge": "node build/moduleize-dts.js && node build/auto-add-imports.js && node build/codemod-export-globals.js && node build/generate-ambient.js",
|
|
10
|
+
"pub-github": "npm run update-types-bridge && node build/buildfile.js publish-github;",
|
|
11
|
+
"doc-test": "npm run update-types-bridge && node build/buildfile.js doc-test;"
|
|
11
12
|
},
|
|
12
13
|
"repository": {
|
|
13
14
|
"type": "git",
|
package/public/annotation.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import type { JAPP_DRAW_TYPES } from "./draw.d.ts"
|
|
2
|
+
export {}
|
|
3
|
+
export interface JAppAnnotation {
|
|
2
4
|
id: string
|
|
3
5
|
type: JAPP_DRAW_TYPES
|
|
4
6
|
feature: any
|
|
5
7
|
}
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
export interface JappTextMarkerProperties {
|
|
8
10
|
id: string
|
|
9
11
|
location: maplibregl.LngLatLike
|
|
10
12
|
textSize: number
|