@riposte.co/api-types
v0.4.0
Published
Shared API surface types for Riposte frontend integrations
Readme
@riposte.co/api-types
Thin TypeScript definitions for the Riposte HTTP API. The exported types are
derived automatically from the generated @riposte.co/sdk OpenAPI surface so the
shapes always stay in sync with the server without bundling the full SDK at
runtime.
Usage
import type {
Thread,
ThreadMessage,
ThreadListResponse,
CalendarEvent,
CalendarEventListResponse,
Pagination,
} from '@riposte.co/api-types'Development
- Generate the type sources from the SDK operations map:
npm run generate - Emit the declaration files for publishing:
npm run build
