@yolo-croket-dev/entity-v2 0.2.43-sj8 → 0.2.43
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.
- package/{brand → brand.modules/brand}/brand.entity.d.ts +3 -3
- package/{brand → brand.modules/brand}/brand.entity.js +3 -3
- package/brand.modules/brand-log/brand-log.entity.d.ts +49 -0
- package/brand.modules/brand-log/brand-log.entity.js +16 -0
- package/brand.modules/brand-log/index.d.ts +1 -0
- package/brand.modules/brand-log/index.js +17 -0
- package/brand.modules/index.d.ts +5 -0
- package/brand.modules/index.js +21 -0
- package/index.d.ts +5 -4
- package/index.js +5 -4
- package/package.json +1 -1
- /package/{brand → brand.modules/brand}/brand-for-buyer.entity.d.ts +0 -0
- /package/{brand → brand.modules/brand}/brand-for-buyer.entity.js +0 -0
- /package/{brand → brand.modules/brand}/index.d.ts +0 -0
- /package/{brand → brand.modules/brand}/index.js +0 -0
- /package/{brand-bookmark → brand.modules/brand-bookmark}/brand-bookmark.entity.d.ts +0 -0
- /package/{brand-bookmark → brand.modules/brand-bookmark}/brand-bookmark.entity.js +0 -0
- /package/{brand-bookmark → brand.modules/brand-bookmark}/index.d.ts +0 -0
- /package/{brand-bookmark → brand.modules/brand-bookmark}/index.js +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort-for-admin.entity.d.ts +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort-for-admin.entity.js +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort.entity.d.ts +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/brand-cohort.entity.js +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/index.d.ts +0 -0
- /package/{brand-cohort → brand.modules/brand-cohort}/index.js +0 -0
- /package/{brand-inspection → brand.modules/brand-inspection}/brand-inspection.entity.d.ts +0 -0
- /package/{brand-inspection → brand.modules/brand-inspection}/brand-inspection.entity.js +0 -0
- /package/{brand-inspection → brand.modules/brand-inspection}/index.d.ts +0 -0
- /package/{brand-inspection → brand.modules/brand-inspection}/index.js +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
2
|
export declare enum BrandStatusEnum {
|
|
3
|
-
/** @description 브랜드
|
|
3
|
+
/** @description 브랜드 상태 */
|
|
4
4
|
ACTIVE = "ACTIVE",
|
|
5
|
-
/** @description 브랜드
|
|
6
|
-
|
|
5
|
+
/** @description 브랜드 상태 */
|
|
6
|
+
INACTIVE = "INACTIVE"
|
|
7
7
|
}
|
|
8
8
|
export default interface BrandEntity {
|
|
9
9
|
/** @description 브랜드 고유 아이디 */
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BrandStatusEnum = void 0;
|
|
4
4
|
var BrandStatusEnum;
|
|
5
5
|
(function (BrandStatusEnum) {
|
|
6
|
-
/** @description 브랜드
|
|
6
|
+
/** @description 브랜드 상태 */
|
|
7
7
|
BrandStatusEnum["ACTIVE"] = "ACTIVE";
|
|
8
|
-
/** @description 브랜드
|
|
9
|
-
BrandStatusEnum["
|
|
8
|
+
/** @description 브랜드 상태 */
|
|
9
|
+
BrandStatusEnum["INACTIVE"] = "INACTIVE";
|
|
10
10
|
})(BrandStatusEnum || (exports.BrandStatusEnum = BrandStatusEnum = {}));
|
|
@@ -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,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
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|