40 lines
1.7 KiB
TypeScript
40 lines
1.7 KiB
TypeScript
import type { CommonRequestType, CommonResponseType } from './Common'
|
|
|
|
/*************************************************************************
|
|
* 웹 점검
|
|
************************************************************************/
|
|
interface WebInspectionData {
|
|
inspection_status: number // 점검 상태 (0: 정상, 1: 점검 중) (단순 운영툴 설정 점검 값)
|
|
start_date: string // 점검 시작 날짜 (문자열 형식)
|
|
end_date: string // 점검 종료 날짜 (문자열 형식)
|
|
ts_start_date: number // 점검 시작 타임스탬프
|
|
ts_end_date: number // 점검 종료 타임스탬프
|
|
back_ground_image_type?: string // 배경 이미지 타입 (0: 없음, 기타 값: 특정 타입)
|
|
back_ground_image_url?: string // 배경 이미지 URL
|
|
movie_yn?: string // 동영상 사용 여부 ("Y" 또는 "N")
|
|
movie_url?: string // 동영상 URL
|
|
inspection_title_type?: string // 점검 제목 타입
|
|
inspection_title1: string // 점검 제목 1
|
|
inspection_title2: string // 점검 제목 2
|
|
inspection_content?: string // 점검 내용
|
|
|
|
// Internal -----
|
|
ip_filter_use_yn?: string // IP 필터 사용 여부 ("Y" 또는 "N")
|
|
ip_filter_list?: string[] // 허용된 IP 목록
|
|
launching_status?: number // 런칭 여부 (0: 런칭 전, 1: 런칭 후)
|
|
}
|
|
|
|
interface ReqGetInspectionData extends CommonRequestType {
|
|
// do nothing
|
|
}
|
|
|
|
interface DtoGetInspectionData {
|
|
inspection_status?: number // 점검 여부 + 점검 시간 + 화이트 리스트 고려하여 계산된 결과
|
|
inspection?: WebInspectionData
|
|
}
|
|
interface ResGetInspectionData extends CommonResponseType {
|
|
value?: DtoGetInspectionData
|
|
}
|
|
|
|
export type { WebInspectionData, ReqGetInspectionData, ResGetInspectionData }
|