@carsayo/types 1.1.6 → 1.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -70,3 +70,51 @@ export interface CarDataDTO {
|
|
|
70
70
|
export interface CarOptionDTO {
|
|
71
71
|
car_optionId: number;
|
|
72
72
|
}
|
|
73
|
+
export interface CarDataPreorderGradeDTO {
|
|
74
|
+
/** CarGradeId
|
|
75
|
+
* @description null일 경우 클라이언트에서 "추가"했을 경우 발생하며,
|
|
76
|
+
* RequestBody에 id값이 null인 값이 들어오면 자동으로 ID를 추가하여 업데이트하고 리턴합니다.
|
|
77
|
+
*/
|
|
78
|
+
id: number | null;
|
|
79
|
+
/** 상세모델명 */
|
|
80
|
+
name: string;
|
|
81
|
+
/** 상세모델 가격 */
|
|
82
|
+
price: number;
|
|
83
|
+
}
|
|
84
|
+
export interface CarDataPreorderTrimDTO {
|
|
85
|
+
/** CarTrimId
|
|
86
|
+
* @description null일 경우 클라이언트에서 "추가"했을 경우 발생하며,
|
|
87
|
+
* RequestBody에 id값이 null인 값이 들어오면 자동으로 ID를 추가하여 업데이트하고 리턴합니다.
|
|
88
|
+
*/
|
|
89
|
+
id: number | null;
|
|
90
|
+
/** 트림명 */
|
|
91
|
+
name: string;
|
|
92
|
+
/** 최소 1개 이상의 값이 존재하여야 합니다 */
|
|
93
|
+
grade: CarDataPreorderGradeDTO[];
|
|
94
|
+
}
|
|
95
|
+
export interface CarDataPreorderModelDTO {
|
|
96
|
+
/** CarModelId */
|
|
97
|
+
id: number;
|
|
98
|
+
/** 모델명 */
|
|
99
|
+
name: string;
|
|
100
|
+
/** 최소 1개 이상의 값이 존재하여야 합니다 */
|
|
101
|
+
trim: CarDataPreorderTrimDTO[];
|
|
102
|
+
}
|
|
103
|
+
export interface CarDataPreorderDetailDTO {
|
|
104
|
+
/** CarDataPreorderId */
|
|
105
|
+
id: number;
|
|
106
|
+
model: CarDataPreorderModelDTO;
|
|
107
|
+
}
|
|
108
|
+
export interface CarDataPreorderCreateDTO {
|
|
109
|
+
/** 대상 차량 제조사 */
|
|
110
|
+
carMakerId: CarMakerId;
|
|
111
|
+
/** 모델명 */
|
|
112
|
+
modelName: string;
|
|
113
|
+
}
|
|
114
|
+
export interface CarDataPreorderGetListDTO {
|
|
115
|
+
skip?: number;
|
|
116
|
+
take: number;
|
|
117
|
+
}
|
|
118
|
+
export interface CarDataPreorderIdDTO {
|
|
119
|
+
id: number;
|
|
120
|
+
}
|
|
@@ -28,6 +28,10 @@ export interface CarModel {
|
|
|
28
28
|
max: number;
|
|
29
29
|
min: number;
|
|
30
30
|
};
|
|
31
|
+
attribute: {
|
|
32
|
+
/** 사전예약 차량 데이터 여부 */
|
|
33
|
+
isPreorder: boolean;
|
|
34
|
+
};
|
|
31
35
|
}
|
|
32
36
|
/**
|
|
33
37
|
* @description 차량 카테고리
|
|
@@ -247,3 +251,20 @@ export interface CarShortInfo {
|
|
|
247
251
|
country: string;
|
|
248
252
|
} | null;
|
|
249
253
|
}
|
|
254
|
+
/** 사전예약 차량 데이터 리스트 */
|
|
255
|
+
export interface CarDataPreorderListResponse {
|
|
256
|
+
totalCount: number;
|
|
257
|
+
data: CarDataPreorderInfo[];
|
|
258
|
+
}
|
|
259
|
+
export interface CarDataPreorderInfo {
|
|
260
|
+
/** Preorder Id */
|
|
261
|
+
id: number;
|
|
262
|
+
/** 제조사 정보 */
|
|
263
|
+
carMaker: CarMaker;
|
|
264
|
+
/** 모델 정보 */
|
|
265
|
+
carModel: CarModel;
|
|
266
|
+
/** 노출 여부 */
|
|
267
|
+
isHidden: boolean;
|
|
268
|
+
/** 생성 일자 */
|
|
269
|
+
created_at: Date;
|
|
270
|
+
}
|