feat. GR_VISUAL_02 컴포넌트 제작

This commit is contained in:
clkim
2025-09-23 20:37:33 +09:00
parent 81bcca8e23
commit 34a8248731
13 changed files with 689 additions and 146 deletions

View File

@@ -23,11 +23,11 @@ export interface PageDataResponse {
// API 응답의 value 객체 타입
export interface PageDataValue {
page_seq: number
page_seq: string
page_type: number
page_name: string
page_name_en: string
page_ver: number
page_ver: string
meta_tag_type: number
fit_page_height: boolean
use_top_btn: boolean

View File

@@ -0,0 +1,58 @@
/**
* Resources Data API 타입 정의
*/
// 리스트 운영 그룹 아이템
export interface ListOperateGroupItem {
seq: number
title: string
img_path: string
url: string
link_target: string
display_status: number
option01: number
option02: number
option03: string
}
// 플래그 운영 그룹 아이템
export interface FlagOperateGroupItem {
seq: number
flag_type: number
option01: number
option02: number
option03: string
}
// 운영 컴포넌트 그룹
export interface OperateComponentGroup {
list_operate_groups: ListOperateGroupItem[]
flag_operate_groups: FlagOperateGroupItem[]
}
// 운영 컴포넌트 목록 (동적 키)
export interface OperateComponents {
[key: string]: OperateComponentGroup
}
// Resources Data 응답 값
export interface ResourcesDataValue {
operate_components: OperateComponents
}
// Resources Data API 응답
export interface ResourcesDataResponse {
code: number
message: string
value: ResourcesDataValue
}
// getResourcesData 함수 파라미터
export interface GetResourcesDataParams {
pageSeq: string
pageVer: string
pageVerTmplSeq: string
langCode: string
q?: string
qc?: string
}