Commit graph

4 commits

Author SHA1 Message Date
a0eea9649d fix: remove broken type filter from navigation API
The navigations collection has no top-level 'type' field — each tenant
has one document with mainMenu and footerMenu arrays. The previous
where[type][equals] query caused HTTP 400 on every call.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:27:10 +00:00
c168832a12 feat: update types for multi-tenant forms + refactored ContactFormBlock
- forms + form-submissions now have tenant field
- ContactFormBlock: form relationship replaces recipientEmail
- New fields: successMessage, showContactInfo

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 16:12:59 +00:00
381bc291a0 fix: remove tsx from optionalDependencies to fix Plesk deploys
tsx's esbuild postinstall fails in Plesk's nodenv sub-shell context
because npm git dep preparation spawns `sh -c node install.js` which
doesn't inherit the PATH set in deploy actions.

Fix: Remove tsx entirely (only needed on sv-payload for `pnpm extract`,
where it's available via npx). Also updates extracted types.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 11:22:30 +00:00
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