@yolo-croket-dev/amqp-access 0.4.27-slowquery.1 → 0.4.27-slowquery.3
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,3 +1,4 @@
|
|
|
1
|
+
import { StoreItemPriceFluctuationLog } from '@yolo-croket-dev/entity-v2/store-item-price-fluctuation-log';
|
|
1
2
|
/** 시작일과 종료일 사이에서의 상품 가격 변동 가져오기 */
|
|
2
3
|
export declare class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
|
|
3
4
|
/** 시작일 */
|
|
@@ -6,29 +7,17 @@ export declare class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
|
|
|
6
7
|
endedAt: string;
|
|
7
8
|
/** 가져올 개수 */
|
|
8
9
|
limit: number;
|
|
9
|
-
/**
|
|
10
|
-
|
|
11
|
-
/** 마지막 아이디 */
|
|
12
|
-
lastId?: string;
|
|
10
|
+
/** 넘길 개수 */
|
|
11
|
+
skip?: number;
|
|
13
12
|
}
|
|
14
13
|
/** 지정된 시간 사이에서의 첫 수정이 있던 값과 마지막 수정이 있던 값의 차이 */
|
|
15
14
|
export interface StoreItemPriceFluctuationCompareBetweenTimesItem {
|
|
16
15
|
/** 상품 아이디 */
|
|
17
16
|
storeItemId: string;
|
|
18
|
-
/**
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
|
|
22
|
-
/** 가격 변동 기준 금액 */
|
|
23
|
-
basePrice: number;
|
|
24
|
-
/** 가격 변동 금액 절대값 */
|
|
25
|
-
basePriceFluctuationAbs: number;
|
|
26
|
-
/** 가격 변동 금액 */
|
|
27
|
-
basePriceFluctuation: number;
|
|
28
|
-
/** 가격 변동 이전 상품 최대할인 쿠폰가 */
|
|
29
|
-
beforeCalulatedItemPrice?: number;
|
|
30
|
-
/** 가격 변동 이전 상품 가격 */
|
|
31
|
-
beforeItemPriceForBuyer?: number;
|
|
17
|
+
/** 가장 첫번째 수정 로그 */
|
|
18
|
+
firstLog: StoreItemPriceFluctuationLog;
|
|
19
|
+
/** 가장 마지막 수정 로그 */
|
|
20
|
+
lastLog: StoreItemPriceFluctuationLog;
|
|
32
21
|
}
|
|
33
22
|
export interface GetStoreItemPriceFluctuationCompareBetweenTimesResult {
|
|
34
23
|
storeItemFluctuations: StoreItemPriceFluctuationCompareBetweenTimesItem[];
|
|
@@ -17,11 +17,11 @@ class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
|
|
|
17
17
|
}
|
|
18
18
|
exports.GetStoreItemPriceFluctuationCompareBetweenTimesPayload = GetStoreItemPriceFluctuationCompareBetweenTimesPayload;
|
|
19
19
|
__decorate([
|
|
20
|
-
(0, class_validator_1.
|
|
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.
|
|
24
|
+
(0, class_validator_1.IsDateString)(),
|
|
25
25
|
__metadata("design:type", String)
|
|
26
26
|
], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "endedAt", void 0);
|
|
27
27
|
__decorate([
|
|
@@ -32,11 +32,5 @@ __decorate([
|
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
(0, class_validator_1.IsNumber)(),
|
|
35
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
36
35
|
__metadata("design:type", Number)
|
|
37
|
-
], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
(0, class_validator_1.IsMongoId)(),
|
|
41
|
-
__metadata("design:type", String)
|
|
42
|
-
], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "lastId", void 0);
|
|
36
|
+
], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "skip", void 0);
|