@carsayo/types 1.1.891989 → 1.1.891991

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.
@@ -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
+ };
@@ -35,8 +35,9 @@ export interface UsedCarDealerGrade {
35
35
  average_rating: number;
36
36
  }
37
37
  export declare const DealerGrade: {
38
+ /** 트러스트가 아닌 딜러 (기본 등급) */
38
39
  basic: string;
39
- signature: string;
40
+ /** 월간 고객 후기 3건 이상, 평점 4점 이상 */
40
41
  trust: string;
41
42
  };
42
43
  export type DealerGrade = keyof typeof DealerGrade;
@@ -9,7 +9,8 @@ exports.UsedCarDealerGradeDefault = {
9
9
  average_rating: 0,
10
10
  };
11
11
  exports.DealerGrade = {
12
+ /** 트러스트가 아닌 딜러 (기본 등급) */
12
13
  basic: "베이직",
13
- signature: "시그니처",
14
+ /** 월간 고객 후기 3건 이상, 평점 4점 이상 */
14
15
  trust: "트러스트",
15
16
  };
@@ -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.891989",
3
+ "version": "1.1.891991",
4
4
  "description": "Carsayo app type",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",