@carsayo/types 1.1.891708 → 1.1.891710

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
  }
@@ -92,6 +94,8 @@ export interface ModifyCarTrimDTO {
92
94
  id: number;
93
95
  trimName: string;
94
96
  isHidden: boolean;
97
+ /** 해당 트림을 연결할 모델 id */
98
+ car_modelId?: number;
95
99
  /** 관리자용 추가정보 */
96
100
  admin_additional_info?: CarAdminAdditionalInfo[];
97
101
  }
@@ -266,6 +270,8 @@ export interface CreateCarModelDTO {
266
270
  * @default false
267
271
  */
268
272
  isElectric?: boolean;
273
+ /** 신규 모델 기간 */
274
+ newCarPeriod?: Date | null;
269
275
  /** 사전예약 차량 여부
270
276
  * @default false
271
277
  */
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891708",
3
+ "version": "1.1.891710",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",