@yolo-croket-dev/entity-v2 0.2.43-sj7 → 0.2.43-sj8
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.entity.d.ts +21 -0
- package/brand/brand.entity.js +8 -0
- package/index.d.ts +0 -1
- package/index.js +0 -1
- package/package.json +1 -1
- package/brand-cluster/brand-cluster.entity.d.ts +0 -14
- package/brand-cluster/brand-cluster.entity.js +0 -2
- package/brand-cluster/index.d.ts +0 -1
- package/brand-cluster/index.js +0 -17
package/brand/brand.entity.d.ts
CHANGED
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
+
export declare enum BrandStatusEnum {
|
|
3
|
+
/** @description 브랜드 활성화 상태 */
|
|
4
|
+
ACTIVE = "ACTIVE",
|
|
5
|
+
/** @description 브랜드 비활성화 상태 */
|
|
6
|
+
DRAFT = "DRAFT"
|
|
7
|
+
}
|
|
2
8
|
export default interface BrandEntity {
|
|
9
|
+
/** @description 브랜드 고유 아이디 */
|
|
3
10
|
_id: Types.ObjectId | string;
|
|
11
|
+
/** @description 브랜드 이름 */
|
|
4
12
|
brandName: string;
|
|
13
|
+
/** @description 브랜드 영문 이름 */
|
|
5
14
|
engBrandName?: string;
|
|
15
|
+
/** @description 브랜드 서브 이름 */
|
|
16
|
+
subBrandNames?: string[];
|
|
17
|
+
/** @description 브랜드 찜 개수 */
|
|
6
18
|
brandBookmarkCount: number;
|
|
19
|
+
/** @description 브랜드 로고 이미지 (희진님이 아직 안 넣을거라고 말씀함) */
|
|
20
|
+
/** @description 저장날짜 */
|
|
7
21
|
regDate: Date;
|
|
22
|
+
/** @description 마지막 수정일 */
|
|
8
23
|
lastModifyDate: Date;
|
|
24
|
+
/** @description 브랜드 상태 */
|
|
25
|
+
status: BrandStatusEnum;
|
|
26
|
+
/** @description 브랜드 검토 아이디 */
|
|
27
|
+
brandInspectionId?: Types.ObjectId | string;
|
|
28
|
+
/** @description 브랜드 상품 개수 */
|
|
29
|
+
brandStoreItemCount: number;
|
|
9
30
|
}
|
|
10
31
|
export { BrandEntity };
|
package/brand/brand.entity.js
CHANGED
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BrandStatusEnum = void 0;
|
|
4
|
+
var BrandStatusEnum;
|
|
5
|
+
(function (BrandStatusEnum) {
|
|
6
|
+
/** @description 브랜드 활성화 상태 */
|
|
7
|
+
BrandStatusEnum["ACTIVE"] = "ACTIVE";
|
|
8
|
+
/** @description 브랜드 비활성화 상태 */
|
|
9
|
+
BrandStatusEnum["DRAFT"] = "DRAFT";
|
|
10
|
+
})(BrandStatusEnum || (exports.BrandStatusEnum = BrandStatusEnum = {}));
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -63,4 +63,3 @@ __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);
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
2
|
-
export default interface BrandClusterEntity {
|
|
3
|
-
/** @description 브랜드 클러스터 고유 아이디 */
|
|
4
|
-
_id: Types.ObjectId | string;
|
|
5
|
-
/** @description 브랜드 클러스터 이름 */
|
|
6
|
-
brandClusterName: string;
|
|
7
|
-
/** @description 브랜드 클러스터 영문 이름 */
|
|
8
|
-
brandEngClusterName?: string;
|
|
9
|
-
/** @description 서브 브랜드 클러스터 이름 */
|
|
10
|
-
brandSubClusterNames?: string[];
|
|
11
|
-
/** @description 저장날짜 */
|
|
12
|
-
regDate: Date;
|
|
13
|
-
}
|
|
14
|
-
export { BrandClusterEntity };
|
package/brand-cluster/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './brand-cluster.entity';
|
package/brand-cluster/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
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);
|