@gendive/slide 0.1.8 → 0.1.9

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.
@@ -12,6 +12,10 @@ interface AiProviderActions {
12
12
  setProviderConfig: (config: AiProviderConfig | null) => void;
13
13
  getProviderConfig: () => AiProviderConfig | null;
14
14
  }
15
+ /**
16
+ * @description AI 설정 초기값 (null = 외부에서 설정 필요)
17
+ * @Todo vibecode - Editor의 aiConfig prop으로 설정
18
+ */
15
19
  /**
16
20
  * @description AI 상태 관리 스토어
17
21
  * @Todo vibecode - Zustand 기반 AI 상태 관리 + 제공자 설정
@@ -1,5 +1,17 @@
1
+ import { AiProviderConfig } from '../ai/types';
2
+ /**
3
+ * @description Editor 컴포넌트 Props
4
+ * @Todo vibecode - AI 설정을 외부에서 주입
5
+ */
6
+ export interface EditorProps {
7
+ /**
8
+ * @description AI 제공자 설정 (필수)
9
+ * @example { provider: 'devdive', apiKey: 'YOUR_API_KEY', model: 'gpt-4o' }
10
+ */
11
+ aiConfig?: AiProviderConfig;
12
+ }
1
13
  /**
2
14
  * @description 메인 에디터 레이아웃 컴포넌트
3
15
  * @Todo vibecode - Tailwind → Mantine 마이그레이션 완료
4
16
  */
5
- export declare const Editor: () => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Editor: ({ aiConfig }: EditorProps) => import("react/jsx-runtime").JSX.Element;