mirror of
https://github.com/complexcaresolutions/payload-contracts.git
synced 2026-03-17 16:23:47 +00:00
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>
1.1 KiB
1.1 KiB
Work Order: [Titel]
Status
- Erstellt
- In Bearbeitung
- Verifiziert
- Abgeschlossen
Auslöser
- CMS-Commit: [hash] ([Beschreibung])
- Contracts-Version: [version / commit hash]
- Datum: YYYY-MM-DD
Änderung
[Was im CMS geändert wurde — neuer Block, geändertes Feld, neue Collection, etc.]
TypeScript-Interface
// Exaktes Interface für den neuen/geänderten Typ
Implementierungsanweisungen
Voraussetzungen
pnpm update @c2s/payload-contracts(oderpnpm installbei Git-Dependency)
Schritte
- [Spezifische Implementierungsschritte]
- [...]
pnpm build && pnpm lint— Verify
API-Aufruf
// Beispiel-Code wie die Daten geholt werden
Betroffene Frontends
- frontend.blogwoman.de
- frontend.porwoll.de
- frontend.complexcaresolutions.de
- frontend.caroline-porwoll.com
- frontend.caroline-porwoll.de
- frontend.gunshin.de
Referenz
[Link zu bestehendem Block/Code als Muster, z.B. "Analog zu hero-block implementiert"]
Notizen
[Besonderheiten, Breaking Changes, Abhängigkeiten]