@qryvanta/api-types
v0.2.0
Published
Generated TypeScript SDK contract types for the Qryvanta HTTP API.
Maintainers
Readme
@qryvanta/api-types
Generated TypeScript SDK contract types for the Qryvanta HTTP API.
Install
pnpm add @qryvanta/api-typesUsage
Import transport request/response types from this package instead of redefining DTO shapes in client code.
import type {
CreateEntityRequest,
EntityResponse,
ErrorResponse,
} from "@qryvanta/api-types";Versioning
- Package versions are published with Changesets.
- Additive DTO changes ship as minor/patch updates.
- Breaking transport contract changes ship under a new API major (
/api/v2) and a corresponding SDK major.
Local Development
Regenerate contract files from Rust DTOs:
pnpm contracts:generateValidate generated files are committed:
pnpm contracts:checkBuild publishable artifacts:
pnpm --filter @qryvanta/api-types build