@opengeoweb/sigmet-airmet 9.3.0 → 9.4.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/index.esm.js +4608 -10358
- package/package.json +1 -1
- package/src/lib/components/ProductForms/ProductFormFields/DrawTools.d.ts +1 -0
- package/src/lib/hooks/useShortTestHelpers.d.ts +4 -0
- package/src/lib/hooks/useShortTestHelpers.spec.d.ts +1 -0
- package/src/lib/types.d.ts +18 -8
- package/src/lib/utils/mockdata/fakeSigmetList.d.ts +2 -0
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/src/lib/types.d.ts
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { mapTypes } from '@opengeoweb/store';
|
|
3
3
|
export type ProductType = 'sigmet' | 'airmet';
|
|
4
|
+
/**
|
|
5
|
+
* The possible type for the airmet
|
|
6
|
+
*/
|
|
7
|
+
export declare enum AirmetType {
|
|
8
|
+
'NORMAL' = "Normal",
|
|
9
|
+
'TEST' = "Test",
|
|
10
|
+
'EXERCISE' = "Exercise"
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* The possible type for the sigmet
|
|
6
14
|
*/
|
|
7
15
|
export declare enum SigmetType {
|
|
8
16
|
'NORMAL' = "Normal",
|
|
9
17
|
'TEST' = "Test",
|
|
10
|
-
'EXERCISE' = "Exercise"
|
|
18
|
+
'EXERCISE' = "Exercise",
|
|
19
|
+
'SHORT_TEST' = "Short test",
|
|
20
|
+
'SHORT_VA_TEST' = "Short VA test"
|
|
11
21
|
}
|
|
12
22
|
/**
|
|
13
23
|
* The possible phenomena for the sigmet
|
|
@@ -214,24 +224,24 @@ export type AirmetMovementType = 'STATIONARY' | 'MOVEMENT';
|
|
|
214
224
|
export interface Sigmet extends BaseProduct {
|
|
215
225
|
phenomenon: SigmetPhenomena;
|
|
216
226
|
status: ProductStatus;
|
|
217
|
-
isObservationOrForecast
|
|
227
|
+
isObservationOrForecast?: ObservationOrForcast;
|
|
218
228
|
observationOrForecastTime?: DateType;
|
|
219
|
-
type: 'NORMAL' | 'TEST' | 'EXERCISE';
|
|
229
|
+
type: 'NORMAL' | 'TEST' | 'EXERCISE' | 'SHORT_TEST' | 'SHORT_VA_TEST';
|
|
220
230
|
/** Change type of the Sigmet, can be:
|
|
221
231
|
* INTSF:Intensifying
|
|
222
232
|
* WKN: Weakening
|
|
223
233
|
* NC: No change
|
|
224
234
|
*/
|
|
225
235
|
change?: Change;
|
|
226
|
-
levelInfoMode
|
|
227
|
-
level
|
|
236
|
+
levelInfoMode?: LevelInfoMode;
|
|
237
|
+
level?: LevelType;
|
|
228
238
|
lowerLevel?: LevelType;
|
|
229
239
|
firGeometry?: GeoJSON.FeatureCollection;
|
|
230
|
-
startGeometry
|
|
231
|
-
startGeometryIntersect
|
|
240
|
+
startGeometry?: GeoJSON.FeatureCollection;
|
|
241
|
+
startGeometryIntersect?: GeoJSON.FeatureCollection;
|
|
232
242
|
endGeometry?: GeoJSON.FeatureCollection;
|
|
233
243
|
endGeometryIntersect?: GeoJSON.FeatureCollection;
|
|
234
|
-
movementType
|
|
244
|
+
movementType?: SigmetMovementType;
|
|
235
245
|
movementSpeed?: number;
|
|
236
246
|
movementUnit?: MovementUnit;
|
|
237
247
|
movementDirection?: Direction;
|
|
@@ -7,4 +7,6 @@ export declare const fakeNewSigmet: Sigmet;
|
|
|
7
7
|
export declare const fakeSigmetMultiPolygon: SigmetFromBackend;
|
|
8
8
|
export declare const fakeVolcanicCancelSigmetNoMoveTo: SigmetFromBackend;
|
|
9
9
|
export declare const fakeVolcanicCancelSigmetWithMoveTo: SigmetFromBackend;
|
|
10
|
+
export declare const fakeShortTestSigmet: SigmetFromBackend;
|
|
11
|
+
export declare const fakeShortVaTestSigmet: SigmetFromBackend;
|
|
10
12
|
export declare const fakeStaticSigmetList: SigmetFromBackend[];
|