mirror of
https://github.com/calli-eve/eve-pi.git
synced 2026-02-17 21:19:50 +01:00
refactor types and add account level totals
This commit is contained in:
@@ -51,7 +51,7 @@ export const getPlanetUniverse = async (
|
||||
export const planetCalculations = (planet: PlanetWithInfo) => {
|
||||
const planetInfo = planet.info;
|
||||
type SchematicId = number;
|
||||
const extractors: PlanetInfo["pins"] = planetInfo.pins.filter((p) =>
|
||||
const extractors = planetInfo.pins.filter((p) =>
|
||||
EXTRACTOR_TYPE_IDS.some((e) => e === p.type_id),
|
||||
);
|
||||
const localProduction = planetInfo.pins
|
||||
|
||||
Reference in New Issue
Block a user