@yolo-croket-dev/amqp-access 0.0.22 → 0.0.23-jun.0
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/dto/es-store-item-click/index.d.ts +1 -0
- package/dto/es-store-item-click/index.js +17 -0
- package/dto/es-store-item-click/query/get-store-item-clicks-group-user-id.dto.d.ts +9 -0
- package/dto/es-store-item-click/query/get-store-item-clicks-group-user-id.dto.js +21 -0
- package/dto/es-store-item-click/query/index.d.ts +1 -0
- package/dto/es-store-item-click/query/index.js +17 -0
- package/dto/index.d.ts +1 -0
- package/dto/index.js +17 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-bulk-update-by-item-name.dto.d.ts +3 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-bulk-update-by-item-name.dto.js +20 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-delete-data.dto.d.ts +3 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-delete-data.dto.js +20 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-update-data.d.ts +3 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-update-data.js +20 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/index.d.ts +3 -0
- package/elastic-service/dto/elastic-search-store-item-v2/command/index.js +19 -0
- package/elastic-service/dto/elastic-search-store-item-v2/index.d.ts +2 -0
- package/elastic-service/dto/elastic-search-store-item-v2/index.js +18 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-count-group.dto.d.ts +40 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-count-group.dto.js +71 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-data-by-id.dto.d.ts +7 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-data-by-id.dto.js +23 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-datas.dto.d.ts +48 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-datas.dto.js +158 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-random-datas.dto.d.ts +10 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-random-datas.dto.js +37 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/index.d.ts +4 -0
- package/elastic-service/dto/elastic-search-store-item-v2/query/index.js +20 -0
- package/elastic-service/dto/index.d.ts +1 -0
- package/elastic-service/dto/index.js +17 -0
- package/elastic-service/services/amqp.elastic-search-store-item-v2.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './query';
|
|
@@ -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("./query"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
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.GetStoreItemClicksGroupUserIdPayload = void 0;
|
|
13
|
+
/* eslint-disable max-len */
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class GetStoreItemClicksGroupUserIdPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.GetStoreItemClicksGroupUserIdPayload = GetStoreItemClicksGroupUserIdPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsDateString)(),
|
|
20
|
+
__metadata("design:type", Date)
|
|
21
|
+
], GetStoreItemClicksGroupUserIdPayload.prototype, "limitDate", void 0);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-store-item-clicks-group-user-id.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("./get-store-item-clicks-group-user-id.dto"), exports);
|
package/dto/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './es-store-item-click';
|
package/dto/index.js
ADDED
|
@@ -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("./es-store-item-click"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
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.EsStoreItemV2BulkUpdateByItemNamePayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EsStoreItemV2BulkUpdateByItemNamePayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EsStoreItemV2BulkUpdateByItemNamePayload = EsStoreItemV2BulkUpdateByItemNamePayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EsStoreItemV2BulkUpdateByItemNamePayload.prototype, "itemName", void 0);
|
package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-delete-data.dto.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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.ESStoreItemV2DeleteDataPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ESStoreItemV2DeleteDataPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.ESStoreItemV2DeleteDataPayload = ESStoreItemV2DeleteDataPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ESStoreItemV2DeleteDataPayload.prototype, "itemId", void 0);
|
package/elastic-service/dto/elastic-search-store-item-v2/command/es-store-item-v2-update-data.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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.EsStoreItemV2UpdateDataPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EsStoreItemV2UpdateDataPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EsStoreItemV2UpdateDataPayload = EsStoreItemV2UpdateDataPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EsStoreItemV2UpdateDataPayload.prototype, "itemId", 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("./es-store-item-v2-bulk-update-by-item-name.dto"), exports);
|
|
18
|
+
__exportStar(require("./es-store-item-v2-delete-data.dto"), exports);
|
|
19
|
+
__exportStar(require("./es-store-item-v2-update-data"), exports);
|
|
@@ -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);
|
package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-count-group.dto.d.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export declare class ESStoreItemV2CategoryInfo {
|
|
2
|
+
mainCategory: string;
|
|
3
|
+
subCategory?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare enum GroupTypeEnum {
|
|
6
|
+
'category' = "category",
|
|
7
|
+
'nation' = "nation",
|
|
8
|
+
'price' = "price"
|
|
9
|
+
}
|
|
10
|
+
export declare class EsStoreItemV2CountGroupPayload {
|
|
11
|
+
groupType: GroupTypeEnum;
|
|
12
|
+
isViewSoldOut: boolean;
|
|
13
|
+
isItemPriceWithShippingFee: boolean;
|
|
14
|
+
categoryInfos?: ESStoreItemV2CategoryInfo[];
|
|
15
|
+
nations?: string[];
|
|
16
|
+
itemName?: string;
|
|
17
|
+
minPrice?: number;
|
|
18
|
+
maxPrice?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface EsStoreItemV2CategoryGroup {
|
|
21
|
+
mainCategory: string;
|
|
22
|
+
subCategory?: string;
|
|
23
|
+
}
|
|
24
|
+
export interface EsStoreItemV2NationGroup {
|
|
25
|
+
area: string;
|
|
26
|
+
nation: string;
|
|
27
|
+
}
|
|
28
|
+
export interface EsStoreItemV2PriceGroup {
|
|
29
|
+
price: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ESStoreItemV2CountGroup {
|
|
32
|
+
categoryGroup?: EsStoreItemV2CategoryGroup;
|
|
33
|
+
nationGroup?: EsStoreItemV2NationGroup;
|
|
34
|
+
priceGroup?: EsStoreItemV2PriceGroup;
|
|
35
|
+
count: number;
|
|
36
|
+
}
|
|
37
|
+
export interface EsStoreItemV2CountGroupResult {
|
|
38
|
+
groupType: GroupTypeEnum;
|
|
39
|
+
groups: ESStoreItemV2CountGroup[];
|
|
40
|
+
}
|
package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-count-group.dto.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
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.EsStoreItemV2CountGroupPayload = exports.GroupTypeEnum = exports.ESStoreItemV2CategoryInfo = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class ESStoreItemV2CategoryInfo {
|
|
15
|
+
}
|
|
16
|
+
exports.ESStoreItemV2CategoryInfo = ESStoreItemV2CategoryInfo;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], ESStoreItemV2CategoryInfo.prototype, "mainCategory", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], ESStoreItemV2CategoryInfo.prototype, "subCategory", void 0);
|
|
26
|
+
var GroupTypeEnum;
|
|
27
|
+
(function (GroupTypeEnum) {
|
|
28
|
+
GroupTypeEnum["category"] = "category";
|
|
29
|
+
GroupTypeEnum["nation"] = "nation";
|
|
30
|
+
GroupTypeEnum["price"] = "price";
|
|
31
|
+
})(GroupTypeEnum || (exports.GroupTypeEnum = GroupTypeEnum = {}));
|
|
32
|
+
class EsStoreItemV2CountGroupPayload {
|
|
33
|
+
}
|
|
34
|
+
exports.EsStoreItemV2CountGroupPayload = EsStoreItemV2CountGroupPayload;
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], EsStoreItemV2CountGroupPayload.prototype, "groupType", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsBoolean)(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], EsStoreItemV2CountGroupPayload.prototype, "isViewSoldOut", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], EsStoreItemV2CountGroupPayload.prototype, "isItemPriceWithShippingFee", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsArray)(),
|
|
50
|
+
__metadata("design:type", Array)
|
|
51
|
+
], EsStoreItemV2CountGroupPayload.prototype, "categoryInfos", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsArray)(),
|
|
55
|
+
__metadata("design:type", Array)
|
|
56
|
+
], EsStoreItemV2CountGroupPayload.prototype, "nations", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], EsStoreItemV2CountGroupPayload.prototype, "itemName", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_validator_1.IsNumber)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], EsStoreItemV2CountGroupPayload.prototype, "minPrice", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsNumber)(),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], EsStoreItemV2CountGroupPayload.prototype, "maxPrice", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StoreItemForESEntity } from '@yolo-croket-dev/entity/src/store-item/store-item-for-es.entity';
|
|
2
|
+
export declare class EsStoreItemV2GetDataByIdPayload {
|
|
3
|
+
itemId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class EsStoreItemV2GetDataByIdResult {
|
|
6
|
+
storeItemForES?: StoreItemForESEntity;
|
|
7
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
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.EsStoreItemV2GetDataByIdResult = exports.EsStoreItemV2GetDataByIdPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EsStoreItemV2GetDataByIdPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EsStoreItemV2GetDataByIdPayload = EsStoreItemV2GetDataByIdPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsMongoId)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], EsStoreItemV2GetDataByIdPayload.prototype, "itemId", void 0);
|
|
21
|
+
class EsStoreItemV2GetDataByIdResult {
|
|
22
|
+
}
|
|
23
|
+
exports.EsStoreItemV2GetDataByIdResult = EsStoreItemV2GetDataByIdResult;
|
package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-datas.dto.d.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export declare enum ESStoreItemV2SortTypeEnum {
|
|
2
|
+
'최신순' = "\uCD5C\uC2E0\uC21C",
|
|
3
|
+
'인기순' = "\uC778\uAE30\uC21C",
|
|
4
|
+
'만료일순' = "\uB9CC\uB8CC\uC77C\uC21C",
|
|
5
|
+
'거래예정일순' = "\uAC70\uB798\uC608\uC815\uC77C\uC21C",
|
|
6
|
+
'최저가순' = "\uCD5C\uC800\uAC00\uC21C",
|
|
7
|
+
'리뷰많은순' = "\uB9AC\uBDF0\uB9CE\uC740\uC21C",
|
|
8
|
+
'구매많은순' = "\uAD6C\uB9E4\uB9CE\uC740\uC21C",
|
|
9
|
+
'찜많은순' = "\uCC1C\uB9CE\uC740\uC21C"
|
|
10
|
+
}
|
|
11
|
+
export declare class ESStoreItemV2Category {
|
|
12
|
+
mainCategory: string;
|
|
13
|
+
subCategory?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare class EsStoreItemV2GetDatasPayload {
|
|
16
|
+
limit: number;
|
|
17
|
+
page: number;
|
|
18
|
+
isViewSoldOut: boolean;
|
|
19
|
+
isItemPriceWithShippingFee: boolean;
|
|
20
|
+
storeId?: string;
|
|
21
|
+
itemNames?: string[];
|
|
22
|
+
nations?: string[];
|
|
23
|
+
categoryInfos?: ESStoreItemV2Category[];
|
|
24
|
+
sortType?: ESStoreItemV2SortTypeEnum;
|
|
25
|
+
minPrice?: number;
|
|
26
|
+
maxPrice?: number;
|
|
27
|
+
deliveryType?: string;
|
|
28
|
+
minBookNums?: number;
|
|
29
|
+
isSticker?: boolean;
|
|
30
|
+
/** 특정 아이디 제외 */
|
|
31
|
+
exceptItemIds?: string[];
|
|
32
|
+
/** @description 셀렉션 프레임 아이디 */
|
|
33
|
+
selectionFrameIds?: string[];
|
|
34
|
+
/** @description 픽한 상품 인가 - selectionFrameId 값 필요 */
|
|
35
|
+
isPick?: boolean;
|
|
36
|
+
/** @description 배송비 무료인가 */
|
|
37
|
+
isShippingFeeFree?: boolean;
|
|
38
|
+
isSelectionItemConnect?: boolean;
|
|
39
|
+
isBundleShipping?: boolean;
|
|
40
|
+
bundleShippingFee?: number;
|
|
41
|
+
isAbroadShipping?: boolean;
|
|
42
|
+
isPrepay?: boolean;
|
|
43
|
+
prepayPrice?: number;
|
|
44
|
+
}
|
|
45
|
+
export declare class EsStoreItemV2GetDatasResult {
|
|
46
|
+
itemAllCount: number;
|
|
47
|
+
itemIds: string[];
|
|
48
|
+
}
|
package/elastic-service/dto/elastic-search-store-item-v2/query/es-store-item-v2-get-datas.dto.js
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
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.EsStoreItemV2GetDatasResult = exports.EsStoreItemV2GetDatasPayload = exports.ESStoreItemV2Category = exports.ESStoreItemV2SortTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var ESStoreItemV2SortTypeEnum;
|
|
15
|
+
(function (ESStoreItemV2SortTypeEnum) {
|
|
16
|
+
ESStoreItemV2SortTypeEnum["\uCD5C\uC2E0\uC21C"] = "\uCD5C\uC2E0\uC21C";
|
|
17
|
+
ESStoreItemV2SortTypeEnum["\uC778\uAE30\uC21C"] = "\uC778\uAE30\uC21C";
|
|
18
|
+
ESStoreItemV2SortTypeEnum["\uB9CC\uB8CC\uC77C\uC21C"] = "\uB9CC\uB8CC\uC77C\uC21C";
|
|
19
|
+
ESStoreItemV2SortTypeEnum["\uAC70\uB798\uC608\uC815\uC77C\uC21C"] = "\uAC70\uB798\uC608\uC815\uC77C\uC21C";
|
|
20
|
+
ESStoreItemV2SortTypeEnum["\uCD5C\uC800\uAC00\uC21C"] = "\uCD5C\uC800\uAC00\uC21C";
|
|
21
|
+
ESStoreItemV2SortTypeEnum["\uB9AC\uBDF0\uB9CE\uC740\uC21C"] = "\uB9AC\uBDF0\uB9CE\uC740\uC21C";
|
|
22
|
+
ESStoreItemV2SortTypeEnum["\uAD6C\uB9E4\uB9CE\uC740\uC21C"] = "\uAD6C\uB9E4\uB9CE\uC740\uC21C";
|
|
23
|
+
ESStoreItemV2SortTypeEnum["\uCC1C\uB9CE\uC740\uC21C"] = "\uCC1C\uB9CE\uC740\uC21C";
|
|
24
|
+
})(ESStoreItemV2SortTypeEnum || (exports.ESStoreItemV2SortTypeEnum = ESStoreItemV2SortTypeEnum = {}));
|
|
25
|
+
class ESStoreItemV2Category {
|
|
26
|
+
}
|
|
27
|
+
exports.ESStoreItemV2Category = ESStoreItemV2Category;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], ESStoreItemV2Category.prototype, "mainCategory", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ESStoreItemV2Category.prototype, "subCategory", void 0);
|
|
37
|
+
class EsStoreItemV2GetDatasPayload {
|
|
38
|
+
}
|
|
39
|
+
exports.EsStoreItemV2GetDatasPayload = EsStoreItemV2GetDatasPayload;
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsNumber)(),
|
|
42
|
+
__metadata("design:type", Number)
|
|
43
|
+
], EsStoreItemV2GetDatasPayload.prototype, "limit", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsNumber)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], EsStoreItemV2GetDatasPayload.prototype, "page", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsBoolean)(),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isViewSoldOut", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsBoolean)(),
|
|
54
|
+
__metadata("design:type", Boolean)
|
|
55
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isItemPriceWithShippingFee", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, class_validator_1.IsOptional)(),
|
|
58
|
+
(0, class_validator_1.IsMongoId)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], EsStoreItemV2GetDatasPayload.prototype, "storeId", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_1.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsArray)(),
|
|
64
|
+
__metadata("design:type", Array)
|
|
65
|
+
], EsStoreItemV2GetDatasPayload.prototype, "itemNames", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsArray)(),
|
|
69
|
+
__metadata("design:type", Array)
|
|
70
|
+
], EsStoreItemV2GetDatasPayload.prototype, "nations", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsOptional)(),
|
|
73
|
+
(0, class_validator_1.IsArray)(),
|
|
74
|
+
__metadata("design:type", Array)
|
|
75
|
+
], EsStoreItemV2GetDatasPayload.prototype, "categoryInfos", void 0);
|
|
76
|
+
__decorate([
|
|
77
|
+
(0, class_validator_1.IsOptional)(),
|
|
78
|
+
(0, class_validator_1.IsEnum)(ESStoreItemV2SortTypeEnum),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], EsStoreItemV2GetDatasPayload.prototype, "sortType", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, class_validator_1.IsOptional)(),
|
|
83
|
+
(0, class_validator_1.IsNumber)(),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], EsStoreItemV2GetDatasPayload.prototype, "minPrice", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, class_validator_1.IsOptional)(),
|
|
88
|
+
(0, class_validator_1.IsNumber)(),
|
|
89
|
+
__metadata("design:type", Number)
|
|
90
|
+
], EsStoreItemV2GetDatasPayload.prototype, "maxPrice", void 0);
|
|
91
|
+
__decorate([
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
93
|
+
(0, class_validator_1.IsString)(),
|
|
94
|
+
__metadata("design:type", String)
|
|
95
|
+
], EsStoreItemV2GetDatasPayload.prototype, "deliveryType", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_validator_1.IsNumber)(),
|
|
99
|
+
__metadata("design:type", Number)
|
|
100
|
+
], EsStoreItemV2GetDatasPayload.prototype, "minBookNums", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_validator_1.IsOptional)(),
|
|
103
|
+
(0, class_validator_1.IsBoolean)(),
|
|
104
|
+
__metadata("design:type", Boolean)
|
|
105
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isSticker", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, class_validator_1.IsArray)(),
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
__metadata("design:type", Array)
|
|
110
|
+
], EsStoreItemV2GetDatasPayload.prototype, "exceptItemIds", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
113
|
+
(0, class_validator_1.IsOptional)(),
|
|
114
|
+
__metadata("design:type", Array)
|
|
115
|
+
], EsStoreItemV2GetDatasPayload.prototype, "selectionFrameIds", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, class_validator_1.IsBoolean)(),
|
|
118
|
+
(0, class_validator_1.IsOptional)(),
|
|
119
|
+
__metadata("design:type", Boolean)
|
|
120
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isPick", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, class_validator_1.IsBoolean)(),
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
124
|
+
__metadata("design:type", Boolean)
|
|
125
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isShippingFeeFree", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, class_validator_1.IsOptional)(),
|
|
128
|
+
(0, class_validator_1.IsBoolean)(),
|
|
129
|
+
__metadata("design:type", Boolean)
|
|
130
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isSelectionItemConnect", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, class_validator_1.IsOptional)(),
|
|
133
|
+
(0, class_validator_1.IsBoolean)(),
|
|
134
|
+
__metadata("design:type", Boolean)
|
|
135
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isBundleShipping", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, class_validator_1.IsOptional)(),
|
|
138
|
+
(0, class_validator_1.IsNumber)(),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], EsStoreItemV2GetDatasPayload.prototype, "bundleShippingFee", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, class_validator_1.IsOptional)(),
|
|
143
|
+
(0, class_validator_1.IsBoolean)(),
|
|
144
|
+
__metadata("design:type", Boolean)
|
|
145
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isAbroadShipping", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, class_validator_1.IsOptional)(),
|
|
148
|
+
(0, class_validator_1.IsBoolean)(),
|
|
149
|
+
__metadata("design:type", Boolean)
|
|
150
|
+
], EsStoreItemV2GetDatasPayload.prototype, "isPrepay", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, class_validator_1.IsOptional)(),
|
|
153
|
+
(0, class_validator_1.IsNumber)(),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], EsStoreItemV2GetDatasPayload.prototype, "prepayPrice", void 0);
|
|
156
|
+
class EsStoreItemV2GetDatasResult {
|
|
157
|
+
}
|
|
158
|
+
exports.EsStoreItemV2GetDatasResult = EsStoreItemV2GetDatasResult;
|
|
@@ -0,0 +1,37 @@
|
|
|
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.EsStoreItemV2GetRandomDatasResult = exports.EsStoreItemV2GetRandomDatasPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class EsStoreItemV2GetRandomDatasPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.EsStoreItemV2GetRandomDatasPayload = EsStoreItemV2GetRandomDatasPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNumber)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], EsStoreItemV2GetRandomDatasPayload.prototype, "limit", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsBoolean)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], EsStoreItemV2GetRandomDatasPayload.prototype, "isViewSoldOut", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsOptional)(),
|
|
27
|
+
(0, class_validator_1.IsArray)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], EsStoreItemV2GetRandomDatasPayload.prototype, "itemNames", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], EsStoreItemV2GetRandomDatasPayload.prototype, "isSticker", void 0);
|
|
35
|
+
class EsStoreItemV2GetRandomDatasResult {
|
|
36
|
+
}
|
|
37
|
+
exports.EsStoreItemV2GetRandomDatasResult = EsStoreItemV2GetRandomDatasResult;
|
|
@@ -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("./es-store-item-v2-count-group.dto"), exports);
|
|
18
|
+
__exportStar(require("./es-store-item-v2-get-random-datas.dto"), exports);
|
|
19
|
+
__exportStar(require("./es-store-item-v2-get-datas.dto"), exports);
|
|
20
|
+
__exportStar(require("./es-store-item-v2-get-data-by-id.dto"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './elastic-search-store-item-v2';
|
|
@@ -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("./elastic-search-store-item-v2"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { EsStoreItemV2GetDatasPayload, EsStoreItemV2GetDatasResult, EsStoreItemV2CountGroupPayload, EsStoreItemV2CountGroupResult, EsStoreItemV2UpdateDataPayload, ESStoreItemV2DeleteDataPayload, EsStoreItemV2BulkUpdateByItemNamePayload, EsStoreItemV2GetRandomDatasPayload, EsStoreItemV2GetRandomDatasResult, EsStoreItemV2GetDataByIdPayload, EsStoreItemV2GetDataByIdResult } from '
|
|
3
|
+
import { EsStoreItemV2GetDatasPayload, EsStoreItemV2GetDatasResult, EsStoreItemV2CountGroupPayload, EsStoreItemV2CountGroupResult, EsStoreItemV2UpdateDataPayload, ESStoreItemV2DeleteDataPayload, EsStoreItemV2BulkUpdateByItemNamePayload, EsStoreItemV2GetRandomDatasPayload, EsStoreItemV2GetRandomDatasResult, EsStoreItemV2GetDataByIdPayload, EsStoreItemV2GetDataByIdResult } from '../dto';
|
|
4
4
|
export declare class AmqpElasticSearchStoreItemV2Service {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|