@carsayo/types 1.1.89098 → 1.1.89100
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.
|
@@ -10,6 +10,8 @@ export interface CarMaker {
|
|
|
10
10
|
country: string;
|
|
11
11
|
image_url: string;
|
|
12
12
|
type: CarMakerType;
|
|
13
|
+
/** 슈퍼카 브랜드 여부 */
|
|
14
|
+
isSuperCar: boolean;
|
|
13
15
|
}
|
|
14
16
|
/**
|
|
15
17
|
* @description 차량 모델
|
|
@@ -311,14 +313,7 @@ export interface CarDataPreorderInfo {
|
|
|
311
313
|
created_at: Date;
|
|
312
314
|
}
|
|
313
315
|
/** 브랜드별 판매 차량 데이터 */
|
|
314
|
-
export type WholeSellingCar = {
|
|
315
|
-
id: CarMakerId;
|
|
316
|
-
name: string;
|
|
317
|
-
country: string;
|
|
318
|
-
image_url: string;
|
|
319
|
-
type: CarMakerType;
|
|
320
|
-
/** 슈퍼카 브랜드 여부 */
|
|
321
|
-
isSuperCar: boolean;
|
|
316
|
+
export type WholeSellingCar = CarMaker & {
|
|
322
317
|
car_model: (CarModel & {
|
|
323
318
|
car_trim: (CarTrim & {
|
|
324
319
|
car_grade: CarGrade[];
|
|
@@ -509,8 +509,21 @@ export interface PurchaseCarInfo {
|
|
|
509
509
|
carColor?: CarColor;
|
|
510
510
|
/** "색상은 나중에 결정할게요" 선택 여부 */
|
|
511
511
|
isNotSelectColor?: boolean;
|
|
512
|
+
/** 고객이 직접 입력한 내장색상 입력 텍스트 */
|
|
513
|
+
innerCarColorName?: string;
|
|
512
514
|
carOptionList?: CarOption[];
|
|
513
515
|
}
|
|
516
|
+
export interface SelectedCarData {
|
|
517
|
+
carMaker: CarMaker;
|
|
518
|
+
carModel: CarModel;
|
|
519
|
+
carTrim: CarTrim;
|
|
520
|
+
carGrade: CarGrade;
|
|
521
|
+
/** isNotSelectColor: true일 때 undefined */
|
|
522
|
+
carColor?: CarColor;
|
|
523
|
+
/** 고객이 직접 입력한 내장색상 입력 텍스트 */
|
|
524
|
+
innerCarColorName?: string;
|
|
525
|
+
carOptionList: CarOption[];
|
|
526
|
+
}
|
|
514
527
|
export interface PurchaseOrderDetailInfo {
|
|
515
528
|
selectedCar: PurchaseCarInfo;
|
|
516
529
|
/** 구매 정보 */
|