@yolo-croket-dev/amqp-access 0.4.27-slowquery.1 → 0.4.27-slowquery.2

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.27-slowquery.1",
3
+ "version": "0.4.27-slowquery.2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -8,8 +8,8 @@ export declare class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
8
8
  limit: number;
9
9
  /** 가격 변동 금액 절대값 비교기준으로 $gte 연산 */
10
10
  basePriceFluctuationAbs?: number;
11
- /** 마지막 아이디 */
12
- lastId?: string;
11
+ /** 넘길 개수 */
12
+ skip?: number;
13
13
  }
14
14
  /** 지정된 시간 사이에서의 첫 수정이 있던 값과 마지막 수정이 있던 값의 차이 */
15
15
  export interface StoreItemPriceFluctuationCompareBetweenTimesItem {
@@ -17,11 +17,11 @@ class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
17
17
  }
18
18
  exports.GetStoreItemPriceFluctuationCompareBetweenTimesPayload = GetStoreItemPriceFluctuationCompareBetweenTimesPayload;
19
19
  __decorate([
20
- (0, class_validator_1.IsISO8601)(),
20
+ (0, class_validator_1.IsDateString)(),
21
21
  __metadata("design:type", String)
22
22
  ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "startedAt", void 0);
23
23
  __decorate([
24
- (0, class_validator_1.IsISO8601)(),
24
+ (0, class_validator_1.IsDateString)(),
25
25
  __metadata("design:type", String)
26
26
  ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "endedAt", void 0);
27
27
  __decorate([
@@ -37,6 +37,6 @@ __decorate([
37
37
  ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "basePriceFluctuationAbs", void 0);
38
38
  __decorate([
39
39
  (0, class_validator_1.IsOptional)(),
40
- (0, class_validator_1.IsMongoId)(),
41
- __metadata("design:type", String)
42
- ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "lastId", void 0);
40
+ (0, class_validator_1.IsNumber)(),
41
+ __metadata("design:type", Number)
42
+ ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "skip", void 0);