ships.TypeAlias.SlotRestriction - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki
@elite-dangerous-almanac/core / ships / SlotRestriction
SlotRestriction =
HardpointRestriction|OptionalRestriction
Defined in: src/ships/slots.ts:84
A restriction limiting which modules a slot accepts — every value either kind of restricted mount can carry.
A BuildSlot is discriminated by kind: a hardpoint only carries a
HardpointRestriction, an optional only an OptionalRestriction, and
a core carries no restriction. Checking slot.kind narrows these fields.
The list is complete. No hardpoint is restricted to one mount (fixed, gimballed or turret), and no utility mount is restricted.
The journal spells two of these differently from the value: vesselHangar mounts
are named FighterBay01, and
planetaryApproachSuite is the only one whose key carries no number.