fix. gameData 개별 속성 구조분해

This commit is contained in:
clkim
2026-01-13 18:07:43 +09:00
parent 7e98721228
commit 79b9d71aa3
17 changed files with 104 additions and 117 deletions

View File

@@ -43,12 +43,12 @@ export interface GameDataValue {
intro: GameDataIntro
inspection: Record<string, any>
stove_gnb_json: GameDataStoveGnb
favicon_json: GameDataFavicon
favicon_json: GameDataImg
meta_tag_json: GameDataMetaTag
sns_json: GameDataSns
url_json: Record<string, { url: string }>
footer_json: string // JSON 문자열로 변경
comm_img_json: GameDataCommImg
img_json: GameDataImg
market_json: Record<string, { url: string }>
event_banner: GameDataEventBanner
os_type: OsType
@@ -78,8 +78,8 @@ export interface GameDataGameFont {
}
// 파비콘 경로 타입
export interface GameDataFavicon {
[index: number]: string
export interface GameDataImg {
[key: string]: string
}
// 메타 태그 타입
@@ -111,20 +111,6 @@ export interface GameDataSns {
tiktok?: GameDataSnsItem
}
// 공통 이미지 그룹 타입
export interface GameDataCommImgGroup {
img_name: string
img_path: {
comm: string
}
group_label: string
}
// 공통 이미지 타입
export interface GameDataCommImg {
groups: GameDataCommImgGroup[]
}
// Global 설정 타입
export interface GameDataGlobal {
system_font: string // JSON 문자열로 변경
@@ -175,7 +161,6 @@ export interface GameDataMenu {
// GNB 설정 타입
export interface GameDataGnb {
game_gnb_ver: string
bi_path: string
lang_codes: string // JSON 문자열로 변경
buttons: GameDataButton[]
menus: GameDataMenuChildren