@yolo-croket-dev/amqp-access 0.0.87-jun.0 → 0.0.87-jun.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/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UserForAdminEntity } from '@yolo-croket-dev/entity-v2/user/user-for-admin.entity';
|
|
2
|
+
export declare enum SearchTypeEnum {
|
|
3
|
+
'날짜기준' = "\uB0A0\uC9DC\uAE30\uC900",
|
|
4
|
+
'유저아이디기준' = "\uC720\uC800\uC544\uC774\uB514\uAE30\uC900",
|
|
5
|
+
'이름기준' = "\uC774\uB984\uAE30\uC900",
|
|
6
|
+
'이메일기준' = "\uC774\uBA54\uC77C\uAE30\uC900",
|
|
7
|
+
'핸드폰기준' = "\uD578\uB4DC\uD3F0\uAE30\uC900",
|
|
8
|
+
'스토어타이틀기준' = "\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900"
|
|
9
|
+
}
|
|
10
|
+
export declare class GetUsersForAdminPayload {
|
|
11
|
+
limit: number;
|
|
12
|
+
page: number;
|
|
13
|
+
searchType: SearchTypeEnum;
|
|
14
|
+
regDateStart?: string;
|
|
15
|
+
regDateEnd?: string;
|
|
16
|
+
username?: string;
|
|
17
|
+
email?: string;
|
|
18
|
+
phoneNumber?: string;
|
|
19
|
+
userId?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class GetUsersForAdminResult {
|
|
22
|
+
users: UserForAdminEntity[];
|
|
23
|
+
allUserCount: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.GetUsersForAdminResult = exports.GetUsersForAdminPayload = exports.SearchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var SearchTypeEnum;
|
|
15
|
+
(function (SearchTypeEnum) {
|
|
16
|
+
SearchTypeEnum["\uB0A0\uC9DC\uAE30\uC900"] = "\uB0A0\uC9DC\uAE30\uC900";
|
|
17
|
+
SearchTypeEnum["\uC720\uC800\uC544\uC774\uB514\uAE30\uC900"] = "\uC720\uC800\uC544\uC774\uB514\uAE30\uC900";
|
|
18
|
+
SearchTypeEnum["\uC774\uB984\uAE30\uC900"] = "\uC774\uB984\uAE30\uC900";
|
|
19
|
+
SearchTypeEnum["\uC774\uBA54\uC77C\uAE30\uC900"] = "\uC774\uBA54\uC77C\uAE30\uC900";
|
|
20
|
+
SearchTypeEnum["\uD578\uB4DC\uD3F0\uAE30\uC900"] = "\uD578\uB4DC\uD3F0\uAE30\uC900";
|
|
21
|
+
SearchTypeEnum["\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900"] = "\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900";
|
|
22
|
+
})(SearchTypeEnum || (exports.SearchTypeEnum = SearchTypeEnum = {}));
|
|
23
|
+
class GetUsersForAdminPayload {
|
|
24
|
+
}
|
|
25
|
+
exports.GetUsersForAdminPayload = GetUsersForAdminPayload;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], GetUsersForAdminPayload.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], GetUsersForAdminPayload.prototype, "page", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsEnum)(SearchTypeEnum),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetUsersForAdminPayload.prototype, "searchType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsDateString)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], GetUsersForAdminPayload.prototype, "regDateStart", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsDateString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetUsersForAdminPayload.prototype, "regDateEnd", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], GetUsersForAdminPayload.prototype, "username", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], GetUsersForAdminPayload.prototype, "email", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], GetUsersForAdminPayload.prototype, "phoneNumber", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsMongoId)(),
|
|
65
|
+
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], GetUsersForAdminPayload.prototype, "userId", void 0);
|
|
68
|
+
class GetUsersForAdminResult {
|
|
69
|
+
}
|
|
70
|
+
exports.GetUsersForAdminResult = GetUsersForAdminResult;
|