Skip to content

astro.TypeAlias.PermitLock

github-actions[bot] edited this page Aug 26, 2026 · 74 revisions

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

Type Alias: PermitLock

PermitLock = { id64: bigint; kind: "system"; name: string; } | { kind: "region"; name: string; }

Defined in: src/astro/permit-locks.ts:78

Why a system needs a permit: because that exact system is locked (kind: 'system'), or because it lies inside a locked region (kind: 'region').

Union Members

Type Literal

{ id64: bigint; kind: "system"; name: string; }

id64

readonly id64: bigint

That system's 64-bit system address.

kind

readonly kind: "system"

The system itself is on the permit-locked list.

name

readonly name: string

The canonically-cased system name, e.g. "Shinrarta Dezhra".


Type Literal

{ kind: "region"; name: string; }

kind

readonly kind: "region"

The system lies inside a permit-locked region.

name

readonly name: string

The region's name, e.g. "Col 70 Sector". Also a HAND_AUTHORED_REGIONS entry name, so you can look its spheres up by it (see ./hand-authored-regions). No id64 — a region is not a system.

API

Guides
astro
Classes (1)
ProceduralSystem

Properties

Accessors

Methods

Interfaces (16)
Type Aliases (3)
Variables (11)
Functions (37)
Subpath modules (3)
commodities
Interfaces (1)
Type Aliases (1)
Variables (3)
Functions (3)
equipment
Interfaces (6)
Type Aliases (8)
Variables (3)
Functions (10)
Subpath modules (2)
i18n
Interfaces (1)
Type Aliases (1)
Functions (17)
materials
Enumerations (2)
Interfaces (2)
Type Aliases (2)
Variables (9)
Functions (9)
ships
Classes (3)
BuildMetrics

Methods

LoadoutEditError

Constructors

Properties

Methods

ShipLoadout

Accessors

Methods

Interfaces (125)
Type Aliases (44)
Variables (10)
Functions (85)
Subpath modules (8)

Clone this wiki locally