From e4fea9db4cf2b2deca88afd6a5de8c7f0afae61e Mon Sep 17 00:00:00 2001 From: Martin Porwoll Date: Sat, 14 Feb 2026 13:35:57 +0000 Subject: [PATCH] feat(youtube): add ROI cost fields to YouTubeContent Co-Authored-By: Claude Opus 4.6 --- src/collections/YouTubeContent.ts | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/collections/YouTubeContent.ts b/src/collections/YouTubeContent.ts index 39eca3f..2362921 100644 --- a/src/collections/YouTubeContent.ts +++ b/src/collections/YouTubeContent.ts @@ -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', + }, + }, + ], + }, ], }, ],