@yolo-croket-dev/amqp-access 0.6.22 → 0.6.24

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.
@@ -1,9 +1,25 @@
1
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
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.GetImageSizesByCloudflareResult = exports.GetImageSizesByCloudflarePayload = void 0;
13
+ const class_validator_1 = require("class-validator");
4
14
  class GetImageSizesByCloudflarePayload {
5
15
  }
6
16
  exports.GetImageSizesByCloudflarePayload = GetImageSizesByCloudflarePayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsArray)(),
19
+ (0, class_validator_1.IsString)({ each: true }),
20
+ (0, class_validator_1.ArrayMinSize)(1),
21
+ __metadata("design:type", Array)
22
+ ], GetImageSizesByCloudflarePayload.prototype, "imgUrls", void 0);
7
23
  class GetImageSizesByCloudflareResult {
8
24
  constructor() {
9
25
  this.sizes = [];
@@ -7,9 +7,9 @@ export declare class GetEventBannerForBuyerPayload {
7
7
  /** @description 상품 ID - type이 STORE_ITEM_INFO인 경우 필요 */
8
8
  storeItemId?: string;
9
9
  }
10
- export declare class GetEventBannerForBuyerResult implements Pick<EventBannerEntity, '_id' | 'type' | 'web' | 'app' | 'description'> {
10
+ export declare class GetEventBannerForBuyerResult implements Pick<EventBannerEntity, '_id' | 'web' | 'app' | 'description'> {
11
11
  _id: string;
12
- type: EventBannerType;
12
+ type: string;
13
13
  web: BannerPlatformInfo;
14
14
  app: BannerPlatformInfo;
15
15
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.6.22",
3
+ "version": "0.6.24",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -27,4 +27,4 @@
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }