@yolo-croket-dev/entity-v2 0.2.43-hj-6 → 0.2.43-sj

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.
@@ -0,0 +1,38 @@
1
+ import { Types } from 'mongoose';
2
+ /** 관리자 정보 */
3
+ interface ManagerInfo {
4
+ /** 관리자 아이디 */
5
+ managerId: Types.ObjectId | string;
6
+ /** 관리자 이름 */
7
+ managerUsername: string;
8
+ }
9
+ export declare enum InspectionStatusEnum {
10
+ WAITING = "WAITING",
11
+ APPROVED = "APPROVED",
12
+ REJECTED = "REJECTED"
13
+ }
14
+ export interface RequestedStoreInfo {
15
+ storeId: Types.ObjectId | string;
16
+ regDate: Date;
17
+ }
18
+ export default interface BrandInspectionEntity {
19
+ /** @description 브랜드 검토 고유 아이디 */
20
+ _id: Types.ObjectId | string;
21
+ /** @description 브랜드 이름 */
22
+ brandName: string;
23
+ /** @description 브랜드 영문 이름 */
24
+ engBrandName?: string;
25
+ /** @description 검토 상태 */
26
+ inspectionStatus: InspectionStatusEnum;
27
+ /** @description 검토 알림 (셀러에게 보내는 문구) */
28
+ reviewNotification?: string;
29
+ /** @description 관리자 정보 */
30
+ managerInfo?: ManagerInfo;
31
+ /** @description 요청 스토어 정보 */
32
+ requestedStoreInfos: RequestedStoreInfo[];
33
+ /** @description 검토 일자 (검토 완료 시 저장) */
34
+ inspectionDate?: Date;
35
+ /** @description 저장날짜 */
36
+ regDate: Date;
37
+ }
38
+ export { BrandInspectionEntity };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InspectionStatusEnum = void 0;
4
+ var InspectionStatusEnum;
5
+ (function (InspectionStatusEnum) {
6
+ InspectionStatusEnum["WAITING"] = "WAITING";
7
+ InspectionStatusEnum["APPROVED"] = "APPROVED";
8
+ InspectionStatusEnum["REJECTED"] = "REJECTED";
9
+ })(InspectionStatusEnum || (exports.InspectionStatusEnum = InspectionStatusEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './brand-indpection.entity';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./pre-black-friday.entity"), exports);
17
+ __exportStar(require("./brand-indpection.entity"), exports);
package/index.d.ts CHANGED
@@ -46,3 +46,4 @@ export * from './store-item-detail-banner-by-store-item';
46
46
  export * from './store-item-option-restock-log';
47
47
  export * from './daily-random-coupon';
48
48
  export * from './event-banner';
49
+ export * from './brand-indpection';
package/index.js CHANGED
@@ -62,3 +62,4 @@ __exportStar(require("./store-item-detail-banner-by-store-item"), exports);
62
62
  __exportStar(require("./store-item-option-restock-log"), exports);
63
63
  __exportStar(require("./daily-random-coupon"), exports);
64
64
  __exportStar(require("./event-banner"), exports);
65
+ __exportStar(require("./brand-indpection"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.43-hj-6",
3
+ "version": "0.2.43-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1,2 +1 @@
1
1
  export * from './weekly-mega-deal-data';
2
- export * from './pre-black-friday';
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./weekly-mega-deal-data"), exports);
18
- __exportStar(require("./pre-black-friday"), exports);
@@ -1 +0,0 @@
1
- export * from './pre-black-friday.entity';
@@ -1,26 +0,0 @@
1
- import { Types } from 'mongoose';
2
- /** @description 프리블프 데이터 */
3
- export default interface PreBlackFridayEntity {
4
- _id: string | Types.ObjectId;
5
- /** @description 탭 타이틀 */
6
- title: string;
7
- /** @description 메인 타이틀 */
8
- mainTitle: string;
9
- /** @description 탭 서브 타이틀 */
10
- subTitle: string;
11
- /** @description 탭 타이틀 이미지 */
12
- titleImgUrl?: string;
13
- /** @description 탭 상단 이미지 */
14
- tabImgUrl?: string;
15
- /** @description 쿠폰 코드 - 탭 상단 이미지 클릭시 다운될 쿠폰 코드 */
16
- couponCode?: string;
17
- /** @description 상품 아이디 리스트 */
18
- storeItemIds: Types.ObjectId[];
19
- /** @description 등록 일자 */
20
- regDate: Date;
21
- /** @description 노출 여부 */
22
- isView: boolean;
23
- /** @description 인덱스 */
24
- index: number;
25
- }
26
- export { PreBlackFridayEntity };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });