@yolo-croket-dev/amqp-access 0.4.84 → 0.4.86
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.
|
@@ -12,4 +12,5 @@ export declare class AmqpImageService {
|
|
|
12
12
|
getImageSizesByCloudflare(payload: GetImageSizesByCloudflarePayload, param: AbstractParam): Promise<GetImageSizesByCloudflareResult>;
|
|
13
13
|
copyImg(payload: CopyImgPayload, param: AbstractParam): Promise<CopyImgResult>;
|
|
14
14
|
resizeImg(payload: ResizeImgPayload, param: AbstractParam): Promise<void>;
|
|
15
|
+
resizeImgPublish(payload: ResizeImgPayload, param: AbstractParam): Promise<boolean>;
|
|
15
16
|
}
|
|
@@ -44,6 +44,9 @@ let AmqpImageService = class AmqpImageService {
|
|
|
44
44
|
async resizeImg(payload, param) {
|
|
45
45
|
return this.amqpManager.call('이미지 리사이즈', 'image.resize', payload, param, { isErrorThrowing: true });
|
|
46
46
|
}
|
|
47
|
+
async resizeImgPublish(payload, param) {
|
|
48
|
+
return this.amqpManager.onlyPublish('이미지 리사이즈', 'image.resize', payload, param);
|
|
49
|
+
}
|
|
47
50
|
};
|
|
48
51
|
exports.AmqpImageService = AmqpImageService;
|
|
49
52
|
exports.AmqpImageService = AmqpImageService = __decorate([
|
package/package.json
CHANGED