Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/optimizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"igc-parser": "^2.0.0",
"igc-xc-score": "^1.7.0",
"tslib": "^2.3.0",
"@eslint/js": "9.17.0",
"@eslint/js": "9.19.0",
"jsonc-eslint-parser": "2.4.0"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion libs/secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"private": true,
"dependencies": {
"dotenv-webpack": "^8.1.0",
"@nx/webpack": "20.3.0"
"@nx/webpack": "20.4.0"
}
}
4 changes: 4 additions & 0 deletions libs/windy-sounding/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history

## 4.1.11 - Feb 20, 2025

- Sync with the latest windy API

## 4.1.9 - Feb 16, 2025

- Lower max altitude when zoomed in to ~5200m
Expand Down
174 changes: 87 additions & 87 deletions libs/windy-sounding/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libs/windy-sounding/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "windy-plugin-fxc-soundings",
"version": "4.1.9",
"version": "4.1.11",
"type": "module",
"private": true,
"description": "Alternative sounding graphs with custom features for PG/HG pilots.",
Expand Down
1 change: 1 addition & 0 deletions libs/windy-sounding/src/env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ declare const SwipeListener: any;
declare const W: {
store: typeof import('@windy/client/store').default;
utils: typeof import('@windy/client/utils');

fetch: typeof import('@windy/client/fetch');
subscription: typeof import('@windy/client/subscription');
products: typeof import('@windy/client/products').default;
Expand Down
2 changes: 1 addition & 1 deletion libs/windy-sounding/src/redux/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const changeModel =
function updateUrl(state: RootState) {
const location = pluginSlice.selLocation(state);
const modelName = pluginSlice.selModelName(state);
W.location.setUrl(pluginConfig.name, { modelName, ...location });
W.location.setUrl(pluginConfig.name, { modelName, ...location } as any);
}

let marker: L.Marker | undefined;
Expand Down
3 changes: 2 additions & 1 deletion libs/windy-sounding/src/redux/plugin-slice.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
import type { Fav } from '@windy/favs';
import type { HttpPayload } from '@windy/http';
import type { CompiledExternalPluginConfig, Fav, LatLon } from '@windy/interfaces';
import type { CompiledExternalPluginConfig, LatLon } from '@windy/interfaces';
import { SemVer } from 'semver';

import type { PluginConfig } from '../types';
Expand Down
4 changes: 2 additions & 2 deletions libs/windy-sounding/src/util/utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Fav } from '@windy/interfaces';
import type { Fav } from '@windy/favs';

// Some models do not have the required parameters for soundings (i.e. surface only)
const SUPPORTED_MODELS = [
Expand All @@ -22,7 +22,7 @@ export function injectStyles(styles: string) {
}

export function getFavLabel(fav: Fav): string {
return fav.title || fav.name || '';
return fav.title || '';
}

export function formatTimestamp(ts: number) {
Expand Down
8 changes: 8 additions & 0 deletions libs/windy-sounding/types/client/AccessProducts.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { Product } from '@windy/Product';
import type { ProductInitParams } from '@windy/Product';
export declare class AccessProduct extends Product {
constructor(params: Partial<ProductInitParams>);
}
export declare class AccessCProduct extends AccessProduct {
constructor(params: Partial<ProductInitParams>);
}
114 changes: 0 additions & 114 deletions libs/windy-sounding/types/client/Bar.d.ts

This file was deleted.

51 changes: 0 additions & 51 deletions libs/windy-sounding/types/client/BindedBar.d.ts

This file was deleted.

30 changes: 0 additions & 30 deletions libs/windy-sounding/types/client/BindedCheckbox.d.ts

This file was deleted.

35 changes: 0 additions & 35 deletions libs/windy-sounding/types/client/BindedSwitch.d.ts

This file was deleted.

12 changes: 12 additions & 0 deletions libs/windy-sounding/types/client/BottomSveltePlugins.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { SveltePlugin } from '@windy/SveltePlugin';
import type { SveltePluginInitParams } from '@windy/SveltePlugin';
import type { BottomSveltePlugins } from '@windy/plugins.d';
export type BottomSveltePluginInitParams<P extends keyof BottomSveltePlugins> = Omit<
SveltePluginInitParams<P>,
'ident'
> &
Pick<BottomSveltePlugin<P>, 'ident'>;
export declare class BottomSveltePlugin<P extends keyof BottomSveltePlugins> extends SveltePlugin<P> {
ident: P;
constructor(params: BottomSveltePluginInitParams<P>);
}
9 changes: 0 additions & 9 deletions libs/windy-sounding/types/client/BottomTagPlugin.d.ts

This file was deleted.

Loading
Loading