@carsayo/types 1.1.891990 → 1.1.891992

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.
@@ -24,3 +24,74 @@ export declare const SellMyCarTimeData: {
24
24
  export declare const SELLMYCAR_SERVICE_DATA: {
25
25
  진단가능지역: SellMyCarServiceAvailableRegion[];
26
26
  };
27
+ /** @warning 데이터베이스 내 sell_car_provinces와 일치하여야 합니다!!! */
28
+ export declare const SELLMYCAR_PROVINCE: readonly [{
29
+ readonly id: 1;
30
+ readonly name: "강원특별자치도";
31
+ readonly name_short: "강원";
32
+ }, {
33
+ readonly id: 2;
34
+ readonly name: "경기도";
35
+ readonly name_short: "경기";
36
+ }, {
37
+ readonly id: 3;
38
+ readonly name: "경상남도";
39
+ readonly name_short: "경남";
40
+ }, {
41
+ readonly id: 4;
42
+ readonly name: "경상북도";
43
+ readonly name_short: "경북";
44
+ }, {
45
+ readonly id: 5;
46
+ readonly name: "광주광역시";
47
+ readonly name_short: "광주";
48
+ }, {
49
+ readonly id: 6;
50
+ readonly name: "대전광역시";
51
+ readonly name_short: "대전";
52
+ }, {
53
+ readonly id: 7;
54
+ readonly name: "대구광역시";
55
+ readonly name_short: "대구";
56
+ }, {
57
+ readonly id: 8;
58
+ readonly name: "부산광역시";
59
+ readonly name_short: "부산";
60
+ }, {
61
+ readonly id: 9;
62
+ readonly name: "서울특별시";
63
+ readonly name_short: "서울";
64
+ }, {
65
+ readonly id: 10;
66
+ readonly name: "세종특별자치시";
67
+ readonly name_short: "세종";
68
+ }, {
69
+ readonly id: 11;
70
+ readonly name: "울산광역시";
71
+ readonly name_short: "울산";
72
+ }, {
73
+ readonly id: 12;
74
+ readonly name: "인천광역시";
75
+ readonly name_short: "인천";
76
+ }, {
77
+ readonly id: 13;
78
+ readonly name: "전라남도";
79
+ readonly name_short: "전남";
80
+ }, {
81
+ readonly id: 14;
82
+ readonly name: "전북특별자치도";
83
+ readonly name_short: "전북";
84
+ }, {
85
+ readonly id: 15;
86
+ readonly name: "제주특별자치도";
87
+ readonly name_short: "제주";
88
+ }, {
89
+ readonly id: 16;
90
+ readonly name: "충청남도";
91
+ readonly name_short: "충남";
92
+ }, {
93
+ readonly id: 17;
94
+ readonly name: "충청북도";
95
+ readonly name_short: "충북";
96
+ }];
97
+ export type SellMyCarProvinceId = (typeof SELLMYCAR_PROVINCE)[number]["id"];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SELLMYCAR_SERVICE_DATA = exports.SellMyCarTimeData = void 0;
3
+ exports.SELLMYCAR_PROVINCE = exports.SELLMYCAR_SERVICE_DATA = exports.SellMyCarTimeData = void 0;
4
4
  /** 내차팔기 시간 정보
5
5
  * @note 단위는 모두 시간(hour)
6
6
  */
@@ -70,3 +70,91 @@ exports.SELLMYCAR_SERVICE_DATA = {
70
70
  },
71
71
  ],
72
72
  };
73
+ /** @warning 데이터베이스 내 sell_car_provinces와 일치하여야 합니다!!! */
74
+ exports.SELLMYCAR_PROVINCE = [
75
+ {
76
+ id: 1,
77
+ name: "강원특별자치도",
78
+ name_short: "강원",
79
+ },
80
+ {
81
+ id: 2,
82
+ name: "경기도",
83
+ name_short: "경기",
84
+ },
85
+ {
86
+ id: 3,
87
+ name: "경상남도",
88
+ name_short: "경남",
89
+ },
90
+ {
91
+ id: 4,
92
+ name: "경상북도",
93
+ name_short: "경북",
94
+ },
95
+ {
96
+ id: 5,
97
+ name: "광주광역시",
98
+ name_short: "광주",
99
+ },
100
+ {
101
+ id: 6,
102
+ name: "대전광역시",
103
+ name_short: "대전",
104
+ },
105
+ {
106
+ id: 7,
107
+ name: "대구광역시",
108
+ name_short: "대구",
109
+ },
110
+ {
111
+ id: 8,
112
+ name: "부산광역시",
113
+ name_short: "부산",
114
+ },
115
+ {
116
+ id: 9,
117
+ name: "서울특별시",
118
+ name_short: "서울",
119
+ },
120
+ {
121
+ id: 10,
122
+ name: "세종특별자치시",
123
+ name_short: "세종",
124
+ },
125
+ {
126
+ id: 11,
127
+ name: "울산광역시",
128
+ name_short: "울산",
129
+ },
130
+ {
131
+ id: 12,
132
+ name: "인천광역시",
133
+ name_short: "인천",
134
+ },
135
+ {
136
+ id: 13,
137
+ name: "전라남도",
138
+ name_short: "전남",
139
+ },
140
+ {
141
+ id: 14,
142
+ name: "전북특별자치도",
143
+ name_short: "전북",
144
+ },
145
+ {
146
+ id: 15,
147
+ name: "제주특별자치도",
148
+ name_short: "제주",
149
+ },
150
+ {
151
+ id: 16,
152
+ name: "충청남도",
153
+ name_short: "충남",
154
+ },
155
+ {
156
+ id: 17,
157
+ name: "충청북도",
158
+ name_short: "충북",
159
+ },
160
+ ];
@@ -4,3 +4,5 @@ export * from "./type";
4
4
  export * from "./constant";
5
5
  export * from "./dto";
6
6
  export * from "./dto-admin";
7
+ export * from "./interface-faq";
8
+ export * from "./interface-notice";
@@ -20,3 +20,5 @@ __exportStar(require("./type"), exports);
20
20
  __exportStar(require("./constant"), exports);
21
21
  __exportStar(require("./dto"), exports);
22
22
  __exportStar(require("./dto-admin"), exports);
23
+ __exportStar(require("./interface-faq"), exports);
24
+ __exportStar(require("./interface-notice"), exports);
@@ -0,0 +1,36 @@
1
+ export interface SellMyCar_Admin_SaveFaq {
2
+ /** 제목 */
3
+ title: string;
4
+ /** 내용 */
5
+ content: string;
6
+ /** 타입 */
7
+ type: SellMyCarFaqType;
8
+ }
9
+ export interface SellMyCar_Admin_UpdateFaq extends SellMyCar_Admin_SaveFaq {
10
+ /** 자주묻는질문 id */
11
+ faqId: string;
12
+ }
13
+ export interface SellMyCar_Admin_FaqId {
14
+ /** 자주묻는질문 id */
15
+ faqId: string;
16
+ }
17
+ export interface SellMyCar_Admin_UpdateFaqIsShow {
18
+ /** 자주묻는질문 id */
19
+ faqId: string;
20
+ /** 표시여부 */
21
+ isShow: boolean;
22
+ }
23
+ export interface SellMyCar_Admin_UpdateFaqIsImportant {
24
+ /** 자주묻는질문 id */
25
+ faqId: string;
26
+ /** 중요여부 */
27
+ isImportant: boolean;
28
+ }
29
+ export declare const SellMyCarFaqType: {
30
+ transaction: string;
31
+ settlement: string;
32
+ car: string;
33
+ visit: string;
34
+ etc: string;
35
+ };
36
+ export type SellMyCarFaqType = keyof typeof SellMyCarFaqType;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SellMyCarFaqType = void 0;
4
+ exports.SellMyCarFaqType = {
5
+ transaction: "거래/입찰",
6
+ settlement: "정산/수수료",
7
+ car: "차량/서류",
8
+ visit: "방문/응대",
9
+ etc: "기타",
10
+ };
@@ -0,0 +1,28 @@
1
+ export interface SellMyCar_Admin_SaveNotice {
2
+ /** 제목 */
3
+ title: string;
4
+ /** 내용 */
5
+ content: string;
6
+ /** 중요여부 */
7
+ isImportant: boolean;
8
+ /** 노출여부 */
9
+ isShow: boolean;
10
+ /** 첫번째 첨부파일 id - presigned 요청 후 받은 fileId */
11
+ firstFileId?: string;
12
+ }
13
+ export interface SellMyCar_Admin_UpdateNotice extends SellMyCar_Admin_SaveNotice {
14
+ /** 공지 id */
15
+ noticeId: string;
16
+ }
17
+ export interface SellMyCar_Admin_UpdateShowAndImportant {
18
+ /** 공지 id */
19
+ noticeId: string;
20
+ /** 공지 중요 여부 - 중요: true, 중요하지않음: false */
21
+ isImportant: boolean;
22
+ /** 공지 노출 여부 - 노출: true, 미노출: false */
23
+ isShow: boolean;
24
+ }
25
+ export interface SellMyCar_Admin_DeleteNotice {
26
+ /** 공지 id */
27
+ noticeId: string;
28
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carsayo/types",
3
- "version": "1.1.891990",
3
+ "version": "1.1.891992",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",