@yolo-croket-dev/entity-v2 0.2.56-sj1 → 0.2.56-sj2
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.modules/brand/brand-for-admin.entity.d.ts +6 -0
- package/brand.modules/brand/brand-for-admin.entity.js +2 -0
- package/brand.modules/brand/brand-for-buyer.entity.d.ts +2 -10
- package/brand.modules/brand/index.d.ts +1 -0
- package/brand.modules/brand/index.js +1 -0
- package/package.json +1 -1
- package/store/store.entity.d.ts +0 -11
|
@@ -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' | 'regDate' | 'isBrandHall' | 'brandDescription' | 'brandBanners' | 'brandLogoThumbnail'> {
|
|
4
|
+
relatedBrandInfos?: RelatedBrandInfoEntity[];
|
|
5
|
+
}
|
|
6
|
+
export { BrandForAdminEntity };
|
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
import {
|
|
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 };
|
|
@@ -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
package/store/store.entity.d.ts
CHANGED
|
@@ -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 };
|