fix. 컴포넌트 리팩토링, 타입 명시적 적용
This commit is contained in:
@@ -22,7 +22,7 @@ export interface GameDataValue {
|
||||
ga_code: string
|
||||
design_theme: number
|
||||
lang_codes: string // JSON 문자열로 변경
|
||||
key_color_codes: string // JSON 문자열로 변경
|
||||
key_color_codes: ParsedKeyColorCodes
|
||||
use_game_font: boolean
|
||||
comm_sns_bg_color_code: string
|
||||
comm_multilang_filename: string
|
||||
@@ -265,9 +265,9 @@ export interface GameDataApiResult {
|
||||
|
||||
// JSON 문자열 파싱을 위한 유틸리티 타입들
|
||||
export interface ParsedKeyColorCodes {
|
||||
extra: string
|
||||
'alternative-01': string
|
||||
'alternative-02': string
|
||||
primary: string
|
||||
secondary: string
|
||||
'text-primary': string
|
||||
'text-secondary': string
|
||||
}
|
||||
|
||||
@@ -168,3 +168,8 @@ export interface PageDataApiResult {
|
||||
|
||||
// 페이지 데이터 별칭 (기존 호환성)
|
||||
export type pageData = PageDataValue
|
||||
|
||||
// Vue 컴포넌트 타입 정의
|
||||
export interface TemplateComponent {
|
||||
components: Record<string, PageDataComponent>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user