Documentation
¶
Overview ¶
Package testapi supplies the mandatory contract gate and discovery for mock Hub fixtures.
Index ¶
Constants ¶
const HubContextFlightAmbiguous = `` /* 419-byte string literal not displayed */
HubContextFlightAmbiguous is the answer to a bare +work when the user can read more than one flight with that slug: still 200, with flight null and the same reason orient gives when it resolves the slug itself.
const HubContextFlightNotFound = `` /* 384-byte string literal not displayed */
HubContextFlightNotFound is HubContextWork's answer when the requested flight is missing or unreadable: still 200, with flight null and the reason in flight_error.
const HubContextWork = `` /* 1446-byte string literal not displayed */
HubContextWork is a GET /api/v1/info body in the shape tapper-hub serves (its handler.InfoResponse, documented in tapper-hub's docs/tapper-hub-api-v1.md), for user jared and flight @foldwise/+work. The flight's cover is the Hub-composed cover: @foldwise/dev is listed, and @foldwise/linked is reached through dev's links at distance 1. @foldwise/private is outside the cover. Unknown fields stand in for ones a newer Hub adds.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.