@carsayo/types 1.1.891708 → 1.1.891709
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.
|
@@ -85,6 +85,8 @@ export interface ModifyCarModelDTO {
|
|
|
85
85
|
isElectric: boolean;
|
|
86
86
|
/** 카테고리 */
|
|
87
87
|
car_category?: CarCategoryId;
|
|
88
|
+
/** 신규 모델 기간 */
|
|
89
|
+
newCarPeriod?: Date | null;
|
|
88
90
|
/** 관리자용 추가정보 */
|
|
89
91
|
admin_additional_info?: CarAdminAdditionalInfo[];
|
|
90
92
|
}
|
|
@@ -266,6 +268,8 @@ export interface CreateCarModelDTO {
|
|
|
266
268
|
* @default false
|
|
267
269
|
*/
|
|
268
270
|
isElectric?: boolean;
|
|
271
|
+
/** 신규 모델 기간 */
|
|
272
|
+
newCarPeriod?: Date | null;
|
|
269
273
|
/** 사전예약 차량 여부
|
|
270
274
|
* @default false
|
|
271
275
|
*/
|
|
@@ -29,6 +29,10 @@ export interface CarModel {
|
|
|
29
29
|
isHidden: boolean;
|
|
30
30
|
/** 사전예약 여부 */
|
|
31
31
|
isPreorder: boolean;
|
|
32
|
+
/** 신규 모델 기간
|
|
33
|
+
* @note 이 기간보다 작을 경우 "신규" 태그가 붙습니다.
|
|
34
|
+
*/
|
|
35
|
+
newCarPeriod: Date | null;
|
|
32
36
|
/** 가격 정보가 없을 경우 min, max 둘 다 0이 찍혀 나옵니다 */
|
|
33
37
|
price: {
|
|
34
38
|
max: number;
|