@carsayo/types 1.1.89166 → 1.1.89170
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.
- package/dist/data/car.d.ts +0 -45
- package/dist/data/car.js +3 -39
- package/dist/types/modules/car/interface.d.ts +30 -9
- package/package.json +1 -1
package/dist/data/car.d.ts
CHANGED
|
@@ -698,93 +698,48 @@ export declare const CarMakerData: readonly [{
|
|
|
698
698
|
export declare const CarCategoryData: readonly [{
|
|
699
699
|
readonly id: 1;
|
|
700
700
|
readonly name: "경차";
|
|
701
|
-
readonly allow_new: true;
|
|
702
|
-
readonly allow_rent: true;
|
|
703
|
-
readonly allow_lease: true;
|
|
704
701
|
}, {
|
|
705
702
|
readonly id: 2;
|
|
706
703
|
readonly name: "소형차";
|
|
707
|
-
readonly allow_new: true;
|
|
708
|
-
readonly allow_rent: true;
|
|
709
|
-
readonly allow_lease: true;
|
|
710
704
|
}, {
|
|
711
705
|
readonly id: 3;
|
|
712
706
|
readonly name: "준중형차";
|
|
713
|
-
readonly allow_new: true;
|
|
714
|
-
readonly allow_rent: true;
|
|
715
|
-
readonly allow_lease: true;
|
|
716
707
|
}, {
|
|
717
708
|
readonly id: 4;
|
|
718
709
|
readonly name: "중형차";
|
|
719
|
-
readonly allow_new: true;
|
|
720
|
-
readonly allow_rent: true;
|
|
721
|
-
readonly allow_lease: true;
|
|
722
710
|
}, {
|
|
723
711
|
readonly id: 5;
|
|
724
712
|
readonly name: "대형차";
|
|
725
|
-
readonly allow_new: true;
|
|
726
|
-
readonly allow_rent: true;
|
|
727
|
-
readonly allow_lease: true;
|
|
728
713
|
}, {
|
|
729
714
|
readonly id: 6;
|
|
730
715
|
readonly name: "스포츠카";
|
|
731
|
-
readonly allow_new: true;
|
|
732
|
-
readonly allow_rent: false;
|
|
733
|
-
readonly allow_lease: true;
|
|
734
716
|
}, {
|
|
735
717
|
readonly id: 7;
|
|
736
718
|
readonly name: "RV";
|
|
737
|
-
readonly allow_new: true;
|
|
738
|
-
readonly allow_rent: true;
|
|
739
|
-
readonly allow_lease: true;
|
|
740
719
|
}, {
|
|
741
720
|
readonly id: 8;
|
|
742
721
|
readonly name: "SUV";
|
|
743
|
-
readonly allow_new: true;
|
|
744
|
-
readonly allow_rent: true;
|
|
745
|
-
readonly allow_lease: true;
|
|
746
722
|
}, {
|
|
747
723
|
readonly id: 9;
|
|
748
724
|
readonly name: "승합차";
|
|
749
|
-
readonly allow_new: true;
|
|
750
|
-
readonly allow_rent: true;
|
|
751
|
-
readonly allow_lease: true;
|
|
752
725
|
}, {
|
|
753
726
|
readonly id: 10;
|
|
754
727
|
readonly name: "화물차";
|
|
755
|
-
readonly allow_new: true;
|
|
756
|
-
readonly allow_rent: false;
|
|
757
|
-
readonly allow_lease: true;
|
|
758
728
|
}, {
|
|
759
729
|
readonly id: 11;
|
|
760
730
|
readonly name: "버스";
|
|
761
|
-
readonly allow_new: true;
|
|
762
|
-
readonly allow_rent: false;
|
|
763
|
-
readonly allow_lease: true;
|
|
764
731
|
}, {
|
|
765
732
|
readonly id: 21;
|
|
766
733
|
readonly name: "특장차";
|
|
767
|
-
readonly allow_new: true;
|
|
768
|
-
readonly allow_rent: false;
|
|
769
|
-
readonly allow_lease: true;
|
|
770
734
|
}, {
|
|
771
735
|
readonly id: 20;
|
|
772
736
|
readonly name: "기타";
|
|
773
|
-
readonly allow_new: true;
|
|
774
|
-
readonly allow_rent: false;
|
|
775
|
-
readonly allow_lease: true;
|
|
776
737
|
}, {
|
|
777
738
|
readonly id: 24;
|
|
778
739
|
readonly name: "하이브리드";
|
|
779
|
-
readonly allow_new: true;
|
|
780
|
-
readonly allow_rent: true;
|
|
781
|
-
readonly allow_lease: true;
|
|
782
740
|
}, {
|
|
783
741
|
readonly id: 25;
|
|
784
742
|
readonly name: "전기차";
|
|
785
|
-
readonly allow_new: true;
|
|
786
|
-
readonly allow_rent: true;
|
|
787
|
-
readonly allow_lease: true;
|
|
788
743
|
}];
|
|
789
744
|
export declare const CarPurpose: readonly [{
|
|
790
745
|
readonly id: 1;
|
package/dist/data/car.js
CHANGED
|
@@ -802,92 +802,56 @@ exports.CarMakerData = [
|
|
|
802
802
|
},
|
|
803
803
|
];
|
|
804
804
|
exports.CarCategoryData = [
|
|
805
|
-
{ id: 1, name: "경차"
|
|
805
|
+
{ id: 1, name: "경차" },
|
|
806
806
|
{
|
|
807
807
|
id: 2,
|
|
808
808
|
name: "소형차",
|
|
809
|
-
allow_new: true,
|
|
810
|
-
allow_rent: true,
|
|
811
|
-
allow_lease: true,
|
|
812
809
|
},
|
|
813
810
|
{
|
|
814
811
|
id: 3,
|
|
815
812
|
name: "준중형차",
|
|
816
|
-
allow_new: true,
|
|
817
|
-
allow_rent: true,
|
|
818
|
-
allow_lease: true,
|
|
819
813
|
},
|
|
820
814
|
{
|
|
821
815
|
id: 4,
|
|
822
816
|
name: "중형차",
|
|
823
|
-
allow_new: true,
|
|
824
|
-
allow_rent: true,
|
|
825
|
-
allow_lease: true,
|
|
826
817
|
},
|
|
827
818
|
{
|
|
828
819
|
id: 5,
|
|
829
820
|
name: "대형차",
|
|
830
|
-
allow_new: true,
|
|
831
|
-
allow_rent: true,
|
|
832
|
-
allow_lease: true,
|
|
833
821
|
},
|
|
834
822
|
{
|
|
835
823
|
id: 6,
|
|
836
824
|
name: "스포츠카",
|
|
837
|
-
allow_new: true,
|
|
838
|
-
allow_rent: false,
|
|
839
|
-
allow_lease: true,
|
|
840
825
|
},
|
|
841
|
-
{ id: 7, name: "RV"
|
|
842
|
-
{ id: 8, name: "SUV"
|
|
826
|
+
{ id: 7, name: "RV" },
|
|
827
|
+
{ id: 8, name: "SUV" },
|
|
843
828
|
{
|
|
844
829
|
id: 9,
|
|
845
830
|
name: "승합차",
|
|
846
|
-
allow_new: true,
|
|
847
|
-
allow_rent: true,
|
|
848
|
-
allow_lease: true,
|
|
849
831
|
},
|
|
850
832
|
{
|
|
851
833
|
id: 10,
|
|
852
834
|
name: "화물차",
|
|
853
|
-
allow_new: true,
|
|
854
|
-
allow_rent: false,
|
|
855
|
-
allow_lease: true,
|
|
856
835
|
},
|
|
857
836
|
{
|
|
858
837
|
id: 11,
|
|
859
838
|
name: "버스",
|
|
860
|
-
allow_new: true,
|
|
861
|
-
allow_rent: false,
|
|
862
|
-
allow_lease: true,
|
|
863
839
|
},
|
|
864
840
|
{
|
|
865
841
|
id: 21,
|
|
866
842
|
name: "특장차",
|
|
867
|
-
allow_new: true,
|
|
868
|
-
allow_rent: false,
|
|
869
|
-
allow_lease: true,
|
|
870
843
|
},
|
|
871
844
|
{
|
|
872
845
|
id: 20,
|
|
873
846
|
name: "기타",
|
|
874
|
-
allow_new: true,
|
|
875
|
-
allow_rent: false,
|
|
876
|
-
allow_lease: true,
|
|
877
847
|
},
|
|
878
848
|
{
|
|
879
849
|
id: 24,
|
|
880
850
|
name: "하이브리드",
|
|
881
|
-
allow_new: true,
|
|
882
|
-
allow_rent: true,
|
|
883
|
-
allow_lease: true,
|
|
884
851
|
},
|
|
885
852
|
{
|
|
886
853
|
id: 25,
|
|
887
854
|
name: "전기차",
|
|
888
|
-
allow_new: true,
|
|
889
|
-
allow_rent: true,
|
|
890
|
-
allow_lease: true,
|
|
891
855
|
},
|
|
892
856
|
];
|
|
893
857
|
exports.CarPurpose = [
|
|
@@ -20,8 +20,6 @@ export interface CarModel {
|
|
|
20
20
|
id: number;
|
|
21
21
|
name: string;
|
|
22
22
|
name_brand: string;
|
|
23
|
-
name_short: string;
|
|
24
|
-
name_generation: string;
|
|
25
23
|
released_day: string;
|
|
26
24
|
image_url: string;
|
|
27
25
|
car_category: CarCategory | null;
|
|
@@ -83,7 +81,6 @@ export interface CarGrade {
|
|
|
83
81
|
id: number;
|
|
84
82
|
name: string;
|
|
85
83
|
price: number;
|
|
86
|
-
updated_day: string;
|
|
87
84
|
released_month: string;
|
|
88
85
|
/** 숨김처리 여부 */
|
|
89
86
|
isHidden: boolean;
|
|
@@ -122,7 +119,6 @@ export interface CarGrade {
|
|
|
122
119
|
export interface CarColor {
|
|
123
120
|
id: number;
|
|
124
121
|
name: string;
|
|
125
|
-
name_short: string;
|
|
126
122
|
description: string | null;
|
|
127
123
|
price: number;
|
|
128
124
|
/** 관리자단에서 직접 입력한 카테고리 */
|
|
@@ -150,7 +146,9 @@ export interface CarColor {
|
|
|
150
146
|
* @default false
|
|
151
147
|
*/
|
|
152
148
|
is_interior: boolean;
|
|
153
|
-
/** 숨김처리 여부
|
|
149
|
+
/** 숨김처리 여부
|
|
150
|
+
* @note car_color_LINK_car_grade 테이블에서 숨김처리 여부를 확인합니다.
|
|
151
|
+
*/
|
|
154
152
|
isHidden: boolean;
|
|
155
153
|
/** 해당 색상 선택 시 걸리는 제한 사항 */
|
|
156
154
|
restrictions: CarColorRestrictions | null;
|
|
@@ -231,14 +229,13 @@ export interface CarOption {
|
|
|
231
229
|
info: string | null;
|
|
232
230
|
/** 옵션 가격 */
|
|
233
231
|
price: number;
|
|
234
|
-
/** 옵션 순서 */
|
|
235
|
-
position: number;
|
|
236
|
-
updated_day: string;
|
|
237
232
|
/** 필수 옵션 여부
|
|
238
233
|
* @note 해당 등급에서 필수 옵션인지 여부입니다.
|
|
239
234
|
*/
|
|
240
235
|
isEssential: boolean;
|
|
241
|
-
/** 숨김처리 여부
|
|
236
|
+
/** 숨김처리 여부
|
|
237
|
+
* @note car_option_LINK_car_grade 테이블에서 숨김처리 여부를 확인합니다.
|
|
238
|
+
*/
|
|
242
239
|
isHidden: boolean;
|
|
243
240
|
/** 관리자단에서 직접 입력한 카테고리 */
|
|
244
241
|
category: string | null;
|
|
@@ -449,9 +446,25 @@ export type Admin_WholeSellingCar = Omit<WholeSellingCar, "car_model"> & {
|
|
|
449
446
|
* @notice true: 관리자 페이지에서 생성, false: Nice데이터 기반
|
|
450
447
|
*/
|
|
451
448
|
isInsertedManually: boolean;
|
|
449
|
+
/** 관리자용 추가 정보 */
|
|
450
|
+
admin_additional_info: Record<string, any> | null;
|
|
451
|
+
created_at: Date;
|
|
452
|
+
updated_at: Date;
|
|
452
453
|
})[];
|
|
454
|
+
/** 관리자용 추가 정보 */
|
|
455
|
+
admin_additional_info: Record<string, any> | null;
|
|
456
|
+
created_at: Date;
|
|
457
|
+
updated_at: Date;
|
|
453
458
|
})[];
|
|
459
|
+
/** 관리자용 추가 정보 */
|
|
460
|
+
admin_additional_info: Record<string, any> | null;
|
|
461
|
+
created_at: Date;
|
|
462
|
+
updated_at: Date;
|
|
454
463
|
})[];
|
|
464
|
+
/** 관리자용 추가 정보 */
|
|
465
|
+
admin_additional_info: Record<string, any> | null;
|
|
466
|
+
created_at: Date;
|
|
467
|
+
updated_at: Date;
|
|
455
468
|
};
|
|
456
469
|
/** 특정 모델 내 모든 옵션과 색상 데이터 */
|
|
457
470
|
export interface CarModelOptionColor {
|
|
@@ -507,6 +520,10 @@ export interface Admin_CarOption extends CarOption {
|
|
|
507
520
|
* @notice true: 관리자 페이지에서 생성한 옵션, false: Nice데이터 기반
|
|
508
521
|
*/
|
|
509
522
|
isInsertedManually: boolean;
|
|
523
|
+
/** 관리자용 추가 정보 */
|
|
524
|
+
admin_additional_info: Record<string, any> | null;
|
|
525
|
+
created_at: Date;
|
|
526
|
+
updated_at: Date;
|
|
510
527
|
}
|
|
511
528
|
export interface Admin_CarColor extends CarColor {
|
|
512
529
|
/** 관리자에서 에디트한 제목 */
|
|
@@ -525,4 +542,8 @@ export interface Admin_CarColor extends CarColor {
|
|
|
525
542
|
* @notice true: 관리자 페이지에서 생성한 옵션, false: Nice데이터 기반
|
|
526
543
|
*/
|
|
527
544
|
isInsertedManually: boolean;
|
|
545
|
+
/** 관리자용 추가 정보 */
|
|
546
|
+
admin_additional_info: Record<string, any> | null;
|
|
547
|
+
created_at: Date;
|
|
548
|
+
updated_at: Date;
|
|
528
549
|
}
|