@yolo-croket-dev/amqp-access 0.5.96 → 0.5.97

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.96",
3
+ "version": "0.5.97",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -2,7 +2,7 @@ import { CartEntity } from '@yolo-croket-dev/entity-v2/cart';
2
2
  import { StoreItem } from '@yolo-croket-dev/entity/src/store-item/store-item.entity';
3
3
  import { UserEntity } from '@yolo-croket-dev/entity-v2/user/user.entity';
4
4
  type SearchedUserForWritePay = Pick<UserEntity, '_id' | 'username'>;
5
- type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId'> & {
5
+ type SearchedStoreItemForWritePay = Pick<StoreItem, '_id' | 'selectionInfos' | 'itemPrice' | 'insuranceInfo' | 'mainCategory' | 'subCategory' | 'sellerId' | 'isLimitSale' | 'itemName' | 'itemPriceForBuyer' | 'sellingInfo' | 'adultItemInfo' | 'limitSaleInfo' | 'itemImg' | 'purchased' | 'storeId' | 'isSecret'> & {
6
6
  _seller: SearchedUserForWritePay;
7
7
  };
8
8
  export type CartForWritePay = Pick<CartEntity, '_id' | 'itemId' | 'storeId' | 'pOption' | 'pOptionInfo' | 'itemName_past' | 'itemPrice_past' | 'sellingInfo_past' | 'cartType' | 'ownerId' | 'isChecked' | 'requirement' | 'lastModifyDate' | 'directAddress_custom'> & {
@@ -30,6 +30,7 @@ export declare const SearchedStoreItemForWritePaySelect: {
30
30
  purchased: number;
31
31
  storeId: number;
32
32
  _seller: number;
33
+ isSecret: number;
33
34
  };
34
35
  export declare const CartForWritePaySelect: {
35
36
  _id: number;
@@ -23,6 +23,7 @@ exports.SearchedStoreItemForWritePaySelect = {
23
23
  purchased: 1,
24
24
  storeId: 1,
25
25
  _seller: 1,
26
+ isSecret: 1,
26
27
  };
27
28
  exports.CartForWritePaySelect = {
28
29
  _id: 1,
@@ -0,0 +1,3 @@
1
+ import { PushRedisDBPayload } from './push-redis-db.dto';
2
+ export declare class PullRedisDBPayload extends PushRedisDBPayload {
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PullRedisDBPayload = void 0;
4
+ const push_redis_db_dto_1 = require("./push-redis-db.dto");
5
+ class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
6
+ }
7
+ exports.PullRedisDBPayload = PullRedisDBPayload;
@@ -0,0 +1,4 @@
1
+ export declare class PushRedisDBPayload {
2
+ redisDBKey: string;
3
+ value: string;
4
+ }
@@ -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.PushRedisDBPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class PushRedisDBPayload {
15
+ }
16
+ exports.PushRedisDBPayload = PushRedisDBPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.MinLength)(1),
20
+ __metadata("design:type", String)
21
+ ], PushRedisDBPayload.prototype, "redisDBKey", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.MinLength)(1),
25
+ __metadata("design:type", String)
26
+ ], PushRedisDBPayload.prototype, "value", void 0);