feat: Auto-set connection EOL status and ship size when linking/editing signatures (#194)

* feat: Automatically set connection EOL status and ship size type when linking/updating signatures
This commit is contained in:
alpha02x
2025-02-26 14:33:16 +05:00
committed by GitHub
parent 9abcd4bd0b
commit d21705f355
4 changed files with 85 additions and 6 deletions

View File

@@ -750,6 +750,14 @@ export const SHIP_SIZES_SIZE = {
[ShipSizeStatus.capital]: '2M',
};
export const SHIP_MASSES_SIZE: Record<number, ShipSizeStatus> = {
5_000_000: ShipSizeStatus.small,
62_000_000: ShipSizeStatus.medium,
375_000_000: ShipSizeStatus.large,
1_000_000_000: ShipSizeStatus.freight,
2_000_000_000: ShipSizeStatus.capital,
};
export const SHIP_SIZES_DESCRIPTION = {
[ShipSizeStatus.small]: 'Frigate wormhole - up to Destroyer | 5K t.',
[ShipSizeStatus.medium]: 'Cruise wormhole - up to Battlecruiser | 62K t.',