@flightlog/api-client
v0.1.0-rc.1
Published
Generated, typed fetch client for the Flightlog HTTP API
Maintainers
Readme
@flightlog/api-client
Generated ESM TypeScript client for the versioned Flightlog HTTP API, using fetch through @hey-api/client-fetch.
bun add @flightlog/api-clientimport { client, getHealth } from "@flightlog/api-client";
client.setConfig({ baseUrl: "http://127.0.0.1:4319" });
const result = await getHealth();Use an ingest capability only for session/event writes and an admin capability for query or mutation routes. Keep admin credentials in trusted tools, never instrumented applications. The checked-in openapi.json is included in the package; generated exports are rebuilt from it and must not be edited manually. See the repository protocol documentation and generated API details for available operations.
