@yolo-croket-dev/amqp-access 0.0.59 → 0.0.60
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/amqp.manage-service.module.d.ts +2 -0
- package/manage-service/amqp.manage-service.module.js +27 -0
- package/manage-service/amqp.manage-service.provider.d.ts +4 -0
- package/manage-service/amqp.manage-service.provider.js +21 -0
- package/manage-service/dto/index.d.ts +1 -0
- package/manage-service/dto/index.js +17 -0
- package/manage-service/dto/link-tab/command/change-link-tab-view-infos.dto.d.ts +37 -0
- package/manage-service/dto/link-tab/command/change-link-tab-view-infos.dto.js +30 -0
- package/manage-service/dto/link-tab/command/create-link-tab.dto.d.ts +59 -0
- package/manage-service/dto/link-tab/command/create-link-tab.dto.js +79 -0
- package/manage-service/dto/link-tab/command/delete-link-tab.dto.d.ts +33 -0
- package/manage-service/dto/link-tab/command/delete-link-tab.dto.js +25 -0
- package/manage-service/dto/link-tab/command/index.d.ts +4 -0
- package/manage-service/dto/link-tab/command/index.js +20 -0
- package/manage-service/dto/link-tab/command/update-link-tab.dto.d.ts +42 -0
- package/manage-service/dto/link-tab/command/update-link-tab.dto.js +34 -0
- package/manage-service/dto/link-tab/index.d.ts +1 -0
- package/manage-service/dto/link-tab/index.js +17 -0
- package/manage-service/index.d.ts +4 -0
- package/manage-service/index.js +20 -0
- package/manage-service/services/amqp-link-tab.service.d.ts +15 -0
- package/manage-service/services/amqp-link-tab.service.js +48 -0
- package/manage-service/services/index.d.ts +1 -0
- package/manage-service/services/index.js +17 -0
- package/package.json +3 -3
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -21,3 +21,4 @@ __exportStar(require("./elastic-service"), exports);
|
|
|
21
21
|
__exportStar(require("./selection-server"), exports);
|
|
22
22
|
__exportStar(require("./analytics-service"), exports);
|
|
23
23
|
__exportStar(require("./coupon-server"), exports);
|
|
24
|
+
__exportStar(require("./manage-service"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
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.AmqpManageServiceModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const amqp_manage_service_provider_1 = require("./amqp.manage-service.provider");
|
|
12
|
+
const services_1 = require("./services");
|
|
13
|
+
let AmqpManageServiceModule = class AmqpManageServiceModule {
|
|
14
|
+
};
|
|
15
|
+
exports.AmqpManageServiceModule = AmqpManageServiceModule;
|
|
16
|
+
exports.AmqpManageServiceModule = AmqpManageServiceModule = __decorate([
|
|
17
|
+
(0, common_1.Module)({
|
|
18
|
+
providers: [
|
|
19
|
+
amqp_manage_service_provider_1.ManageServiceProvider,
|
|
20
|
+
services_1.AmqpLinkTabService,
|
|
21
|
+
],
|
|
22
|
+
exports: [
|
|
23
|
+
amqp_manage_service_provider_1.ManageServiceProvider,
|
|
24
|
+
services_1.AmqpLinkTabService,
|
|
25
|
+
],
|
|
26
|
+
})
|
|
27
|
+
], AmqpManageServiceModule);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ManageServiceProvider = void 0;
|
|
4
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
5
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
6
|
+
const { AMQP_URL, MANAGE_SERVICE } = process.env;
|
|
7
|
+
exports.ManageServiceProvider = {
|
|
8
|
+
provide: 'MANAGE_SERVICE_PROVIDER',
|
|
9
|
+
useFactory: () => microservices_1.ClientProxyFactory.create({
|
|
10
|
+
transport: microservices_1.Transport.RMQ,
|
|
11
|
+
options: {
|
|
12
|
+
urls: [AMQP_URL],
|
|
13
|
+
queue: MANAGE_SERVICE || 'MANAGE_SERVICE',
|
|
14
|
+
noAck: false,
|
|
15
|
+
queueOptions: {
|
|
16
|
+
durable: true,
|
|
17
|
+
noAssert: true,
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
}),
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './link-tab';
|
|
@@ -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("./link-tab"), exports);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/callback" />
|
|
3
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/collection" />
|
|
4
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/connection" />
|
|
5
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/document" />
|
|
7
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/error" />
|
|
8
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/models" />
|
|
13
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/populate" />
|
|
16
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/query" />
|
|
17
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/session" />
|
|
20
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/types" />
|
|
21
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/utility" />
|
|
22
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/validation" />
|
|
23
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose" />
|
|
25
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/inferschematype" />
|
|
26
|
+
import { Types } from 'mongoose';
|
|
27
|
+
export declare class ChangeLinkTabViewInfosPayload {
|
|
28
|
+
_ids: (string | Types.ObjectId)[];
|
|
29
|
+
}
|
|
30
|
+
export declare enum ChangeLinkTabViewInfosErrorTypeEnum {
|
|
31
|
+
/** @description 한번에 노출하려는 링크탭 개수를 초과함 */
|
|
32
|
+
LIVING_LIMIT_OVER = "LIVING_LIMIT_OVER",
|
|
33
|
+
/** @description 순서/노출 변경 하려는 링크탭들중 아이디가 중복됨 */
|
|
34
|
+
DUPLICATED_IDS = "DUPLICATED_IDS",
|
|
35
|
+
/** @description 순서/노출 변경 하려는 링크탭이 존재하지 않음 */
|
|
36
|
+
NOT_FOUND_LINK_TAB = "NOT_FOUND_LINK_TAB"
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.ChangeLinkTabViewInfosErrorTypeEnum = exports.ChangeLinkTabViewInfosPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ChangeLinkTabViewInfosPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.ChangeLinkTabViewInfosPayload = ChangeLinkTabViewInfosPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsArray)(),
|
|
19
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], ChangeLinkTabViewInfosPayload.prototype, "_ids", void 0);
|
|
22
|
+
var ChangeLinkTabViewInfosErrorTypeEnum;
|
|
23
|
+
(function (ChangeLinkTabViewInfosErrorTypeEnum) {
|
|
24
|
+
/** @description 한번에 노출하려는 링크탭 개수를 초과함 */
|
|
25
|
+
ChangeLinkTabViewInfosErrorTypeEnum["LIVING_LIMIT_OVER"] = "LIVING_LIMIT_OVER";
|
|
26
|
+
/** @description 순서/노출 변경 하려는 링크탭들중 아이디가 중복됨 */
|
|
27
|
+
ChangeLinkTabViewInfosErrorTypeEnum["DUPLICATED_IDS"] = "DUPLICATED_IDS";
|
|
28
|
+
/** @description 순서/노출 변경 하려는 링크탭이 존재하지 않음 */
|
|
29
|
+
ChangeLinkTabViewInfosErrorTypeEnum["NOT_FOUND_LINK_TAB"] = "NOT_FOUND_LINK_TAB";
|
|
30
|
+
})(ChangeLinkTabViewInfosErrorTypeEnum || (exports.ChangeLinkTabViewInfosErrorTypeEnum = ChangeLinkTabViewInfosErrorTypeEnum = {}));
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/callback" />
|
|
3
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/collection" />
|
|
4
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/connection" />
|
|
5
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/document" />
|
|
7
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/error" />
|
|
8
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/models" />
|
|
13
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/populate" />
|
|
16
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/query" />
|
|
17
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/session" />
|
|
20
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/types" />
|
|
21
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/utility" />
|
|
22
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/validation" />
|
|
23
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose" />
|
|
25
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/inferschematype" />
|
|
26
|
+
import { Types } from 'mongoose';
|
|
27
|
+
import { LinkTabTypeEnum } from '@yolo-croket-dev/entity-v2/link-tab';
|
|
28
|
+
import { ImgEntity } from '@yolo-croket-dev/entity-v2';
|
|
29
|
+
export declare class CreateLinkTabImgTitle implements ImgEntity {
|
|
30
|
+
url: string;
|
|
31
|
+
width: number;
|
|
32
|
+
height: number;
|
|
33
|
+
}
|
|
34
|
+
export declare class CreateLinkTabPayload {
|
|
35
|
+
_id?: string | Types.ObjectId;
|
|
36
|
+
type: LinkTabTypeEnum;
|
|
37
|
+
title: string;
|
|
38
|
+
imgTitle?: CreateLinkTabImgTitle;
|
|
39
|
+
appLink: string;
|
|
40
|
+
webLink: string;
|
|
41
|
+
}
|
|
42
|
+
export declare class CreateLinkTabResult {
|
|
43
|
+
/** @description 생성된 _id */
|
|
44
|
+
_id: string;
|
|
45
|
+
}
|
|
46
|
+
export declare enum CreateLinkTabErrorTypeEnum {
|
|
47
|
+
/** @description 최대 타이틀 글자 수 초과 */
|
|
48
|
+
INVALID_TITLE_LENGTH = "INVALID_TITLE_LENGTH",
|
|
49
|
+
/** @description type이 IMAGE 일 때 imgTitle이 존재하지 않음 */
|
|
50
|
+
NOT_FOUND_IMG_TITLE = "NOT_FOUND_IMG_TITLE",
|
|
51
|
+
/** @description appLink가 유효하지 않음 */
|
|
52
|
+
INVALID_APP_LINK = "INVALID_APP_LINK",
|
|
53
|
+
/** @description webLink가 유효하지 않음 */
|
|
54
|
+
INVALID_WEB_LINK = "INVALID_WEB_LINK",
|
|
55
|
+
/** @description _id를 직접 입력해서 생성할 때, 이미 존재하는 아이디 일 경우 */
|
|
56
|
+
DUPLICATE_ID = "DUPLICATE_ID",
|
|
57
|
+
/** @description 링크탭 최대 등록개수를 초과 */
|
|
58
|
+
DOCUMENT_LIMIT_OVER = "DOCUMENT_LIMIT_OVER"
|
|
59
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.CreateLinkTabErrorTypeEnum = exports.CreateLinkTabResult = exports.CreateLinkTabPayload = exports.CreateLinkTabImgTitle = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const link_tab_1 = require("@yolo-croket-dev/entity-v2/link-tab");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
class CreateLinkTabImgTitle {
|
|
17
|
+
}
|
|
18
|
+
exports.CreateLinkTabImgTitle = CreateLinkTabImgTitle;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateLinkTabImgTitle.prototype, "url", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsNumber)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], CreateLinkTabImgTitle.prototype, "width", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], CreateLinkTabImgTitle.prototype, "height", void 0);
|
|
32
|
+
class CreateLinkTabPayload {
|
|
33
|
+
}
|
|
34
|
+
exports.CreateLinkTabPayload = CreateLinkTabPayload;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsMongoId)(),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", Object)
|
|
39
|
+
], CreateLinkTabPayload.prototype, "_id", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsEnum)(link_tab_1.LinkTabTypeEnum),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateLinkTabPayload.prototype, "type", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CreateLinkTabPayload.prototype, "title", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_transformer_1.Type)(() => CreateLinkTabImgTitle),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
__metadata("design:type", CreateLinkTabImgTitle)
|
|
53
|
+
], CreateLinkTabPayload.prototype, "imgTitle", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], CreateLinkTabPayload.prototype, "appLink", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], CreateLinkTabPayload.prototype, "webLink", void 0);
|
|
62
|
+
class CreateLinkTabResult {
|
|
63
|
+
}
|
|
64
|
+
exports.CreateLinkTabResult = CreateLinkTabResult;
|
|
65
|
+
var CreateLinkTabErrorTypeEnum;
|
|
66
|
+
(function (CreateLinkTabErrorTypeEnum) {
|
|
67
|
+
/** @description 최대 타이틀 글자 수 초과 */
|
|
68
|
+
CreateLinkTabErrorTypeEnum["INVALID_TITLE_LENGTH"] = "INVALID_TITLE_LENGTH";
|
|
69
|
+
/** @description type이 IMAGE 일 때 imgTitle이 존재하지 않음 */
|
|
70
|
+
CreateLinkTabErrorTypeEnum["NOT_FOUND_IMG_TITLE"] = "NOT_FOUND_IMG_TITLE";
|
|
71
|
+
/** @description appLink가 유효하지 않음 */
|
|
72
|
+
CreateLinkTabErrorTypeEnum["INVALID_APP_LINK"] = "INVALID_APP_LINK";
|
|
73
|
+
/** @description webLink가 유효하지 않음 */
|
|
74
|
+
CreateLinkTabErrorTypeEnum["INVALID_WEB_LINK"] = "INVALID_WEB_LINK";
|
|
75
|
+
/** @description _id를 직접 입력해서 생성할 때, 이미 존재하는 아이디 일 경우 */
|
|
76
|
+
CreateLinkTabErrorTypeEnum["DUPLICATE_ID"] = "DUPLICATE_ID";
|
|
77
|
+
/** @description 링크탭 최대 등록개수를 초과 */
|
|
78
|
+
CreateLinkTabErrorTypeEnum["DOCUMENT_LIMIT_OVER"] = "DOCUMENT_LIMIT_OVER";
|
|
79
|
+
})(CreateLinkTabErrorTypeEnum || (exports.CreateLinkTabErrorTypeEnum = CreateLinkTabErrorTypeEnum = {}));
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/callback" />
|
|
3
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/collection" />
|
|
4
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/connection" />
|
|
5
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/document" />
|
|
7
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/error" />
|
|
8
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/models" />
|
|
13
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/populate" />
|
|
16
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/query" />
|
|
17
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/session" />
|
|
20
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/types" />
|
|
21
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/utility" />
|
|
22
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/validation" />
|
|
23
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose" />
|
|
25
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/inferschematype" />
|
|
26
|
+
import { Types } from 'mongoose';
|
|
27
|
+
export declare class DeleteLinkTabPayload {
|
|
28
|
+
_id: string | Types.ObjectId;
|
|
29
|
+
}
|
|
30
|
+
export declare enum DeleteLinkTabErrorTypeEnum {
|
|
31
|
+
/** @description 삭제하려는 링크탭이 존재하지 않음 */
|
|
32
|
+
NOT_FOUND_LINK_TAB = "NOT_FOUND_LINK_TAB"
|
|
33
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.DeleteLinkTabErrorTypeEnum = exports.DeleteLinkTabPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DeleteLinkTabPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.DeleteLinkTabPayload = DeleteLinkTabPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], DeleteLinkTabPayload.prototype, "_id", void 0);
|
|
21
|
+
var DeleteLinkTabErrorTypeEnum;
|
|
22
|
+
(function (DeleteLinkTabErrorTypeEnum) {
|
|
23
|
+
/** @description 삭제하려는 링크탭이 존재하지 않음 */
|
|
24
|
+
DeleteLinkTabErrorTypeEnum["NOT_FOUND_LINK_TAB"] = "NOT_FOUND_LINK_TAB";
|
|
25
|
+
})(DeleteLinkTabErrorTypeEnum || (exports.DeleteLinkTabErrorTypeEnum = DeleteLinkTabErrorTypeEnum = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
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-link-tab.dto"), exports);
|
|
18
|
+
__exportStar(require("./update-link-tab.dto"), exports);
|
|
19
|
+
__exportStar(require("./delete-link-tab.dto"), exports);
|
|
20
|
+
__exportStar(require("./change-link-tab-view-infos.dto"), exports);
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/aggregate" />
|
|
2
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/callback" />
|
|
3
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/collection" />
|
|
4
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/connection" />
|
|
5
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/cursor" />
|
|
6
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/document" />
|
|
7
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/error" />
|
|
8
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/expressions" />
|
|
9
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/helpers" />
|
|
10
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/middlewares" />
|
|
11
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/indexes" />
|
|
12
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/models" />
|
|
13
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/mongooseoptions" />
|
|
14
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/pipelinestage" />
|
|
15
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/populate" />
|
|
16
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/query" />
|
|
17
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schemaoptions" />
|
|
18
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/schematypes" />
|
|
19
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/session" />
|
|
20
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/types" />
|
|
21
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/utility" />
|
|
22
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/validation" />
|
|
23
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/virtuals" />
|
|
24
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose" />
|
|
25
|
+
/// <reference types="@yolo-croket-dev/dto/node_modules/mongoose/types/inferschematype" />
|
|
26
|
+
import { Types } from 'mongoose';
|
|
27
|
+
import { CreateLinkTabPayload } from './create-link-tab.dto';
|
|
28
|
+
export declare class UpdateLinkTabPayload extends CreateLinkTabPayload {
|
|
29
|
+
_id: string | Types.ObjectId;
|
|
30
|
+
}
|
|
31
|
+
export declare enum UpdateLinkTabErrorTypeEnum {
|
|
32
|
+
/** @description 최대 타이틀 글자 수 초과 */
|
|
33
|
+
INVALID_TITLE_LENGTH = "INVALID_TITLE_LENGTH",
|
|
34
|
+
/** @description type이 IMAGE 일 때 imgTitle이 존재하지 않음 */
|
|
35
|
+
NOT_FOUND_IMG_TITLE = "NOT_FOUND_IMG_TITLE",
|
|
36
|
+
/** @description appLink가 유효하지 않음 */
|
|
37
|
+
INVALID_APP_LINK = "INVALID_APP_LINK",
|
|
38
|
+
/** @description webLink가 유효하지 않음 */
|
|
39
|
+
INVALID_WEB_LINK = "INVALID_WEB_LINK",
|
|
40
|
+
/** @description 수정하려는 링크탭이 존재하지 않음 */
|
|
41
|
+
NOT_FOUND_LINK_TAB = "NOT_FOUND_LINK_TAB"
|
|
42
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.UpdateLinkTabErrorTypeEnum = exports.UpdateLinkTabPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const create_link_tab_dto_1 = require("./create-link-tab.dto");
|
|
15
|
+
class UpdateLinkTabPayload extends create_link_tab_dto_1.CreateLinkTabPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.UpdateLinkTabPayload = UpdateLinkTabPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], UpdateLinkTabPayload.prototype, "_id", void 0);
|
|
22
|
+
var UpdateLinkTabErrorTypeEnum;
|
|
23
|
+
(function (UpdateLinkTabErrorTypeEnum) {
|
|
24
|
+
/** @description 최대 타이틀 글자 수 초과 */
|
|
25
|
+
UpdateLinkTabErrorTypeEnum["INVALID_TITLE_LENGTH"] = "INVALID_TITLE_LENGTH";
|
|
26
|
+
/** @description type이 IMAGE 일 때 imgTitle이 존재하지 않음 */
|
|
27
|
+
UpdateLinkTabErrorTypeEnum["NOT_FOUND_IMG_TITLE"] = "NOT_FOUND_IMG_TITLE";
|
|
28
|
+
/** @description appLink가 유효하지 않음 */
|
|
29
|
+
UpdateLinkTabErrorTypeEnum["INVALID_APP_LINK"] = "INVALID_APP_LINK";
|
|
30
|
+
/** @description webLink가 유효하지 않음 */
|
|
31
|
+
UpdateLinkTabErrorTypeEnum["INVALID_WEB_LINK"] = "INVALID_WEB_LINK";
|
|
32
|
+
/** @description 수정하려는 링크탭이 존재하지 않음 */
|
|
33
|
+
UpdateLinkTabErrorTypeEnum["NOT_FOUND_LINK_TAB"] = "NOT_FOUND_LINK_TAB";
|
|
34
|
+
})(UpdateLinkTabErrorTypeEnum || (exports.UpdateLinkTabErrorTypeEnum = UpdateLinkTabErrorTypeEnum = {}));
|
|
@@ -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);
|
|
@@ -0,0 +1,20 @@
|
|
|
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.manage-service.module"), exports);
|
|
18
|
+
__exportStar(require("./amqp.manage-service.provider"), exports);
|
|
19
|
+
__exportStar(require("./dto"), exports);
|
|
20
|
+
__exportStar(require("./services"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { LinkTabForUserEntity, LinkTabEntity } from '@yolo-croket-dev/entity-v2/link-tab';
|
|
4
|
+
import { ChangeLinkTabViewInfosPayload, CreateLinkTabPayload, CreateLinkTabResult, DeleteLinkTabPayload, UpdateLinkTabPayload } from '../dto';
|
|
5
|
+
export declare class AmqpLinkTabService {
|
|
6
|
+
private readonly client;
|
|
7
|
+
private readonly amqpManager;
|
|
8
|
+
constructor(client: ClientProxy);
|
|
9
|
+
createLinkTab(payload: CreateLinkTabPayload, param: AbstractParam): Promise<CreateLinkTabResult>;
|
|
10
|
+
updateLinkTab(payload: UpdateLinkTabPayload, param: AbstractParam): Promise<void>;
|
|
11
|
+
deleteLinkTab(payload: DeleteLinkTabPayload, param: AbstractParam): Promise<void>;
|
|
12
|
+
changeLinkTabViewInfos(payload: ChangeLinkTabViewInfosPayload, param: AbstractParam): Promise<void>;
|
|
13
|
+
searchLinkTabForUser(payload: void, param: AbstractParam): Promise<LinkTabForUserEntity[]>;
|
|
14
|
+
searchLinkTabForAdmin(payload: void, param: AbstractParam): Promise<LinkTabEntity[]>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.AmqpLinkTabService = 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 AmqpLinkTabService = class AmqpLinkTabService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async createLinkTab(payload, param) {
|
|
25
|
+
return this.amqpManager.call('링크탭 등록', 'link-tab.create', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async updateLinkTab(payload, param) {
|
|
28
|
+
return this.amqpManager.call('링크탭 수정', 'link-tab.update', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
30
|
+
async deleteLinkTab(payload, param) {
|
|
31
|
+
return this.amqpManager.call('링크탭 삭제', 'link-tab.delete', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
33
|
+
async changeLinkTabViewInfos(payload, param) {
|
|
34
|
+
return this.amqpManager.call('링크탭 순서/노출 변경', 'link-tab.change-view-infos', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async searchLinkTabForUser(payload, param) {
|
|
37
|
+
return this.amqpManager.call('링크탭 조회 - 유저용', 'link-tab.get-list-for-user', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
39
|
+
async searchLinkTabForAdmin(payload, param) {
|
|
40
|
+
return this.amqpManager.call('링크탭 조회 - 관리자용', 'link-tab.get-list', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.AmqpLinkTabService = AmqpLinkTabService;
|
|
44
|
+
exports.AmqpLinkTabService = AmqpLinkTabService = __decorate([
|
|
45
|
+
(0, common_1.Injectable)(),
|
|
46
|
+
__param(0, (0, common_1.Inject)('MANAGE_SERVICE_PROVIDER')),
|
|
47
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
48
|
+
], AmqpLinkTabService);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './amqp-link-tab.service';
|
|
@@ -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("./amqp-link-tab.service"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@yolo-croket-dev/core": "^1.4.52",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.0.144",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.108",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.0.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.0.32",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
29
29
|
}
|
|
30
|
-
}
|
|
30
|
+
}
|