@compasscms/contracts
v0.2.1
Published
Shared TypeScript contracts and OpenAPI specification for Compass CMS.
Readme
@compasscms/contracts
Shared TypeScript types and the versioned OpenAPI contract for Compass API consumers and backend implementations.
Licensed under the GNU Affero General Public License v3.0 only. See LICENSE.
import type { Collection, FieldDefinition, Post } from "@compasscms/contracts";The machine-readable specification is available at
@compasscms/contracts/openapi.json. The human-readable API contract is in
API-CONTRACT.md.
