@windycom/plugin-devtools 1.0.2-beta.0 → 1.0.4

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.
Files changed (162) hide show
  1. package/README.md +4 -0
  2. package/index.mjs +3 -2
  3. package/package.json +1 -1
  4. package/publishExamples.sh +1 -1
  5. package/types/client/BindedDropDown.d.ts +14 -0
  6. package/types/client/CanvasLayer.d.ts +1 -0
  7. package/types/client/Detail1hCheckbox.d.ts +4 -0
  8. package/types/{ExternalSveltePlugin.d.ts → client/ExternalSveltePlugin.d.ts} +2 -1
  9. package/types/{Plugin.d.ts → client/Plugin.d.ts} +4 -2
  10. package/types/{Product.d.ts → client/Product.d.ts} +2 -2
  11. package/types/{ProductSwitch.d.ts → client/ProductSwitch.d.ts} +1 -1
  12. package/types/client/components.d.ts +1 -0
  13. package/types/client/debugPremiumIssues.d.ts +22 -0
  14. package/types/client/embed2.d.ts +93 -0
  15. package/types/client/errorLogger.d.ts +11 -0
  16. package/types/client/externalPlugins.d.ts +6 -0
  17. package/types/{geolocation.d.ts → client/geolocation.d.ts} +11 -3
  18. package/types/client/globals.d.ts +3 -0
  19. package/types/{http.d.ts → client/http.d.ts} +1 -1
  20. package/types/client/index.d.ts +1 -0
  21. package/types/client/keyboard.d.ts +1 -0
  22. package/types/client/lib.d.ts +112 -0
  23. package/types/client/libHtml.d.ts +2 -0
  24. package/types/client/loadersUI.d.ts +1 -0
  25. package/types/client/mapGlobeCtrl.d.ts +1 -0
  26. package/types/client/mobile.d.ts +138 -0
  27. package/types/{models.d.ts → client/models.d.ts} +1 -1
  28. package/types/client/nativeStorage.d.ts +17 -0
  29. package/types/{notifications.d.ts → client/notifications.d.ts} +4 -3
  30. package/types/client/ogTags.d.ts +22 -0
  31. package/types/client/params.d.ts +2 -0
  32. package/types/client/pluginsCtrl.d.ts +7 -0
  33. package/types/client/pushNotifications.d.ts +1 -0
  34. package/types/{renderers.d.ts → client/renderers.d.ts} +5 -5
  35. package/types/{reverseName.d.ts → client/reverseName.d.ts} +12 -0
  36. package/types/client/serviceWorker.d.ts +1 -0
  37. package/types/client/swDownloader.d.ts +16 -0
  38. package/types/client/swProxy.d.ts +4 -0
  39. package/types/client/swUtils.d.ts +16 -0
  40. package/types/client/timeAnimation.d.ts +1 -0
  41. package/types/client/typeGuards.d.ts +2 -0
  42. package/types/client/visibility.d.ts +5 -0
  43. package/types/interfaces.d.ts +54 -10
  44. package/types/leaflet.d.ts +2 -15
  45. package/types/glsl-modules.d.ts +0 -26
  46. package/types/index.d.ts +0 -1
  47. package/types/node-modules.d.ts +0 -16
  48. package/types/ts-interfaces.d.ts +0 -66
  49. package/types/ts-types.d.ts +0 -43
  50. package/types/variables.d.ts +0 -238
  51. package/types/windy-modules.d.ts +0 -7
  52. /package/types/{AromeProduct.d.ts → client/AromeProduct.d.ts} +0 -0
  53. /package/types/{Bar.d.ts → client/Bar.d.ts} +0 -0
  54. /package/types/{BindedBar.d.ts → client/BindedBar.d.ts} +0 -0
  55. /package/types/{BindedCheckbox.d.ts → client/BindedCheckbox.d.ts} +0 -0
  56. /package/types/{BindedSwitch.d.ts → client/BindedSwitch.d.ts} +0 -0
  57. /package/types/{BottomSlide.d.ts → client/BottomSlide.d.ts} +0 -0
  58. /package/types/{BottomTagPlugin.d.ts → client/BottomTagPlugin.d.ts} +0 -0
  59. /package/types/{Calendar.d.ts → client/Calendar.d.ts} +0 -0
  60. /package/types/{ClickHandler.d.ts → client/ClickHandler.d.ts} +0 -0
  61. /package/types/{Color.d.ts → client/Color.d.ts} +0 -0
  62. /package/types/{DataTiler.d.ts → client/DataTiler.d.ts} +0 -0
  63. /package/types/{Drag.d.ts → client/Drag.d.ts} +0 -0
  64. /package/types/{DraggableDiv.d.ts → client/DraggableDiv.d.ts} +0 -0
  65. /package/types/{DropDown.d.ts → client/DropDown.d.ts} +0 -0
  66. /package/types/{EcmwfAnalysisProduct.d.ts → client/EcmwfAnalysisProduct.d.ts} +0 -0
  67. /package/types/{EcmwfProduct.d.ts → client/EcmwfProduct.d.ts} +0 -0
  68. /package/types/{Evented.d.ts → client/Evented.d.ts} +0 -0
  69. /package/types/{GhostBox.d.ts → client/GhostBox.d.ts} +0 -0
  70. /package/types/{GlObj.d.ts → client/GlObj.d.ts} +0 -0
  71. /package/types/{HrrrProducts.d.ts → client/HrrrProducts.d.ts} +0 -0
  72. /package/types/{IconProducts.d.ts → client/IconProducts.d.ts} +0 -0
  73. /package/types/{LabelsLayer.d.ts → client/LabelsLayer.d.ts} +0 -0
  74. /package/types/{LandMask.d.ts → client/LandMask.d.ts} +0 -0
  75. /package/types/{Layer.d.ts → client/Layer.d.ts} +0 -0
  76. /package/types/{Legend.d.ts → client/Legend.d.ts} +0 -0
  77. /package/types/{LongTap.d.ts → client/LongTap.d.ts} +0 -0
  78. /package/types/{Metric.d.ts → client/Metric.d.ts} +0 -0
  79. /package/types/{MetricClasses.d.ts → client/MetricClasses.d.ts} +0 -0
  80. /package/types/{MobileCalendar.d.ts → client/MobileCalendar.d.ts} +0 -0
  81. /package/types/{NamProducts.d.ts → client/NamProducts.d.ts} +0 -0
  82. /package/types/{OfflineMessagesClasses.d.ts → client/OfflineMessagesClasses.d.ts} +0 -0
  83. /package/types/{Overlay.d.ts → client/Overlay.d.ts} +0 -0
  84. /package/types/{OverlayClasses.d.ts → client/OverlayClasses.d.ts} +0 -0
  85. /package/types/{Particles.d.ts → client/Particles.d.ts} +0 -0
  86. /package/types/{Renderer.d.ts → client/Renderer.d.ts} +0 -0
  87. /package/types/{SatelliteProduct.d.ts → client/SatelliteProduct.d.ts} +0 -0
  88. /package/types/{Scrollable.d.ts → client/Scrollable.d.ts} +0 -0
  89. /package/types/{StaticProduct.d.ts → client/StaticProduct.d.ts} +0 -0
  90. /package/types/{SveltePanePlugin.d.ts → client/SveltePanePlugin.d.ts} +0 -0
  91. /package/types/{SveltePlugin.d.ts → client/SveltePlugin.d.ts} +0 -0
  92. /package/types/{Swipe.d.ts → client/Swipe.d.ts} +0 -0
  93. /package/types/{Switch.d.ts → client/Switch.d.ts} +0 -0
  94. /package/types/{TagPlugin.d.ts → client/TagPlugin.d.ts} +0 -0
  95. /package/types/{TileLayer.d.ts → client/TileLayer.d.ts} +0 -0
  96. /package/types/{TileLayerCanvas.d.ts → client/TileLayerCanvas.d.ts} +0 -0
  97. /package/types/{TileLayerMultiPatch.d.ts → client/TileLayerMultiPatch.d.ts} +0 -0
  98. /package/types/{TimestampBar.d.ts → client/TimestampBar.d.ts} +0 -0
  99. /package/types/{Webcams.d.ts → client/Webcams.d.ts} +0 -0
  100. /package/types/{Window.d.ts → client/Window.d.ts} +0 -0
  101. /package/types/{WindowPlugin.d.ts → client/WindowPlugin.d.ts} +0 -0
  102. /package/types/{baseMap.d.ts → client/baseMap.d.ts} +0 -0
  103. /package/types/{broadcast.d.ts → client/broadcast.d.ts} +0 -0
  104. /package/types/{cityLabels.d.ts → client/cityLabels.d.ts} +0 -0
  105. /package/types/{cloudSync.d.ts → client/cloudSync.d.ts} +0 -0
  106. /package/types/{colors.d.ts → client/colors.d.ts} +0 -0
  107. /package/types/{connection.d.ts → client/connection.d.ts} +0 -0
  108. /package/types/{css.d.ts → client/css.d.ts} +0 -0
  109. /package/types/{dataLoader.d.ts → client/dataLoader.d.ts} +0 -0
  110. /package/types/{dataSpecifications.d.ts → client/dataSpecifications.d.ts} +0 -0
  111. /package/types/{detectDevice.d.ts → client/detectDevice.d.ts} +0 -0
  112. /package/types/{device.d.ts → client/device.d.ts} +0 -0
  113. /package/types/{deviceLogging.d.ts → client/deviceLogging.d.ts} +0 -0
  114. /package/types/{Favs.d.ts → client/favs.d.ts} +0 -0
  115. /package/types/{fetch.d.ts → client/fetch.d.ts} +0 -0
  116. /package/types/{format.d.ts → client/format.d.ts} +0 -0
  117. /package/types/{ga.d.ts → client/ga.d.ts} +0 -0
  118. /package/types/{glTileRender.d.ts → client/glTileRender.d.ts} +0 -0
  119. /package/types/{hp.d.ts → client/hp.d.ts} +0 -0
  120. /package/types/{interpolator.d.ts → client/interpolator.d.ts} +0 -0
  121. /package/types/{latestBroadcasts.d.ts → client/latestBroadcasts.d.ts} +0 -0
  122. /package/types/{layers.d.ts → client/layers.d.ts} +0 -0
  123. /package/types/{legends.d.ts → client/legends.d.ts} +0 -0
  124. /package/types/{levelUtils.d.ts → client/levelUtils.d.ts} +0 -0
  125. /package/types/{libGuard.d.ts → client/libGuard.d.ts} +0 -0
  126. /package/types/{location.d.ts → client/location.d.ts} +0 -0
  127. /package/types/{log.d.ts → client/log.d.ts} +0 -0
  128. /package/types/{lruCache.d.ts → client/lruCache.d.ts} +0 -0
  129. /package/types/{map.d.ts → client/map.d.ts} +0 -0
  130. /package/types/{metrics.d.ts → client/metrics.d.ts} +0 -0
  131. /package/types/{mobileUtils.d.ts → client/mobileUtils.d.ts} +0 -0
  132. /package/types/{offlineController.d.ts → client/offlineController.d.ts} +0 -0
  133. /package/types/{overlays.d.ts → client/overlays.d.ts} +0 -0
  134. /package/types/{particleRenderers.d.ts → client/particleRenderers.d.ts} +0 -0
  135. /package/types/{permanentPromos.d.ts → client/permanentPromos.d.ts} +0 -0
  136. /package/types/{picker.d.ts → client/picker.d.ts} +0 -0
  137. /package/types/{plugins.d.ts → client/plugins.d.ts} +0 -0
  138. /package/types/{pois.d.ts → client/pois.d.ts} +0 -0
  139. /package/types/{products.d.ts → client/products.d.ts} +0 -0
  140. /package/types/{promo.d.ts → client/promo.d.ts} +0 -0
  141. /package/types/{query.d.ts → client/query.d.ts} +0 -0
  142. /package/types/{queryString.d.ts → client/queryString.d.ts} +0 -0
  143. /package/types/{renderCtrl.d.ts → client/renderCtrl.d.ts} +0 -0
  144. /package/types/{renderTile.d.ts → client/renderTile.d.ts} +0 -0
  145. /package/types/{renderUtils.d.ts → client/renderUtils.d.ts} +0 -0
  146. /package/types/{rhMessage.d.ts → client/rhMessage.d.ts} +0 -0
  147. /package/types/{rootScope.d.ts → client/rootScope.d.ts} +0 -0
  148. /package/types/{router.d.ts → client/router.d.ts} +0 -0
  149. /package/types/{seoParser.d.ts → client/seoParser.d.ts} +0 -0
  150. /package/types/{share.d.ts → client/share.d.ts} +0 -0
  151. /package/types/{showableErrorsService.d.ts → client/showableErrorsService.d.ts} +0 -0
  152. /package/types/{singleclick.d.ts → client/singleclick.d.ts} +0 -0
  153. /package/types/{storage.d.ts → client/storage.d.ts} +0 -0
  154. /package/types/{store.d.ts → client/store.d.ts} +0 -0
  155. /package/types/{subscription.d.ts → client/subscription.d.ts} +0 -0
  156. /package/types/{tileInterpolator.d.ts → client/tileInterpolator.d.ts} +0 -0
  157. /package/types/{tileLayerInstance.d.ts → client/tileLayerInstance.d.ts} +0 -0
  158. /package/types/{timestampUtils.d.ts → client/timestampUtils.d.ts} +0 -0
  159. /package/types/{trans.d.ts → client/trans.d.ts} +0 -0
  160. /package/types/{user.d.ts → client/user.d.ts} +0 -0
  161. /package/types/{userFavs.d.ts → client/userFavs.d.ts} +0 -0
  162. /package/types/{utils.d.ts → client/utils.d.ts} +0 -0
package/README.md CHANGED
@@ -1,3 +1,7 @@
1
1
  # Windy Plugins Developer tools
2
2
 
3
3
  Check out https://docs.windy-plugins.com for more information.
4
+
5
+ # CHANGELOG
6
+
7
+ - 1.X.X - TS declarations for client v42
package/index.mjs CHANGED
@@ -18,8 +18,9 @@ const testLoadedPlugin = config => {
18
18
  );
19
19
 
20
20
  assert(
21
- typeof icon === 'string' && /^.$/u.test(icon),
22
- 'Plugin icon MUSt be just single emoji character',
21
+ typeof icon === 'string' &&
22
+ (icon.length === 1 || /^[\u{0000}-\u{10FFFF}]{1,4}$/u.test(icon)),
23
+ 'Plugin icon must be just single emoji character',
23
24
  );
24
25
 
25
26
  assert(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windycom/plugin-devtools",
3
- "version": "1.0.2-beta.0",
3
+ "version": "1.0.4",
4
4
  "description": "Developer tools and TS declarations for developers of Windy Plugins.",
5
5
  "main": "index.mjs",
6
6
  "module": "index.mjs",
@@ -6,7 +6,7 @@ NAME=example
6
6
  SHA=$(git rev-parse --short HEAD)
7
7
  OWNER=windycom
8
8
 
9
- DIR=dist/example05
9
+ DIR=dist/example06
10
10
 
11
11
  cd ./$DIR
12
12
  echo "Creating plugin archive..."
@@ -0,0 +1,14 @@
1
+ import { BindedSwitch } from '@windy/BindedSwitch';
2
+ import { DropDown } from '@windy/DropDown';
3
+ import type { BindedSwitchInitParams } from '@windy/BindedSwitch';
4
+ import type { DropDownInitParams } from '@windy/DropDown';
5
+ import type { DataSpecifications } from '@windy/dataSpecifications.d';
6
+ export type BindedDropDownInitParams<T extends keyof DataSpecifications> = DropDownInitParams<DataSpecifications[T]['def']> & BindedSwitchInitParams<T>;
7
+ export declare class BindedDropDown<T extends keyof DataSpecifications> extends DropDown<DataSpecifications[T]['def']> {
8
+ protected initValue: DataSpecifications[T]['def'];
9
+ protected selected: DataSpecifications[T]['def'];
10
+ bindedSwitch: BindedSwitch<T>;
11
+ constructor(params: BindedDropDownInitParams<T>);
12
+ set(value: DataSpecifications[T]['def'], _uiIdentOrNoEmit?: string | boolean | void): void;
13
+ unmount(): void;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { BindedCheckbox } from '@windy/BindedCheckbox';
2
+ export declare class Detail1hCheckbox extends BindedCheckbox<'detail1h'> {
3
+ toggle(): void;
4
+ }
@@ -13,7 +13,8 @@ export type LoadeExternalSveltePlugin = {
13
13
  type Config2config = {
14
14
  className: string;
15
15
  attachPoint?: string;
16
- pane?: PluginPane;
16
+ pane: PluginPane;
17
+ addMObileSliders?: boolean;
17
18
  };
18
19
  export declare class ExternalSveltePlugin extends SveltePlugin<'windy-external-plugin'> {
19
20
  ident: 'windy-external-plugin';
@@ -18,8 +18,10 @@ export type PluginPane =
18
18
  | 'nearest'
19
19
  /** Bottom plugin that ducks under mobile time controls (use only in exception) */
20
20
  | 'small-bottom-bottom'
21
- /** External plugin embedded to HP */
22
- | 'embedded';
21
+ /** Plugin embedded to RHbottom area on desktop (so far used only for external plugins) */
22
+ | 'embedded'
23
+ /** Fullscreen mobile panes */
24
+ | 'fullscreen-mobile';
23
25
  /** Allowed params to Plugin constructor (private and protected props are omited by default) */
24
26
  export type PluginInitParams<P extends PluginIdent> = Pick<Plugin<P>, 'ident'> & Partial<Omit<Plugin<P>, 'isLoaded' | 'isOpen' | 'load' | 'open'>>;
25
27
  export declare class Plugin<P extends PluginIdent> {
@@ -1,8 +1,8 @@
1
1
  import { Calendar } from '@windy/Calendar';
2
+ import * as http from '@windy/http';
2
3
  import type { MinifestObject } from '@windy/Calendar.d';
3
4
  import type { Layers } from '@windy/Layer.d';
4
5
  import type { DataQuality, FileSuffix } from '@windy/Product.d';
5
- import type { HttpPayload } from '@windy/http.d';
6
6
  import type { LatLon } from '@windy/interfaces';
7
7
  import type { AcTimes, Isolines, Levels, Overlays, Products } from '@windy/rootScope.d';
8
8
  import type { ProductCategory, ProductIdent } from '@windy/types';
@@ -182,7 +182,7 @@ export declare class Product {
182
182
  };
183
183
  moveTs(moveRight: boolean, isAccu?: boolean): boolean | void;
184
184
  getMinifestUrl(): string;
185
- loadMinifest(): Promise<HttpPayload<MinifestObject>>;
185
+ loadMinifest(): Promise<http.HttpPayload<MinifestObject>>;
186
186
  open(): Promise<void | Calendar>;
187
187
  close(): void;
188
188
  /**
@@ -6,7 +6,7 @@ export type ProductSwitchInitParams = {
6
6
  export declare class ProductSwitch extends BindedSwitch<'product'> {
7
7
  showResolution: boolean;
8
8
  constructor(params: ProductSwitchInitParams);
9
- printHTML(prods?: ("radar" | "satellite" | "capAlerts" | "cams" | "icon" | "drought" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "iconWaves" | "efi" | "cmems" | "fireDanger" | "activeFires" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "camsEu" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue")[]): void;
9
+ printHTML(prods?: ("icon" | "radar" | "satellite" | "capAlerts" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "iconWaves" | "cams" | "efi" | "cmems" | "drought" | "fireDanger" | "activeFires" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "camsEu" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue")[]): void;
10
10
  /**
11
11
  * The menu is already in a DOM since we do not modify products so often
12
12
  */
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ declare const _default: {
2
+ status: number;
3
+ data: {
4
+ auth: boolean;
5
+ token: string;
6
+ userInfo: {
7
+ id: number;
8
+ username: string;
9
+ userslug: string;
10
+ };
11
+ subscriptionInfo: {
12
+ tier: string;
13
+ status: string;
14
+ platform: string;
15
+ state: string;
16
+ expiresAt: number;
17
+ isSubscription: boolean;
18
+ isTrial: boolean;
19
+ };
20
+ };
21
+ };
22
+ export default _default;
@@ -0,0 +1,93 @@
1
+ /// <reference types="@windy/declarations/windy-modules" />
2
+ import './utils/errorLogger';
3
+ import './leafletExt/CanvasLayer';
4
+ import './services/params';
5
+ import './pluginSystem/BottomTagPlugin';
6
+ import './pluginSystem/Plugin';
7
+ import './pluginSystem/SveltePlugin';
8
+ import './pluginSystem/TagPlugin';
9
+ import './pluginSystem/WindowPlugin';
10
+ import './pluginSystem/pluginsCtrl';
11
+ import './ui/components';
12
+ import './ui/loadersUI';
13
+ import './ui/timeAnimation';
14
+ import './ui/visibility';
15
+ import './render/renderTile';
16
+ import './render/tileLayerInstance';
17
+ import './dummyModules/detectDevice';
18
+ import './dummyModules/log';
19
+ import './dummyModules/promo';
20
+ import './dummyModules/seoParser';
21
+ import './map/cityLabels';
22
+ import './map/mapGlobeCtrl';
23
+ import { default as favs } from './dummyModules/favs';
24
+ export { favs };
25
+ import 'virtual:langEn';
26
+ import bcast from './services/broadcast';
27
+ import * as rootScope from './services/rootScope';
28
+ import { default as store } from './services/store';
29
+ import * as ga from './utils/ga';
30
+ import { $ } from './utils/utils';
31
+ import { default as overlays } from './weather/overlays';
32
+ export { rootScope };
33
+ export * as progressBar from '../plugins/progress-bar/progress-bar';
34
+ export * as location from './dummyModules/location';
35
+ export * as router from './dummyModules/router';
36
+ export * as map from './map/map';
37
+ export * as picker from './map/picker';
38
+ export * as singleclick from './map/singleclick';
39
+ export { default as plugins } from './pluginSystem/plugins';
40
+ export * as interpolator from './render/interpolator';
41
+ export { default as particles } from './render/particleRenderers';
42
+ export * as renderUtils from './render/renderUtils';
43
+ export * as DataTiler from './renderClasses/DataTiler';
44
+ export { default as colors } from './services/colors';
45
+ export * as connection from './services/connection';
46
+ export * as device from './services/device';
47
+ export * as geolocation from './services/geolocation';
48
+ export { default as notifications } from './services/notifications';
49
+ export * as pois from './services/pois';
50
+ export * as reverseName from './services/reverseName';
51
+ export * as showableErrorsService from './services/showableErrorsService';
52
+ export * as trans from './services/trans';
53
+ export * as hp from './ui/hp';
54
+ export { default as promo } from './ui/promo';
55
+ export * as query from './ui/query';
56
+ export * as rhMessage from './ui/rhMessage';
57
+ export * as user from './ui/user';
58
+ export * as BindedBar from './uiClasses/BindedBar';
59
+ export * as BindedCheckbox from './uiClasses/BindedCheckbox';
60
+ export * as BindedSwitch from './uiClasses/BindedSwitch';
61
+ export * as BottomSlide from './uiClasses/BottomSlide';
62
+ export * as ClickHandler from './uiClasses/ClickHandler';
63
+ export * as Detail1hCheckbox from './uiClasses/Detail1hCheckbox';
64
+ export * as Drag from './uiClasses/Drag';
65
+ export * as DraggableDiv from './uiClasses/DraggableDiv';
66
+ export * as DropDown from './uiClasses/DropDown';
67
+ export * as GhostBox from './uiClasses/GhostBox';
68
+ export * as Legend from './uiClasses/Legend';
69
+ export * as LongTap from './uiClasses/LongTap';
70
+ export * as MobileCalendar from './uiClasses/MobileCalendar';
71
+ export * as ProductSwitch from './uiClasses/ProductSwitch';
72
+ export * as Scrollable from './uiClasses/Scrollable';
73
+ export * as Swipe from './uiClasses/Swipe';
74
+ export * as Switch from './uiClasses/Switch';
75
+ export * as TimestampBar from './uiClasses/TimestampBar';
76
+ export * as Window from './uiClasses/Window';
77
+ export * as Evented from './utils/Evented';
78
+ export * as errorLogger from './utils/errorLogger';
79
+ export * as fetch from './utils/fetch';
80
+ export * as format from './utils/format';
81
+ export * as http from './utils/http';
82
+ export { default as lruCache } from './utils/lruCache';
83
+ export { default as storage } from './utils/storage';
84
+ export * as subscription from './utils/subscription';
85
+ export * as utils from './utils/utils';
86
+ export { default as metrics } from './weather/metrics';
87
+ export * as models from './weather/models';
88
+ export { default as products } from './weather/products';
89
+ export * as Calendar from './weatherClasses/Calendar';
90
+ export * as Color from './weatherClasses/Color';
91
+ export * as IconProducts from './weatherClasses/IconProducts';
92
+ export { default as GlObj } from './wgUtils/GlObj';
93
+ export { $, bcast as broadcast, ga, overlays, store };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * catches all runtimes exceptions and sends them to kibana on backend.
3
+ * Defines global `logError( moduleName, msg, errObj )` for custom err loggin.
4
+ * Licences go here since this is the first minified file
5
+ */
6
+ import type { ErrorPayload } from '@windy/errorLogger.d';
7
+ /**
8
+ * Array of all errors reported to kibana, to show them in debug mode
9
+ * plugin
10
+ */
11
+ export declare const sentErrors: ErrorPayload[];
@@ -0,0 +1,6 @@
1
+ import type { InstalledExternalPluginConfig } from '@windy/interfaces.d';
2
+ export type ExternalPluginError = {
3
+ type: 'network' | 'installation' | 'open';
4
+ msg: string;
5
+ };
6
+ export declare const installExternalPlugin: (url: string, installedBy: InstalledExternalPluginConfig['installedBy']) => Promise<InstalledExternalPluginConfig | ExternalPluginError>;
@@ -2,13 +2,17 @@ import '@windy/router';
2
2
  import type { GeolocationInfo, HomeLocation } from '@windy/interfaces.d';
3
3
  import type { PositionOptions } from '@capacitor/geolocation';
4
4
  /**
5
- * Returns either GPS or IP location whichever is newer
5
+ * Returns either GPS or IP location whichever is newer.
6
6
  *
7
- * @returns Location got from GPS or IP, the newer is prefered
7
+ * If none is available, returns fallback location. Although this method
8
+ * provides just a basic, very approximate location it is sync and can be used
9
+ * without user's GPS location permission.
10
+ *
11
+ * @returns Location got from GPS or IP, the newer is preferred
8
12
  */
9
13
  export declare const getMyLatestPos: () => GeolocationInfo;
10
14
  /**
11
- * Returns promise on GPS based location with GeoIP location as a fallback
15
+ * Returns promise on GPS based location with GeoIP location as a fallback.
12
16
  *
13
17
  * @param options Optionally custom options passed to Capacitor geolocation plugin
14
18
  * @returns Geolocation info from GPS, GeoIP as a fallback
@@ -20,11 +24,15 @@ export declare const getGPSlocation: (options?: PositionOptions) => Promise<Geol
20
24
  * @param lat Latitude
21
25
  * @param lon Longitude
22
26
  * @returns Fallback location name in a format "49.15, 14.18"
27
+ *
28
+ * @ignore
23
29
  */
24
30
  export declare const getFallbackName: (lat: number | string, lon: number | string) => string;
25
31
  /**
26
32
  * Gets accurate home location. Cannot be used in map initialization beacause it is async.
27
33
  *
28
34
  * @param cb Callback function to call when location is get. Location info object is passed as a callback argument
35
+ *
36
+ * @ignore
29
37
  */
30
38
  export declare const getHomeLocation: (cb: (loc: GeolocationInfo | HomeLocation) => void) => void;
@@ -0,0 +1,3 @@
1
+ export declare const version = "<!-- @echo VERSION -->";
2
+ export declare const assets = "<!-- @echo ASSETS -->";
3
+ export declare const build = "<!-- @echo BUILD -->";
@@ -59,4 +59,4 @@ export declare const put: StandardHttpRequestFun;
59
59
  * @returns HTTP payload or null when anything failed
60
60
  */
61
61
  export declare const head: StandardHttpRequestFun;
62
- export {};
62
+ export type { HttpOptions, HttpPayload };
@@ -0,0 +1 @@
1
+ // Keep this file empty
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,112 @@
1
+ import 'virtual:build-info';
2
+ export * as errorLogger from '../utils/errorLogger';
3
+ import '../leafletExt/CanvasLayer';
4
+ export * as Evented from '../utils/Evented';
5
+ export * as fetch from '../utils/fetch';
6
+ export * as format from '../utils/format';
7
+ export * as ga from '../utils/ga';
8
+ export * as http from '../utils/http';
9
+ export { default as lruCache } from '../utils/lruCache';
10
+ export { default as storage } from '../utils/storage';
11
+ export * as subscription from '../utils/subscription';
12
+ export * as utils from '../utils/utils';
13
+ export * as Calendar from '../weatherClasses/Calendar';
14
+ export * as Color from '../weatherClasses/Color';
15
+ export * as EcmwfAnalysisProduct from '../weatherClasses/EcmwfAnalysisProduct';
16
+ export * as EcmwfProduct from '../weatherClasses/EcmwfProduct';
17
+ export * as HrrrProducts from '../weatherClasses/HrrrProducts';
18
+ export * as IconProducts from '../weatherClasses/IconProducts';
19
+ export * as Layer from '../weatherClasses/Layer';
20
+ export * as Metric from '../weatherClasses/Metric';
21
+ export * as MetricClasses from '../weatherClasses/MetricClasses';
22
+ export * as NamProducts from '../weatherClasses/NamProducts';
23
+ export * as Overlay from '../weatherClasses/Overlay';
24
+ export * as OverlayClasses from '../weatherClasses/OverlayClasses';
25
+ export * as Product from '../weatherClasses/Product';
26
+ export * as SatelliteProduct from '../weatherClasses/SatelliteProduct';
27
+ export * as StaticProduct from '../weatherClasses/StaticProduct';
28
+ export { default as layers } from '../weather/layers';
29
+ export { default as legends } from '../weather/legends';
30
+ export { default as metrics } from '../weather/metrics';
31
+ export * as models from '../weather/models';
32
+ export { default as overlays } from '../weather/overlays';
33
+ export { default as products } from '../weather/products';
34
+ export { default as broadcast } from '../services/broadcast';
35
+ export { default as colors } from '../services/colors';
36
+ export * as connection from '../services/connection';
37
+ export { default as dataSpecifications } from '../services/dataSpecifications';
38
+ export * as detectDevice from '../services/detectDevice';
39
+ export * as device from '../services/device';
40
+ export * as deviceLogging from '../services/deviceLogging';
41
+ export * as geolocation from '../services/geolocation';
42
+ export { default as notifications } from '../services/notifications';
43
+ export * as ogTags from '../services/ogTags';
44
+ export * as params from '../services/params';
45
+ export * as rootScope from '../services/rootScope';
46
+ export * as showableErrorsService from '../services/showableErrorsService';
47
+ export { default as store } from '../services/store';
48
+ export * as trans from '../services/trans';
49
+ export * as BottomTagPlugin from '../pluginSystem/BottomTagPlugin';
50
+ export * as Plugin from '../pluginSystem/Plugin';
51
+ export * as SveltePanePlugin from '../pluginSystem/SveltePanePlugin';
52
+ export * as SveltePlugin from '../pluginSystem/SveltePlugin';
53
+ export * as TagPlugin from '../pluginSystem/TagPlugin';
54
+ export * as WindowPlugin from '../pluginSystem/WindowPlugin';
55
+ export { default as plugins } from '../pluginSystem/plugins';
56
+ export * as pluginsCtrl from '../pluginSystem/pluginsCtrl';
57
+ export * as Bar from '../uiClasses/Bar';
58
+ export * as BindedBar from '../uiClasses/BindedBar';
59
+ export * as BindedCheckbox from '../uiClasses/BindedCheckbox';
60
+ export * as BindedDropDown from '../uiClasses/BindedDropDown';
61
+ export * as BindedSwitch from '../uiClasses/BindedSwitch';
62
+ export * as BottomSlide from '../uiClasses/BottomSlide';
63
+ export * as ClickHandler from '../uiClasses/ClickHandler';
64
+ export * as Drag from '../uiClasses/Drag';
65
+ export * as DraggableDiv from '../uiClasses/DraggableDiv';
66
+ export * as DropDown from '../uiClasses/DropDown';
67
+ export * as GhostBox from '../uiClasses/GhostBox';
68
+ export * as LongTap from '../uiClasses/LongTap';
69
+ export * as MobileCalendar from '../uiClasses/MobileCalendar';
70
+ export * as ProductSwitch from '../uiClasses/ProductSwitch';
71
+ export * as Scrollable from '../uiClasses/Scrollable';
72
+ export * as Swipe from '../uiClasses/Swipe';
73
+ export * as Switch from '../uiClasses/Switch';
74
+ export * as TimestampBar from '../uiClasses/TimestampBar';
75
+ export * as Webcams from '../uiClasses/Webcams';
76
+ export * as Window from '../uiClasses/Window';
77
+ export * as loadersUI from '../ui/loadersUI';
78
+ export * as rhMessage from '../ui/rhMessage';
79
+ export * as timeAnimation from '../ui/timeAnimation';
80
+ export * as visibility from '../ui/visibility';
81
+ export * as DataTiler from '../renderClasses/DataTiler';
82
+ export * as Particles from '../renderClasses/Particles';
83
+ export * as Renderer from '../renderClasses/Renderer';
84
+ export * as TileLayer from '../renderClasses/TileLayer';
85
+ export { default as TileLayerCanvas } from '../renderClasses/TileLayerCanvas';
86
+ export * as dataLoader from '../render/dataLoader';
87
+ export * as interpolator from '../render/interpolator';
88
+ export { default as particleRenderers } from '../render/particleRenderers';
89
+ export * as renderCtrl from '../render/renderCtrl';
90
+ export * as renderUtils from '../render/renderUtils';
91
+ export { default as renderers } from '../render/renderers';
92
+ export * as tileInterpolator from '../render/tileInterpolator';
93
+ export { default as glTileRender } from '../render/glTileRender';
94
+ export * as renderTile from '../render/renderTile';
95
+ export * as tileLayer from '../render/tileLayerInstance';
96
+ export { default as GlObj } from '../wgUtils/GlObj';
97
+ export * as Favs from '../mapClasses/Favs';
98
+ export { default as LabelsLayer } from '../mapClasses/LabelsLayer';
99
+ export { default as LandMask } from '../mapClasses/LandMask';
100
+ export { default as TileLayerMultiPatch } from '../mapClasses/TileLayerMultiPatch';
101
+ export { default as cityLabels } from '../map/cityLabels';
102
+ export * as map from '../map/map';
103
+ export * as mapGlobeCtrl from '../map/mapGlobeCtrl';
104
+ export * as picker from '../map/picker';
105
+ export * as singleclick from '../map/singleclick';
106
+ export { default as favs } from '../dummyModules/favs';
107
+ export * as location from '../dummyModules/location';
108
+ export { default as log } from '../dummyModules/log';
109
+ export { default as promo } from '../dummyModules/promo';
110
+ export * as router from '../dummyModules/router';
111
+ export { default as seoParser } from '../dummyModules/seoParser';
112
+ export { default as libHtml } from '../lib/libHtml';
@@ -0,0 +1,2 @@
1
+ declare const _default: "\n\n<div id=\"map-container\"\n style=\"position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%;\"\n class=\"noselect\"></div>\n\n<div id=\"bottom\" class=\"shy right-border\">\n\n\n <!-- progress bar -->\n <div id=\"progress-bar\" class=\"progress-bar\">\n\n <div class=\"progress-line\">\n <div class=\"played\"></div><div class=\"avbl\"></div>\n <i></i>\n </div>\n\n <!-- GHOST -->\n <div class=\"timecode ghost-timecode\">\n <div class=\"box\"></div>\n </div>\n\n <!-- M A I N -->\n <div data-title=\"D_LT2\" class=\"timecode main-timecode\">\n <div class=\"box\"></div><div class=\"loading ld-gray-light size-l loader-path\"></div><!-- dayLoader -->\n </div>\n\n <!-- PLAY BUTTON apply class play/pause-->\n <div id=\"playpause\" class=\"play-pause iconfont clickable\"></div>\n\n <!-- CALENDAR WITH DAYS -->\n <div id=\"calendar\"></div>\n\n </div>\n\n <!-- ACCUMULATIONS -->\n <div id=\"accumulations\" class=\"size-s fg-yellow\">\n\n <span id=\"acc-title-rain\" data-t=\"RAINACCU\" class=\"capitalize\"></span>\n <span id=\"acc-title-snow\" data-t=\"SNOWACCU\" class=\"capitalize\"></span>\n\n <div class=\"switch switch--variant-uiswitch notap\"></div>\n\n </div>\n\n <!-- mobile version of calendar -->\n <div id=\"mobile-calendar\">\n\n <div id=\"timecode-mobile\" data-title=\"D_LT2\" class=\"timecode\">\n <div id=\"mobile_box\" class=\"box\"></div><div class=\"loading ld-gray-light size-l loader-path\"></div><!-- dayLoader -->\n </div>\n\n <div id=\"days\"></div>\n\n <!-- PLAY BUTTON FOR MOBILE VERSION apply class play/pause-->\n <div id=\"playpause-mobile\" class=\"play-pause iconfont\"></div>\n\n </div>\n\n</div>\n\n<!-- LOGO -->\n<div id=\"logo-wrapper\" class=\"top-border right-border\">\n <a id=\"logo\" href=\"https://www.windy.com/?utm_medium=__APIUSER__&utm_source=api4\" target=\"_top\">\n <img class=\"clickable-size\" alt=\"Windy.com\" src=\"<!-- @echo IMG_ABSOLUTE_PATH -->/logo201802/logo-full-windycom-white.svg\" />\n </a>\n</div>\n\n\n<div id=\"plugins\" class=\"shy\"></div>\n\n<div id=\"mobile-ovr-select\" data-icon=\"<!-- @echo icon-wind -->\" class=\"top-border clickable\" data-do=\"rqstOpen,menu\"></div>\n\n<div id=\"embed-zoom\">\n <div data-do=\"bcast,zoomIn\" class=\"clickable iconfont zoom-ctrl zoom-plus\" title=\"Zoom in\"><!-- @echo icon-plus --></div>\n <div data-do=\"bcast,zoomOut\" class=\"clickable iconfont zoom-ctrl zoom-minus\" title=\"Zoom out\"><!-- @echo icon-minus --></div>\n</div>\n";
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,138 @@
1
+ /**
2
+ * All these exports are exported in `window.W` object.
3
+ *
4
+ * Modules, that are use only internally, within core,
5
+ * and act as dependency to some other module,
6
+ * do not need to be listed here.
7
+ *
8
+ * Orphaned modules, that are not used anywhere,
9
+ * and modules consumed by plugins, MUST be listed here.
10
+ */
11
+ export * as errorLogger from './utils/errorLogger';
12
+ import './leafletExt/CanvasLayer';
13
+ export * as Evented from './utils/Evented';
14
+ export * as css from './utils/css';
15
+ export * as fetch from './utils/fetch';
16
+ export * as format from './utils/format';
17
+ export * as ga from './utils/ga';
18
+ export * as http from './utils/http';
19
+ export * as log from './utils/log';
20
+ export { default as lruCache } from './utils/lruCache';
21
+ export { default as storage } from './utils/storage';
22
+ export * as subscription from './utils/subscription';
23
+ export * as utils from './utils/utils';
24
+ export * as Calendar from './weatherClasses/Calendar';
25
+ export * as Color from './weatherClasses/Color';
26
+ export * as EcmwfAnalysisProduct from './weatherClasses/EcmwfAnalysisProduct';
27
+ export * as EcmwfProduct from './weatherClasses/EcmwfProduct';
28
+ export * as HrrrProducts from './weatherClasses/HrrrProducts';
29
+ export * as IconProducts from './weatherClasses/IconProducts';
30
+ export * as Layer from './weatherClasses/Layer';
31
+ export * as Metric from './weatherClasses/Metric';
32
+ export * as MetricClasses from './weatherClasses/MetricClasses';
33
+ export * as NamProducts from './weatherClasses/NamProducts';
34
+ export * as Overlay from './weatherClasses/Overlay';
35
+ export * as OverlayClasses from './weatherClasses/OverlayClasses';
36
+ export * as Product from './weatherClasses/Product';
37
+ export * as SatelliteProduct from './weatherClasses/SatelliteProduct';
38
+ export * as StaticProduct from './weatherClasses/StaticProduct';
39
+ export { default as layers } from './weather/layers';
40
+ export { default as legends } from './weather/legends';
41
+ export { default as metrics } from './weather/metrics';
42
+ export * as models from './weather/models';
43
+ export { default as overlays } from './weather/overlays';
44
+ export { default as products } from './weather/products';
45
+ export { default as broadcast } from './services/broadcast';
46
+ export * as cloudSync from './services/cloudSync';
47
+ export { default as colors } from './services/colors';
48
+ export * as connection from './services/connection';
49
+ export { default as dataSpecifications } from './services/dataSpecifications';
50
+ export * as detectDevice from './services/detectDevice';
51
+ export * as device from './services/device';
52
+ export * as deviceLogging from './services/deviceLogging';
53
+ export * as geolocation from './services/geolocation';
54
+ export { default as notifications } from './services/notifications';
55
+ export * as offlineController from './services/offlineController';
56
+ export * as ogTags from './services/ogTags';
57
+ export * as params from './services/params';
58
+ export * as pois from './services/pois';
59
+ export * as reverseName from './services/reverseName';
60
+ export * as rootScope from './services/rootScope';
61
+ export * as router from './services/router';
62
+ export * as showableErrorsService from './services/showableErrorsService';
63
+ export { default as store } from './services/store';
64
+ export * as trans from './services/trans';
65
+ export { default as userFavs } from './services/userFavs';
66
+ export * as BottomTagPlugin from './pluginSystem/BottomTagPlugin';
67
+ export * as Plugin from './pluginSystem/Plugin';
68
+ export * as SveltePanePlugin from './pluginSystem/SveltePanePlugin';
69
+ export * as SveltePlugin from './pluginSystem/SveltePlugin';
70
+ export * as TagPlugin from './pluginSystem/TagPlugin';
71
+ export * as WindowPlugin from './pluginSystem/WindowPlugin';
72
+ export { default as plugins } from './pluginSystem/plugins';
73
+ export * as pluginsCtrl from './pluginSystem/pluginsCtrl';
74
+ export * as Bar from './uiClasses/Bar';
75
+ export * as BindedBar from './uiClasses/BindedBar';
76
+ export * as BindedCheckbox from './uiClasses/BindedCheckbox';
77
+ export * as BindedDropDown from './uiClasses/BindedDropDown';
78
+ export * as BindedSwitch from './uiClasses/BindedSwitch';
79
+ export * as BottomSlide from './uiClasses/BottomSlide';
80
+ export * as ClickHandler from './uiClasses/ClickHandler';
81
+ export * as Detail1hCheckbox from './uiClasses/Detail1hCheckbox';
82
+ export * as Drag from './uiClasses/Drag';
83
+ export * as DraggableDiv from './uiClasses/DraggableDiv';
84
+ export * as DropDown from './uiClasses/DropDown';
85
+ export * as GhostBox from './uiClasses/GhostBox';
86
+ export * as LongTap from './uiClasses/LongTap';
87
+ export * as MobileCalendar from './uiClasses/MobileCalendar';
88
+ export * as ProductSwitch from './uiClasses/ProductSwitch';
89
+ export * as Scrollable from './uiClasses/Scrollable';
90
+ export * as Swipe from './uiClasses/Swipe';
91
+ export * as Switch from './uiClasses/Switch';
92
+ export * as TimestampBar from './uiClasses/TimestampBar';
93
+ export * as Webcams from './uiClasses/Webcams';
94
+ export * as Window from './uiClasses/Window';
95
+ export * as components from './ui/components';
96
+ export * as hp from './ui/hp';
97
+ export * as keyboard from './ui/keyboard';
98
+ export * as loadersUI from './ui/loadersUI';
99
+ export * as location from './ui/location';
100
+ export * as permanentPromos from './ui/permanentPromos';
101
+ export { default as promo } from './ui/promo';
102
+ export * as query from './ui/query';
103
+ export * as rhMessage from './ui/rhMessage';
104
+ export * as timeAnimation from './ui/timeAnimation';
105
+ export * as user from './ui/user';
106
+ export * as visibility from './ui/visibility';
107
+ export * as share from './ui/share';
108
+ export * as DataTiler from './renderClasses/DataTiler';
109
+ export * as Particles from './renderClasses/Particles';
110
+ export * as Renderer from './renderClasses/Renderer';
111
+ export * as TileLayer from './renderClasses/TileLayer';
112
+ export { default as TileLayerCanvas } from './renderClasses/TileLayerCanvas';
113
+ export * as dataLoader from './render/dataLoader';
114
+ export * as interpolator from './render/interpolator';
115
+ export { default as particleRenderers } from './render/particleRenderers';
116
+ export * as renderCtrl from './render/renderCtrl';
117
+ export * as renderUtils from './render/renderUtils';
118
+ export { default as renderers } from './render/renderers';
119
+ export * as tileInterpolator from './render/tileInterpolator';
120
+ export { default as glTileRender } from './render/glTileRender';
121
+ export * as renderTile from './render/renderTile';
122
+ export * as tileLayer from './render/tileLayerInstance';
123
+ export { default as GlObj } from './wgUtils/GlObj';
124
+ export * as Favs from './mapClasses/Favs';
125
+ export { default as LabelsLayer } from './mapClasses/LabelsLayer';
126
+ export { default as LandMask } from './mapClasses/LandMask';
127
+ export { default as TileLayerMultiPatch } from './mapClasses/TileLayerMultiPatch';
128
+ export * as baseMap from './map/baseMap';
129
+ export { default as cityLabels } from './map/cityLabels';
130
+ export * as map from './map/map';
131
+ export * as mapGlobeCtrl from './map/mapGlobeCtrl';
132
+ export * as picker from './map/picker';
133
+ export * as singleclick from './map/singleclick';
134
+ export * as mobile from './capacitor/mobile';
135
+ export * as mobileUtils from './capacitor/mobileUtils';
136
+ export * as nativeStorage from './capacitor/nativeStorage';
137
+ export * as pushNotifications from './capacitor/pushNotifications';
138
+ export * as seoParser from './dummyModules/seoParser';
@@ -26,7 +26,7 @@ export declare const getIconModel: (rqrdProduct: Products, avProducts: Products[
26
26
  /**
27
27
  * Return idents of visible local products available in the current map boundaries (or empty array undefined)
28
28
  */
29
- export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "gfs" | "ecmwf" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue" : "radar" | "satellite" | "capAlerts" | "cams" | "icon" | "drought" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "iconWaves" | "efi" | "cmems" | "fireDanger" | "activeFires" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "camsEu" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue">(latLon: T, pointFcts?: PT) => R[];
29
+ export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "gfs" | "ecmwf" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue" : "icon" | "radar" | "satellite" | "capAlerts" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "iconWaves" | "cams" | "efi" | "cmems" | "drought" | "fireDanger" | "activeFires" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeReunion" | "camsEu" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "ukv" | "mblue">(latLon: T, pointFcts?: PT) => R[];
30
30
  /**
31
31
  * Return product string on a basis of overlay & wanted forecast model
32
32
  */
@@ -0,0 +1,17 @@
1
+ interface CloudKitObject {
2
+ key: string;
3
+ value: string;
4
+ }
5
+ export interface WindyCloudKitPlugin {
6
+ set: (arg: CloudKitObject) => Promise<unknown>;
7
+ get: (arg: {
8
+ key: string;
9
+ }) => Promise<CloudKitObject>;
10
+ }
11
+ export interface WindyWidgetPlugin {
12
+ refresh: () => Promise<unknown>;
13
+ isWidgetInstalled: () => Promise<string | {
14
+ value: boolean;
15
+ }>;
16
+ }
17
+ export {};