@idm-plugin/meteo2 0.2.3 → 0.2.5
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/dist/index.js +109 -89
- package/dist/index.umd.cjs +2 -2
- package/dist/openmeteo/src/index.d.ts +10 -8
- package/package.json +1 -1
|
@@ -49,15 +49,15 @@ export interface MeteoModel {
|
|
|
49
49
|
alias?: string;
|
|
50
50
|
model: string;
|
|
51
51
|
disabled?: boolean;
|
|
52
|
-
provider
|
|
53
|
-
country
|
|
54
|
-
resolution
|
|
55
|
-
tips
|
|
56
|
-
length
|
|
57
|
-
frequency
|
|
58
|
-
models
|
|
52
|
+
provider?: string;
|
|
53
|
+
country?: string;
|
|
54
|
+
resolution?: number;
|
|
55
|
+
tips?: string;
|
|
56
|
+
length?: number;
|
|
57
|
+
frequency?: number;
|
|
58
|
+
models?: string[];
|
|
59
59
|
categories?: string;
|
|
60
|
-
variables
|
|
60
|
+
variables?: string;
|
|
61
61
|
}
|
|
62
62
|
export declare const WEATHER_MODELS: MeteoModel[];
|
|
63
63
|
export declare const MARINE_MODELS: MeteoModel[];
|
|
@@ -73,6 +73,8 @@ export declare class MeteoHelper2 {
|
|
|
73
73
|
private readonly CLIMATE;
|
|
74
74
|
private readonly SEASONAL;
|
|
75
75
|
constructor(apikey: string, debug?: boolean);
|
|
76
|
+
standardWeatherModels(): Promise<MeteoModel[]>;
|
|
77
|
+
standardMarineModels(): Promise<MeteoModel[]>;
|
|
76
78
|
range(start: number, stop: number, step: number): number[];
|
|
77
79
|
/**
|
|
78
80
|
* 大气数据
|