@yolo-croket-dev/amqp-access 0.5.93-sj3 → 0.5.94
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 +1 -1
- package/store-item-server/dto/store-item-price-fluctuation/query/get-store-item-price-fluctuation-notification-triggers.dto.d.ts +4 -0
- package/store-item-server/dto/store-item-price-fluctuation/query/get-store-item-price-fluctuation-notification-triggers.dto.js +10 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +3 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +7 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +4 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.js +26 -0
package/package.json
CHANGED
|
@@ -7,6 +7,10 @@ export declare class GetStoreItemPriceFluctuationNotificationTriggersPayload {
|
|
|
7
7
|
limit: number;
|
|
8
8
|
/** 트리거 완료 여부 필터 (true면 완료된것만, false면 완료되지 않은 것만), undefined라면 전부 */
|
|
9
9
|
isTriggerCompleted?: boolean;
|
|
10
|
+
/** 상품 아이디 */
|
|
11
|
+
storeItemId?: string;
|
|
12
|
+
/** 시작일 */
|
|
13
|
+
startedAt?: string;
|
|
10
14
|
}
|
|
11
15
|
export interface GetStoreItemPriceFluctuationNotificationTriggersResult {
|
|
12
16
|
storeItemPriceFluctuationNotificationTriggers: StoreItemPriceFluctuationNotificationTrigger[];
|
|
@@ -29,3 +29,13 @@ __decorate([
|
|
|
29
29
|
(0, class_validator_1.IsBoolean)(),
|
|
30
30
|
__metadata("design:type", Boolean)
|
|
31
31
|
], GetStoreItemPriceFluctuationNotificationTriggersPayload.prototype, "isTriggerCompleted", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GetStoreItemPriceFluctuationNotificationTriggersPayload.prototype, "storeItemId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsDateString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], GetStoreItemPriceFluctuationNotificationTriggersPayload.prototype, "startedAt", void 0);
|
|
@@ -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,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);
|