@gendive/slide 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,6 +78,32 @@ export interface AiSlideGenerationRequest {
78
78
  includeImages: boolean;
79
79
  language?: 'ko' | 'en';
80
80
  }
81
+ /**
82
+ * @description AI 편집 액션 - 이미지 추가
83
+ * @Todo vibecode - 이미지 추가 액션 정의
84
+ */
85
+ export interface AiAddImageAction {
86
+ type: 'addImage';
87
+ position: 'right' | 'left' | 'bottom' | 'center';
88
+ description: string;
89
+ suggestedSize?: {
90
+ width: number;
91
+ height: number;
92
+ };
93
+ }
94
+ /**
95
+ * @description AI 편집 액션 - 레이아웃 제안
96
+ * @Todo vibecode - 레이아웃 변경 제안 액션
97
+ */
98
+ export interface AiSuggestLayoutAction {
99
+ type: 'suggestLayout';
100
+ layout: LayoutType;
101
+ reason: string;
102
+ }
103
+ /**
104
+ * @description AI 편집 액션 타입
105
+ */
106
+ export type AiEditAction = AiAddImageAction | AiSuggestLayoutAction;
81
107
  /**
82
108
  * @description 생성된 슬라이드 구조
83
109
  */
@@ -88,6 +114,7 @@ export interface AiGeneratedSlide {
88
114
  content?: string;
89
115
  bulletPoints?: string[];
90
116
  imagePrompt?: string;
117
+ actions?: AiEditAction[];
91
118
  }
92
119
  /**
93
120
  * @description 슬라이드 생성 응답