@cyclomedia/streetsmart-api 23.14.6 → 24.1.0-rc.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/README.md +1 -1
- package/dist/esm/index.js +5 -3
- package/index.d.ts +6 -1
- package/package.json +9 -4
- package/src/types/MeshViewer.d.ts +1 -1
- package/src/types/ObliqueViewer.d.ts +1 -1
- package/src/types/PanoramaViewer.d.ts +1 -1
- package/src/types/PointCloudViewer.d.ts +2 -2
- package/src/types/shared.d.ts +3 -3
package/index.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/// <reference path="./src/types/shared.d.ts" />
|
|
2
|
+
/// <reference path="./src/types/PanoramaViewer.d.ts" />
|
|
3
|
+
/// <reference path="./src/types/ObliqueViewer.d.ts" />
|
|
4
|
+
/// <reference path="./src/types/MeshViewer.d.ts" />
|
|
5
|
+
/// <reference path="./src/types/PointCloudViewer.d.ts" />
|
|
6
|
+
|
|
2
7
|
declare module '@cyclomedia/streetsmart-api' {
|
|
3
|
-
type Locale = 'de' | 'en-GB' | 'en-US' | 'fi' | 'fr' | 'nl' | 'tr';
|
|
8
|
+
type Locale = 'de' | 'en-GB' | 'en-US' | 'fi' | 'fr' | 'nl' | 'tr' | 'pl';
|
|
4
9
|
|
|
5
10
|
type EventType =
|
|
6
11
|
| MeasurementEvents
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyclomedia/streetsmart-api",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "The Streetsmart API wrapped as
|
|
3
|
+
"version": "24.1.0-rc.0",
|
|
4
|
+
"description": "The Streetsmart API wrapped as an npm package",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "scripts/build.sh",
|
|
6
|
+
"build:prod": "scripts/build.prod.sh",
|
|
7
|
+
"build:staging": "scripts/build.staging.sh",
|
|
7
8
|
"rollup": "rollup -c",
|
|
8
9
|
"docs": "npx typedoc --out docs src --theme minimal",
|
|
9
10
|
"test": "jest"
|
|
@@ -44,5 +45,9 @@
|
|
|
44
45
|
"README.md",
|
|
45
46
|
"src/types/*"
|
|
46
47
|
],
|
|
47
|
-
"types": "index.d.ts"
|
|
48
|
+
"types": "index.d.ts",
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@types/gl-matrix": "2.4.5",
|
|
51
|
+
"@types/ol": "6.5.3"
|
|
52
|
+
}
|
|
48
53
|
}
|
|
@@ -3,7 +3,7 @@ declare module '@cyclomedia/streetsmart-api' {
|
|
|
3
3
|
/**
|
|
4
4
|
* Represents a MeshViewerContainer React component instance.
|
|
5
5
|
*/
|
|
6
|
-
class MeshViewerContainer
|
|
6
|
+
class MeshViewerContainer {
|
|
7
7
|
/**
|
|
8
8
|
* Returns the ID of this viewer.
|
|
9
9
|
* @returns {string} The ID of this viewer.
|
|
@@ -4,7 +4,7 @@ declare module '@cyclomedia/streetsmart-api' {
|
|
|
4
4
|
event: ViewerEvent<ObliqueViewerEventDetails[T]>,
|
|
5
5
|
) => void;
|
|
6
6
|
|
|
7
|
-
class ObliqueViewer
|
|
7
|
+
class ObliqueViewer {
|
|
8
8
|
/**
|
|
9
9
|
* Returns the type of this viewer.
|
|
10
10
|
* @returns {ViewerType} The type of this viewer.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference path="shared.d.ts" />
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
declare module '@cyclomedia/streetsmart-api' {
|
|
4
4
|
type PointCloudViewerEventCallback<T extends PointCloudViewerEvents | SharedViewerEvents> = (
|
|
5
5
|
event: ViewerEvent<PointCloudViewerEventDetails[T]>,
|
|
6
6
|
) => void;
|
|
7
7
|
|
|
8
|
-
class PointCloudViewer
|
|
8
|
+
class PointCloudViewer {
|
|
9
9
|
/**
|
|
10
10
|
* Returns the ID of this viewer.
|
|
11
11
|
* @returns {String} The ID of this viewer.
|
package/src/types/shared.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { vec3 } from 'gl-matrix';
|
|
1
|
+
import { Style } from 'ol/style';
|
|
2
|
+
import { vec3 } from 'gl-matrix';
|
|
4
3
|
|
|
4
|
+
declare module '@cyclomedia/streetsmart-api' {
|
|
5
5
|
export enum ViewerType {
|
|
6
6
|
MAP = '@@ViewerType/MAP',
|
|
7
7
|
MESHVIEWER = '@@ViewerType/MESHVIEWER',
|