payload-contracts/docs/CHANGELOG.md
Martin Porwoll 774d7bc402 feat: initial payload-contracts package
Shared TypeScript types, API client, and block registry for
coordinated CMS-to-frontend development across all tenants.

- Type extraction script from payload-types.ts (12,782 lines)
- 39 frontend collection types, 42 block types
- createPayloadClient() with tenant isolation
- createBlockRenderer() for type-safe block mapping
- Media helpers (getImageUrl, getSrcSet)
- Work order system for cross-server coordination
- Block catalog documentation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 17:51:40 +00:00

16 lines
650 B
Markdown

# Changelog
## v1.0.0 (2026-02-14)
### Initial Release
- Type extraction from Payload CMS `payload-types.ts` (12,782 lines → curated exports)
- 39 frontend-relevant collection types
- 42 block type definitions with `BlockByType<T>` helper
- Media type with `getImageUrl()` and `getSrcSet()` helpers
- API response types (`PaginatedResponse<T>`, `PayloadError`, query params)
- Shared API client with tenant isolation (`createPayloadClient()`)
- Block registry with component mapping (`createBlockRenderer()`)
- Tenant constants (porwoll, c2s, gunshin, blogwoman)
- Work order system for CMS→Frontend coordination
- Block catalog documentation