@idm-plugin/meteo2 0.0.6 → 0.0.8
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 +349 -342
- package/dist/index.umd.cjs +2 -2
- package/dist/openmeteo/src/index.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import moment from 'moment';
|
|
2
1
|
/**
|
|
3
2
|
* 大气海洋要素
|
|
4
3
|
*/
|
|
@@ -87,6 +86,7 @@ export declare class MeteoHelper2 {
|
|
|
87
86
|
* @private
|
|
88
87
|
*/
|
|
89
88
|
private prepare;
|
|
89
|
+
private toStdLng;
|
|
90
90
|
private timezoneOffset;
|
|
91
91
|
/**
|
|
92
92
|
* 预报数据
|
|
@@ -114,7 +114,7 @@ export declare class MeteoHelper2 {
|
|
|
114
114
|
* @param withHourly
|
|
115
115
|
* @param options
|
|
116
116
|
*/
|
|
117
|
-
spotForecast(lat: number, lng: number, datetime:
|
|
117
|
+
spotForecast(lat: number, lng: number, datetime: string | undefined, simplify?: boolean, withDaily?: boolean, withHourly?: boolean, options?: OMOptions): Promise<{
|
|
118
118
|
weather: any[];
|
|
119
119
|
marine: any[];
|
|
120
120
|
}>;
|
|
@@ -139,7 +139,7 @@ export declare class MeteoHelper2 {
|
|
|
139
139
|
* @param withMarine
|
|
140
140
|
* @param options
|
|
141
141
|
*/
|
|
142
|
-
spotHistorical(lat: number, lng: number, startDate:
|
|
142
|
+
spotHistorical(lat: number, lng: number, startDate: string, endDate: string, withMarine?: boolean, options?: OMOptions): Promise<{
|
|
143
143
|
weather: any[];
|
|
144
144
|
marine: any[] | undefined;
|
|
145
145
|
}>;
|
|
@@ -161,7 +161,7 @@ export declare class MeteoHelper2 {
|
|
|
161
161
|
* @param endDate
|
|
162
162
|
* @param options
|
|
163
163
|
*/
|
|
164
|
-
spotClimate(lat: number, lng: number, startDate:
|
|
164
|
+
spotClimate(lat: number, lng: number, startDate: string, endDate: string, options?: OMOptions): Promise<{
|
|
165
165
|
weather: any[];
|
|
166
166
|
}>;
|
|
167
167
|
}
|