fix. 공통 리소스 필수값 없는 경우 대응

This commit is contained in:
clkim
2026-01-27 14:54:24 +09:00
parent b628fbc117
commit 318139f3ef
6 changed files with 17 additions and 17 deletions

View File

@@ -32,7 +32,7 @@ export interface GameDataValue {
comm_sns_bg_color_json: {
display: ColorObject
}
comm_multilang_filename: string
comm_multilang_filename?: string
footer_dev_ci_img_yn: boolean
footer_dev_ci_img_path: string
default_lang_code?: string
@@ -43,13 +43,13 @@ export interface GameDataValue {
inspection: Record<string, any>
stove_gnb_json: GameDataStoveGnb
favicon_json: GameDataImg
meta_tag_json: GameDataMetaTag
sns_json: GameDataSns
url_json: Record<string, string>
meta_tag_json?: GameDataMetaTag
sns_json?: GameDataSns
url_json?: Record<string, string>
footer_json: string // JSON 문자열로 변경
img_json: GameDataImg
img_json?: GameDataImg
market_json: Record<string, { url: string }>
event_banner: GameDataEventBanner
event_banner?: GameDataEventBanner
os_type: OsType
platform_type: PlatformType
}

View File

@@ -33,8 +33,8 @@ export interface OperateResourcesResponse {
}
export interface getOperateResourcesParams {
pageSeq: string
pageVer: string
pageSeq: number
pageVer: number
pageVerTmplSeq: number
langCode: string
q?: string

View File

@@ -25,20 +25,19 @@ export interface PageDataResponse {
// API 응답의 value 객체 타입
export interface PageDataValue {
page_seq: string
page_seq: number
page_type: number
page_name: string
page_name_en: string
page_ver: string
page_ver: number
is_login_required: number
meta_tag_type: number
fit_page_height: boolean
use_top_btn: boolean
use_sns_btn: boolean
use_lnb: boolean
lnb_text_color_code_active: string
lnb_text_color_code_deactive: string
lnb_menus: Record<string, PageDataLnbMenu>
lnb_text_color_code_active?: string
lnb_text_color_code_deactive?: string
lnb_menus?: Record<string, PageDataLnbMenu>
meta_tag_json: PageDataMetaTag
templates: Record<string, PageDataTemplate>
}