@windycom/plugin-devtools 3.0.1 → 3.0.2
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/README.md +1 -0
- package/package.json +1 -1
- package/types/client/Calendar.d.ts +101 -71
- package/types/client/Color.d.ts +18 -5
- package/types/client/DataTiler.d.ts +1 -1
- package/types/client/EcmwfProduct.d.ts +22 -0
- package/types/client/IDB.d.ts +1 -1
- package/types/client/Layer.d.ts +95 -26
- package/types/client/LayerClasses.d.ts +5 -0
- package/types/client/Metric.d.ts +31 -46
- package/types/client/Overlay.d.ts +8 -11
- package/types/client/OverlayClasses.d.ts +8 -0
- package/types/client/Particles.d.ts +1 -1
- package/types/client/Product.d.ts +31 -65
- package/types/client/ProductClasses.d.ts +44 -0
- package/types/client/RadarPlusProduct.d.ts +1 -1
- package/types/client/Renderer.d.ts +41 -13
- package/types/client/SatelliteProduct.d.ts +1 -1
- package/types/client/SveltePlugin.d.ts +1 -1
- package/types/client/TileLayer.d.ts +2 -2
- package/types/client/TopoMap.d.ts +2 -3
- package/types/client/WindowPlugin.d.ts +6 -3
- package/types/client/appsFlyer.d.ts +2 -1
- package/types/client/colorGradients.d.ts +5 -10
- package/types/client/colors.d.ts +1 -2
- package/types/client/d.ts.files/Metric.d.ts +21 -2
- package/types/client/d.ts.files/TileLayerCanvas.d.ts +3 -3
- package/types/client/d.ts.files/alerts.d.ts +1 -0
- package/types/client/d.ts.files/broadcast.d.ts +3 -3
- package/types/client/d.ts.files/dataSpecifications.d.ts +32 -34
- package/types/client/d.ts.files/favs.d.ts +7 -18
- package/types/client/d.ts.files/http.d.ts +5 -0
- package/types/client/d.ts.files/lib.d.ts +0 -1
- package/types/client/d.ts.files/plugin-params.d.ts +20 -16
- package/types/client/d.ts.files/plugins.d.ts +0 -2
- package/types/client/d.ts.files/rootScope.d.ts +2 -0
- package/types/client/d.ts.files/webcams.d.ts +9 -2
- package/types/client/dataLoader.d.ts +2 -2
- package/types/client/detectDevice.d.ts +3 -0
- package/types/client/embed.d.ts +0 -2
- package/types/client/errorLogger.d.ts +1 -1
- package/types/client/externalPlugins.d.ts +2 -0
- package/types/client/fetch.d.ts +28 -4
- package/types/client/format.d.ts +1 -0
- package/types/client/glTileRender.d.ts +1 -7
- package/types/client/idbInstances.d.ts +115 -4
- package/types/client/layers.d.ts +3 -1
- package/types/client/legends.d.ts +1 -1
- package/types/client/lib.d.ts +0 -7
- package/types/client/map.d.ts +7 -1
- package/types/client/mobile.d.ts +0 -7
- package/types/client/models.d.ts +2 -6
- package/types/client/overlays.d.ts +2 -1
- package/types/client/particleRenderers.d.ts +1 -1
- package/types/client/plugins.d.ts +0 -4
- package/types/client/products.d.ts +54 -2
- package/types/client/promo.d.ts +28 -5
- package/types/client/pushNotifications.d.ts +19 -1
- package/types/client/renderCtrl.d.ts +1 -1
- package/types/client/renderTile.d.ts +2 -2
- package/types/client/renderUtils.d.ts +16 -36
- package/types/client/renderers.d.ts +2 -4
- package/types/client/reverseName.d.ts +2 -1
- package/types/client/rhMessage.d.ts +1 -1
- package/types/client/rootScope.d.ts +14 -6
- package/types/client/router.d.ts +36 -9
- package/types/client/seoParser.d.ts +35 -0
- package/types/client/showableErrorsService.d.ts +10 -6
- package/types/client/store.d.ts +20 -52
- package/types/client/tileInterpolator.d.ts +1 -1
- package/types/client/userAlerts.d.ts +0 -4
- package/types/client/userFavs.d.ts +23 -10
- package/types/client/utils.d.ts +18 -17
- package/types/interfaces.d.ts +197 -16
- package/types/lang-files.d.ts +167 -27
- package/types/types.d.ts +297 -7
- package/types/client/d.ts.files/Calendar.d.ts +0 -96
- package/types/client/d.ts.files/Color.d.ts +0 -94
- package/types/client/d.ts.files/Layer.d.ts +0 -191
- package/types/client/d.ts.files/Renderer.d.ts +0 -44
- package/types/client/d.ts.files/products.d.ts +0 -60
- package/types/client/imaker.d.ts +0 -112
- package/types/offline.d.ts +0 -100
package/types/interfaces.d.ts
CHANGED
|
@@ -1,43 +1,49 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Main Windy interfaces
|
|
3
3
|
*/
|
|
4
|
-
import { Weekday } from '@windy/Calendar
|
|
4
|
+
import { Weekday } from '@windy/Calendar';
|
|
5
5
|
import { ExtendedTileParams } from '@windy/DataTiler.d';
|
|
6
6
|
import { FavId } from '@windy/favs';
|
|
7
|
-
import {
|
|
7
|
+
import { Layers } from '@windy/Layer';
|
|
8
8
|
import { Particles } from '@windy/Particles';
|
|
9
|
-
import {
|
|
9
|
+
import { PluginOpenEventSource, PluginsOpenParams, PluginsQsParams } from '@windy/plugin-params.d';
|
|
10
10
|
import { Plugins } from '@windy/plugins.d';
|
|
11
|
+
import { DataQuality } from '@windy/Product';
|
|
11
12
|
import { Isolines, Levels, Overlays, PointProducts, Products } from '@windy/rootScope.d';
|
|
12
13
|
import {
|
|
13
14
|
BatteryPreferences,
|
|
14
15
|
CapAlertInfo,
|
|
15
16
|
CapAlertSeverity,
|
|
16
17
|
CapAlertType,
|
|
18
|
+
CustomAppIcon,
|
|
17
19
|
DetailDisplayType,
|
|
18
20
|
DetailRows,
|
|
19
21
|
Directions,
|
|
20
22
|
GoogleServicesPreferences,
|
|
21
23
|
GpsPreferences,
|
|
24
|
+
Hours,
|
|
22
25
|
ISODateString,
|
|
23
26
|
LocationPreferences,
|
|
24
27
|
MeteogramLayers,
|
|
25
28
|
MeteogramLevels,
|
|
29
|
+
Minutes,
|
|
26
30
|
NotificationPreferences,
|
|
27
31
|
NumOrNull,
|
|
28
32
|
NumValue,
|
|
33
|
+
ParticlesIdent,
|
|
29
34
|
Path,
|
|
35
|
+
PatternType,
|
|
30
36
|
Pixel,
|
|
31
37
|
Platform,
|
|
38
|
+
RenderChannels,
|
|
39
|
+
SubTier,
|
|
32
40
|
Timestamp,
|
|
41
|
+
TransformFunction,
|
|
33
42
|
WidgetNotificationPreferences,
|
|
34
43
|
WidgetType,
|
|
35
44
|
YearMonthDay,
|
|
36
|
-
Hours,
|
|
37
|
-
Minutes,
|
|
38
|
-
SubTier,
|
|
39
|
-
CustomAppIcon,
|
|
40
45
|
} from '@windy/types.d';
|
|
46
|
+
import type { PaddingOptions, RequireAtLeastOne } from '@windycom/maplibre-gl';
|
|
41
47
|
|
|
42
48
|
export interface ExportedObj {
|
|
43
49
|
default?: unknown;
|
|
@@ -251,12 +257,11 @@ export interface AlertProps {
|
|
|
251
257
|
}
|
|
252
258
|
|
|
253
259
|
export interface WeatherParameters {
|
|
254
|
-
acRange:
|
|
260
|
+
acRange: Hours;
|
|
255
261
|
overlay: Overlays;
|
|
256
262
|
level: Levels;
|
|
257
263
|
isolinesType: Isolines;
|
|
258
264
|
isolinesOn: boolean;
|
|
259
|
-
path: Path;
|
|
260
265
|
product: Products;
|
|
261
266
|
}
|
|
262
267
|
|
|
@@ -488,7 +493,6 @@ export interface IsDay {
|
|
|
488
493
|
/**
|
|
489
494
|
* Weather data object as received from backend (full version)
|
|
490
495
|
*/
|
|
491
|
-
|
|
492
496
|
export interface DataHash extends SummaryDataHash, IsDay {
|
|
493
497
|
/**
|
|
494
498
|
* Day identifier
|
|
@@ -508,7 +512,7 @@ export interface DataHash extends SummaryDataHash, IsDay {
|
|
|
508
512
|
/**
|
|
509
513
|
* Local Time hour for given place in 24h format
|
|
510
514
|
*/
|
|
511
|
-
hour:
|
|
515
|
+
hour: Hours[];
|
|
512
516
|
|
|
513
517
|
/**
|
|
514
518
|
* Weather icon identifier
|
|
@@ -645,6 +649,80 @@ export type PickDataHashPropsByType<U, Strict = true> = Pick<
|
|
|
645
649
|
}[keyof DataHash]
|
|
646
650
|
>;
|
|
647
651
|
|
|
652
|
+
export interface AirQDataHash extends IsDay {
|
|
653
|
+
/**
|
|
654
|
+
* Timestamp of beginning of segment
|
|
655
|
+
*/
|
|
656
|
+
ts: Timestamp[];
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Day identifier
|
|
660
|
+
*/
|
|
661
|
+
day: YearMonthDay[];
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* Local Time hour for given place in 24h format
|
|
665
|
+
*/
|
|
666
|
+
hour: Hours[];
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* CAMS airq properties
|
|
670
|
+
*/
|
|
671
|
+
aqiUs: NumValue[];
|
|
672
|
+
/**
|
|
673
|
+
* Concentration of carbon monoxide (CO) in the air.
|
|
674
|
+
*/
|
|
675
|
+
chemsCosc: NumValue[];
|
|
676
|
+
/**
|
|
677
|
+
* Concentration of dust particles (coarse particulate matter) in the air.
|
|
678
|
+
*/
|
|
679
|
+
chemsDustsm: NumValue[];
|
|
680
|
+
/**
|
|
681
|
+
* Concentration of sulfur dioxide (SO2) in the air.
|
|
682
|
+
*/
|
|
683
|
+
chemsSo2sm: NumValue[];
|
|
684
|
+
/**
|
|
685
|
+
* Ground-level ozone (O3) concentration.
|
|
686
|
+
*/
|
|
687
|
+
go3: NumValue[];
|
|
688
|
+
/**
|
|
689
|
+
* Nitrogen dioxide (NO2) concentration.
|
|
690
|
+
*/
|
|
691
|
+
no2: NumValue[];
|
|
692
|
+
/**
|
|
693
|
+
* Particulate matter with a diameter of 10 micrometers or less.
|
|
694
|
+
*/
|
|
695
|
+
pm10: NumValue[];
|
|
696
|
+
/**
|
|
697
|
+
* Particulate matter with a diameter of 2.5 micrometers or less.
|
|
698
|
+
*/
|
|
699
|
+
pm2p5: NumValue[];
|
|
700
|
+
/**
|
|
701
|
+
* Concentration of Alder pollen.
|
|
702
|
+
*/
|
|
703
|
+
pollenAlder?: NumValue[];
|
|
704
|
+
/**
|
|
705
|
+
* Concentration of Birch pollen.
|
|
706
|
+
*/
|
|
707
|
+
pollenBirch?: NumValue[];
|
|
708
|
+
/**
|
|
709
|
+
* Concentration of Grass pollen.
|
|
710
|
+
*/
|
|
711
|
+
pollenGrass?: NumValue[];
|
|
712
|
+
/**
|
|
713
|
+
* Concentration of Mugwort pollen.
|
|
714
|
+
*/
|
|
715
|
+
pollenMugwort?: NumValue[];
|
|
716
|
+
/**
|
|
717
|
+
* Concentration of Olive pollen.
|
|
718
|
+
*/
|
|
719
|
+
pollenOlive?: NumValue[];
|
|
720
|
+
/**
|
|
721
|
+
* Concentration of Ragweed pollen.
|
|
722
|
+
*/
|
|
723
|
+
pollenRagweed?: NumValue[];
|
|
724
|
+
}
|
|
725
|
+
|
|
648
726
|
/**
|
|
649
727
|
* node-forecast header object
|
|
650
728
|
*/
|
|
@@ -772,7 +850,9 @@ export interface WeatherDataNow {
|
|
|
772
850
|
/**
|
|
773
851
|
* Weather data or Summary Weather data JSON as received from node-forecast
|
|
774
852
|
*/
|
|
775
|
-
export interface WeatherDataPayload<
|
|
853
|
+
export interface WeatherDataPayload<
|
|
854
|
+
T extends DataHash | SummaryDataHash | AirQDataHash = DataHash,
|
|
855
|
+
> {
|
|
776
856
|
header: NodeForecastHeader;
|
|
777
857
|
celestial: Celestial;
|
|
778
858
|
summary: Record<YearMonthDay, SummaryDay>;
|
|
@@ -837,7 +917,7 @@ export type WeatherTableRenderingOptions = {
|
|
|
837
917
|
* Should we use 12h format for time?
|
|
838
918
|
*/
|
|
839
919
|
is12hFormat?: boolean;
|
|
840
|
-
} & Pick<DetailParams, 'display' | 'step' | '
|
|
920
|
+
} & Pick<DetailParams, 'display' | 'step' | 'days'>;
|
|
841
921
|
|
|
842
922
|
/**
|
|
843
923
|
* Parameters used for displaying detail (point forecast)
|
|
@@ -1147,7 +1227,8 @@ export interface WindyServicePlugin {
|
|
|
1147
1227
|
getGoogleServicesAvailability: () => Promise<GoogleServicesPreferences>;
|
|
1148
1228
|
getWidgetNotificationPermissions: () => Promise<WidgetNotificationPreferences>;
|
|
1149
1229
|
openWidgetNotificationSettings: () => Promise<void>;
|
|
1150
|
-
getBackgroundLocationPermission: () => Promise<
|
|
1230
|
+
getBackgroundLocationPermission: () => Promise<BatteryPreferences>;
|
|
1231
|
+
getBatteryStatus: () => Promise<BatteryPreferences>;
|
|
1151
1232
|
openBackgroundLocationSettings: () => Promise<void>;
|
|
1152
1233
|
logError: (arg: { moduleName: string; msg: string; error?: string }) => Promise<void>;
|
|
1153
1234
|
getId: () => Promise<{ identifier: string }>;
|
|
@@ -1651,6 +1732,95 @@ export interface ActiveStormCountPayload {
|
|
|
1651
1732
|
}
|
|
1652
1733
|
|
|
1653
1734
|
/**
|
|
1735
|
+
* These properties are passed directly to renderer by enhancing returned params
|
|
1736
|
+
*/
|
|
1737
|
+
interface RenderParams {
|
|
1738
|
+
/**
|
|
1739
|
+
* Which channels contain tile rendering data
|
|
1740
|
+
*/
|
|
1741
|
+
renderFrom?: RenderChannels;
|
|
1742
|
+
|
|
1743
|
+
/**
|
|
1744
|
+
* Not confirmed: Display map as a sea, meaning the sea layers are below surface layers
|
|
1745
|
+
*/
|
|
1746
|
+
sea?: boolean;
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* Display map as a land, meaning the sea area is hidden with mask
|
|
1750
|
+
*/
|
|
1751
|
+
landOnly?: boolean;
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Identifier of particle type
|
|
1755
|
+
*/
|
|
1756
|
+
particlesIdent?: ParticlesIdent;
|
|
1757
|
+
|
|
1758
|
+
/**
|
|
1759
|
+
* Uses two instances of Color for rendering
|
|
1760
|
+
*/
|
|
1761
|
+
isMultiColor?: boolean;
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Should green channel be interpolated to nearest discreet value
|
|
1765
|
+
*/
|
|
1766
|
+
interpolateNearestG?: boolean;
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* Name of interpolator method
|
|
1770
|
+
*/
|
|
1771
|
+
interpolate?: 'interpolateOverlay' | 'interpolateWaves';
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* Used patternator
|
|
1775
|
+
*/
|
|
1776
|
+
pattern?: PatternType;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* Set of params required to render the layer
|
|
1781
|
+
*/
|
|
1782
|
+
interface FullRenderParameters extends WeatherParameters, RenderParams {
|
|
1783
|
+
layer: Layers;
|
|
1784
|
+
JPGtransparency?: boolean;
|
|
1785
|
+
PNGtransparency?: boolean;
|
|
1786
|
+
transformR?: TransformFunction;
|
|
1787
|
+
transformG?: TransformFunction;
|
|
1788
|
+
transformB?: TransformFunction;
|
|
1789
|
+
directory: string;
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* Specify zoom of mercator data tiles in dependence of map zoom
|
|
1793
|
+
*/
|
|
1794
|
+
dataQuality?: DataQuality;
|
|
1795
|
+
maxTileZoom?: {
|
|
1796
|
+
free: number;
|
|
1797
|
+
premium: number;
|
|
1798
|
+
};
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* bump data quality by 1 level for particular overlay/layer
|
|
1802
|
+
*/
|
|
1803
|
+
upgradeDataQuality?: boolean;
|
|
1804
|
+
|
|
1805
|
+
/**
|
|
1806
|
+
* Force to select particular zoom of data tiles
|
|
1807
|
+
*/
|
|
1808
|
+
dataTilesZoom?: number;
|
|
1809
|
+
|
|
1810
|
+
level: Levels;
|
|
1811
|
+
refTime: Path;
|
|
1812
|
+
fullPath: string;
|
|
1813
|
+
path: Path;
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Optional accumulation range in hours
|
|
1817
|
+
*/
|
|
1818
|
+
acRangeInHours?: number;
|
|
1819
|
+
|
|
1820
|
+
fileSuffix?: 'png' | 'jpg' | 'json';
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
/*
|
|
1654
1824
|
* Cap alert was slided from left to right on startup screen
|
|
1655
1825
|
*/
|
|
1656
1826
|
export interface CapAlertSlided {
|
|
@@ -1661,7 +1831,7 @@ export interface CapAlertSlided {
|
|
|
1661
1831
|
/**
|
|
1662
1832
|
* Handy payload or reusable data that helps to render Forecast Table
|
|
1663
1833
|
*/
|
|
1664
|
-
export interface WeatherTableRenderingData {
|
|
1834
|
+
export interface WeatherTableRenderingData<T extends DataHash | AirQDataHash = DataHash> {
|
|
1665
1835
|
/**
|
|
1666
1836
|
* Day identifiers, that were used in data object (above)
|
|
1667
1837
|
*/
|
|
@@ -1670,7 +1840,12 @@ export interface WeatherTableRenderingData {
|
|
|
1670
1840
|
/**
|
|
1671
1841
|
* Loaded data.data (modified later by splicing data arrays)
|
|
1672
1842
|
*/
|
|
1673
|
-
data:
|
|
1843
|
+
data: T;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Type of the data above
|
|
1847
|
+
*/
|
|
1848
|
+
dataType: 'forecast' | 'airq';
|
|
1674
1849
|
|
|
1675
1850
|
/**
|
|
1676
1851
|
* Length of used forecast as a umber of TD segments
|
|
@@ -1686,6 +1861,7 @@ export interface WeatherTableRenderingData {
|
|
|
1686
1861
|
tsWidth: Timestamp;
|
|
1687
1862
|
pxWidth: Pixel;
|
|
1688
1863
|
px2ts: number;
|
|
1864
|
+
tdWidth: Pixel;
|
|
1689
1865
|
|
|
1690
1866
|
/**
|
|
1691
1867
|
* UTC offset in hours
|
|
@@ -1707,3 +1883,8 @@ export interface WeatherTableRenderingData {
|
|
|
1707
1883
|
*/
|
|
1708
1884
|
summary: Record<YearMonthDay, SummaryDay>;
|
|
1709
1885
|
}
|
|
1886
|
+
|
|
1887
|
+
export interface SimplifiedGetBoundsOptions {
|
|
1888
|
+
animate?: boolean;
|
|
1889
|
+
padding?: RequireAtLeastOne<PaddingOptions>;
|
|
1890
|
+
}
|
package/types/lang-files.d.ts
CHANGED
|
@@ -738,18 +738,6 @@ export interface FavsLangFile {
|
|
|
738
738
|
* favs: Error loading your fav item. Try again later.
|
|
739
739
|
*/
|
|
740
740
|
FAVS_LOADING_ERROR: string;
|
|
741
|
-
/**
|
|
742
|
-
* favs: Migrate all
|
|
743
|
-
*/
|
|
744
|
-
FAVS_MIGRATE_ALL: string;
|
|
745
|
-
/**
|
|
746
|
-
* favs: You have a lot of alerts, do you want to migrate them all at once?
|
|
747
|
-
*/
|
|
748
|
-
FAVS_MIGRATION_MASS_MIGRATION: string;
|
|
749
|
-
/**
|
|
750
|
-
* favs: We're improving our alert system! Migrate your alerts before {{date}} to continue receiving notifications.
|
|
751
|
-
*/
|
|
752
|
-
FAVS_MIGRATION_WARNING: string;
|
|
753
741
|
/**
|
|
754
742
|
* favs: Not saved
|
|
755
743
|
*/
|
|
@@ -1094,6 +1082,10 @@ export interface MainLangFile {
|
|
|
1094
1082
|
* Aerosol
|
|
1095
1083
|
*/
|
|
1096
1084
|
AOD550: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* Air quality index
|
|
1087
|
+
*/
|
|
1088
|
+
AQI: string;
|
|
1097
1089
|
/**
|
|
1098
1090
|
* Archive
|
|
1099
1091
|
*/
|
|
@@ -1150,6 +1142,10 @@ export interface MainLangFile {
|
|
|
1150
1142
|
* Click to change units
|
|
1151
1143
|
*/
|
|
1152
1144
|
CLICK_ON_LEGEND: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* Close archive
|
|
1147
|
+
*/
|
|
1148
|
+
CLOSE_ARCHIVE: string;
|
|
1153
1149
|
/**
|
|
1154
1150
|
* Clouds, rain
|
|
1155
1151
|
*/
|
|
@@ -1234,6 +1230,10 @@ export interface MainLangFile {
|
|
|
1234
1230
|
* Move the map to change the forecast location
|
|
1235
1231
|
*/
|
|
1236
1232
|
DETAIL_DRAG_CHECKBOX: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Error loading wind data for this model
|
|
1235
|
+
*/
|
|
1236
|
+
DETAIL_ERROR_LOADING_WIND_DATA: string;
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Set up Windy Alert for this location and never miss your desired conditions.
|
|
1239
1239
|
*/
|
|
@@ -1334,6 +1334,10 @@ export interface MainLangFile {
|
|
|
1334
1334
|
* Dust mass
|
|
1335
1335
|
*/
|
|
1336
1336
|
DUSTSM: string;
|
|
1337
|
+
/**
|
|
1338
|
+
* Dust
|
|
1339
|
+
*/
|
|
1340
|
+
DUSTSM_SHORT: string;
|
|
1337
1341
|
/**
|
|
1338
1342
|
* 1h forecast
|
|
1339
1343
|
*/
|
|
@@ -2002,10 +2006,6 @@ export interface MainLangFile {
|
|
|
2002
2006
|
* {{count}} more
|
|
2003
2007
|
*/
|
|
2004
2008
|
MORE_PRODUCTS: string;
|
|
2005
|
-
/**
|
|
2006
|
-
* Plugin {{title}} is not installed. Do you want to install it?
|
|
2007
|
-
*/
|
|
2008
|
-
MSG_EXTERNAL_PLUGIN_NOT_INSTALLED: string;
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Unfortunately, plugin {{title}} was unpublished by the author and is no longer available.
|
|
2011
2011
|
*/
|
|
@@ -2014,6 +2014,10 @@ export interface MainLangFile {
|
|
|
2014
2014
|
* New version of the plugin {{title}} is available. Do you want to update?
|
|
2015
2015
|
*/
|
|
2016
2016
|
MSG_EXTERNAL_PLUGIN_UPDATE_AVAILABLE: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* Close other Windy.com tabs and reload to update to the new version
|
|
2019
|
+
*/
|
|
2020
|
+
MSG_INSTALLING_NEW_VERSION: string;
|
|
2017
2021
|
/**
|
|
2018
2022
|
* You have successfully logged in!
|
|
2019
2023
|
*/
|
|
@@ -2206,6 +2210,10 @@ export interface MainLangFile {
|
|
|
2206
2210
|
* Period
|
|
2207
2211
|
*/
|
|
2208
2212
|
PERIOD: string;
|
|
2213
|
+
/**
|
|
2214
|
+
* Play with forecast
|
|
2215
|
+
*/
|
|
2216
|
+
PLAY_WITH_FORECAST: string;
|
|
2209
2217
|
/**
|
|
2210
2218
|
* Are you sure you want to uninstall this plugin?
|
|
2211
2219
|
*/
|
|
@@ -2322,6 +2330,58 @@ export interface MainLangFile {
|
|
|
2322
2330
|
* Reported wind
|
|
2323
2331
|
*/
|
|
2324
2332
|
POI_WIND: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* Pollen&AirQ
|
|
2335
|
+
*/
|
|
2336
|
+
POLLEN_AIRQ: string;
|
|
2337
|
+
/**
|
|
2338
|
+
* Alder pollen
|
|
2339
|
+
*/
|
|
2340
|
+
POLLEN_ALDER: string;
|
|
2341
|
+
/**
|
|
2342
|
+
* Alder
|
|
2343
|
+
*/
|
|
2344
|
+
POLLEN_ALDER_SHORT: string;
|
|
2345
|
+
/**
|
|
2346
|
+
* Birch pollen
|
|
2347
|
+
*/
|
|
2348
|
+
POLLEN_BIRCH: string;
|
|
2349
|
+
/**
|
|
2350
|
+
* Birch
|
|
2351
|
+
*/
|
|
2352
|
+
POLLEN_BIRCH_SHORT: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* Grass pollen
|
|
2355
|
+
*/
|
|
2356
|
+
POLLEN_GRASS: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* Grass
|
|
2359
|
+
*/
|
|
2360
|
+
POLLEN_GRASS_SHORT: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Mugwort pol.
|
|
2363
|
+
*/
|
|
2364
|
+
POLLEN_MUGWORT: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Mugwort
|
|
2367
|
+
*/
|
|
2368
|
+
POLLEN_MUGWORT_SHORT: string;
|
|
2369
|
+
/**
|
|
2370
|
+
* Olive pollen
|
|
2371
|
+
*/
|
|
2372
|
+
POLLEN_OLIVE: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* Olive
|
|
2375
|
+
*/
|
|
2376
|
+
POLLEN_OLIVE_SHORT: string;
|
|
2377
|
+
/**
|
|
2378
|
+
* Ragweed pol.
|
|
2379
|
+
*/
|
|
2380
|
+
POLLEN_RAGWEED: string;
|
|
2381
|
+
/**
|
|
2382
|
+
* Ragwe.
|
|
2383
|
+
*/
|
|
2384
|
+
POLLEN_RAGWEED_SHORT: string;
|
|
2325
2385
|
/**
|
|
2326
2386
|
* Position
|
|
2327
2387
|
*/
|
|
@@ -3104,14 +3164,18 @@ export interface LivealertsLangFile {
|
|
|
3104
3164
|
* livealerts: Download the app here
|
|
3105
3165
|
*/
|
|
3106
3166
|
LIVE_ALERTS_DOWNLOAD_APP: string;
|
|
3167
|
+
/**
|
|
3168
|
+
* livealerts: To get alerts for your area, allow unrestricted battery usage in settings.
|
|
3169
|
+
*/
|
|
3170
|
+
LIVE_ALERTS_ERROR_BATTERY_PERMISSION: string;
|
|
3107
3171
|
/**
|
|
3108
3172
|
* livealerts: Enable location access to receive live alerts for your current area.
|
|
3109
3173
|
*/
|
|
3110
|
-
|
|
3174
|
+
LIVE_ALERTS_ERROR_NOT_DETERMINED_LOCATION: string;
|
|
3111
3175
|
/**
|
|
3112
3176
|
* livealerts: Enable notifications to get live alerts
|
|
3113
3177
|
*/
|
|
3114
|
-
|
|
3178
|
+
LIVE_ALERTS_ERROR_NOT_DETERMINED_NOTIFICATIONS: string;
|
|
3115
3179
|
/**
|
|
3116
3180
|
* livealerts: Live alerts are supported only on native Windy.com app
|
|
3117
3181
|
*/
|
|
@@ -3235,6 +3299,14 @@ export interface MenuLangFile {
|
|
|
3235
3299
|
* menu: Pin to homepage
|
|
3236
3300
|
*/
|
|
3237
3301
|
MM_PIN_HOMEPAGE: string;
|
|
3302
|
+
/**
|
|
3303
|
+
* menu: Layers & POIs
|
|
3304
|
+
*/
|
|
3305
|
+
MM_PIN_SWITCH_LAYERS: string;
|
|
3306
|
+
/**
|
|
3307
|
+
* menu: Forecast models
|
|
3308
|
+
*/
|
|
3309
|
+
MM_PIN_SWITCH_MODELS: string;
|
|
3238
3310
|
/**
|
|
3239
3311
|
* menu: Install Windy Plugin
|
|
3240
3312
|
*/
|
|
@@ -3445,6 +3517,10 @@ export interface OnboardingLangFile {
|
|
|
3445
3517
|
* onboarding: Confirm
|
|
3446
3518
|
*/
|
|
3447
3519
|
ONBOARDING_CONFIRM: string;
|
|
3520
|
+
/**
|
|
3521
|
+
* onboarding: Continue
|
|
3522
|
+
*/
|
|
3523
|
+
ONBOARDING_CONTINUE: string;
|
|
3448
3524
|
/**
|
|
3449
3525
|
* onboarding: Don't allow
|
|
3450
3526
|
*/
|
|
@@ -3715,6 +3791,14 @@ export interface RadsatLangFile {
|
|
|
3715
3791
|
* radsat: Infra
|
|
3716
3792
|
*/
|
|
3717
3793
|
RADSAT_INFRA: string;
|
|
3794
|
+
/**
|
|
3795
|
+
* radsat: More...
|
|
3796
|
+
*/
|
|
3797
|
+
RADSAT_JUST_MORE: string;
|
|
3798
|
+
/**
|
|
3799
|
+
* radsat: More options...
|
|
3800
|
+
*/
|
|
3801
|
+
RADSAT_MORE: string;
|
|
3718
3802
|
/**
|
|
3719
3803
|
* radsat: Next {hour}h
|
|
3720
3804
|
*/
|
|
@@ -3936,6 +4020,69 @@ export interface RegisterLangFile {
|
|
|
3936
4020
|
YOU_MUST_AGREE: string;
|
|
3937
4021
|
}
|
|
3938
4022
|
|
|
4023
|
+
export interface SearchLangFile {
|
|
4024
|
+
/**
|
|
4025
|
+
* search: Clear search history
|
|
4026
|
+
*/
|
|
4027
|
+
SEARCH_CLEAR_HISTORY: string;
|
|
4028
|
+
/**
|
|
4029
|
+
* search: Paragliding spots provided by <a href="https://paraglidingearth.com/" target="_blank">Paragliding Earth</a>
|
|
4030
|
+
*/
|
|
4031
|
+
SEARCH_DATA_PG_PROVIDER: string;
|
|
4032
|
+
/**
|
|
4033
|
+
* search: Surfing spots provided by <a href="https://www.stormrider.surf/" target="_blank">Stormrider</a>
|
|
4034
|
+
*/
|
|
4035
|
+
SEARCH_DATA_SURF_PROVIDER: string;
|
|
4036
|
+
/**
|
|
4037
|
+
* search: Airports
|
|
4038
|
+
*/
|
|
4039
|
+
SEARCH_FILTER_AIRPORTS: string;
|
|
4040
|
+
/**
|
|
4041
|
+
* search: All
|
|
4042
|
+
*/
|
|
4043
|
+
SEARCH_FILTER_ALL: string;
|
|
4044
|
+
/**
|
|
4045
|
+
* search: Kite, Surf, WS
|
|
4046
|
+
*/
|
|
4047
|
+
SEARCH_FILTER_KITE_SURF_WS: string;
|
|
4048
|
+
/**
|
|
4049
|
+
* search: Paragl.
|
|
4050
|
+
*/
|
|
4051
|
+
SEARCH_FILTER_PARAGLIDING: string;
|
|
4052
|
+
/**
|
|
4053
|
+
* search: Webcams
|
|
4054
|
+
*/
|
|
4055
|
+
SEARCH_FILTER_WEBCAMS: string;
|
|
4056
|
+
/**
|
|
4057
|
+
* search: Wx Stations
|
|
4058
|
+
*/
|
|
4059
|
+
SEARCH_FILTER_WX_STATIONS: string;
|
|
4060
|
+
/**
|
|
4061
|
+
* search: No results found
|
|
4062
|
+
*/
|
|
4063
|
+
SEARCH_NO_RESULTS_FOUND: string;
|
|
4064
|
+
/**
|
|
4065
|
+
* search: No results found for
|
|
4066
|
+
*/
|
|
4067
|
+
SEARCH_NO_RESULTS_FOUND_FOR: string;
|
|
4068
|
+
/**
|
|
4069
|
+
* search: Airports can be found by <b>ICAO</b> or <b>IATA</b> code
|
|
4070
|
+
*/
|
|
4071
|
+
SEARCH_TIP_AIRPORT: string;
|
|
4072
|
+
/**
|
|
4073
|
+
* search: Search for coordinates to display location on a map
|
|
4074
|
+
*/
|
|
4075
|
+
SEARCH_TIP_COORDS: string;
|
|
4076
|
+
/**
|
|
4077
|
+
* search: Search for name of active <b>hurricane</b> or <b>tropical cyclone</b>
|
|
4078
|
+
*/
|
|
4079
|
+
SEARCH_TIP_HURRICANE: string;
|
|
4080
|
+
/**
|
|
4081
|
+
* search: Use e.g. <b>"LAX JFK"</b> or <b>"LKPR LSZS"</b> to display flying route
|
|
4082
|
+
*/
|
|
4083
|
+
SEARCH_TIP_ROUTE: string;
|
|
4084
|
+
}
|
|
4085
|
+
|
|
3939
4086
|
export interface SettingsLangFile {
|
|
3940
4087
|
/**
|
|
3941
4088
|
* settings: Widgets cannot access the location from the background. Please allow background location usage.
|
|
@@ -4049,14 +4196,6 @@ export interface SettingsLangFile {
|
|
|
4049
4196
|
* settings: automatic
|
|
4050
4197
|
*/
|
|
4051
4198
|
S_AUTOMATIC: string;
|
|
4052
|
-
/**
|
|
4053
|
-
* settings: Graphic compatibility mode
|
|
4054
|
-
*/
|
|
4055
|
-
S_COMPATIBILITY_MODE: string;
|
|
4056
|
-
/**
|
|
4057
|
-
* settings: Disables some problematic modern graphics acceleration
|
|
4058
|
-
*/
|
|
4059
|
-
S_COMPATIBILITY_MODE_NOTE: string;
|
|
4060
4199
|
/**
|
|
4061
4200
|
* settings: Contrast
|
|
4062
4201
|
*/
|
|
@@ -6313,7 +6452,7 @@ export interface WidgetspromoLangFile {
|
|
|
6313
6452
|
}
|
|
6314
6453
|
|
|
6315
6454
|
// prettier-ignore
|
|
6316
|
-
export interface PluginTranslations extends AccumulationsLangFile, AirportLangFile, AlertsLangFile, AppreviewLangFile, ArticlesLangFile, ConsentLangFile, DistanceLangFile, FavsLangFile, GarminLangFile, HurricanesLangFile, InfoLangFile, LibLangFile, LivealertsLangFile, MenuLangFile, NotificationsLangFile, OnboardingLangFile, ProductsLangFile, RadsatLangFile, RegisterLangFile, SettingsLangFile, SoundingLangFile, StationLangFile, StoriesLangFile, SubscriptionLangFile, WatchfaceLangFile, WebcamsLangFile, WidgetspromoLangFile {}
|
|
6455
|
+
export interface PluginTranslations extends AccumulationsLangFile, AirportLangFile, AlertsLangFile, AppreviewLangFile, ArticlesLangFile, ConsentLangFile, DistanceLangFile, FavsLangFile, GarminLangFile, HurricanesLangFile, InfoLangFile, LibLangFile, LivealertsLangFile, MenuLangFile, NotificationsLangFile, OnboardingLangFile, ProductsLangFile, RadsatLangFile, RegisterLangFile, SearchLangFile, SettingsLangFile, SoundingLangFile, StationLangFile, StoriesLangFile, SubscriptionLangFile, WatchfaceLangFile, WebcamsLangFile, WidgetspromoLangFile {}
|
|
6317
6456
|
export interface Translations extends MainLangFile, PluginTranslations {}
|
|
6318
6457
|
|
|
6319
6458
|
export interface SupportedLangFiles {
|
|
@@ -6337,6 +6476,7 @@ export interface SupportedLangFiles {
|
|
|
6337
6476
|
products: ProductsLangFile;
|
|
6338
6477
|
radsat: RadsatLangFile;
|
|
6339
6478
|
register: RegisterLangFile;
|
|
6479
|
+
search: SearchLangFile;
|
|
6340
6480
|
settings: SettingsLangFile;
|
|
6341
6481
|
sounding: SoundingLangFile;
|
|
6342
6482
|
station: StationLangFile;
|