@yolo-croket-dev/entity-v2 0.2.43-sj5 → 0.2.43-sj6
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-cluster/brand-cluster.entity.d.ts +14 -0
- package/brand-cluster/brand-cluster.entity.js +2 -0
- package/brand-cluster/index.d.ts +1 -0
- package/brand-cluster/index.js +17 -0
- package/brand-inspection/brand-inspection.entity.d.ts +4 -0
- package/brand-inspection/brand-inspection.entity.js +3 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
export default interface BrandClusterEntity {
|
|
3
|
+
/** @description 브랜드 클러스터 고유 아이디 */
|
|
4
|
+
_id: Types.ObjectId | string;
|
|
5
|
+
/** @description 브랜드 이름 */
|
|
6
|
+
brandName: string;
|
|
7
|
+
/** @description 브랜드 영문 이름 */
|
|
8
|
+
engBrandName?: string;
|
|
9
|
+
/** @description 서브 브랜드 이름 */
|
|
10
|
+
subBrandNames?: string[];
|
|
11
|
+
/** @description 저장날짜 */
|
|
12
|
+
regDate: Date;
|
|
13
|
+
}
|
|
14
|
+
export { BrandClusterEntity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './brand-cluster.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-cluster.entity"), exports);
|
|
@@ -12,11 +12,15 @@ export declare enum InspectionStatusEnum {
|
|
|
12
12
|
REJECTED = "REJECTED"
|
|
13
13
|
}
|
|
14
14
|
export interface RequestedSellerInfo {
|
|
15
|
+
/** @description 요청한 셀러 아이디 */
|
|
15
16
|
sellerId: Types.ObjectId | string;
|
|
17
|
+
/** @description 요청 날짜 */
|
|
16
18
|
regDate: Date;
|
|
17
19
|
}
|
|
18
20
|
export interface ApprovedBrandInfo {
|
|
21
|
+
/** @description 승인 확정 된 브랜드 이름 */
|
|
19
22
|
approvedBrandName: string;
|
|
23
|
+
/** @description 승인 확정 된 영문 브랜드 이름 */
|
|
20
24
|
approvedEngBrandName?: string;
|
|
21
25
|
}
|
|
22
26
|
export interface BrandInspectionResolutionInfo {
|
|
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.InspectionStatusEnum = void 0;
|
|
4
4
|
var InspectionStatusEnum;
|
|
5
5
|
(function (InspectionStatusEnum) {
|
|
6
|
+
// 대기중
|
|
6
7
|
InspectionStatusEnum["WAITING"] = "WAITING";
|
|
8
|
+
// 승인
|
|
7
9
|
InspectionStatusEnum["APPROVED"] = "APPROVED";
|
|
10
|
+
// 반려
|
|
8
11
|
InspectionStatusEnum["REJECTED"] = "REJECTED";
|
|
9
12
|
})(InspectionStatusEnum || (exports.InspectionStatusEnum = InspectionStatusEnum = {}));
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -63,3 +63,4 @@ __exportStar(require("./store-item-option-restock-log"), exports);
|
|
|
63
63
|
__exportStar(require("./daily-random-coupon"), exports);
|
|
64
64
|
__exportStar(require("./event-banner"), exports);
|
|
65
65
|
__exportStar(require("./brand-inspection"), exports);
|
|
66
|
+
__exportStar(require("./brand-cluster"), exports);
|