@yolo-croket-dev/amqp-access 0.6.97-jun.0 → 0.6.98-hj-1
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/index.d.ts +1 -0
- package/index.js +1 -0
- package/manage-service/dto/attribution-history/command/create-attribution-history.dto.d.ts +8 -0
- package/manage-service/dto/attribution-history/command/create-attribution-history.dto.js +39 -0
- package/manage-service/dto/attribution-history/command/index.d.ts +1 -0
- package/manage-service/dto/attribution-history/command/index.js +17 -0
- package/manage-service/dto/attribution-history/index.d.ts +1 -0
- package/manage-service/dto/attribution-history/index.js +17 -0
- package/manage-service/dto/attribution-touch/command/create-attribution-touch-external.dto.d.ts +9 -0
- package/manage-service/dto/attribution-touch/command/create-attribution-touch-external.dto.js +42 -0
- package/manage-service/dto/attribution-touch/command/create-attribution-touch-internal.dto.d.ts +8 -0
- package/manage-service/dto/attribution-touch/command/create-attribution-touch-internal.dto.js +38 -0
- package/manage-service/dto/attribution-touch/command/delete-attribution-touchs-for-create-history.dto.d.ts +3 -0
- package/manage-service/dto/attribution-touch/command/delete-attribution-touchs-for-create-history.dto.js +22 -0
- package/manage-service/dto/attribution-touch/command/index.d.ts +3 -0
- package/manage-service/dto/attribution-touch/command/index.js +19 -0
- package/manage-service/dto/attribution-touch/query/get-attribution-id.dto.d.ts +5 -0
- package/manage-service/dto/attribution-touch/query/get-attribution-id.dto.js +22 -0
- package/manage-service/dto/attribution-touch/query/get-attributions-touchs-for-create-history.dto.d.ts +7 -0
- package/manage-service/dto/attribution-touch/query/get-attributions-touchs-for-create-history.dto.js +33 -0
- package/manage-service/dto/attribution-touch/query/index.d.ts +2 -0
- package/manage-service/dto/attribution-touch/query/index.js +18 -0
- package/manage-service/dto/index.d.ts +2 -0
- package/manage-service/dto/index.js +2 -0
- package/manage-service/services/amqp-attribution-history.service.d.ts +9 -0
- package/manage-service/services/amqp-attribution-history.service.js +33 -0
- package/manage-service/services/amqp-attribution-touch.service.d.ts +14 -0
- package/manage-service/services/amqp-attribution-touch.service.js +45 -0
- package/manage-service/services/index.d.ts +2 -0
- package/manage-service/services/index.js +2 -0
- package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.d.ts +3 -0
- package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.js +11 -0
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.d.ts +3 -0
- package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.js +11 -0
- package/package.json +2 -2
- package/selection-server/amqp.selection-server.module.d.ts +2 -0
- package/selection-server/amqp.selection-server.module.js +43 -0
- package/selection-server/amqp.selection-server.provider.d.ts +4 -0
- package/selection-server/amqp.selection-server.provider.js +23 -0
- package/selection-server/dto/selection-item-connect/index.d.ts +2 -0
- package/selection-server/dto/selection-item-connect/index.js +18 -0
- package/selection-server/index.d.ts +3 -0
- package/selection-server/index.js +19 -0
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-connect.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-connect.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-data.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-data.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-first-enterance-guide.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-guide.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request-like.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-vote.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-voted-user.service.js +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame.service.d.ts +1 -1
- package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame.service.js +1 -1
- package/store-item-server/amqp.store-item-server.module.js +0 -4
- package/store-item-server/services/selection.modules/amqp.selection.module.d.ts +0 -2
- package/store-item-server/services/selection.modules/amqp.selection.module.js +0 -42
- /package/{store-item-server/dto/selection.modules/selection-item-connect → manage-service/dto/attribution-touch}/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules/selection-item-connect → manage-service/dto/attribution-touch}/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/get-selection-frame-id-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/query/search-selection-frame-ids-by-selection-frame-data-ids.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-all-selection-frame-datas-by-target-selection-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame-data/query/search-selection-frame-large-data-by-target-selection-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/create-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/delete-selection-item-connect-by-selection-frame-data-id.dto.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/command/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/index.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/index.js +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.d.ts +0 -0
- /package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-item-connect/query/search-selection-item-connect-ids-by-item-id-and-frame-ids.dto.js +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-first-enterance-guide.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-guide.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request-like.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-review-request.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-vote.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/amqp.selection-frame-voted-user.service.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/index.d.ts +0 -0
- /package/{store-item-server/services/selection.modules → selection-server/services}/index.js +0 -0
package/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './order-server';
|
|
|
3
3
|
export * from './notification-service';
|
|
4
4
|
export * from './user-service';
|
|
5
5
|
export * from './elastic-service';
|
|
6
|
+
export * from './selection-server';
|
|
6
7
|
export * from './analytics-service';
|
|
7
8
|
export * from './coupon-server';
|
|
8
9
|
export * from './manage-service';
|
package/index.js
CHANGED
|
@@ -19,6 +19,7 @@ __exportStar(require("./order-server"), exports);
|
|
|
19
19
|
__exportStar(require("./notification-service"), exports);
|
|
20
20
|
__exportStar(require("./user-service"), exports);
|
|
21
21
|
__exportStar(require("./elastic-service"), exports);
|
|
22
|
+
__exportStar(require("./selection-server"), exports);
|
|
22
23
|
__exportStar(require("./analytics-service"), exports);
|
|
23
24
|
__exportStar(require("./coupon-server"), exports);
|
|
24
25
|
__exportStar(require("./manage-service"), exports);
|
|
@@ -0,0 +1,39 @@
|
|
|
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.CreateAttributionHistoryPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
+
class CreateAttributionHistoryPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateAttributionHistoryPayload = CreateAttributionHistoryPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
20
|
+
(0, class_validator_1.IsArray)(),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], CreateAttributionHistoryPayload.prototype, "pInfoIds", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsMongoId)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateAttributionHistoryPayload.prototype, "userId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateAttributionHistoryPayload.prototype, "attributionId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], CreateAttributionHistoryPayload.prototype, "ip", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateAttributionHistoryPayload.prototype, "platform", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './create-attribution-history.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-attribution-history.dto"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './command';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./command"), exports);
|
package/manage-service/dto/attribution-touch/command/create-attribution-touch-external.dto.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AttributionPlatformEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class CreateAttributionTouchExternalPayload {
|
|
3
|
+
attributionId: string;
|
|
4
|
+
url: string;
|
|
5
|
+
referrer?: string;
|
|
6
|
+
landingUrl?: string;
|
|
7
|
+
/** 서버에서 넣을 값 */
|
|
8
|
+
platform?: AttributionPlatformEnum;
|
|
9
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.CreateAttributionTouchExternalPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
+
class CreateAttributionTouchExternalPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateAttributionTouchExternalPayload = CreateAttributionTouchExternalPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateAttributionTouchExternalPayload.prototype, "attributionId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateAttributionTouchExternalPayload.prototype, "url", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], CreateAttributionTouchExternalPayload.prototype, "referrer", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CreateAttributionTouchExternalPayload.prototype, "landingUrl", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], CreateAttributionTouchExternalPayload.prototype, "platform", void 0);
|
|
@@ -0,0 +1,38 @@
|
|
|
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.CreateAttributionTouchInternalPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
+
class CreateAttributionTouchInternalPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateAttributionTouchInternalPayload = CreateAttributionTouchInternalPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateAttributionTouchInternalPayload.prototype, "attributionId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreateAttributionTouchInternalPayload.prototype, "params", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateAttributionTouchInternalPayload.prototype, "event", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateAttributionTouchInternalPayload.prototype, "platform", void 0);
|
|
@@ -0,0 +1,22 @@
|
|
|
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.DeleteAttributionTouchsForCreateHistoryPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DeleteAttributionTouchsForCreateHistoryPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.DeleteAttributionTouchsForCreateHistoryPayload = DeleteAttributionTouchsForCreateHistoryPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsArray)(),
|
|
20
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
21
|
+
__metadata("design:type", Array)
|
|
22
|
+
], DeleteAttributionTouchsForCreateHistoryPayload.prototype, "attributionTouchIds", void 0);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./create-attribution-touch-external.dto"), exports);
|
|
18
|
+
__exportStar(require("./create-attribution-touch-internal.dto"), exports);
|
|
19
|
+
__exportStar(require("./delete-attribution-touchs-for-create-history.dto"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
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.GetAttributionIdPayload = void 0;
|
|
13
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class GetAttributionIdPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.GetAttributionIdPayload = GetAttributionIdPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GetAttributionIdPayload.prototype, "platform", void 0);
|
package/manage-service/dto/attribution-touch/query/get-attributions-touchs-for-create-history.dto.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
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.GetAttributionTouchsForCreateHistoryPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
+
class GetAttributionTouchsForCreateHistoryPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.GetAttributionTouchsForCreateHistoryPayload = GetAttributionTouchsForCreateHistoryPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], GetAttributionTouchsForCreateHistoryPayload.prototype, "attributionId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], GetAttributionTouchsForCreateHistoryPayload.prototype, "userId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], GetAttributionTouchsForCreateHistoryPayload.prototype, "ip", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], GetAttributionTouchsForCreateHistoryPayload.prototype, "platform", void 0);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-attribution-id.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-attributions-touchs-for-create-history.dto"), exports);
|
|
@@ -18,3 +18,5 @@ __exportStar(require("./link-tab"), exports);
|
|
|
18
18
|
__exportStar(require("./manage-user"), exports);
|
|
19
19
|
__exportStar(require("./exchange-rate"), exports);
|
|
20
20
|
__exportStar(require("./event-banner"), exports);
|
|
21
|
+
__exportStar(require("./attribution-touch"), exports);
|
|
22
|
+
__exportStar(require("./attribution-history"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { CreateAttributionHistoryPayload } from '../dto';
|
|
4
|
+
export declare class AmqpAttributionHistoryService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
createAttributionHistory(payload: CreateAttributionHistoryPayload, param: AbstractParam): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpAttributionHistoryService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
let AmqpAttributionHistoryService = class AmqpAttributionHistoryService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async createAttributionHistory(payload, param) {
|
|
25
|
+
return this.amqpManager.call('어트리뷰션 히스토리 생성', 'attribution-history.create', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.AmqpAttributionHistoryService = AmqpAttributionHistoryService;
|
|
29
|
+
exports.AmqpAttributionHistoryService = AmqpAttributionHistoryService = __decorate([
|
|
30
|
+
(0, common_1.Injectable)(),
|
|
31
|
+
__param(0, (0, common_1.Inject)('MANAGE_SERVICE_PROVIDER')),
|
|
32
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
+
], AmqpAttributionHistoryService);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { AttributionTouchEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
+
import { CreateAttributionTouchExternalPayload, CreateAttributionTouchInternalPayload, DeleteAttributionTouchsForCreateHistoryPayload, GetAttributionIdPayload, GetAttributionTouchsForCreateHistoryPayload } from '../dto';
|
|
5
|
+
export declare class AmqpAttributionTouchService {
|
|
6
|
+
private readonly client;
|
|
7
|
+
private readonly amqpManager;
|
|
8
|
+
constructor(client: ClientProxy);
|
|
9
|
+
createAttributionTouchExternal(payload: CreateAttributionTouchExternalPayload, param: AbstractParam): Promise<void>;
|
|
10
|
+
createAttributionTouchInternal(payload: CreateAttributionTouchInternalPayload, param: AbstractParam): Promise<void>;
|
|
11
|
+
deleteAttributionTouchHistories(payload: DeleteAttributionTouchsForCreateHistoryPayload, param: AbstractParam): Promise<void>;
|
|
12
|
+
getAttributionId(payload: GetAttributionIdPayload, param: AbstractParam): Promise<string>;
|
|
13
|
+
getAttributionTouchsForCreateHistory(payload: GetAttributionTouchsForCreateHistoryPayload, param: AbstractParam): Promise<AttributionTouchEntity[]>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpAttributionTouchService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
let AmqpAttributionTouchService = class AmqpAttributionTouchService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async createAttributionTouchExternal(payload, param) {
|
|
25
|
+
return this.amqpManager.call('어트리뷰션 터치 외부 등록', 'attribution-touch.create.external', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async createAttributionTouchInternal(payload, param) {
|
|
28
|
+
return this.amqpManager.call('어트리뷰션 터치 내부 등록', 'attribution-touch.create.internal', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
30
|
+
async deleteAttributionTouchHistories(payload, param) {
|
|
31
|
+
return this.amqpManager.call('어트리뷰션 터치 삭제', 'attribution-touch.delete.for-create-history', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
33
|
+
async getAttributionId(payload, param) {
|
|
34
|
+
return this.amqpManager.call('어트리뷰션 아이디 조회', 'attribution-touch.get.attribution-id', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async getAttributionTouchsForCreateHistory(payload, param) {
|
|
37
|
+
return this.amqpManager.call('어트리뷰션 터치 생성 히스토리 조회', 'attribution-touch.get.for-create-history', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
exports.AmqpAttributionTouchService = AmqpAttributionTouchService;
|
|
41
|
+
exports.AmqpAttributionTouchService = AmqpAttributionTouchService = __decorate([
|
|
42
|
+
(0, common_1.Injectable)(),
|
|
43
|
+
__param(0, (0, common_1.Inject)('MANAGE_SERVICE_PROVIDER')),
|
|
44
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
45
|
+
], AmqpAttributionTouchService);
|
|
@@ -4,3 +4,5 @@ export * from './amqp-exchange-rate.service';
|
|
|
4
4
|
export * from './amqp-public-holiday.service';
|
|
5
5
|
export * from './event-banner.service';
|
|
6
6
|
export * from './amqp.file.service';
|
|
7
|
+
export * from './amqp-attribution-touch.service';
|
|
8
|
+
export * from './amqp-attribution-history.service';
|
|
@@ -20,3 +20,5 @@ __exportStar(require("./amqp-exchange-rate.service"), exports);
|
|
|
20
20
|
__exportStar(require("./amqp-public-holiday.service"), exports);
|
|
21
21
|
__exportStar(require("./event-banner.service"), exports);
|
|
22
22
|
__exportStar(require("./amqp.file.service"), exports);
|
|
23
|
+
__exportStar(require("./amqp-attribution-touch.service"), exports);
|
|
24
|
+
__exportStar(require("./amqp-attribution-history.service"), exports);
|
package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AttributionPlatformEnum } from '@yolo-croket-dev/entity-v2';
|
|
1
2
|
export declare enum WriteCartStoreItemPayTryLogCartTypeEnum {
|
|
2
3
|
shipping = "shipping",
|
|
3
4
|
direct = "direct"
|
|
@@ -7,6 +8,8 @@ export declare class WriteCartStoreItemPayTryLogInitPayload {
|
|
|
7
8
|
cartType: WriteCartStoreItemPayTryLogCartTypeEnum;
|
|
8
9
|
cartIds: string[];
|
|
9
10
|
ip?: string;
|
|
11
|
+
attributionId?: string;
|
|
12
|
+
attributionPlatform?: AttributionPlatformEnum;
|
|
10
13
|
}
|
|
11
14
|
export declare class WriteCartStoreItemPayTryLogInitResult {
|
|
12
15
|
payTryLogId: string;
|
package/order-server/dto/pay-try-log/command/write-cart-store-item-pay-try-log-init.service.dto.js
CHANGED
|
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.WriteCartStoreItemPayTryLogInitResult = exports.WriteCartStoreItemPayTryLogInitPayload = exports.WriteCartStoreItemPayTryLogCartTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
14
15
|
var WriteCartStoreItemPayTryLogCartTypeEnum;
|
|
15
16
|
(function (WriteCartStoreItemPayTryLogCartTypeEnum) {
|
|
16
17
|
WriteCartStoreItemPayTryLogCartTypeEnum["shipping"] = "shipping";
|
|
@@ -36,6 +37,16 @@ __decorate([
|
|
|
36
37
|
(0, class_validator_1.IsOptional)(),
|
|
37
38
|
__metadata("design:type", String)
|
|
38
39
|
], WriteCartStoreItemPayTryLogInitPayload.prototype, "ip", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], WriteCartStoreItemPayTryLogInitPayload.prototype, "attributionId", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], WriteCartStoreItemPayTryLogInitPayload.prototype, "attributionPlatform", void 0);
|
|
39
50
|
class WriteCartStoreItemPayTryLogInitResult {
|
|
40
51
|
}
|
|
41
52
|
exports.WriteCartStoreItemPayTryLogInitResult = WriteCartStoreItemPayTryLogInitResult;
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AttributionPlatformEnum } from '@yolo-croket-dev/entity-v2';
|
|
1
2
|
export declare enum WriteNormalStoreItemPayTryLogDTypeEnum {
|
|
2
3
|
shipping = "shipping",
|
|
3
4
|
direct = "direct"
|
|
@@ -16,6 +17,8 @@ export declare class WriteNormalStoreItemPayTryLogInitPayload {
|
|
|
16
17
|
DType: WriteNormalStoreItemPayTryLogDTypeEnum;
|
|
17
18
|
pOptionInfo: WriteNormalStoreItemPayTryLogPOptionInfo;
|
|
18
19
|
ip?: string;
|
|
20
|
+
attributionId?: string;
|
|
21
|
+
attributionPlatform?: AttributionPlatformEnum;
|
|
19
22
|
}
|
|
20
23
|
export declare class WriteNormalStoreItemPayTryLogInitResult {
|
|
21
24
|
payTryLogId: string;
|
package/order-server/dto/pay-try-log/command/write-normal-store-item-pay-try-log-init.dto.js
CHANGED
|
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.WriteNormalStoreItemPayTryLogInitResult = exports.WriteNormalStoreItemPayTryLogInitPayload = exports.WriteNormalStoreItemPayTryLogPOptionInfo = exports.WriteNormalStoreItemPayTryLogPOptionInfoChild = exports.WriteNormalStoreItemPayTryLogDTypeEnum = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
16
|
var WriteNormalStoreItemPayTryLogDTypeEnum;
|
|
16
17
|
(function (WriteNormalStoreItemPayTryLogDTypeEnum) {
|
|
17
18
|
WriteNormalStoreItemPayTryLogDTypeEnum["shipping"] = "shipping";
|
|
@@ -70,6 +71,16 @@ __decorate([
|
|
|
70
71
|
(0, class_validator_1.IsOptional)(),
|
|
71
72
|
__metadata("design:type", String)
|
|
72
73
|
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "ip", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.IsString)(),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "attributionId", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.AttributionPlatformEnum),
|
|
81
|
+
(0, class_validator_1.IsOptional)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], WriteNormalStoreItemPayTryLogInitPayload.prototype, "attributionPlatform", void 0);
|
|
73
84
|
class WriteNormalStoreItemPayTryLogInitResult {
|
|
74
85
|
}
|
|
75
86
|
exports.WriteNormalStoreItemPayTryLogInitResult = WriteNormalStoreItemPayTryLogInitResult;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.98-hj-1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/domain": "^0.2.27",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "0.2.11",
|
|
24
24
|
"@yolo-croket-dev/entity": "0.2.58",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "0.2.97-hj-1",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.AmqpSelectionServerModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const amqp_selection_server_provider_1 = require("./amqp.selection-server.provider");
|
|
12
|
+
const services_1 = require("./services");
|
|
13
|
+
let AmqpSelectionServerModule = class AmqpSelectionServerModule {
|
|
14
|
+
};
|
|
15
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule;
|
|
16
|
+
exports.AmqpSelectionServerModule = AmqpSelectionServerModule = __decorate([
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
providers: [
|
|
19
|
+
amqp_selection_server_provider_1.SelectionServerProvider,
|
|
20
|
+
services_1.AmqpSelectionFrameConnectService,
|
|
21
|
+
services_1.AmqpSelectionFrameDataService,
|
|
22
|
+
services_1.AmqpSelectionFrameGuideService,
|
|
23
|
+
services_1.AmqpSelectionFrameService,
|
|
24
|
+
services_1.AmqpSelectionFrameVoteService,
|
|
25
|
+
services_1.AmqpSelectionFrameVotedUserService,
|
|
26
|
+
services_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
27
|
+
services_1.AmqpSelectionFrameReviewRequestService,
|
|
28
|
+
services_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
29
|
+
],
|
|
30
|
+
exports: [
|
|
31
|
+
amqp_selection_server_provider_1.SelectionServerProvider,
|
|
32
|
+
services_1.AmqpSelectionFrameConnectService,
|
|
33
|
+
services_1.AmqpSelectionFrameDataService,
|
|
34
|
+
services_1.AmqpSelectionFrameGuideService,
|
|
35
|
+
services_1.AmqpSelectionFrameService,
|
|
36
|
+
services_1.AmqpSelectionFrameVoteService,
|
|
37
|
+
services_1.AmqpSelectionFrameVotedUserService,
|
|
38
|
+
services_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
39
|
+
services_1.AmqpSelectionFrameReviewRequestService,
|
|
40
|
+
services_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
41
|
+
],
|
|
42
|
+
})
|
|
43
|
+
], AmqpSelectionServerModule);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SelectionServerProvider = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
6
|
+
const provider_inject_util_1 = require("../provider-inject.util");
|
|
7
|
+
const { AMQP_URL } = process.env;
|
|
8
|
+
exports.SelectionServerProvider = {
|
|
9
|
+
provide: 'SELECTION_SERVER_PROVIDER',
|
|
10
|
+
useFactory: () => microservices_1.ClientProxyFactory.create({
|
|
11
|
+
transport: microservices_1.Transport.RMQ,
|
|
12
|
+
options: {
|
|
13
|
+
urls: [AMQP_URL],
|
|
14
|
+
queue: provider_inject_util_1.DEFINED_QUEUE.SELECTION_SERVER,
|
|
15
|
+
noAck: true,
|
|
16
|
+
queueOptions: {
|
|
17
|
+
durable: true,
|
|
18
|
+
noAssert: true,
|
|
19
|
+
},
|
|
20
|
+
socketOptions: { heartbeatIntervalInSeconds: 60 },
|
|
21
|
+
},
|
|
22
|
+
}),
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./command"), exports);
|
|
18
|
+
__exportStar(require("./query"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./amqp.selection-server.module"), exports);
|
|
18
|
+
__exportStar(require("./amqp.selection-server.provider"), exports);
|
|
19
|
+
__exportStar(require("./services"), exports);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { CreateSelectionItemConnectBulkPayload, CreateSelectionItemConnectBulkResult, DeleteSelectionItemConnectBulkPayload, DeleteSelectionItemConnectsBySelectionFrameIdPayload, SearchSelectionItemConnectForAdminsPayload, SearchSelectionItemConnectForAdminsResult, SearchSelectionItemConnectsByStoreItemIdsPayload, SearchSelectionItemConnectsByStoreItemIdsResult, UpdateSelectionItemConnectPayload } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
|
-
import { SearchSelectionItemConnectIdsByItemIdAndFrameIdsPayload, SearchSelectionItemConnectIdsByItemIdAndFrameIdsResult } from '
|
|
5
|
+
import { SearchSelectionItemConnectIdsByItemIdAndFrameIdsPayload, SearchSelectionItemConnectIdsByItemIdAndFrameIdsResult } from '../dto';
|
|
6
6
|
export declare class AmqpSelectionFrameConnectService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -49,6 +49,6 @@ let AmqpSelectionFrameConnectService = class AmqpSelectionFrameConnectService {
|
|
|
49
49
|
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService;
|
|
50
50
|
exports.AmqpSelectionFrameConnectService = AmqpSelectionFrameConnectService = __decorate([
|
|
51
51
|
(0, common_1.Injectable)(),
|
|
52
|
-
__param(0, (0, common_1.Inject)('
|
|
52
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
53
53
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
54
54
|
], AmqpSelectionFrameConnectService);
|
|
@@ -4,7 +4,7 @@ import { AbstractParam } from '@yolo-croket-dev/core';
|
|
|
4
4
|
import { CreateSelectionFrameDataPayload, CreateSelectionFrameDataResult, SearchSelectionFrameChildDatasPayload, SearchSelectionFrameChildDatasResult, SearchSelectionFrameLargeDatasResult, UpdateSelectionFrameDataPayload, UpdateSelectionFrameDataResult, UpdateSelectionFrameChildDataSortPayload, GetSelectionFrameDataForEsPayload, GetSelectionFrameDataForEsResult, SearchSelectionFrameDatasForSortEditResult, SearchSelectionFrameDatasForSortEditPayload, UpdateSelectionFrameLargeDataSortPayload, GetSelectionFrameDataIdsByIdsPayload, GetSelectionFrameDataIdsByIdsResult, SearchSelectionFrameLargeDatasByStoreItemIdPayload, SearchSelectionFrameLargeDatasByStoreItemIdResult, GetSelectionFrameDatasForEsPayload, GetSelectionFrameDatasForEsResult, SearchSelectionFrameChildIsPickDatasPayload, SearchSelectionFrameChildIsPickDatasResult, GetSelectionFrameDataByIdPayload } from '@yolo-croket-dev/dto-v2/user-service/selection-frame-data';
|
|
5
5
|
import { SelectionFrameDataEntity } from '@yolo-croket-dev/entity-v2';
|
|
6
6
|
import { GetSelectionFrameAllDatasForEsPayload, GetSelectionFrameAllDatasForEsResult } from '@yolo-croket-dev/dto-v2/selection-server';
|
|
7
|
-
import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '
|
|
7
|
+
import { SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload, SearchAllSelectionFrameDatasByTargetSelectionDataIdResult, SearchSelectionFrameLargeDataByTargetSelectionDataIdPayload, SearchSelectionFrameLargeDataByTargetSelectionDataIdResult } from '../dto';
|
|
8
8
|
export declare class AmqpSelectionFrameDataService {
|
|
9
9
|
private readonly client;
|
|
10
10
|
private readonly amqpManager;
|
|
@@ -75,6 +75,6 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
|
|
|
75
75
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService;
|
|
76
76
|
exports.AmqpSelectionFrameDataService = AmqpSelectionFrameDataService = __decorate([
|
|
77
77
|
(0, common_1.Injectable)(),
|
|
78
|
-
__param(0, (0, common_1.Inject)('
|
|
78
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
79
79
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
80
80
|
], AmqpSelectionFrameDataService);
|
|
@@ -34,6 +34,6 @@ let AmqpSelectionFrameFirstEnteranceGuideService = class AmqpSelectionFrameFirst
|
|
|
34
34
|
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService;
|
|
35
35
|
exports.AmqpSelectionFrameFirstEnteranceGuideService = AmqpSelectionFrameFirstEnteranceGuideService = __decorate([
|
|
36
36
|
(0, common_1.Injectable)(),
|
|
37
|
-
__param(0, (0, common_1.Inject)('
|
|
37
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
38
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
39
39
|
], AmqpSelectionFrameFirstEnteranceGuideService);
|
|
@@ -40,6 +40,6 @@ let AmqpSelectionFrameGuideService = class AmqpSelectionFrameGuideService {
|
|
|
40
40
|
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService;
|
|
41
41
|
exports.AmqpSelectionFrameGuideService = AmqpSelectionFrameGuideService = __decorate([
|
|
42
42
|
(0, common_1.Injectable)(),
|
|
43
|
-
__param(0, (0, common_1.Inject)('
|
|
43
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
44
44
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
45
45
|
], AmqpSelectionFrameGuideService);
|
|
@@ -31,6 +31,6 @@ let AmqpSelectionFrameReviewRequestLikeService = class AmqpSelectionFrameReviewR
|
|
|
31
31
|
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService;
|
|
32
32
|
exports.AmqpSelectionFrameReviewRequestLikeService = AmqpSelectionFrameReviewRequestLikeService = __decorate([
|
|
33
33
|
(0, common_1.Injectable)(),
|
|
34
|
-
__param(0, (0, common_1.Inject)('
|
|
34
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
35
35
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
36
36
|
], AmqpSelectionFrameReviewRequestLikeService);
|
|
@@ -34,6 +34,6 @@ let AmqpSelectionFrameReviewRequestService = class AmqpSelectionFrameReviewReque
|
|
|
34
34
|
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService;
|
|
35
35
|
exports.AmqpSelectionFrameReviewRequestService = AmqpSelectionFrameReviewRequestService = __decorate([
|
|
36
36
|
(0, common_1.Injectable)(),
|
|
37
|
-
__param(0, (0, common_1.Inject)('
|
|
37
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
38
38
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
39
39
|
], AmqpSelectionFrameReviewRequestService);
|
|
@@ -46,6 +46,6 @@ let AmqpSelectionFrameVoteService = class AmqpSelectionFrameVoteService {
|
|
|
46
46
|
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService;
|
|
47
47
|
exports.AmqpSelectionFrameVoteService = AmqpSelectionFrameVoteService = __decorate([
|
|
48
48
|
(0, common_1.Injectable)(),
|
|
49
|
-
__param(0, (0, common_1.Inject)('
|
|
49
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
50
50
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
51
51
|
], AmqpSelectionFrameVoteService);
|
|
@@ -37,6 +37,6 @@ let AmqpSelectionFrameVotedUserService = class AmqpSelectionFrameVotedUserServic
|
|
|
37
37
|
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService;
|
|
38
38
|
exports.AmqpSelectionFrameVotedUserService = AmqpSelectionFrameVotedUserService = __decorate([
|
|
39
39
|
(0, common_1.Injectable)(),
|
|
40
|
-
__param(0, (0, common_1.Inject)('
|
|
40
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
41
41
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
42
42
|
], AmqpSelectionFrameVotedUserService);
|
|
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
|
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
/** @dto -v2 */
|
|
4
4
|
import { CreateSelectionFramePayload, CreateSelectionFrameResult, DeleteSelectionFramePayload, SearchSelectionFramesForAdminPayload, UpdateSelectionFramePayload, SearchSelectionFramesForAdminResult, SearchSelectionFrameForAdminPayload, SearchSelectionFrameForAdminResult, SearchSelectionFramesForBuyerPayload, SearchSelectionFramesForBuyerResult, SearchTitleMatchingSelectionFramesPayload, SearchTitleMatchingSelectionFramesResult, SearchSelectionFrameIdsBySelectionFrameDataIdPayload, SearchSelectionFrameIdsBySelectionFrameDataIdResult, SearchSelectionFramesByIdsPayload, SearchSelectionFramesByIdsResult, SearchSelectionFramesStoreItemsByStoreItemIdPayload, SearchSelectionFramesStoreItemsByStoreItemIdResult, SearchSelectionFrameDataIdsBySelectionFrameIdPayload, SearchSelectionFrameDataIdsBySelectionFrameIdResult, SearchLargeSelectionDataTitlesPayload, SearchLargeSelectionDataTitlesResult, CreateSelectionFrameBulkPayload } from '@yolo-croket-dev/dto-v2/user-service';
|
|
5
|
-
import { GetSelectionFrameIdBySelectionFrameDataIdPayload, GetSelectionFrameIdBySelectionFrameDataIdResult } from '
|
|
5
|
+
import { GetSelectionFrameIdBySelectionFrameDataIdPayload, GetSelectionFrameIdBySelectionFrameDataIdResult } from '../dto';
|
|
6
6
|
export declare class AmqpSelectionFrameService {
|
|
7
7
|
private readonly client;
|
|
8
8
|
private readonly amqpManager;
|
|
@@ -68,6 +68,6 @@ let AmqpSelectionFrameService = class AmqpSelectionFrameService {
|
|
|
68
68
|
exports.AmqpSelectionFrameService = AmqpSelectionFrameService;
|
|
69
69
|
exports.AmqpSelectionFrameService = AmqpSelectionFrameService = __decorate([
|
|
70
70
|
(0, common_1.Injectable)(),
|
|
71
|
-
__param(0, (0, common_1.Inject)('
|
|
71
|
+
__param(0, (0, common_1.Inject)('SELECTION_SERVER_PROVIDER')),
|
|
72
72
|
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
73
73
|
], AmqpSelectionFrameService);
|
|
@@ -8,8 +8,6 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
9
|
exports.AmqpStoreItemServerModule = void 0;
|
|
10
10
|
const common_1 = require("@nestjs/common");
|
|
11
|
-
/** @modules */
|
|
12
|
-
const amqp_selection_module_1 = require("./services/selection.modules/amqp.selection.module");
|
|
13
11
|
const amqp_store_item_server_provider_1 = require("./amqp.store-item-server.provider");
|
|
14
12
|
const services_1 = require("./services");
|
|
15
13
|
let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
|
|
@@ -17,7 +15,6 @@ let AmqpStoreItemServerModule = class AmqpStoreItemServerModule {
|
|
|
17
15
|
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule;
|
|
18
16
|
exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
19
17
|
(0, common_1.Module)({
|
|
20
|
-
imports: [amqp_selection_module_1.AmqpSelectionModule],
|
|
21
18
|
providers: [
|
|
22
19
|
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
23
20
|
services_1.AmqpStoreItemService,
|
|
@@ -89,7 +86,6 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
|
|
|
89
86
|
services_1.AmqpBrandInspectionService,
|
|
90
87
|
services_1.AmqpItemReviewService,
|
|
91
88
|
services_1.AmqpItemReviewIntegrationService,
|
|
92
|
-
amqp_selection_module_1.AmqpSelectionModule,
|
|
93
89
|
],
|
|
94
90
|
})
|
|
95
91
|
], AmqpStoreItemServerModule);
|
|
@@ -1,42 +0,0 @@
|
|
|
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.AmqpSelectionModule = void 0;
|
|
10
|
-
const common_1 = require("@nestjs/common");
|
|
11
|
-
const amqp_store_item_server_provider_1 = require("../../amqp.store-item-server.provider");
|
|
12
|
-
const index_1 = require("./index");
|
|
13
|
-
let AmqpSelectionModule = class AmqpSelectionModule {
|
|
14
|
-
};
|
|
15
|
-
exports.AmqpSelectionModule = AmqpSelectionModule;
|
|
16
|
-
exports.AmqpSelectionModule = AmqpSelectionModule = __decorate([
|
|
17
|
-
(0, common_1.Module)({
|
|
18
|
-
providers: [
|
|
19
|
-
amqp_store_item_server_provider_1.StoreItemServerProvider,
|
|
20
|
-
index_1.AmqpSelectionFrameConnectService,
|
|
21
|
-
index_1.AmqpSelectionFrameDataService,
|
|
22
|
-
index_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
23
|
-
index_1.AmqpSelectionFrameGuideService,
|
|
24
|
-
index_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
25
|
-
index_1.AmqpSelectionFrameReviewRequestService,
|
|
26
|
-
index_1.AmqpSelectionFrameService,
|
|
27
|
-
index_1.AmqpSelectionFrameVoteService,
|
|
28
|
-
index_1.AmqpSelectionFrameVotedUserService,
|
|
29
|
-
],
|
|
30
|
-
exports: [
|
|
31
|
-
index_1.AmqpSelectionFrameConnectService,
|
|
32
|
-
index_1.AmqpSelectionFrameDataService,
|
|
33
|
-
index_1.AmqpSelectionFrameFirstEnteranceGuideService,
|
|
34
|
-
index_1.AmqpSelectionFrameGuideService,
|
|
35
|
-
index_1.AmqpSelectionFrameReviewRequestLikeService,
|
|
36
|
-
index_1.AmqpSelectionFrameReviewRequestService,
|
|
37
|
-
index_1.AmqpSelectionFrameService,
|
|
38
|
-
index_1.AmqpSelectionFrameVoteService,
|
|
39
|
-
index_1.AmqpSelectionFrameVotedUserService,
|
|
40
|
-
],
|
|
41
|
-
})
|
|
42
|
-
], AmqpSelectionModule);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.d.ts
RENAMED
|
File without changes
|
/package/{store-item-server/dto/selection.modules → selection-server/dto}/selection-frame/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{store-item-server/services/selection.modules → selection-server/services}/index.d.ts
RENAMED
|
File without changes
|
/package/{store-item-server/services/selection.modules → selection-server/services}/index.js
RENAMED
|
File without changes
|