@flightlog/contracts
v0.1.0-rc.1
Published
Runtime-portable Zod schemas and TypeScript contracts for Flightlog
Maintainers
Readme
@flightlog/contracts
Runtime-portable Zod schemas and inferred TypeScript types for Flightlog's sessions, events, errors, API payloads, and durable native crash records.
bun add @flightlog/contracts zodimport { eventInputSchema, type EventInput } from "@flightlog/contracts";
const event: EventInput = eventInputSchema.parse(untrustedValue);This package is the wire-contract layer and follows the Flightlog package version. Consumers should parse data at trust boundaries rather than relying only on static types. See the repository protocol documentation.
