@squawk
    Preparing search index...

    Interface AirwayResolver

    A stateless resolver providing airway lookup and traversal methods.

    interface AirwayResolver {
        byDesignation(designation: string): Airway[];
        byFix(ident: string): AirwayByFixResult[];
        expand(
            designation: string,
            entryFix: string,
            exitFix: string,
        ): AirwayExpansionResult | undefined;
        search(query: AirwaySearchQuery): Airway[];
    }
    Index

    Methods

    • Looks up airways by designation (e.g. "V16", "J60", "Q1"). Multiple airways can share the same designation in different regions (e.g. V16 exists in both the contiguous US and Hawaii). Case-insensitive. Returns an empty array if no match is found.

      Parameters

      • designation: string

      Returns Airway[]

    • Finds all airways that pass through a given fix or navaid identifier. Case-insensitive. Returns an empty array if no match is found.

      Parameters

      • ident: string

      Returns AirwayByFixResult[]

    • Expands an airway between two fixes, returning the ordered sequence of waypoints from the entry fix to the exit fix (inclusive).

      Airways can be traversed in either direction. When the entry fix appears after the exit fix in the stored waypoint order, the returned waypoints are reversed so they always run entry-to-exit.

      Matches waypoint identifiers case-insensitively. Returns undefined if either fix is not found on the airway.

      Parameters

      • designation: string
      • entryFix: string
      • exitFix: string

      Returns AirwayExpansionResult | undefined