astro.Interface.HandAuthoredRegion - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

@elite-dangerous-almanac/core / astro / HandAuthoredRegion

Interface: HandAuthoredRegion

Defined in: src/astro/hand-authored-regions.ts:67

A hand-authored named sector: its canonical name and the spheres it occupies.

Remarks

Whether the region needs a permit is not stored here — some of these regions are permit-locked, and isPermitLockedRegionName in ./permit-locks is the single place that knows which. Pass HandAuthoredRegion.name to it.

Example

import { HAND_AUTHORED_REGIONS } from '@elite-dangerous-almanac/core/astro/hand-authored-regions';

const pleiades = HAND_AUTHORED_REGIONS.find((region) => region.name === 'Pleiades Sector');

Properties

name

readonly name: string

Defined in: src/astro/hand-authored-regions.ts:69

Canonically-cased region name, e.g. Pleiades Sector.


spheres

readonly spheres: readonly HandAuthoredSphere[]

Defined in: src/astro/hand-authored-regions.ts:71

The spheres whose union defines the region's volume.

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