@idm-plugin/meteo2 0.0.7 → 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 +286 -285
- package/dist/index.umd.cjs +2 -2
- package/dist/openmeteo/src/index.d.ts +3 -4
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import moment from 'moment';
|
|
2
1
|
/**
|
|
3
2
|
* 大气海洋要素
|
|
4
3
|
*/
|
|
@@ -115,7 +114,7 @@ export declare class MeteoHelper2 {
|
|
|
115
114
|
* @param withHourly
|
|
116
115
|
* @param options
|
|
117
116
|
*/
|
|
118
|
-
spotForecast(lat: number, lng: number, datetime:
|
|
117
|
+
spotForecast(lat: number, lng: number, datetime: string | undefined, simplify?: boolean, withDaily?: boolean, withHourly?: boolean, options?: OMOptions): Promise<{
|
|
119
118
|
weather: any[];
|
|
120
119
|
marine: any[];
|
|
121
120
|
}>;
|
|
@@ -140,7 +139,7 @@ export declare class MeteoHelper2 {
|
|
|
140
139
|
* @param withMarine
|
|
141
140
|
* @param options
|
|
142
141
|
*/
|
|
143
|
-
spotHistorical(lat: number, lng: number, startDate:
|
|
142
|
+
spotHistorical(lat: number, lng: number, startDate: string, endDate: string, withMarine?: boolean, options?: OMOptions): Promise<{
|
|
144
143
|
weather: any[];
|
|
145
144
|
marine: any[] | undefined;
|
|
146
145
|
}>;
|
|
@@ -162,7 +161,7 @@ export declare class MeteoHelper2 {
|
|
|
162
161
|
* @param endDate
|
|
163
162
|
* @param options
|
|
164
163
|
*/
|
|
165
|
-
spotClimate(lat: number, lng: number, startDate:
|
|
164
|
+
spotClimate(lat: number, lng: number, startDate: string, endDate: string, options?: OMOptions): Promise<{
|
|
166
165
|
weather: any[];
|
|
167
166
|
}>;
|
|
168
167
|
}
|