@yolo-croket-dev/amqp-access 0.5.13-sj7 → 0.5.13-sj8

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.5.13-sj7",
3
+ "version": "0.5.13-sj8",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,7 +22,7 @@
22
22
  "@yolo-croket-dev/domain": "0.1.4",
23
23
  "@yolo-croket-dev/dto-v2": "^0.1.10",
24
24
  "@yolo-croket-dev/entity": "^0.2.17",
25
- "@yolo-croket-dev/entity-v2": "^0.2.9-sj8",
25
+ "@yolo-croket-dev/entity-v2": "^0.2.9-sj9",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -1,5 +1,5 @@
1
- import { StoreItemDetailBannerByStoreItemPlatformInfo as IStoreItemDetailBannerByStoreItemPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-detail-banner-by-store-item';
2
- declare class StoreItemDetailBannerByStoreItemPlatformInfo implements IStoreItemDetailBannerByStoreItemPlatformInfo {
1
+ import { BannerPlatformInfo as IBannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
2
+ declare class BannerPlatformInfo implements IBannerPlatformInfo {
3
3
  imgUrl: string;
4
4
  landingUrl: string;
5
5
  width: number;
@@ -8,8 +8,8 @@ declare class StoreItemDetailBannerByStoreItemPlatformInfo implements IStoreItem
8
8
  export declare class CreateStoreItemDetailBannerByStoreItemPayload {
9
9
  storeItemIds: string[];
10
10
  description?: string;
11
- web: StoreItemDetailBannerByStoreItemPlatformInfo;
12
- app: StoreItemDetailBannerByStoreItemPlatformInfo;
11
+ web: BannerPlatformInfo;
12
+ app: BannerPlatformInfo;
13
13
  displayStartDate?: string;
14
14
  displayEndDate?: string;
15
15
  }
@@ -11,26 +11,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.CreateStoreItemDetailBannerByStoreItemPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class StoreItemDetailBannerByStoreItemPlatformInfo {
14
+ class BannerPlatformInfo {
15
15
  }
16
16
  __decorate([
17
17
  (0, class_validator_1.IsString)(),
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  __metadata("design:type", String)
20
- ], StoreItemDetailBannerByStoreItemPlatformInfo.prototype, "imgUrl", void 0);
20
+ ], BannerPlatformInfo.prototype, "imgUrl", void 0);
21
21
  __decorate([
22
22
  (0, class_validator_1.IsString)(),
23
23
  (0, class_validator_1.IsNotEmpty)(),
24
24
  __metadata("design:type", String)
25
- ], StoreItemDetailBannerByStoreItemPlatformInfo.prototype, "landingUrl", void 0);
25
+ ], BannerPlatformInfo.prototype, "landingUrl", void 0);
26
26
  __decorate([
27
27
  (0, class_validator_1.IsNumber)(),
28
28
  __metadata("design:type", Number)
29
- ], StoreItemDetailBannerByStoreItemPlatformInfo.prototype, "width", void 0);
29
+ ], BannerPlatformInfo.prototype, "width", void 0);
30
30
  __decorate([
31
31
  (0, class_validator_1.IsNumber)(),
32
32
  __metadata("design:type", Number)
33
- ], StoreItemDetailBannerByStoreItemPlatformInfo.prototype, "height", void 0);
33
+ ], BannerPlatformInfo.prototype, "height", void 0);
34
34
  class CreateStoreItemDetailBannerByStoreItemPayload {
35
35
  }
36
36
  exports.CreateStoreItemDetailBannerByStoreItemPayload = CreateStoreItemDetailBannerByStoreItemPayload;
@@ -46,11 +46,11 @@ __decorate([
46
46
  ], CreateStoreItemDetailBannerByStoreItemPayload.prototype, "description", void 0);
47
47
  __decorate([
48
48
  (0, class_validator_1.IsNotEmpty)(),
49
- __metadata("design:type", StoreItemDetailBannerByStoreItemPlatformInfo)
49
+ __metadata("design:type", BannerPlatformInfo)
50
50
  ], CreateStoreItemDetailBannerByStoreItemPayload.prototype, "web", void 0);
51
51
  __decorate([
52
52
  (0, class_validator_1.IsNotEmpty)(),
53
- __metadata("design:type", StoreItemDetailBannerByStoreItemPlatformInfo)
53
+ __metadata("design:type", BannerPlatformInfo)
54
54
  ], CreateStoreItemDetailBannerByStoreItemPayload.prototype, "app", void 0);
55
55
  __decorate([
56
56
  (0, class_validator_1.IsDateString)(),
@@ -1 +1,2 @@
1
1
  export * from './command';
2
+ export * from './query';
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./command"), exports);
18
- // export * from './query';
18
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,10 @@
1
+ import { BannerPlatformInfo } from '@yolo-croket-dev/entity-v2/store-item-banner';
2
+ import { StoreItemDetailBannerByStoreItemEntity } from '@yolo-croket-dev/entity-v2/store-item-detail-banner-by-store-item';
3
+ export declare class GetStoreItemDetailBannerByStoreItemPayload {
4
+ itemId: string;
5
+ }
6
+ export declare class GetStoreItemDetailBannerByStoreItemResult implements Pick<StoreItemDetailBannerByStoreItemEntity, '_id' | 'web' | 'app'> {
7
+ _id: string;
8
+ web: BannerPlatformInfo;
9
+ app: BannerPlatformInfo;
10
+ }
@@ -0,0 +1,24 @@
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.GetStoreItemDetailBannerByStoreItemResult = exports.GetStoreItemDetailBannerByStoreItemPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetStoreItemDetailBannerByStoreItemPayload {
15
+ }
16
+ exports.GetStoreItemDetailBannerByStoreItemPayload = GetStoreItemDetailBannerByStoreItemPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], GetStoreItemDetailBannerByStoreItemPayload.prototype, "itemId", void 0);
22
+ class GetStoreItemDetailBannerByStoreItemResult {
23
+ }
24
+ exports.GetStoreItemDetailBannerByStoreItemResult = GetStoreItemDetailBannerByStoreItemResult;
@@ -0,0 +1 @@
1
+ export * from './get-store-item-detail-banner-by-store-item.dto';
@@ -1,3 +1,17 @@
1
1
  "use strict";
2
- // export * from './get-store-item-detail-banner-by-store-items-for-admin.dto';
3
- // export * from './get-brand-infos-by-brand-cohort-id.dto';
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-store-item-detail-banner-by-store-item.dto"), exports);
@@ -1,13 +0,0 @@
1
- "use strict";
2
- // import { IsNumber } from 'class-validator';
3
- // import { StoreItemDetailBannerByStoreItemEntity } from '@yolo-croket-dev/entity-v2';
4
- // export class GetStoreItemDetailBannerByStoreItemsForAdminPayload {
5
- // @IsNumber()
6
- // page!: number;
7
- // @IsNumber()
8
- // limit!: number;
9
- // }
10
- // export class GetStoreItemDetailBannerByStoreItemsForAdminResult {
11
- // storeItemDetailBannerByStoreItems!: StoreItemDetailBannerByStoreItemEntity[];
12
- // totalCount!: number;
13
- // }