@windycom/plugin-devtools 1.0.2-beta.2 → 1.0.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.
Files changed (199) hide show
  1. package/README.md +5 -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/{Calendar.d.ts → client/Calendar.d.ts} +4 -4
  7. package/types/client/CanvasLayer.d.ts +1 -0
  8. package/types/{Color.d.ts → client/Color.d.ts} +3 -3
  9. package/types/{DataTiler.d.ts → client/DataTiler.d.ts} +2 -2
  10. package/types/client/Detail1hCheckbox.d.ts +4 -0
  11. package/types/{ExternalSveltePlugin.d.ts → client/ExternalSveltePlugin.d.ts} +2 -1
  12. package/types/{GlObj.d.ts → client/GlObj.d.ts} +1 -1
  13. package/types/{Layer.d.ts → client/Layer.d.ts} +11 -11
  14. package/types/{Metric.d.ts → client/Metric.d.ts} +5 -5
  15. package/types/{Plugin.d.ts → client/Plugin.d.ts} +4 -2
  16. package/types/{Product.d.ts → client/Product.d.ts} +8 -8
  17. package/types/{ProductSwitch.d.ts → client/ProductSwitch.d.ts} +1 -1
  18. package/types/{Renderer.d.ts → client/Renderer.d.ts} +4 -4
  19. package/types/{Webcams.d.ts → client/Webcams.d.ts} +4 -4
  20. package/types/client/components.d.ts +1 -0
  21. package/types/client/d.ts.files/Calendar.d.ts +87 -0
  22. package/types/client/d.ts.files/CanvasLayer.d.ts +70 -0
  23. package/types/client/d.ts.files/Color.d.ts +82 -0
  24. package/types/client/d.ts.files/DataTiler.d.ts +45 -0
  25. package/types/client/d.ts.files/GlObj.d.ts +92 -0
  26. package/types/client/d.ts.files/LabelsLayer.d.ts +51 -0
  27. package/types/client/d.ts.files/LandMask.d.ts +17 -0
  28. package/types/client/d.ts.files/Layer.d.ts +184 -0
  29. package/types/client/d.ts.files/Metric.d.ts +192 -0
  30. package/types/client/d.ts.files/PoisOverlay.d.ts +27 -0
  31. package/types/client/d.ts.files/Product.d.ts +37 -0
  32. package/types/client/d.ts.files/Renderer.d.ts +23 -0
  33. package/types/client/d.ts.files/TileLayerCanvas.d.ts +78 -0
  34. package/types/client/d.ts.files/TileLayerMultiPatch.d.ts +13 -0
  35. package/types/client/d.ts.files/Webcams.d.ts +160 -0
  36. package/types/client/d.ts.files/broadcast.d.ts +177 -0
  37. package/types/client/d.ts.files/dataSpecifications.d.ts +943 -0
  38. package/types/client/d.ts.files/errorLogger.d.ts +35 -0
  39. package/types/client/d.ts.files/format.d.ts +48 -0
  40. package/types/client/d.ts.files/http.d.ts +87 -0
  41. package/types/client/d.ts.files/incomingMessages.d.ts +88 -0
  42. package/types/client/d.ts.files/lib.d.ts +74 -0
  43. package/types/client/d.ts.files/notifications.d.ts +39 -0
  44. package/types/client/d.ts.files/outgoingMessages.d.ts +75 -0
  45. package/types/client/d.ts.files/plugin-params.d.ts +236 -0
  46. package/types/client/d.ts.files/plugins.d.ts +132 -0
  47. package/types/client/d.ts.files/pois.d.ts +11 -0
  48. package/types/client/d.ts.files/products.d.ts +44 -0
  49. package/types/client/d.ts.files/rootScope.d.ts +43 -0
  50. package/types/client/d.ts.files/satellite.d.ts +50 -0
  51. package/types/client/d.ts.files/singleclick.d.ts +31 -0
  52. package/types/client/d.ts.files/storage.d.ts +120 -0
  53. package/types/client/d.ts.files/store.d.ts +61 -0
  54. package/types/client/d.ts.files/tileInterpolator.d.ts +35 -0
  55. package/types/client/d.ts.files/trans.d.ts +55 -0
  56. package/types/client/d.ts.files/user.d.ts +58 -0
  57. package/types/{dataSpecifications.d.ts → client/dataSpecifications.d.ts} +1 -1
  58. package/types/client/debugPremiumIssues.d.ts +22 -0
  59. package/types/client/embed2.d.ts +92 -0
  60. package/types/client/errorLogger.d.ts +11 -0
  61. package/types/client/externalPlugins.d.ts +6 -0
  62. package/types/{fetch.d.ts → client/fetch.d.ts} +30 -3
  63. package/types/{format.d.ts → client/format.d.ts} +2 -2
  64. package/types/{geolocation.d.ts → client/geolocation.d.ts} +11 -3
  65. package/types/client/globals.d.ts +3 -0
  66. package/types/{http.d.ts → client/http.d.ts} +2 -2
  67. package/types/client/index.d.ts +1 -0
  68. package/types/client/keyboard.d.ts +1 -0
  69. package/types/client/lib.d.ts +112 -0
  70. package/types/client/libHtml.d.ts +2 -0
  71. package/types/client/loadersUI.d.ts +1 -0
  72. package/types/client/mapGlobeCtrl.d.ts +1 -0
  73. package/types/client/mobile.d.ts +138 -0
  74. package/types/{models.d.ts → client/models.d.ts} +1 -1
  75. package/types/client/nativeStorage.d.ts +17 -0
  76. package/types/{notifications.d.ts → client/notifications.d.ts} +6 -5
  77. package/types/client/ogTags.d.ts +22 -0
  78. package/types/client/params.d.ts +2 -0
  79. package/types/{plugins.d.ts → client/plugins.d.ts} +1 -1
  80. package/types/client/pluginsCtrl.d.ts +7 -0
  81. package/types/{pois.d.ts → client/pois.d.ts} +1 -1
  82. package/types/client/products.d.ts +3 -0
  83. package/types/client/pushNotifications.d.ts +1 -0
  84. package/types/{renderers.d.ts → client/renderers.d.ts} +5 -5
  85. package/types/{reverseName.d.ts → client/reverseName.d.ts} +12 -0
  86. package/types/{rootScope.d.ts → client/rootScope.d.ts} +4 -4
  87. package/types/client/serviceWorker.d.ts +1 -0
  88. package/types/{singleclick.d.ts → client/singleclick.d.ts} +2 -2
  89. package/types/{storage.d.ts → client/storage.d.ts} +1 -1
  90. package/types/{store.d.ts → client/store.d.ts} +2 -2
  91. package/types/client/swDownloader.d.ts +16 -0
  92. package/types/client/swProxy.d.ts +4 -0
  93. package/types/client/swUtils.d.ts +16 -0
  94. package/types/{tileInterpolator.d.ts → client/tileInterpolator.d.ts} +3 -3
  95. package/types/client/timeAnimation.d.ts +1 -0
  96. package/types/{trans.d.ts → client/trans.d.ts} +3 -3
  97. package/types/client/typeGuards.d.ts +2 -0
  98. package/types/{user.d.ts → client/user.d.ts} +3 -3
  99. package/types/{utils.d.ts → client/utils.d.ts} +1 -1
  100. package/types/client/visibility.d.ts +5 -0
  101. package/types/interfaces.d.ts +54 -10
  102. package/types/leaflet.d.ts +2 -15
  103. package/types/glsl-modules.d.ts +0 -26
  104. package/types/index.d.ts +0 -1
  105. package/types/node-modules.d.ts +0 -16
  106. package/types/products.d.ts +0 -3
  107. package/types/ts-interfaces.d.ts +0 -66
  108. package/types/ts-types.d.ts +0 -43
  109. package/types/variables.d.ts +0 -238
  110. package/types/windy-modules.d.ts +0 -7
  111. /package/types/{AromeProduct.d.ts → client/AromeProduct.d.ts} +0 -0
  112. /package/types/{Bar.d.ts → client/Bar.d.ts} +0 -0
  113. /package/types/{BindedBar.d.ts → client/BindedBar.d.ts} +0 -0
  114. /package/types/{BindedCheckbox.d.ts → client/BindedCheckbox.d.ts} +0 -0
  115. /package/types/{BindedSwitch.d.ts → client/BindedSwitch.d.ts} +0 -0
  116. /package/types/{BottomSlide.d.ts → client/BottomSlide.d.ts} +0 -0
  117. /package/types/{BottomTagPlugin.d.ts → client/BottomTagPlugin.d.ts} +0 -0
  118. /package/types/{ClickHandler.d.ts → client/ClickHandler.d.ts} +0 -0
  119. /package/types/{Drag.d.ts → client/Drag.d.ts} +0 -0
  120. /package/types/{DraggableDiv.d.ts → client/DraggableDiv.d.ts} +0 -0
  121. /package/types/{DropDown.d.ts → client/DropDown.d.ts} +0 -0
  122. /package/types/{EcmwfAnalysisProduct.d.ts → client/EcmwfAnalysisProduct.d.ts} +0 -0
  123. /package/types/{EcmwfProduct.d.ts → client/EcmwfProduct.d.ts} +0 -0
  124. /package/types/{Evented.d.ts → client/Evented.d.ts} +0 -0
  125. /package/types/{GhostBox.d.ts → client/GhostBox.d.ts} +0 -0
  126. /package/types/{HrrrProducts.d.ts → client/HrrrProducts.d.ts} +0 -0
  127. /package/types/{IconProducts.d.ts → client/IconProducts.d.ts} +0 -0
  128. /package/types/{LabelsLayer.d.ts → client/LabelsLayer.d.ts} +0 -0
  129. /package/types/{LandMask.d.ts → client/LandMask.d.ts} +0 -0
  130. /package/types/{Legend.d.ts → client/Legend.d.ts} +0 -0
  131. /package/types/{LongTap.d.ts → client/LongTap.d.ts} +0 -0
  132. /package/types/{MetricClasses.d.ts → client/MetricClasses.d.ts} +0 -0
  133. /package/types/{MobileCalendar.d.ts → client/MobileCalendar.d.ts} +0 -0
  134. /package/types/{NamProducts.d.ts → client/NamProducts.d.ts} +0 -0
  135. /package/types/{OfflineMessagesClasses.d.ts → client/OfflineMessagesClasses.d.ts} +0 -0
  136. /package/types/{Overlay.d.ts → client/Overlay.d.ts} +0 -0
  137. /package/types/{OverlayClasses.d.ts → client/OverlayClasses.d.ts} +0 -0
  138. /package/types/{Particles.d.ts → client/Particles.d.ts} +0 -0
  139. /package/types/{SatelliteProduct.d.ts → client/SatelliteProduct.d.ts} +0 -0
  140. /package/types/{Scrollable.d.ts → client/Scrollable.d.ts} +0 -0
  141. /package/types/{StaticProduct.d.ts → client/StaticProduct.d.ts} +0 -0
  142. /package/types/{SveltePanePlugin.d.ts → client/SveltePanePlugin.d.ts} +0 -0
  143. /package/types/{SveltePlugin.d.ts → client/SveltePlugin.d.ts} +0 -0
  144. /package/types/{Swipe.d.ts → client/Swipe.d.ts} +0 -0
  145. /package/types/{Switch.d.ts → client/Switch.d.ts} +0 -0
  146. /package/types/{TagPlugin.d.ts → client/TagPlugin.d.ts} +0 -0
  147. /package/types/{TileLayer.d.ts → client/TileLayer.d.ts} +0 -0
  148. /package/types/{TileLayerCanvas.d.ts → client/TileLayerCanvas.d.ts} +0 -0
  149. /package/types/{TileLayerMultiPatch.d.ts → client/TileLayerMultiPatch.d.ts} +0 -0
  150. /package/types/{TimestampBar.d.ts → client/TimestampBar.d.ts} +0 -0
  151. /package/types/{Window.d.ts → client/Window.d.ts} +0 -0
  152. /package/types/{WindowPlugin.d.ts → client/WindowPlugin.d.ts} +0 -0
  153. /package/types/{baseMap.d.ts → client/baseMap.d.ts} +0 -0
  154. /package/types/{broadcast.d.ts → client/broadcast.d.ts} +0 -0
  155. /package/types/{cityLabels.d.ts → client/cityLabels.d.ts} +0 -0
  156. /package/types/{cloudSync.d.ts → client/cloudSync.d.ts} +0 -0
  157. /package/types/{colors.d.ts → client/colors.d.ts} +0 -0
  158. /package/types/{connection.d.ts → client/connection.d.ts} +0 -0
  159. /package/types/{css.d.ts → client/css.d.ts} +0 -0
  160. /package/types/{dataLoader.d.ts → client/dataLoader.d.ts} +0 -0
  161. /package/types/{detectDevice.d.ts → client/detectDevice.d.ts} +0 -0
  162. /package/types/{device.d.ts → client/device.d.ts} +0 -0
  163. /package/types/{deviceLogging.d.ts → client/deviceLogging.d.ts} +0 -0
  164. /package/types/{Favs.d.ts → client/favs.d.ts} +0 -0
  165. /package/types/{ga.d.ts → client/ga.d.ts} +0 -0
  166. /package/types/{glTileRender.d.ts → client/glTileRender.d.ts} +0 -0
  167. /package/types/{hp.d.ts → client/hp.d.ts} +0 -0
  168. /package/types/{interpolator.d.ts → client/interpolator.d.ts} +0 -0
  169. /package/types/{latestBroadcasts.d.ts → client/latestBroadcasts.d.ts} +0 -0
  170. /package/types/{layers.d.ts → client/layers.d.ts} +0 -0
  171. /package/types/{legends.d.ts → client/legends.d.ts} +0 -0
  172. /package/types/{levelUtils.d.ts → client/levelUtils.d.ts} +0 -0
  173. /package/types/{libGuard.d.ts → client/libGuard.d.ts} +0 -0
  174. /package/types/{location.d.ts → client/location.d.ts} +0 -0
  175. /package/types/{log.d.ts → client/log.d.ts} +0 -0
  176. /package/types/{lruCache.d.ts → client/lruCache.d.ts} +0 -0
  177. /package/types/{map.d.ts → client/map.d.ts} +0 -0
  178. /package/types/{metrics.d.ts → client/metrics.d.ts} +0 -0
  179. /package/types/{mobileUtils.d.ts → client/mobileUtils.d.ts} +0 -0
  180. /package/types/{offlineController.d.ts → client/offlineController.d.ts} +0 -0
  181. /package/types/{overlays.d.ts → client/overlays.d.ts} +0 -0
  182. /package/types/{particleRenderers.d.ts → client/particleRenderers.d.ts} +0 -0
  183. /package/types/{permanentPromos.d.ts → client/permanentPromos.d.ts} +0 -0
  184. /package/types/{picker.d.ts → client/picker.d.ts} +0 -0
  185. /package/types/{promo.d.ts → client/promo.d.ts} +0 -0
  186. /package/types/{query.d.ts → client/query.d.ts} +0 -0
  187. /package/types/{queryString.d.ts → client/queryString.d.ts} +0 -0
  188. /package/types/{renderCtrl.d.ts → client/renderCtrl.d.ts} +0 -0
  189. /package/types/{renderTile.d.ts → client/renderTile.d.ts} +0 -0
  190. /package/types/{renderUtils.d.ts → client/renderUtils.d.ts} +0 -0
  191. /package/types/{rhMessage.d.ts → client/rhMessage.d.ts} +0 -0
  192. /package/types/{router.d.ts → client/router.d.ts} +0 -0
  193. /package/types/{seoParser.d.ts → client/seoParser.d.ts} +0 -0
  194. /package/types/{share.d.ts → client/share.d.ts} +0 -0
  195. /package/types/{showableErrorsService.d.ts → client/showableErrorsService.d.ts} +0 -0
  196. /package/types/{subscription.d.ts → client/subscription.d.ts} +0 -0
  197. /package/types/{tileLayerInstance.d.ts → client/tileLayerInstance.d.ts} +0 -0
  198. /package/types/{timestampUtils.d.ts → client/timestampUtils.d.ts} +0 -0
  199. /package/types/{userFavs.d.ts → client/userFavs.d.ts} +0 -0
@@ -1,238 +0,0 @@
1
- /**
2
- * Complie options
3
- */
4
- declare const TARGET: 'index' | 'mobile' | 'lib' | 'embed2';
5
- declare const TARGET_MOBILE: boolean;
6
- declare const TARGET_EMBED2: boolean;
7
- declare const TARGET_LIB: boolean;
8
- declare const TARGET_INDEX: boolean;
9
- declare const DEBUG: boolean;
10
- declare const BETA: boolean;
11
- declare const IS_HUAWEI: boolean;
12
- declare const PRODUCTION: boolean;
13
- declare const DEVELOPMENT: boolean;
14
-
15
- declare interface AdditionalPluginAssets {
16
- __css?: string;
17
- __html?: string;
18
- }
19
-
20
- declare interface AdditionalSvelteAssets {
21
- __css?: string;
22
- default: typeof import('svelte').SvelteComponent;
23
- }
24
-
25
- // we do not want to wrap into multiple-lines
26
- // prettier-ignore
27
- declare type WPluginModules = {
28
- // svelte plugins (they all have wrapper, so same interface)
29
- [I in (import('../types').SveltePluginIdent | import('../types').SveltePanePluginIdent)]: typeof import('@windy/SveltePlugin').SvelteApp;
30
- } & {
31
- // Plain, Tag and BottomTag plugins
32
- '@plugins/patch': import('@windy/Plugin').Plugin<'patch'>;
33
-
34
- // These plugins have stnadard export
35
- '@plugins/browser': typeof import('../../plugins/browser/browser');
36
- '@plugins/cap-alerts': typeof import('../../plugins/cap-alerts/cap-alerts');
37
- '@plugins/contextmenu': typeof import('../../plugins/contextmenu/contextmenu');
38
- '@plugins/day-switcher': typeof import('../../plugins/day-switcher/day-switcher');
39
- '@plugins/fav-alert-menu': typeof import('../../plugins/fav-alert-menu/fav-alert-menu');
40
- '@plugins/gl-particles': typeof import('../../plugins/gl-particles/gl-particles');
41
- '@plugins/globe': typeof import('../../plugins/globe/globe');
42
- '@plugins/hp-weather': typeof import('../../plugins/hp-weather/hp-weather');
43
- '@plugins/isolines': typeof import('../../plugins/isolines/isolines');
44
- '@plugins/legacy-tile-render': typeof import('../../plugins/legacy-tile-render/legacy-tile-render');
45
- '@plugins/particles': typeof import('../../plugins/particles/particles');
46
- '@plugins/picker': typeof import('../../plugins/picker/picker');
47
- '@plugins/poi-libs': typeof import('../../plugins/poi-libs/poi-libs');
48
- '@plugins/profile': typeof import('../../plugins/profile/profile');
49
- '@plugins/promo-mobile-intro': typeof import('../../plugins/promo-mobile-intro/promo-mobile-intro');
50
- '@plugins/radar': typeof import('../../plugins/_radar/radar');
51
- '@plugins/satellite': typeof import('../../plugins/satellite/satellite');
52
- '@plugins/save-password': typeof import('../../plugins/save-password/save-password');
53
- '@plugins/screenshot': typeof import('../../plugins/screenshot/screenshot');
54
- '@plugins/upload': typeof import('../../plugins/upload/upload');
55
- '@plugins/picker-mobile': typeof import('../../plugins/picker-mobile/picker-mobile');
56
- '@plugins/accumulations': typeof import('../../plugins/accumulations/accumulations');
57
- '@plugins/mobile-calendar': typeof import('../../plugins/mobile-calendar/mobile-calendar');
58
- '@plugins/progress-bar': typeof import('../../plugins/progress-bar/progress-bar');
59
- '@plugins/rhpane-top': typeof import('../../plugins/rhpane-top/rhpane-top');
60
- '@plugins/rhbottom': typeof import('../../plugins/rhbottom/rhbottom');
61
- '@plugins/search': typeof import('../../plugins/search/search');
62
- '@plugins/map-selector': typeof import('../../plugins/map-selector/map-selector');
63
- };
64
-
65
- /**
66
- * Main W object
67
- */
68
- declare const W: {
69
- /**
70
- * Declared during compile time in index.html
71
- */
72
- version: string;
73
- assets: string;
74
- target: typeof TARGET;
75
- build: string;
76
- startTs: number;
77
- detectedDevice: import('../types').Device;
78
-
79
- /**
80
- * TARGET_LIB only
81
- */
82
- lib?: {
83
- verbose: boolean;
84
- initAuth: string;
85
- initialized: boolean;
86
- };
87
-
88
- /**
89
- * TARGET_EMBED only
90
- */
91
- embed?: {
92
- queryString: Record<string, string>;
93
- };
94
-
95
- /**
96
- * All other modules go here
97
- */
98
- [key: string]: unknown;
99
- };
100
-
101
- declare interface Document {
102
- webkitFullscreenEnabled?: boolean;
103
- mozWebkitFullscreenEnabled?: boolean;
104
- msWebkitFullscreenEnabled?: boolean;
105
- }
106
-
107
- /**
108
- * Global objects
109
- */
110
- declare interface Window {
111
- /**
112
- * Main Windy global object
113
- */
114
- W: typeof W;
115
-
116
- /**
117
- * Google Recaptcha callback. Must be set on Window since it gets overwritten by external script.
118
- * It is set when the recaptcha script is loaded.
119
- * It gets nulled out when the registration form is closed.
120
- */
121
- recaptchaV2callback: ((response: string) => void) | null;
122
-
123
- /**
124
- * Google Recaptcha error callback. Must be set on Window since it gets overwritten by external script.
125
- */
126
- recaptchaV2error: (() => void) | null;
127
-
128
- noUiSlider: noUiSlider.noUiSlider;
129
-
130
- fastspringPopupWebhookHandler: (
131
- data: import('@plugins/_shared/subscription-services/subscription-services.d').FSBuyResponse,
132
- ) => void;
133
- fastspringPopupClosedHandler: () => void;
134
- fastspringMarkupDataHandler: (
135
- data: import('@plugins/_shared/subscription-services/subscription-services.d').FSMarkupData,
136
- ) => void;
137
-
138
- /**
139
- * Used in plugin widgets to enable iframe <-> communicaiotn
140
- */
141
- updateDetail: (params: import('@windy/interfaces.d').LatLon) => void;
142
- updateValues: (
143
- map: import('@windy/interfaces.d').Coords,
144
- params: {
145
- overlay: import('@windy/rootScope.d').Overlays;
146
- level: import('@windy/rootScope.d').Levels;
147
- product: import('@windy/rootScope.d').Products;
148
- },
149
- ) => void;
150
- updateRange: (range: string) => void;
151
-
152
- /**
153
- * Color picker
154
- */
155
- jsColorPicker: (
156
- elId: string,
157
- opts: {
158
- customBG: string;
159
- readOnly: boolean;
160
- size: number;
161
- init: (elm: HTMLInputElement) => void;
162
- displayCallback: (
163
- /** not used anywhere */
164
- void1: unknown,
165
- /** not used anywhere */
166
- void2: unknown,
167
- arg: { input: HTMLInputElement },
168
- ) => void;
169
- },
170
- ) => unknown;
171
-
172
- windyInit?: (
173
- options: import('../../src/lib/lib.d').InitOptions,
174
- cb: import('../../src/lib/lib.d').InitCb,
175
- ) => void;
176
- TARGET_LIB?: boolean;
177
- TARGET_INDEX?: boolean;
178
- TARGET_EMBED2?: boolean;
179
- TARGET_MOBILE?: boolean;
180
- IS_HUAWEI?: boolean;
181
- DEBUG?: boolean;
182
- BETA?: boolean;
183
- PRODUCTION?: boolean;
184
- DEVELOPMENT?: boolean;
185
- }
186
-
187
- declare const fastspring: {
188
- builder: {
189
- /** Set user data to popup store front */
190
- recognize: (
191
- data: import('@plugins/_shared/subscription-services/subscription-services.d').FSBuilderRecognize,
192
- ) => void;
193
-
194
- /** Push product into cart */
195
- push: (
196
- data: import('@plugins/_shared/subscription-services/subscription-services.d').FSBuilderPush,
197
- ) => void;
198
- };
199
- };
200
-
201
- declare const inAppPurchase: {
202
- /** Retrieves a list of full product data from Apple/Google. This function must be called before making purchases. */
203
- getProducts: (
204
- products: string[],
205
- ) => Promise<
206
- import('@plugins/_shared/subscription-services/subscription-services.d').IAPProduct[]
207
- >;
208
-
209
- /** Buy the one-time product */
210
- buy: (
211
- productId: string,
212
- ) => Promise<
213
- import('@plugins/_shared/subscription-services/subscription-services.d').IAPBuyResponse
214
- >;
215
-
216
- /** Buy the subscription */
217
- subscribe: (
218
- productId: string,
219
- ) => Promise<
220
- import('@plugins/_shared/subscription-services/subscription-services.d').IAPBuyResponse
221
- >;
222
-
223
- /**
224
- * This function is only relevant to Android purchases. On Android, you must consume products that you want to let the user purchase multiple times.
225
- * All 3 parameters are returned by the buy() or restorePurchases() functions.
226
- */
227
- consume: (productType: string, stringifiedReceipt: string, signature: string) => Promise<void>;
228
-
229
- restorePurchases: () => Promise<
230
- import('@plugins/_shared/subscription-services/subscription-services.d').IAPRestoreResponse
231
- >;
232
-
233
- /**
234
- * On iOS, you can get the receipt at any moment by calling the getReceipt() function. Note that on iOS the receipt can contain multiple transactions. If successful, the promise returned by this function will resolve to a string with the receipt.
235
- * On Android this function will always return an empty string since it's not needed for Android purchases.
236
- */
237
- getReceipt: () => Promise<string>;
238
- };
@@ -1,7 +0,0 @@
1
- // until we finish rewriting all modules into TS, we need to persude TS somehow it is safe to use JS modules
2
- // once any module is rewritten to TS, it MUST be removed from here!!!
3
-
4
- declare module 'virtual:langEn' {
5
- const lang: import('../lang-files').MainLangFile;
6
- export default lang;
7
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes