@carsayo/types 1.1.8900 → 1.1.8902
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.
|
@@ -185,7 +185,7 @@ export interface ModifyCarSortOrderDTO {
|
|
|
185
185
|
key: "maker" | "model" | "trim" | "grade";
|
|
186
186
|
data: UpdateSortOrderDTO[];
|
|
187
187
|
}
|
|
188
|
-
export interface
|
|
188
|
+
export interface CreateCarModelDTO {
|
|
189
189
|
/** 제조사 ID */
|
|
190
190
|
makerId: CarMakerId;
|
|
191
191
|
/** 모델 이름 */
|
|
@@ -201,7 +201,7 @@ export interface CreateCarModel {
|
|
|
201
201
|
/** 전기차 모델 여부 (기본값 false) */
|
|
202
202
|
isElectric?: boolean;
|
|
203
203
|
}
|
|
204
|
-
export interface
|
|
204
|
+
export interface CreateCarTrimDTO {
|
|
205
205
|
/** 모델 ID */
|
|
206
206
|
modelId: number;
|
|
207
207
|
/** 트림 이름 */
|
|
@@ -211,7 +211,7 @@ export interface CreateCarTrim {
|
|
|
211
211
|
/** 카테고리 */
|
|
212
212
|
car_shape: CarShapeId;
|
|
213
213
|
}
|
|
214
|
-
export interface
|
|
214
|
+
export interface CreateCarGradeDTO {
|
|
215
215
|
/** 트림 ID */
|
|
216
216
|
trimId: number;
|
|
217
217
|
/** 상세등급 이름 */
|
|
@@ -320,11 +320,19 @@ export type Admin_WholeSellingCar = Omit<WholeSellingCar, "car_model"> & {
|
|
|
320
320
|
name_changed: string | null;
|
|
321
321
|
/** 관리자에서 에디트한 순서 */
|
|
322
322
|
sort_order: number;
|
|
323
|
+
/** 관리자가 임의로 생성했는지 여부
|
|
324
|
+
* @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
|
|
325
|
+
*/
|
|
326
|
+
isInsertedManually: boolean;
|
|
323
327
|
car_trim: (CarTrim & {
|
|
324
328
|
/** 관리자에서 에디트한 제목 */
|
|
325
329
|
name_changed: string | null;
|
|
326
330
|
/** 관리자에서 에디트한 순서 */
|
|
327
331
|
sort_order: number;
|
|
332
|
+
/** 관리자가 임의로 생성했는지 여부
|
|
333
|
+
* @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
|
|
334
|
+
*/
|
|
335
|
+
isInsertedManually: boolean;
|
|
328
336
|
car_grade: (CarGrade & {
|
|
329
337
|
/** 관리자에서 에디트한 제목 */
|
|
330
338
|
name_changed: string | null;
|
|
@@ -334,6 +342,10 @@ export type Admin_WholeSellingCar = Omit<WholeSellingCar, "car_model"> & {
|
|
|
334
342
|
price_changed: number | null;
|
|
335
343
|
/** 관리자에서 가격 에디트한 시점 */
|
|
336
344
|
price_changedAt: Date | null;
|
|
345
|
+
/** 관리자가 임의로 생성했는지 여부
|
|
346
|
+
* @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
|
|
347
|
+
*/
|
|
348
|
+
isInsertedManually: boolean;
|
|
337
349
|
})[];
|
|
338
350
|
})[];
|
|
339
351
|
})[];
|