astro.TypeAlias.SystemAddressInput - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

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

Type Alias: SystemAddressInput

SystemAddressInput = bigint | number | string

Defined in: src/astro/system-address-input.ts:29

A system address as a caller is likely to hold it.

  • bigint — the canonical form, and what this library returns.
  • number — a normally parsed journal event (event.SystemAddress). Accepted only when it is a non-negative safe integer, since a rounded address would silently identify the wrong system.
  • string — a decimal address from persisted JSON, a URL or a database column.
⚠️ **GitHub.com Fallback** ⚠️