SW Combine SDK
    Preparing search index...

    Galaxy sectors resource

    Hierarchy (View Summary)

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Get sector by name or UID.

      Returns the Sector object directly — not wrapped in a Page.

      Parameters

      • options: GetSectorOptions

        Sector identifier (use lowercase sector name, e.g., 'seswenna')

      Returns Promise<Sector>

      The Sector entity.

      const sector = await client.galaxy.sectors.get({ uid: 'seswenna' });
      console.log(sector.name); // access properties directly, not sector.data
    • List all sectors (paginated)

      Parameters

      • Optionaloptions: { item_count?: number; pageDelay?: number; start_index?: number }

        Optional pagination parameters

      Returns Promise<Page<GalaxySectorListItem>>

      const sectors = await client.galaxy.sectors.list();
      const moreSectors = await client.galaxy.sectors.list({ start_index: 51, item_count: 50 });