mise API - v0.0.0
    Preparing search index...

    Interface BerthResolver

    The berth lookup seam. Tier 1 ships LocalBerthResolver over the local files; a future tier-2 PorterBerthResolver will implement the same contract over the network. Every surface depends only on this interface.

    interface BerthResolver {
        list(): Promise<Berth[]>;
        resolve(identity: string): Promise<Berth | null>;
    }

    Implemented by

    Index
    • Resolves one identity to a live berth.

      Parameters

      Returns Promise<Berth | null>

      The live berth, or null when none is advertised or it is dead.