ships.Interface.CalculationIssue - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / ships / CalculationIssue

Interface: CalculationIssue

Defined in: src/ships/loadout-calculations.ts:24

An input or fitted-module state that prevented a complete build metric.

Properties

field

readonly field: "mass" | "powerDraw" | "powerCapacity" | "heatEfficiency" | "fuelCapacity" | "thrusters" | "frameShiftDrive" | "powerDistributor" | "shieldGenerator"

Defined in: src/ships/loadout-calculations.ts:26

Calculation input that is missing or unavailable.


message

readonly message: string

Defined in: src/ships/loadout-calculations.ts:43

Human-readable diagnostic suitable for a log or validation panel.


params?

readonly optional params?: Readonly<Record<string, string | number>>

Defined in: src/ships/loadout-calculations.ts:45

Values interpolated into message, for consumers composing localized text.


reason

readonly reason: CalculationIssueReason

Defined in: src/ships/loadout-calculations.ts:37

Machine-readable unavailable-state discriminator.


slot?

readonly optional slot?: string

Defined in: src/ships/loadout-calculations.ts:39

Slot containing the incomplete module, when the dependency belongs to a module.


symbol?

readonly optional symbol?: string

Defined in: src/ships/loadout-calculations.ts:41

Module symbol, when the dependency belongs to a module.

⚠️ **GitHub.com Fallback** ⚠️