@yolo-croket-dev/amqp-access 0.4.120-sj2 → 0.4.120-sj4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.120-sj2",
3
+ "version": "0.4.120-sj4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -2,14 +2,14 @@ import { BrandForBuyerEntity } from '@yolo-croket-dev/entity-v2';
2
2
  export declare enum BrandSortTypeEnum {
3
3
  RECENTLY_BOOKMARKED = "RECENTLY_BOOKMARKED"
4
4
  }
5
- export declare class GetBrandsForBuyerPayload {
5
+ export declare class GetBookmarkedBrandsForBuyerPayload {
6
6
  page: number;
7
7
  limit: number;
8
- sortType?: BrandSortTypeEnum;
8
+ sortType: BrandSortTypeEnum;
9
9
  }
10
10
  export interface BrandBuyerInfo extends Pick<BrandForBuyerEntity, '_id' | 'brandName' | 'engBrandName' | 'isBookmarked'> {
11
11
  }
12
- export interface GetBrandsForBuyerResult {
12
+ export interface GetBookmarkedBrandsForBuyerResult {
13
13
  brands: BrandBuyerInfo[];
14
14
  totalCount: number;
15
15
  }
@@ -9,26 +9,25 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
12
+ exports.GetBookmarkedBrandsForBuyerPayload = exports.BrandSortTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  var BrandSortTypeEnum;
15
15
  (function (BrandSortTypeEnum) {
16
16
  // 최근 찜한 순
17
17
  BrandSortTypeEnum["RECENTLY_BOOKMARKED"] = "RECENTLY_BOOKMARKED";
18
18
  })(BrandSortTypeEnum || (exports.BrandSortTypeEnum = BrandSortTypeEnum = {}));
19
- class GetBrandsForBuyerPayload {
19
+ class GetBookmarkedBrandsForBuyerPayload {
20
20
  }
21
- exports.GetBrandsForBuyerPayload = GetBrandsForBuyerPayload;
21
+ exports.GetBookmarkedBrandsForBuyerPayload = GetBookmarkedBrandsForBuyerPayload;
22
22
  __decorate([
23
23
  (0, class_validator_1.IsNumber)(),
24
24
  __metadata("design:type", Number)
25
- ], GetBrandsForBuyerPayload.prototype, "page", void 0);
25
+ ], GetBookmarkedBrandsForBuyerPayload.prototype, "page", void 0);
26
26
  __decorate([
27
27
  (0, class_validator_1.IsNumber)(),
28
28
  __metadata("design:type", Number)
29
- ], GetBrandsForBuyerPayload.prototype, "limit", void 0);
29
+ ], GetBookmarkedBrandsForBuyerPayload.prototype, "limit", void 0);
30
30
  __decorate([
31
31
  (0, class_validator_1.IsEnum)(BrandSortTypeEnum),
32
- (0, class_validator_1.IsOptional)(),
33
32
  __metadata("design:type", String)
34
- ], GetBrandsForBuyerPayload.prototype, "sortType", void 0);
33
+ ], GetBookmarkedBrandsForBuyerPayload.prototype, "sortType", void 0);
@@ -1,3 +1,3 @@
1
1
  export * from './get-brands-by-brand-names.dto';
2
2
  export * from './get-brands-for-admin.dto';
3
- export * from './get-brands-for-buyer.dto';
3
+ export * from './get-bookmarked-brands-for-buyer.dto';
@@ -16,4 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-brands-by-brand-names.dto"), exports);
18
18
  __exportStar(require("./get-brands-for-admin.dto"), exports);
19
- __exportStar(require("./get-brands-for-buyer.dto"), exports);
19
+ __exportStar(require("./get-bookmarked-brands-for-buyer.dto"), exports);