payload-contracts/work-orders/_template.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

49 lines
1.1 KiB
Markdown

# 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
```typescript
// Exaktes Interface für den neuen/geänderten Typ
```
## Implementierungsanweisungen
### Voraussetzungen
1. `pnpm update @c2s/payload-contracts` (oder `pnpm install` bei Git-Dependency)
### Schritte
1. [Spezifische Implementierungsschritte]
2. [...]
3. `pnpm build && pnpm lint` — Verify
### API-Aufruf
```typescript
// 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]