@carsayo/types 1.1.784 → 1.1.792
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.
|
@@ -3,6 +3,7 @@ export declare const CollaboratorData: readonly [{
|
|
|
3
3
|
readonly name: "(주)리렌";
|
|
4
4
|
readonly name_en: "";
|
|
5
5
|
readonly description: "리스/장기렌트 담당사";
|
|
6
|
+
readonly adminRoleId: "CB_CT";
|
|
6
7
|
}];
|
|
7
8
|
export declare const CollaboratorId: "COL_LR"[];
|
|
8
9
|
export type CollaboratorId = (typeof CollaboratorData)[number]["id"];
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CollaboratorId = exports.CollaboratorData = void 0;
|
|
4
|
+
const role_1 = require("./role");
|
|
4
5
|
exports.CollaboratorData = [
|
|
5
6
|
{
|
|
6
7
|
id: "COL_LR",
|
|
7
8
|
name: "(주)리렌",
|
|
8
9
|
name_en: "",
|
|
9
10
|
description: "리스/장기렌트 담당사",
|
|
11
|
+
adminRoleId: role_1.RoleData.find((el) => {
|
|
12
|
+
return el.id === "CB_CT";
|
|
13
|
+
}).id,
|
|
10
14
|
},
|
|
11
15
|
];
|
|
12
16
|
exports.CollaboratorId = exports.CollaboratorData.map((el) => {
|
package/dist/data/role.d.ts
CHANGED
|
@@ -53,6 +53,11 @@ export declare const RoleData: readonly [{
|
|
|
53
53
|
readonly name: "콘텐츠 관리";
|
|
54
54
|
readonly description: "콘텐츠 관리 대메뉴가 활성화됩니다";
|
|
55
55
|
readonly member_type: "admin";
|
|
56
|
+
}, {
|
|
57
|
+
readonly id: "AD_JM";
|
|
58
|
+
readonly name: "제휴 문의";
|
|
59
|
+
readonly description: "제휴 문의 대메뉴가 활성화됩니다";
|
|
60
|
+
readonly member_type: "admin";
|
|
56
61
|
}, {
|
|
57
62
|
readonly id: "CB_CT";
|
|
58
63
|
readonly name: "(주)리렌 관리자";
|
|
@@ -85,7 +90,7 @@ export declare const RoleGroupData: readonly [{
|
|
|
85
90
|
readonly description: "게시판 관리자입니다";
|
|
86
91
|
readonly member_type: "admin";
|
|
87
92
|
}];
|
|
88
|
-
export declare const RoleId: ("SU" | "AD_DASH" | "AD_TOTALMB" | "AD_CM" | "AD_OD" | "AD_PG" | "AD_MK" | "AD_IQ" | "AD_BD" | "AD_CT" | "CB_CT")[];
|
|
89
|
-
export type RoleId = (typeof RoleData)[number][
|
|
93
|
+
export declare const RoleId: ("SU" | "AD_DASH" | "AD_TOTALMB" | "AD_CM" | "AD_OD" | "AD_PG" | "AD_MK" | "AD_IQ" | "AD_BD" | "AD_CT" | "AD_JM" | "CB_CT")[];
|
|
94
|
+
export type RoleId = (typeof RoleData)[number]["id"];
|
|
90
95
|
export declare const RoleGroupId: ("SuperAdmin" | "SubAdmin" | "Manager" | "OrderManager" | "BoardManager")[];
|
|
91
|
-
export type RoleGroupId = (typeof RoleGroupData)[number][
|
|
96
|
+
export type RoleGroupId = (typeof RoleGroupData)[number]["id"];
|
package/dist/data/role.js
CHANGED
|
@@ -8,102 +8,108 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
8
8
|
exports.RoleGroupId = exports.RoleId = exports.RoleGroupData = exports.RoleData = void 0;
|
|
9
9
|
exports.RoleData = [
|
|
10
10
|
{
|
|
11
|
-
id:
|
|
12
|
-
name:
|
|
13
|
-
description:
|
|
14
|
-
member_type:
|
|
11
|
+
id: "SU",
|
|
12
|
+
name: "최고 관리자",
|
|
13
|
+
description: "모든 권한을 가지고 있습니다",
|
|
14
|
+
member_type: "admin",
|
|
15
15
|
},
|
|
16
16
|
{
|
|
17
|
-
id:
|
|
18
|
-
name:
|
|
19
|
-
description:
|
|
20
|
-
member_type:
|
|
17
|
+
id: "AD_DASH",
|
|
18
|
+
name: "대시보드",
|
|
19
|
+
description: "대시보드를 볼 수 있습니다.",
|
|
20
|
+
member_type: "admin",
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
id:
|
|
24
|
-
name:
|
|
25
|
-
description:
|
|
26
|
-
member_type:
|
|
23
|
+
id: "AD_TOTALMB",
|
|
24
|
+
name: "통합 고객 관리",
|
|
25
|
+
description: "통합 고객 관리가 활성화됩니다.",
|
|
26
|
+
member_type: "admin",
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
id:
|
|
30
|
-
name:
|
|
31
|
-
description:
|
|
32
|
-
member_type:
|
|
29
|
+
id: "AD_CM",
|
|
30
|
+
name: "고객 관리",
|
|
31
|
+
description: "고객 관리 대메뉴가 활성화됩니다",
|
|
32
|
+
member_type: "admin",
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
id:
|
|
36
|
-
name:
|
|
37
|
-
description:
|
|
38
|
-
member_type:
|
|
35
|
+
id: "AD_OD",
|
|
36
|
+
name: "신청서 관리",
|
|
37
|
+
description: "신청서 관리 대메뉴가 활성화됩니다",
|
|
38
|
+
member_type: "admin",
|
|
39
39
|
},
|
|
40
40
|
{
|
|
41
|
-
id:
|
|
42
|
-
name:
|
|
43
|
-
description:
|
|
44
|
-
member_type:
|
|
41
|
+
id: "AD_PG",
|
|
42
|
+
name: "결제 관리",
|
|
43
|
+
description: "결제 관리 대메뉴가 활성화됩니다",
|
|
44
|
+
member_type: "admin",
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
|
-
id:
|
|
48
|
-
name:
|
|
49
|
-
description:
|
|
50
|
-
member_type:
|
|
47
|
+
id: "AD_MK",
|
|
48
|
+
name: "마케팅 관리",
|
|
49
|
+
description: "마케팅 관리 대메뉴가 활성화됩니다",
|
|
50
|
+
member_type: "admin",
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
id:
|
|
54
|
-
name:
|
|
55
|
-
description:
|
|
56
|
-
member_type:
|
|
53
|
+
id: "AD_IQ",
|
|
54
|
+
name: "문의 관리",
|
|
55
|
+
description: "문의 관리 대메뉴가 활성화됩니다",
|
|
56
|
+
member_type: "admin",
|
|
57
57
|
},
|
|
58
58
|
{
|
|
59
|
-
id:
|
|
60
|
-
name:
|
|
61
|
-
description:
|
|
62
|
-
member_type:
|
|
59
|
+
id: "AD_BD",
|
|
60
|
+
name: "게시판 관리",
|
|
61
|
+
description: "게시판 관리 대메뉴가 활성화됩니다",
|
|
62
|
+
member_type: "admin",
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
|
-
id:
|
|
66
|
-
name:
|
|
67
|
-
description:
|
|
68
|
-
member_type:
|
|
65
|
+
id: "AD_CT",
|
|
66
|
+
name: "콘텐츠 관리",
|
|
67
|
+
description: "콘텐츠 관리 대메뉴가 활성화됩니다",
|
|
68
|
+
member_type: "admin",
|
|
69
69
|
},
|
|
70
70
|
{
|
|
71
|
-
id:
|
|
72
|
-
name:
|
|
73
|
-
description:
|
|
74
|
-
member_type:
|
|
71
|
+
id: "AD_JM",
|
|
72
|
+
name: "제휴 문의",
|
|
73
|
+
description: "제휴 문의 대메뉴가 활성화됩니다",
|
|
74
|
+
member_type: "admin",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
id: "CB_CT",
|
|
78
|
+
name: "(주)리렌 관리자",
|
|
79
|
+
description: "(주)리렌 관리자 대메뉴가 활성화됩니다",
|
|
80
|
+
member_type: "admin",
|
|
75
81
|
},
|
|
76
82
|
];
|
|
77
83
|
exports.RoleGroupData = [
|
|
78
84
|
{
|
|
79
|
-
id:
|
|
80
|
-
name:
|
|
81
|
-
description:
|
|
82
|
-
member_type:
|
|
85
|
+
id: "SuperAdmin",
|
|
86
|
+
name: "최고 관리자",
|
|
87
|
+
description: "모든 권한을 가지고 있습니다",
|
|
88
|
+
member_type: "admin",
|
|
83
89
|
},
|
|
84
90
|
{
|
|
85
|
-
id:
|
|
86
|
-
name:
|
|
87
|
-
description:
|
|
88
|
-
member_type:
|
|
91
|
+
id: "SubAdmin",
|
|
92
|
+
name: "부 관리자",
|
|
93
|
+
description: "일부 권한을 가지고 있습니다",
|
|
94
|
+
member_type: "admin",
|
|
89
95
|
},
|
|
90
96
|
{
|
|
91
|
-
id:
|
|
92
|
-
name:
|
|
93
|
-
description:
|
|
94
|
-
member_type:
|
|
97
|
+
id: "Manager",
|
|
98
|
+
name: "운영 관리자",
|
|
99
|
+
description: "운영에 필요한 권한만 가지고 있습니다",
|
|
100
|
+
member_type: "admin",
|
|
95
101
|
},
|
|
96
102
|
{
|
|
97
|
-
id:
|
|
98
|
-
name:
|
|
99
|
-
description:
|
|
100
|
-
member_type:
|
|
103
|
+
id: "OrderManager",
|
|
104
|
+
name: "주문 관리자",
|
|
105
|
+
description: "주문 관리자입니다",
|
|
106
|
+
member_type: "admin",
|
|
101
107
|
},
|
|
102
108
|
{
|
|
103
|
-
id:
|
|
104
|
-
name:
|
|
105
|
-
description:
|
|
106
|
-
member_type:
|
|
109
|
+
id: "BoardManager",
|
|
110
|
+
name: "게시판 관리자",
|
|
111
|
+
description: "게시판 관리자입니다",
|
|
112
|
+
member_type: "admin",
|
|
107
113
|
},
|
|
108
114
|
];
|
|
109
115
|
exports.RoleId = exports.RoleData.map((el) => {
|
|
@@ -23,6 +23,8 @@ export interface CarModel {
|
|
|
23
23
|
released_day: string;
|
|
24
24
|
image_url: string;
|
|
25
25
|
car_category: CarCategory | null;
|
|
26
|
+
/** 숨김처리 여부 */
|
|
27
|
+
isHidden: boolean;
|
|
26
28
|
/** 가격 정보가 없을 경우 min, max 둘 다 0이 찍혀 나옵니다 */
|
|
27
29
|
price: {
|
|
28
30
|
max: number;
|
|
@@ -58,23 +60,6 @@ export interface CarCategoryOption {
|
|
|
58
60
|
*/
|
|
59
61
|
allow_new: boolean;
|
|
60
62
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @description 차량 모델 리스트를 카테고리별로 정렬
|
|
63
|
-
*/
|
|
64
|
-
export interface CarModelOrderByCategory {
|
|
65
|
-
[key: number]: {
|
|
66
|
-
categoryName: string;
|
|
67
|
-
categoryOption: CarCategoryOption;
|
|
68
|
-
carModelList: {
|
|
69
|
-
id: number;
|
|
70
|
-
name: string;
|
|
71
|
-
name_brand: string;
|
|
72
|
-
name_short: string;
|
|
73
|
-
name_generation: string;
|
|
74
|
-
released_day: string;
|
|
75
|
-
}[];
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
63
|
/**
|
|
79
64
|
* @description 차량 상세모델
|
|
80
65
|
*/
|
|
@@ -82,15 +67,13 @@ export interface CarTrim {
|
|
|
82
67
|
id: number;
|
|
83
68
|
name: string;
|
|
84
69
|
image_url: string;
|
|
70
|
+
/** 숨김처리 여부 */
|
|
71
|
+
isHidden: boolean;
|
|
85
72
|
car_shape: {
|
|
86
73
|
id: number;
|
|
87
74
|
name: string;
|
|
88
75
|
} | null;
|
|
89
76
|
}
|
|
90
|
-
/** 차량 상세모델 (트림 내 등급 포함) */
|
|
91
|
-
export interface CarTrimIncludeGrade extends CarTrim {
|
|
92
|
-
grade: CarGrade[];
|
|
93
|
-
}
|
|
94
77
|
/**
|
|
95
78
|
* @description 차량 등급
|
|
96
79
|
*/
|
|
@@ -100,6 +83,8 @@ export interface CarGrade {
|
|
|
100
83
|
price: number;
|
|
101
84
|
updated_day: string;
|
|
102
85
|
released_month: string;
|
|
86
|
+
/** 숨김처리 여부 */
|
|
87
|
+
isHidden: boolean;
|
|
103
88
|
car_purpose: {
|
|
104
89
|
id: number;
|
|
105
90
|
name: string;
|
|
@@ -118,6 +103,8 @@ export interface CarColor {
|
|
|
118
103
|
name_short: string;
|
|
119
104
|
price: number;
|
|
120
105
|
image_url: string;
|
|
106
|
+
/** 숨김처리 여부 */
|
|
107
|
+
isHidden: boolean;
|
|
121
108
|
}
|
|
122
109
|
/** 차량 옵션 */
|
|
123
110
|
export interface CarOption {
|
|
@@ -126,6 +113,8 @@ export interface CarOption {
|
|
|
126
113
|
price: number;
|
|
127
114
|
position: number;
|
|
128
115
|
updated_day: string;
|
|
116
|
+
/** 숨김처리 여부 */
|
|
117
|
+
isHidden: boolean;
|
|
129
118
|
/** 옵션 설명 존재 시 옵션 설명 Id값 */
|
|
130
119
|
descriptionId: number | null;
|
|
131
120
|
relation: {
|
|
@@ -317,3 +306,18 @@ export interface CarDataPreorderInfo {
|
|
|
317
306
|
/** 생성 일자 */
|
|
318
307
|
created_at: Date;
|
|
319
308
|
}
|
|
309
|
+
/** 브랜드별 판매 차량 데이터 */
|
|
310
|
+
export type WholeSellingCar = {
|
|
311
|
+
id: CarMakerId;
|
|
312
|
+
name: string;
|
|
313
|
+
country: string;
|
|
314
|
+
image_url: string;
|
|
315
|
+
type: CarMakerType;
|
|
316
|
+
/** 슈퍼카 브랜드 여부 */
|
|
317
|
+
isSuperCar: boolean;
|
|
318
|
+
car_model: (CarModel & {
|
|
319
|
+
car_trim: (CarTrim & {
|
|
320
|
+
car_grade: CarGrade[];
|
|
321
|
+
})[];
|
|
322
|
+
})[];
|
|
323
|
+
};
|