@yolo-croket-dev/entity-v2 0.2.43-sj9 → 0.2.44

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.
Files changed (35) hide show
  1. package/brand.modules/brand-log/brand-log.entity.d.ts +49 -0
  2. package/brand.modules/brand-log/brand-log.entity.js +16 -0
  3. package/brand.modules/brand-log/index.d.ts +1 -0
  4. package/brand.modules/brand-log/index.js +17 -0
  5. package/brand.modules/index.d.ts +5 -0
  6. package/brand.modules/index.js +21 -0
  7. package/index.d.ts +5 -4
  8. package/index.js +5 -4
  9. package/package.json +1 -1
  10. package/summer-black-friday.modules/index.d.ts +1 -0
  11. package/summer-black-friday.modules/index.js +1 -0
  12. package/summer-black-friday.modules/pre-black-friday/index.d.ts +1 -0
  13. package/summer-black-friday.modules/pre-black-friday/index.js +17 -0
  14. package/summer-black-friday.modules/pre-black-friday/pre-black-friday.entity.d.ts +26 -0
  15. package/summer-black-friday.modules/pre-black-friday/pre-black-friday.entity.js +2 -0
  16. /package/{brand → brand.modules/brand}/brand-for-buyer.entity.d.ts +0 -0
  17. /package/{brand → brand.modules/brand}/brand-for-buyer.entity.js +0 -0
  18. /package/{brand → brand.modules/brand}/brand.entity.d.ts +0 -0
  19. /package/{brand → brand.modules/brand}/brand.entity.js +0 -0
  20. /package/{brand → brand.modules/brand}/index.d.ts +0 -0
  21. /package/{brand → brand.modules/brand}/index.js +0 -0
  22. /package/{brand-bookmark → brand.modules/brand-bookmark}/brand-bookmark.entity.d.ts +0 -0
  23. /package/{brand-bookmark → brand.modules/brand-bookmark}/brand-bookmark.entity.js +0 -0
  24. /package/{brand-bookmark → brand.modules/brand-bookmark}/index.d.ts +0 -0
  25. /package/{brand-bookmark → brand.modules/brand-bookmark}/index.js +0 -0
  26. /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort-for-admin.entity.d.ts +0 -0
  27. /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort-for-admin.entity.js +0 -0
  28. /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort.entity.d.ts +0 -0
  29. /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort.entity.js +0 -0
  30. /package/{brand-cohort → brand.modules/brand-cohort}/index.d.ts +0 -0
  31. /package/{brand-cohort → brand.modules/brand-cohort}/index.js +0 -0
  32. /package/{brand-inspection → brand.modules/brand-inspection}/brand-inspection.entity.d.ts +0 -0
  33. /package/{brand-inspection → brand.modules/brand-inspection}/brand-inspection.entity.js +0 -0
  34. /package/{brand-inspection → brand.modules/brand-inspection}/index.d.ts +0 -0
  35. /package/{brand-inspection → brand.modules/brand-inspection}/index.js +0 -0
@@ -0,0 +1,49 @@
1
+ import { Types } from 'mongoose';
2
+ import { BrandEntity } from '../brand';
3
+ export declare enum BrandLogTypeEnum {
4
+ CREATE_BY_ADMIN = "CREATE_BY_ADMIN",
5
+ BRAND_NAME_EDIT_BY_ADMIN = "BRAND_NAME_EDIT_BY_ADMIN",
6
+ BRAND_ENG_NAME_EDIT_BY_ADMIN = "BRAND_ENG_NAME_EDIT_BY_ADMIN",
7
+ HARD_DELETE_BY_ADMIN = "HARD_DELETE_BY_ADMIN",
8
+ BRAND_CREATED_FROM_SELLER_INSPECTION_REQUEST = "BRAND_CREATED_FROM_SELLER_INSPECTION_REQUEST",
9
+ INSPECTION_APPROVED = "INSPECTION_APPROVED",
10
+ INSPECTION_REJECTED_BRAND_DELETED = "INSPECTION_REJECTED_BRAND_DELETED"
11
+ }
12
+ /**
13
+ * @author sj
14
+ * @description 브랜드 로그 */
15
+ export default interface BrandLogEntity {
16
+ _id: Types.ObjectId | string;
17
+ /** 브랜드 아이디 */
18
+ brandId: string | Types.ObjectId;
19
+ /** 로그 타입 */
20
+ logType: BrandLogTypeEnum;
21
+ /** 등록 일자 */
22
+ regDate: Date;
23
+ /**
24
+ * 관리자 아이디
25
+ * 데이터 존재:
26
+ * CREATE_BY_ADMIN
27
+ * BRAND_NAME_EDIT_BY_ADMIN
28
+ * BRAND_ENG_NAME_EDIT_BY_ADMIN
29
+ * HARD_DELETE_BY_ADMIN
30
+ * INSPECTION_APPROVED
31
+ * INSPECTION_REJECTED_BRAND_DELETED
32
+ * */
33
+ manageUserId?: string | Types.ObjectId;
34
+ /**
35
+ * 수정 전 브랜드 정보
36
+ * 데이터 존재:
37
+ * BRAND_NAME_EDIT_BY_ADMIN
38
+ * BRAND_ENG_NAME_EDIT_BY_ADMIN
39
+ * HARD_DELETE_BY_ADMIN
40
+ * */
41
+ beforeBrandInfo?: BrandEntity;
42
+ /**
43
+ * 유저 아이디
44
+ * 데이터 존재:
45
+ * CREATE_INSPECTION_REQUEST_SELLER_BRAND_CREATED
46
+ * */
47
+ userId?: string | Types.ObjectId;
48
+ }
49
+ export { BrandLogEntity };
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BrandLogTypeEnum = void 0;
4
+ var BrandLogTypeEnum;
5
+ (function (BrandLogTypeEnum) {
6
+ BrandLogTypeEnum["CREATE_BY_ADMIN"] = "CREATE_BY_ADMIN";
7
+ BrandLogTypeEnum["BRAND_NAME_EDIT_BY_ADMIN"] = "BRAND_NAME_EDIT_BY_ADMIN";
8
+ BrandLogTypeEnum["BRAND_ENG_NAME_EDIT_BY_ADMIN"] = "BRAND_ENG_NAME_EDIT_BY_ADMIN";
9
+ BrandLogTypeEnum["HARD_DELETE_BY_ADMIN"] = "HARD_DELETE_BY_ADMIN";
10
+ // 셀러 브랜드 검토 요청 -브랜드 생성됨-
11
+ BrandLogTypeEnum["BRAND_CREATED_FROM_SELLER_INSPECTION_REQUEST"] = "BRAND_CREATED_FROM_SELLER_INSPECTION_REQUEST";
12
+ // 검토 승인 - 브랜드 status 변경됨.
13
+ BrandLogTypeEnum["INSPECTION_APPROVED"] = "INSPECTION_APPROVED";
14
+ // 검토 반려 - 브랜드 삭제 처리됨.
15
+ BrandLogTypeEnum["INSPECTION_REJECTED_BRAND_DELETED"] = "INSPECTION_REJECTED_BRAND_DELETED";
16
+ })(BrandLogTypeEnum || (exports.BrandLogTypeEnum = BrandLogTypeEnum = {}));
@@ -0,0 +1 @@
1
+ export * from './brand-log.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./brand-log.entity"), exports);
@@ -0,0 +1,5 @@
1
+ export * from './brand';
2
+ export * from './brand-inspection';
3
+ export * from './brand-bookmark';
4
+ export * from './brand-cohort';
5
+ export * from './brand-log';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./brand"), exports);
18
+ __exportStar(require("./brand-inspection"), exports);
19
+ __exportStar(require("./brand-bookmark"), exports);
20
+ __exportStar(require("./brand-cohort"), exports);
21
+ __exportStar(require("./brand-log"), exports);
package/index.d.ts CHANGED
@@ -34,9 +34,6 @@ export * from './issued-receipt-coupon-log';
34
34
  export * from './device-id';
35
35
  export * from './signup-reward-popup';
36
36
  export * from './changed-purhcased-option-log';
37
- export * from './brand';
38
- export * from './brand-cohort';
39
- export * from './brand-bookmark';
40
37
  export * from './exchange-rate';
41
38
  export * from './summer-black-friday.modules';
42
39
  export * from './public-holiday';
@@ -46,4 +43,8 @@ export * from './store-item-detail-banner-by-store-item';
46
43
  export * from './store-item-option-restock-log';
47
44
  export * from './daily-random-coupon';
48
45
  export * from './event-banner';
49
- export * from './brand-inspection';
46
+ export * from './brand.modules/brand-inspection';
47
+ export * from './brand.modules/brand';
48
+ export * from './brand.modules/brand-cohort';
49
+ export * from './brand.modules/brand-bookmark';
50
+ export * from './brand.modules/brand-log';
package/index.js CHANGED
@@ -50,9 +50,6 @@ __exportStar(require("./issued-receipt-coupon-log"), exports);
50
50
  __exportStar(require("./device-id"), exports);
51
51
  __exportStar(require("./signup-reward-popup"), exports);
52
52
  __exportStar(require("./changed-purhcased-option-log"), exports);
53
- __exportStar(require("./brand"), exports);
54
- __exportStar(require("./brand-cohort"), exports);
55
- __exportStar(require("./brand-bookmark"), exports);
56
53
  __exportStar(require("./exchange-rate"), exports);
57
54
  __exportStar(require("./summer-black-friday.modules"), exports);
58
55
  __exportStar(require("./public-holiday"), exports);
@@ -62,4 +59,8 @@ __exportStar(require("./store-item-detail-banner-by-store-item"), exports);
62
59
  __exportStar(require("./store-item-option-restock-log"), exports);
63
60
  __exportStar(require("./daily-random-coupon"), exports);
64
61
  __exportStar(require("./event-banner"), exports);
65
- __exportStar(require("./brand-inspection"), exports);
62
+ __exportStar(require("./brand.modules/brand-inspection"), exports);
63
+ __exportStar(require("./brand.modules/brand"), exports);
64
+ __exportStar(require("./brand.modules/brand-cohort"), exports);
65
+ __exportStar(require("./brand.modules/brand-bookmark"), exports);
66
+ __exportStar(require("./brand.modules/brand-log"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.43-sj9",
3
+ "version": "0.2.44",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -1 +1,2 @@
1
1
  export * from './weekly-mega-deal-data';
2
+ export * from './pre-black-friday';
@@ -15,3 +15,4 @@ 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);
@@ -0,0 +1 @@
1
+ export * from './pre-black-friday.entity';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./pre-black-friday.entity"), exports);
@@ -0,0 +1,26 @@
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 };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
File without changes
File without changes
File without changes