@yolo-croket-dev/amqp-access 0.7.160 → 0.7.162
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/package.json +1 -1
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-filter.dto.d.ts +6 -0
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-filter.dto.js +20 -0
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-info.dto.d.ts +1 -0
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/get-black-friday-live-tab-info.dto.js +5 -0
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/index.d.ts +1 -0
- package/store-item-server/dto/summer-black-friday.modules/main-black-friday/black-friday-live-tab/query/index.js +1 -0
- package/store-item-server/services/summer-black-friday.modules/amqp.main-black-friday.service.d.ts +2 -1
- package/store-item-server/services/summer-black-friday.modules/amqp.main-black-friday.service.js +3 -0
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.d.ts +2 -1
- package/user-service/dto/cart/query/get-carts-for-write-pay.dto.js +1 -0
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetBlackFridayLiveTabFilterPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetBlackFridayLiveTabFilterPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetBlackFridayLiveTabFilterPayload = GetBlackFridayLiveTabFilterPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetBlackFridayLiveTabFilterPayload.prototype, "blackFridayLiveTabId", void 0);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { WeeklyMegaDealCouponHotDealItemData } from '../../../weekly-mega-deal';
|
|
2
2
|
export declare class GetBlackFridayLiveTabInfoPayload {
|
|
3
3
|
blackFridayLiveTabId: string;
|
|
4
|
+
mainCategory?: string;
|
|
4
5
|
}
|
|
5
6
|
export interface GetBlackFridayLiveTabInfoResult {
|
|
6
7
|
bannerImgUrl?: string;
|
|
@@ -18,3 +18,8 @@ __decorate([
|
|
|
18
18
|
(0, class_validator_1.IsMongoId)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], GetBlackFridayLiveTabInfoPayload.prototype, "blackFridayLiveTabId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], GetBlackFridayLiveTabInfoPayload.prototype, "mainCategory", void 0);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-black-friday-live-tab-info.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-black-friday-live-tab-filter.dto"), exports);
|
package/store-item-server/services/summer-black-friday.modules/amqp.main-black-friday.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload } from '../../dto';
|
|
3
|
+
import { GetBlackFridayCouponItemTabFilterPayload, GetBlackFridayCouponItemTabFilterResult, GetBlackFridayLiveTabInfoPayload, GetBlackFridayLiveTabInfoResult, GetBlackFridayThisWeekHotDealTabLiveDealsPayload, GetBlackFridayThisWeekHotDealTabLiveDealsResult, GetStoreItemsByCouponItemTabPayload, GetStoreItemsByCouponItemTabResult, GetStoreItemsByThisWeekHotDealTabPayload, GetStoreItemsByThisWeekHotDealTabResult, GetBlackFridayTopRankFilterPayload, GetBlackFridayTopRankFilterResult, GetStoreItemsByTopRankTabPayload, GetStoreItemsByTopRankTabResult, MegaDealTab, updateBlackFridayCouponItemTabPayload, GetBlackFridayLiveTabFilterPayload, GetBlackFridayLiveTabFilterResult } from '../../dto';
|
|
4
4
|
export declare class AmqpMainBlackFridayService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -9,6 +9,7 @@ export declare class AmqpMainBlackFridayService {
|
|
|
9
9
|
getBlackFridayCouponItemTabFilter(payload: GetBlackFridayCouponItemTabFilterPayload, param: AbstractParam): Promise<GetBlackFridayCouponItemTabFilterResult>;
|
|
10
10
|
getStoreItemsByCouponItemTab(payload: GetStoreItemsByCouponItemTabPayload, param: AbstractParam): Promise<GetStoreItemsByCouponItemTabResult>;
|
|
11
11
|
updateBlackFridayLiveTab(payload: void, param: AbstractParam): Promise<string>;
|
|
12
|
+
getBlackFridayLiveTabFilter(payload: GetBlackFridayLiveTabFilterPayload, param: AbstractParam): Promise<GetBlackFridayLiveTabFilterResult>;
|
|
12
13
|
getBlackFridayLiveTabInfo(payload: GetBlackFridayLiveTabInfoPayload, param: AbstractParam): Promise<GetBlackFridayLiveTabInfoResult>;
|
|
13
14
|
updateBlackFridayThisWeekHotDealTab(payload: void, param: AbstractParam): Promise<string>;
|
|
14
15
|
getBlackFridayThisWeekHotDealTabLiveDeals(payload: GetBlackFridayThisWeekHotDealTabLiveDealsPayload, param: AbstractParam): Promise<GetBlackFridayThisWeekHotDealTabLiveDealsResult>;
|
package/store-item-server/services/summer-black-friday.modules/amqp.main-black-friday.service.js
CHANGED
|
@@ -33,6 +33,9 @@ let AmqpMainBlackFridayService = class AmqpMainBlackFridayService {
|
|
|
33
33
|
async updateBlackFridayLiveTab(payload, param) {
|
|
34
34
|
return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 수정', 'main-black-friday.update.live-tab', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
|
+
async getBlackFridayLiveTabFilter(payload, param) {
|
|
37
|
+
return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 필터 조회', 'main-black-friday.get.live-tab-filter', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
36
39
|
async getBlackFridayLiveTabInfo(payload, param) {
|
|
37
40
|
return this.amqpManager.call('메인 블랙 프라이데이 - 라이브 탭 정보 조회', 'main-black-friday.get.live-tab-info', payload, param, { isErrorThrowing: true });
|
|
38
41
|
}
|
|
@@ -4,7 +4,7 @@ import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
|
|
|
4
4
|
import { StoreEntity } from '@yolo-croket-dev/entity-v2';
|
|
5
5
|
import { BindCartsForWritePay } from '@yolo-croket-dev/entity/src/pay-try-log';
|
|
6
6
|
type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
|
|
7
|
-
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'option'> & {
|
|
7
|
+
type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret' | 'optionInfo' | 'isSelling' | 'isDelete' | 'brandInfo' | 'option' | 'crawling'> & {
|
|
8
8
|
_seller: SearchedUserForWritePay;
|
|
9
9
|
};
|
|
10
10
|
type SearchedStoreForWritePay = Pick<StoreEntity, '_id' | 'storeTitle' | 'storeImg'>;
|
|
@@ -40,6 +40,7 @@ export declare const SearchedStoreItemForWritePaySelect: {
|
|
|
40
40
|
isDelete: number;
|
|
41
41
|
brandInfo: number;
|
|
42
42
|
option: number;
|
|
43
|
+
crawling: number;
|
|
43
44
|
};
|
|
44
45
|
export declare const SearchedStoreForWritePaySelect: {
|
|
45
46
|
_id: number;
|