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 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="./public/startup-options.d.ts" />
3
- /// <reference path="./public/annotation.d.ts" />
4
- /// <reference path="./public/draw.d.ts" />
5
- /// <reference path="./public/extension.d.ts" />
6
- /// <reference path="./public/form.d.ts" />
7
- /// <reference path="./public/geometry.d.ts" />
8
- /// <reference path="./public/layer.d.ts" />
9
- /// <reference path="./public/map-context.d.ts" />
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.17",
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
- "pub-github": "node build/buildfile.js publish-github;",
10
- "doc-test": "node build/buildfile.js doc-test;"
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",
@@ -1,10 +1,12 @@
1
- declare interface JAppAnnotation {
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
- declare interface JappTextMarkerProperties {
9
+ export interface JappTextMarkerProperties {
8
10
  id: string
9
11
  location: maplibregl.LngLatLike
10
12
  textSize: number