feat: P1-4 Brand Identity tab — AI-generated brand analysis
- generate-report: add brandIdentity schema to AI prompt (logo, message, tone, positioning, hashtags, channel consistency) - transformReport: map API brandIdentity array to TransformationProposal component - ApiReport type: add brandIdentity field Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
4484ac788a
commit
7ea9972c7e
2 files changed
+20
-1
No files matched your search
@@ -46,6 +46,11 @@ interface ApiReport {
|
||||
description?: string;
|
||||
expectedImpact?: string;
|
||||
}[];
|
||||
brandIdentity?: {
|
||||
area?: string;
|
||||
asIs?: string;
|
||||
toBe?: string;
|
||||
}[];
|
||||
marketTrends?: string[];
|
||||
}
|
||||
|
||||
@@ -256,7 +261,13 @@ export function transformApiReport(
|
||||
problemDiagnosis: buildDiagnosis(r),
|
||||
|
||||
transformation: {
|
||||
brandIdentity: [],
|
||||
brandIdentity: (r.brandIdentity || [])
|
||||
.filter((item): item is { area?: string; asIs?: string; toBe?: string } => !!item?.area)
|
||||
.map(item => ({
|
||||
area: item.area || '',
|
||||
asIs: item.asIs || '',
|
||||
toBe: item.toBe || '',
|
||||
})),
|
||||
contentStrategy: (r.recommendations || [])
|
||||
.filter(rec => rec.category?.includes('콘텐츠') || rec.category?.includes('content'))
|
||||
.map(rec => ({
|
||||
|
||||
Reference in new issue
Block a user