@skypath-io/web-sdk 0.5.26 → 0.5.28
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/CHANGELOG.md +12 -0
- package/dist/bundle.cjs.js +2 -2
- package/dist/bundle.es.js +2 -2
- package/dist/bundle.iife.js +2 -2
- package/dist/types/src/features/nowcasting/consts.d.ts +1 -0
- package/dist/types/src/features/nowcasting/expandHexIdRanges.d.ts +1 -0
- package/dist/types/src/features/nowcasting/flow.d.ts +2 -1
- package/dist/types/src/features/nowcasting/utils.d.ts +8 -3
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function expandHexIdRanges(hexIds: Array<number | [number, number]>): Array<number>;
|
|
@@ -10,8 +10,9 @@ export class NowcastingFlow {
|
|
|
10
10
|
stop: () => void;
|
|
11
11
|
terminate: () => void;
|
|
12
12
|
get isRunning(): any;
|
|
13
|
-
updateConfig: ({ polygon, forecast, maxAltitude, minAltitude, minSeverity, }: {
|
|
13
|
+
updateConfig: ({ polygon, isCorridorMode, forecast, maxAltitude, minAltitude, minSeverity, }: {
|
|
14
14
|
polygon: any;
|
|
15
|
+
isCorridorMode: any;
|
|
15
16
|
forecast: any;
|
|
16
17
|
maxAltitude: any;
|
|
17
18
|
minAltitude: any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
export function validateInput({ polygon, forecast, maxAltitude, minAltitude, minSeverity, }: {
|
|
1
|
+
export function validateInput({ polygon, forecast, isCorridorMode, maxAltitude, minAltitude, minSeverity, }: {
|
|
2
2
|
polygon: any;
|
|
3
3
|
forecast: any;
|
|
4
|
+
isCorridorMode: any;
|
|
4
5
|
maxAltitude: any;
|
|
5
6
|
minAltitude: any;
|
|
6
7
|
minSeverity: any;
|
|
@@ -11,10 +12,14 @@ export function mapPolygonToHexIds({ polygon, polygonSize }: {
|
|
|
11
12
|
}): {
|
|
12
13
|
hexIds: string[];
|
|
13
14
|
};
|
|
14
|
-
export function mapResponseToReportsArray({ response, lastUpdatedAt }: {
|
|
15
|
+
export function mapResponseToReportsArray({ response, lastUpdatedAt, parentCell }: {
|
|
15
16
|
response: any;
|
|
16
17
|
lastUpdatedAt: any;
|
|
17
|
-
|
|
18
|
+
parentCell: any;
|
|
19
|
+
}): {
|
|
20
|
+
parentCell: any;
|
|
21
|
+
reports: any[];
|
|
22
|
+
};
|
|
18
23
|
export function buildData(data: any): {
|
|
19
24
|
toRawObject: () => any;
|
|
20
25
|
toHexagonsArray: () => any[];
|