feat(youtube): add ROI cost fields to YouTubeContent

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Porwoll 2026-02-14 13:35:57 +00:00
parent ce4c21fd0a
commit e4fea9db4c

View file

@ -651,6 +651,37 @@ export const YouTubeContent: CollectionConfig = {
{ name: 'lastSyncedAt', type: 'date', label: 'Letzter Sync', admin: { readOnly: true } },
],
},
{
name: 'costs',
type: 'group',
label: 'Kosten & Einnahmen',
admin: {
description: 'Für ROI-Berechnung (manuell pflegen)',
},
fields: [
{
name: 'estimatedProductionHours',
type: 'number',
label: 'Geschätzte Produktionsstunden',
min: 0,
},
{
name: 'estimatedProductionCost',
type: 'number',
label: 'Geschätzte Produktionskosten (EUR)',
min: 0,
},
{
name: 'estimatedRevenue',
type: 'number',
label: 'Geschätzte Einnahmen (EUR)',
min: 0,
admin: {
description: 'AdSense + Sponsoring + Affiliate',
},
},
],
},
],
},
],