feat: 점검 작업 중

This commit is contained in:
“hyeonggkim”
2025-10-29 20:56:58 +09:00
parent 7a22fa2287
commit 1003a01dee
26 changed files with 1553 additions and 247 deletions

View File

@@ -0,0 +1,101 @@
import type { PromotionPreregistType } from '@/types/promotion/PreregistType'
import type { CommonPeriodType } from '@/types/CommonType'
// [S] Type in czn_homepage_brand_siteConfig.json ----------------------------------------
interface GnbMenuType {
id: string
title: string
link: string
target: string
displayLocales?: Array<string>
}
interface GnbType extends GnbMenuType {
depth2List?: Array<GnbMenuType>
}
interface SnsType {
id: string
title: string
link: string
sub: string
key?: string
log?: object
}
interface LoreType {
loreNo: number
chapter: number // 1 : 프롤로그, 2 ~ : N장
title: string
description: string
}
interface CharacterCardType {
id: string
}
interface CharacterType {
id: string
cardList: Array<CharacterCardType>
}
interface FooterMenuType {
id: string
title: string
link: string
target: string
active: string
}
interface MediaType {
id: string
title: string
logCode?: string
}
interface MarketType {
id: string
code: string
link: string
}
// [E] Type in czn_homepage_brand_siteConfig.json ----------------------------------------
interface ReqGetDataization {
baseApiUrl: string
fileName?: string
}
interface DataizationType {
gnbList?: Array<GnbType>
mainVideo: CommonPeriodType
promotionList?: Array<PromotionPreregistType>
characterList?: Array<CharacterType>
loreList?: Array<LoreType>
footerMenuList?: Array<FooterMenuType>
mediaList?: Array<MediaType>
sectionList?: Array<string>
marketList?: Array<MarketType>
}
interface ResGetDataization {
code: number
message: string
value?: {
dataization?: DataizationType
}
}
export type {
// [S] Type in czn_homepage_brand_siteConfig.json ----------------------------------------
GnbType,
SnsType,
MediaType,
LoreType,
PromotionPreregistType,
FooterMenuType,
MarketType,
// [E] Type in czn_homepage_brand_siteConfig.json ----------------------------------------
DataizationType,
ReqGetDataization,
ResGetDataization
}