@shuffl/api-contracts
v0.7.34
Published
Public oRPC contract, permission catalog and OpenAPI document for the Shuffl API.
Readme
Shuffl API contracts
The public oRPC contract, endpoint permission catalog and OpenAPI document for the Shuffl API.
Most people want @shuffl/sdk, which installs this package and uses it for every method's input and output types. Install it directly only to build your own client or validate against the contract:
npm install @shuffl/api-contractsimport type { Permission, ShufflContract } from '@shuffl/api-contracts';
import openapi from '@shuffl/api-contracts/openapi.json' with { type: 'json' };@shuffl/api-contracts/schemas exports the shared Zod validators. The contract, SDK and CLI are released together under one version.
License
MIT © Shuffl LLC. See LICENSE.
