@yolo-croket-dev/amqp-access 0.6.48-beta.12 → 0.6.48-beta.14

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.6.48-beta.12",
3
+ "version": "0.6.48-beta.14",
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
+ }
@@ -1,7 +1,8 @@
1
1
  export declare class CreateStoreItemGroupPayload {
2
2
  itemGroupName: string;
3
3
  itemIds?: string[];
4
- itemGroupBrand?: string;
4
+ itemGroupBrand: string;
5
+ mainCategory: string;
5
6
  itemGroupSkus?: string[];
6
7
  matchKeywords?: string[];
7
8
  memo?: string;
@@ -26,9 +26,12 @@ __decorate([
26
26
  ], CreateStoreItemGroupPayload.prototype, "itemIds", void 0);
27
27
  __decorate([
28
28
  (0, class_validator_1.IsString)(),
29
- (0, class_validator_1.IsOptional)(),
30
29
  __metadata("design:type", String)
31
30
  ], CreateStoreItemGroupPayload.prototype, "itemGroupBrand", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ __metadata("design:type", String)
34
+ ], CreateStoreItemGroupPayload.prototype, "mainCategory", void 0);
32
35
  __decorate([
33
36
  (0, class_validator_1.IsArray)(),
34
37
  (0, class_validator_1.IsString)({ each: true }),
@@ -0,0 +1,5 @@
1
+ export declare class EditStoreItemGroupMainCategoryPayload {
2
+ storeItemGroupId: string;
3
+ /** 메인카테고리 */
4
+ mainCategory: string;
5
+ }
@@ -0,0 +1,26 @@
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.EditStoreItemGroupMainCategoryPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditStoreItemGroupMainCategoryPayload {
15
+ }
16
+ exports.EditStoreItemGroupMainCategoryPayload = EditStoreItemGroupMainCategoryPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], EditStoreItemGroupMainCategoryPayload.prototype, "storeItemGroupId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], EditStoreItemGroupMainCategoryPayload.prototype, "mainCategory", void 0);
@@ -35,7 +35,8 @@ export interface StoreItemGroupAdminDetail {
35
35
  memo?: string;
36
36
  itemIds: string[];
37
37
  items: StoreItemGroupAdminDetailItem[];
38
- itemGroupBrand?: string;
38
+ itemGroupBrand: string;
39
+ mainCategory: string;
39
40
  itemGroupSkus?: string[];
40
41
  matchKeywords?: string[];
41
42
  lastModifyDate: Date;