@zapiu/contracts
v1.0.0
Published
TypeScript contracts, JSON Schema, and OpenAPI definitions for the Zapiu page SDK, version 1.
Readme
@zapiu/contracts
TypeScript contracts, JSON Schema, and OpenAPI definitions for the Zapiu page SDK, version 1.
npm install @zapiu/contractsimport type { PageContext, ZapiuAppManifest } from '@zapiu/contracts';
import { validateManifest } from '@zapiu/contracts/manifest';The package includes application manifest validation and types for page context, users, records, actions, and errors. Capability declarations describe requested operations; the Zapiu platform must authorize each operation independently.
This release defines the page SDK contract. It does not define a Fastify backend execution contract.
