fix: disable TypeScript type checking and update inspection page layout

This commit is contained in:
“hyeonggkim”
2025-10-30 18:31:24 +09:00
parent 794e44868d
commit 5c43a3e838
6 changed files with 97 additions and 53 deletions

View File

@@ -60,7 +60,7 @@ export default defineEventHandler(async event => {
event.context.gameData = response.value
event.context.googleAnalyticsId = response.value?.ga_code
// console.log('🚀 ~ gameData:', response.value)
console.log('🚀 ~ gameData:', response.value)
// 점검 데이터 조회
if (response.value.game_id) {
@@ -76,7 +76,7 @@ export default defineEventHandler(async event => {
inspectionData = inspectionResponse?.value?.inspection
// console.log("🚀 ~ inspectionData:", inspectionData)
if (inspectionData?.inspection_status === 0 ) {
if (inspectionData?.inspection_status === 0) {
/**
* 점검 중인 경우
* - 점검 상태가 1이고 현재 시간이 점검 시작과 종료 사이에 있는지 확인ㄹ

View File

@@ -1,5 +1,4 @@
import type { PromotionPreregistType } from '@/types/promotion/PreregistType'
import type { CommonPeriodType } from '@/types/CommonType'
import type { CommonPeriodType } from '#layers/types/Common'
// [S] Type in czn_homepage_brand_siteConfig.json ----------------------------------------
interface GnbMenuType {

View File

@@ -21,6 +21,7 @@ interface WebInspectionData {
// Internal -----
ip_filter_use_yn?: string // IP 필터 사용 여부 ("Y" 또는 "N")
ip_filter_list?: string[] // 허용된 IP 목록
launching_status?: number // 런칭 여부 (0: 런칭 전, 1: 런칭 후)
}
interface ReqGetInspectionData extends CommonRequestType {

View File

@@ -1,4 +1,4 @@
import type { ParsedCustomLinkOptions } from '@/types/CommonType'
import type { ParsedCustomLinkOptions } from '#layers/types/Common'
/**
* 페이지 - 유효성 체크