@yolo-croket-dev/entity-v2 0.2.56-sj1 → 0.2.56-sj3

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,6 @@
1
+ import { BrandEntity } from './brand.entity';
2
+ import { RelatedBrandInfoEntity } from './related-brand-info.entity';
3
+ export default interface BrandForAdminEntity extends Pick<BrandEntity, '_id' | 'brandName' | 'engBrandName' | 'status' | 'regDate' | 'lastModifyDate' | 'isBrandHall' | 'brandDescription' | 'brandBanners' | 'brandLogoThumbnail'> {
4
+ relatedBrandInfos?: RelatedBrandInfoEntity[];
5
+ }
6
+ export { BrandForAdminEntity };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,15 +1,7 @@
1
- import { Types } from 'mongoose';
2
- import { BrandImageInfo } from './brand.entity';
1
+ import { BrandEntity } from './brand.entity';
3
2
  import { RelatedBrandInfoEntity } from './related-brand-info.entity';
4
- export default interface BrandForBuyerEntity {
5
- _id: Types.ObjectId | string;
6
- brandName: string;
7
- engBrandName?: string;
3
+ export default interface BrandForBuyerEntity extends Pick<BrandEntity, '_id' | 'brandName' | 'engBrandName' | 'brandDescription' | 'brandBanners' | 'brandLogoThumbnail'> {
8
4
  isBookmarked: boolean;
9
- brandDescription?: string;
10
- brandBanners?: BrandImageInfo[];
11
- brandLogoThumbnail?: BrandImageInfo;
12
- brandSearchKeywordCount?: number;
13
5
  relatedBrandInfos?: RelatedBrandInfoEntity[];
14
6
  }
15
7
  export { BrandForBuyerEntity };
@@ -1,3 +1,4 @@
1
1
  export * from './brand.entity';
2
2
  export * from './brand-for-buyer.entity';
3
+ export * from './brand-for-admin.entity';
3
4
  export * from './related-brand-info.entity';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./brand.entity"), exports);
18
18
  __exportStar(require("./brand-for-buyer.entity"), exports);
19
+ __exportStar(require("./brand-for-admin.entity"), exports);
19
20
  __exportStar(require("./related-brand-info.entity"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.56-sj1",
3
+ "version": "0.2.56-sj3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -195,15 +195,6 @@ export interface StoreFixedContent {
195
195
  /** 이미지 세로 사이즈 */
196
196
  height: number;
197
197
  }
198
- /** 셀러 패널티 서약 */
199
- export interface StorePenaltyPledge {
200
- /** @description 패널티 서약 여부 */
201
- isPenaltyPledge: boolean;
202
- /** @description 패널티 파일 저장 URL */
203
- fileUrl?: string;
204
- /** @description 패널티 등록 시간 */
205
- regDate: Date;
206
- }
207
198
  /** store schema inteface (아직 선언하다 말았음) */
208
199
  export default class StoreEntity {
209
200
  _id: Types.ObjectId | string;
@@ -233,7 +224,5 @@ export default class StoreEntity {
233
224
  storeFixedContents?: StoreFixedContent[];
234
225
  /** @description 마지막 목표금액 도달 정산 일자 */
235
226
  lastProceedsGoalSettleDate?: Date;
236
- /** @description 셀러 패널티 서약 */
237
- penaltyPledge?: StorePenaltyPledge;
238
227
  }
239
228
  export { StoreEntity };