fix. 컴포넌트 리팩토링, 타입 명시적 적용

This commit is contained in:
clkim
2025-09-17 15:43:47 +09:00
parent d9c26e651d
commit 4f3ac0e84a
13 changed files with 57 additions and 65 deletions

View File

@@ -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
}

View File

@@ -168,3 +168,8 @@ export interface PageDataApiResult {
// 페이지 데이터 별칭 (기존 호환성)
export type pageData = PageDataValue
// Vue 컴포넌트 타입 정의
export interface TemplateComponent {
components: Record<string, PageDataComponent>
}