@solidstarters/solid-core 1.2.46 → 1.2.48
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/dist/controllers/authentication.controller.d.ts +1 -0
- package/dist/controllers/authentication.controller.d.ts.map +1 -1
- package/dist/controllers/email-template.controller.d.ts +25 -7
- package/dist/controllers/email-template.controller.d.ts.map +1 -1
- package/dist/controllers/email-template.controller.js +70 -36
- package/dist/controllers/email-template.controller.js.map +1 -1
- package/dist/controllers/google-authentication.controller.d.ts +0 -1
- package/dist/controllers/google-authentication.controller.d.ts.map +1 -1
- package/dist/controllers/sms-template.controller.d.ts +25 -7
- package/dist/controllers/sms-template.controller.d.ts.map +1 -1
- package/dist/controllers/sms-template.controller.js +71 -36
- package/dist/controllers/sms-template.controller.js.map +1 -1
- package/dist/controllers/user-view-metadata.controller.d.ts +44 -0
- package/dist/controllers/user-view-metadata.controller.d.ts.map +1 -0
- package/dist/controllers/user-view-metadata.controller.js +194 -0
- package/dist/controllers/user-view-metadata.controller.js.map +1 -0
- package/dist/controllers/view-metadata.controller.d.ts +2 -1
- package/dist/controllers/view-metadata.controller.d.ts.map +1 -1
- package/dist/controllers/view-metadata.controller.js +5 -3
- package/dist/controllers/view-metadata.controller.js.map +1 -1
- package/dist/dtos/create-email-attachment.dto.d.ts.map +1 -1
- package/dist/dtos/create-email-attachment.dto.js +8 -1
- package/dist/dtos/create-email-attachment.dto.js.map +1 -1
- package/dist/dtos/create-email-template.dto.d.ts +1 -0
- package/dist/dtos/create-email-template.dto.d.ts.map +1 -1
- package/dist/dtos/create-email-template.dto.js +26 -3
- package/dist/dtos/create-email-template.dto.js.map +1 -1
- package/dist/dtos/create-sms-template.dto.d.ts +1 -0
- package/dist/dtos/create-sms-template.dto.d.ts.map +1 -1
- package/dist/dtos/create-sms-template.dto.js +29 -2
- package/dist/dtos/create-sms-template.dto.js.map +1 -1
- package/dist/dtos/create-user-view-metadata.dto.d.ts +8 -0
- package/dist/dtos/create-user-view-metadata.dto.d.ts.map +1 -0
- package/dist/dtos/create-user-view-metadata.dto.js +57 -0
- package/dist/dtos/create-user-view-metadata.dto.js.map +1 -0
- package/dist/dtos/create-user.dto.d.ts +8 -0
- package/dist/dtos/create-user.dto.d.ts.map +1 -1
- package/dist/dtos/create-user.dto.js +78 -5
- package/dist/dtos/create-user.dto.js.map +1 -1
- package/dist/dtos/create-view-metadata.dto.d.ts +4 -0
- package/dist/dtos/create-view-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/create-view-metadata.dto.js +40 -3
- package/dist/dtos/create-view-metadata.dto.js.map +1 -1
- package/dist/dtos/selection-dynamic-query.dto.d.ts +1 -1
- package/dist/dtos/selection-dynamic-query.dto.d.ts.map +1 -1
- package/dist/dtos/selection-dynamic-query.dto.js +2 -3
- package/dist/dtos/selection-dynamic-query.dto.js.map +1 -1
- package/dist/dtos/update-email-attachment.dto.d.ts +8 -0
- package/dist/dtos/update-email-attachment.dto.d.ts.map +1 -0
- package/dist/dtos/update-email-attachment.dto.js +58 -0
- package/dist/dtos/update-email-attachment.dto.js.map +1 -0
- package/dist/dtos/update-email-template.dto.d.ts +7 -0
- package/dist/dtos/update-email-template.dto.d.ts.map +1 -1
- package/dist/dtos/update-email-template.dto.js +61 -1
- package/dist/dtos/update-email-template.dto.js.map +1 -1
- package/dist/dtos/update-sms-template.dto.d.ts +7 -0
- package/dist/dtos/update-sms-template.dto.d.ts.map +1 -1
- package/dist/dtos/update-sms-template.dto.js +57 -1
- package/dist/dtos/update-sms-template.dto.js.map +1 -1
- package/dist/dtos/update-user-view-metadata.dto.d.ts +9 -0
- package/dist/dtos/update-user-view-metadata.dto.d.ts.map +1 -0
- package/dist/dtos/update-user-view-metadata.dto.js +57 -0
- package/dist/dtos/update-user-view-metadata.dto.js.map +1 -0
- package/dist/dtos/update-user.dto.d.ts +8 -0
- package/dist/dtos/update-user.dto.d.ts.map +1 -1
- package/dist/dtos/update-user.dto.js +78 -7
- package/dist/dtos/update-user.dto.js.map +1 -1
- package/dist/dtos/update-view-metadata.dto.d.ts +4 -0
- package/dist/dtos/update-view-metadata.dto.d.ts.map +1 -1
- package/dist/dtos/update-view-metadata.dto.js +40 -10
- package/dist/dtos/update-view-metadata.dto.js.map +1 -1
- package/dist/dtos/upsert-user-view-metadata.dto.d.ts +6 -0
- package/dist/dtos/upsert-user-view-metadata.dto.d.ts.map +1 -0
- package/dist/dtos/upsert-user-view-metadata.dto.js +40 -0
- package/dist/dtos/upsert-user-view-metadata.dto.js.map +1 -0
- package/dist/entities/email-attachment.entity.d.ts.map +1 -1
- package/dist/entities/email-attachment.entity.js +6 -5
- package/dist/entities/email-attachment.entity.js.map +1 -1
- package/dist/entities/email-template.entity.d.ts +1 -0
- package/dist/entities/email-template.entity.d.ts.map +1 -1
- package/dist/entities/email-template.entity.js +17 -7
- package/dist/entities/email-template.entity.js.map +1 -1
- package/dist/entities/sms-template.entity.d.ts +1 -0
- package/dist/entities/sms-template.entity.d.ts.map +1 -1
- package/dist/entities/sms-template.entity.js +16 -7
- package/dist/entities/sms-template.entity.js.map +1 -1
- package/dist/entities/user-view-metadata.entity.d.ts +9 -0
- package/dist/entities/user-view-metadata.entity.d.ts.map +1 -0
- package/dist/entities/user-view-metadata.entity.js +47 -0
- package/dist/entities/user-view-metadata.entity.js.map +1 -0
- package/dist/entities/user.entity.d.ts +2 -0
- package/dist/entities/user.entity.d.ts.map +1 -1
- package/dist/entities/user.entity.js +11 -9
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/entities/view-metadata.entity.d.ts +2 -0
- package/dist/entities/view-metadata.entity.d.ts.map +1 -1
- package/dist/entities/view-metadata.entity.js +15 -5
- package/dist/entities/view-metadata.entity.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/interfaces.d.ts.map +1 -1
- package/dist/seeders/seed-data/solid-core-metadata.json +1133 -224
- package/dist/services/authentication.service.d.ts +1 -1
- package/dist/services/authentication.service.d.ts.map +1 -1
- package/dist/services/authentication.service.js +0 -1
- package/dist/services/authentication.service.js.map +1 -1
- package/dist/services/email-template.service.d.ts +22 -12
- package/dist/services/email-template.service.d.ts.map +1 -1
- package/dist/services/email-template.service.js +37 -46
- package/dist/services/email-template.service.js.map +1 -1
- package/dist/services/sms-template.service.d.ts +23 -13
- package/dist/services/sms-template.service.d.ts.map +1 -1
- package/dist/services/sms-template.service.js +41 -49
- package/dist/services/sms-template.service.js.map +1 -1
- package/dist/services/user-view-metadata.service.d.ts +25 -0
- package/dist/services/user-view-metadata.service.d.ts.map +1 -0
- package/dist/services/user-view-metadata.service.js +73 -0
- package/dist/services/user-view-metadata.service.js.map +1 -0
- package/dist/services/view-metadata.service.d.ts +4 -2
- package/dist/services/view-metadata.service.d.ts.map +1 -1
- package/dist/services/view-metadata.service.js +24 -7
- package/dist/services/view-metadata.service.js.map +1 -1
- package/dist/solid-core.module.d.ts.map +1 -1
- package/dist/solid-core.module.js +7 -1
- package/dist/solid-core.module.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -6
- package/src/controllers/email-template.controller.ts +57 -38
- package/src/controllers/sms-template.controller.ts +58 -37
- package/src/controllers/user-view-metadata.controller.ts +101 -0
- package/src/controllers/view-metadata.controller.ts +18 -16
- package/src/dtos/create-email-attachment.dto.ts +8 -6
- package/src/dtos/create-email-template.dto.ts +22 -11
- package/src/dtos/create-sms-template.dto.ts +22 -8
- package/src/dtos/create-user-view-metadata.dto.ts +27 -0
- package/src/dtos/create-user.dto.ts +67 -33
- package/src/dtos/create-view-metadata.dto.ts +33 -12
- package/src/dtos/selection-dynamic-query.dto.ts +1 -1
- package/src/dtos/update-email-attachment.dto.ts +36 -0
- package/src/dtos/update-email-template.dto.ts +40 -2
- package/src/dtos/update-sms-template.dto.ts +42 -2
- package/src/dtos/update-user-view-metadata.dto.ts +28 -0
- package/src/dtos/update-user.dto.ts +67 -36
- package/src/dtos/update-view-metadata.dto.ts +35 -19
- package/src/dtos/upsert-user-view-metadata.dto.ts +17 -0
- package/src/entities/email-attachment.entity.ts +6 -10
- package/src/entities/email-template.entity.ts +12 -16
- package/src/entities/sms-template.entity.ts +11 -14
- package/src/entities/user-view-metadata.entity.ts +18 -0
- package/src/entities/user.entity.ts +12 -40
- package/src/entities/view-metadata.entity.ts +12 -13
- package/src/index.ts +1 -0
- package/src/interfaces.ts +1 -1
- package/src/seeders/seed-data/solid-core-metadata.json +1265 -366
- package/src/services/authentication.service.ts +1 -1
- package/src/services/email-template.service.ts +27 -54
- package/src/services/sms-template.service.ts +32 -55
- package/src/services/user-view-metadata.service.ts +55 -0
- package/src/services/view-metadata.service.ts +23 -2
- package/src/solid-core.module.ts +7 -1
|
@@ -13,9 +13,13 @@ exports.CreateUserDto = void 0;
|
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_validator_2 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
const class_transformer_1 = require("class-transformer");
|
|
18
|
+
const update_role_metadata_dto_1 = require("./update-role-metadata.dto");
|
|
19
|
+
const update_user_view_metadata_dto_1 = require("./update-user-view-metadata.dto");
|
|
16
20
|
class CreateUserDto {
|
|
17
21
|
constructor() {
|
|
18
|
-
this.forcePasswordChange =
|
|
22
|
+
this.forcePasswordChange = true;
|
|
19
23
|
this.lastLoginProvider = "local";
|
|
20
24
|
this.active = true;
|
|
21
25
|
this.forgotPasswordConfirmedAt = new Date("1970-01-01T00:00:00.000Z");
|
|
@@ -30,155 +34,224 @@ class CreateUserDto {
|
|
|
30
34
|
this.mobileVerificationTokenOnLoginExpiresAt = new Date("1970-01-01T00:00:00.000Z");
|
|
31
35
|
}
|
|
32
36
|
static _OPENAPI_METADATA_FACTORY() {
|
|
33
|
-
return { fullName: { required: true, type: () => String }, username: { required: true, type: () => String }, email: { required: true, type: () => String }, mobile: { required: true, type: () => String }, password: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, passwordConfirm: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, forcePasswordChange: { required: true, type: () => Boolean, default:
|
|
37
|
+
return { fullName: { required: true, type: () => String }, username: { required: true, type: () => String }, email: { required: true, type: () => String }, mobile: { required: true, type: () => String }, password: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, passwordConfirm: { required: true, type: () => String, pattern: "/^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[^\\da-zA-Z]).*$/" }, forcePasswordChange: { required: true, type: () => Boolean, default: true }, lastLoginProvider: { required: true, type: () => String, default: "local" }, accessCode: { required: true, type: () => String }, googleAccessToken: { required: true, type: () => String }, googleId: { required: true, type: () => String }, googleProfilePicture: { required: true, type: () => String }, active: { required: true, type: () => Boolean, default: true }, forgotPasswordConfirmedAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, verificationTokenOnForgotPassword: { required: true, type: () => String }, verificationTokenOnForgotPasswordExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnRegistration: { required: true, type: () => String }, emailVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnRegistrationAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnRegistration: { required: true, type: () => String }, mobileVerificationTokenOnRegistrationExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, emailVerificationTokenOnLogin: { required: true, type: () => String }, emailVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerifiedOnLoginAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, mobileVerificationTokenOnLogin: { required: true, type: () => String }, mobileVerificationTokenOnLoginExpiresAt: { required: true, type: () => Date, default: new Date("1970-01-01T00:00:00.000Z") }, customPayload: { required: true, type: () => String }, roles: { required: true, type: () => [require("./update-role-metadata.dto").UpdateRoleMetadataDto] }, rolesIds: { required: true, type: () => [Number] }, rolesCommand: { required: true, type: () => String }, userViewMetadata: { required: true, type: () => [require("./update-user-view-metadata.dto").UpdateUserViewMetadataDto] }, userViewMetadataIds: { required: true, type: () => [Number] }, userViewMetadataCommand: { required: true, type: () => String } };
|
|
34
38
|
}
|
|
35
39
|
}
|
|
36
40
|
exports.CreateUserDto = CreateUserDto;
|
|
37
41
|
__decorate([
|
|
38
42
|
(0, class_validator_2.IsOptional)(),
|
|
39
43
|
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, swagger_1.ApiProperty)(),
|
|
40
45
|
__metadata("design:type", String)
|
|
41
46
|
], CreateUserDto.prototype, "fullName", void 0);
|
|
42
47
|
__decorate([
|
|
43
48
|
(0, class_validator_2.IsNotEmpty)(),
|
|
44
49
|
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, swagger_1.ApiProperty)(),
|
|
45
51
|
__metadata("design:type", String)
|
|
46
52
|
], CreateUserDto.prototype, "username", void 0);
|
|
47
53
|
__decorate([
|
|
48
54
|
(0, class_validator_2.IsOptional)(),
|
|
49
55
|
(0, class_validator_1.IsString)(),
|
|
56
|
+
(0, swagger_1.ApiProperty)(),
|
|
50
57
|
__metadata("design:type", String)
|
|
51
58
|
], CreateUserDto.prototype, "email", void 0);
|
|
52
59
|
__decorate([
|
|
53
60
|
(0, class_validator_2.IsOptional)(),
|
|
54
61
|
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
63
|
__metadata("design:type", String)
|
|
56
64
|
], CreateUserDto.prototype, "mobile", void 0);
|
|
57
65
|
__decorate([
|
|
58
|
-
(0, class_validator_2.
|
|
66
|
+
(0, class_validator_2.IsOptional)(),
|
|
59
67
|
(0, class_validator_2.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
|
|
60
68
|
(0, class_validator_1.IsString)(),
|
|
69
|
+
(0, swagger_1.ApiProperty)(),
|
|
61
70
|
__metadata("design:type", String)
|
|
62
71
|
], CreateUserDto.prototype, "password", void 0);
|
|
63
72
|
__decorate([
|
|
64
|
-
(0,
|
|
73
|
+
(0, class_validator_2.IsOptional)(),
|
|
65
74
|
(0, class_validator_2.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
|
|
66
|
-
(0,
|
|
75
|
+
(0, class_validator_1.IsString)(),
|
|
76
|
+
(0, swagger_1.ApiProperty)(),
|
|
67
77
|
__metadata("design:type", String)
|
|
68
78
|
], CreateUserDto.prototype, "passwordConfirm", void 0);
|
|
69
79
|
__decorate([
|
|
70
80
|
(0, class_validator_2.IsOptional)(),
|
|
71
81
|
(0, class_validator_2.IsBoolean)(),
|
|
82
|
+
(0, swagger_1.ApiProperty)(),
|
|
72
83
|
__metadata("design:type", Boolean)
|
|
73
84
|
], CreateUserDto.prototype, "forcePasswordChange", void 0);
|
|
74
85
|
__decorate([
|
|
75
86
|
(0, class_validator_2.IsNotEmpty)(),
|
|
76
87
|
(0, class_validator_1.IsString)(),
|
|
88
|
+
(0, swagger_1.ApiProperty)(),
|
|
77
89
|
__metadata("design:type", String)
|
|
78
90
|
], CreateUserDto.prototype, "lastLoginProvider", void 0);
|
|
79
91
|
__decorate([
|
|
80
92
|
(0, class_validator_2.IsOptional)(),
|
|
81
93
|
(0, class_validator_1.IsString)(),
|
|
94
|
+
(0, swagger_1.ApiProperty)(),
|
|
82
95
|
__metadata("design:type", String)
|
|
83
96
|
], CreateUserDto.prototype, "accessCode", void 0);
|
|
84
97
|
__decorate([
|
|
85
98
|
(0, class_validator_2.IsOptional)(),
|
|
86
99
|
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, swagger_1.ApiProperty)(),
|
|
87
101
|
__metadata("design:type", String)
|
|
88
102
|
], CreateUserDto.prototype, "googleAccessToken", void 0);
|
|
89
103
|
__decorate([
|
|
90
104
|
(0, class_validator_2.IsOptional)(),
|
|
91
105
|
(0, class_validator_1.IsString)(),
|
|
106
|
+
(0, swagger_1.ApiProperty)(),
|
|
92
107
|
__metadata("design:type", String)
|
|
93
108
|
], CreateUserDto.prototype, "googleId", void 0);
|
|
94
109
|
__decorate([
|
|
95
110
|
(0, class_validator_2.IsOptional)(),
|
|
96
111
|
(0, class_validator_1.IsString)(),
|
|
112
|
+
(0, swagger_1.ApiProperty)(),
|
|
97
113
|
__metadata("design:type", String)
|
|
98
114
|
], CreateUserDto.prototype, "googleProfilePicture", void 0);
|
|
99
115
|
__decorate([
|
|
100
116
|
(0, class_validator_2.IsNotEmpty)(),
|
|
101
117
|
(0, class_validator_2.IsBoolean)(),
|
|
118
|
+
(0, swagger_1.ApiProperty)(),
|
|
102
119
|
__metadata("design:type", Boolean)
|
|
103
120
|
], CreateUserDto.prototype, "active", void 0);
|
|
104
121
|
__decorate([
|
|
105
122
|
(0, class_validator_2.IsOptional)(),
|
|
106
123
|
(0, class_validator_2.IsDate)(),
|
|
124
|
+
(0, swagger_1.ApiProperty)(),
|
|
107
125
|
__metadata("design:type", Date)
|
|
108
126
|
], CreateUserDto.prototype, "forgotPasswordConfirmedAt", void 0);
|
|
109
127
|
__decorate([
|
|
110
128
|
(0, class_validator_2.IsOptional)(),
|
|
111
129
|
(0, class_validator_1.IsString)(),
|
|
130
|
+
(0, swagger_1.ApiProperty)(),
|
|
112
131
|
__metadata("design:type", String)
|
|
113
132
|
], CreateUserDto.prototype, "verificationTokenOnForgotPassword", void 0);
|
|
114
133
|
__decorate([
|
|
115
134
|
(0, class_validator_2.IsOptional)(),
|
|
116
135
|
(0, class_validator_2.IsDate)(),
|
|
136
|
+
(0, swagger_1.ApiProperty)(),
|
|
117
137
|
__metadata("design:type", Date)
|
|
118
138
|
], CreateUserDto.prototype, "verificationTokenOnForgotPasswordExpiresAt", void 0);
|
|
119
139
|
__decorate([
|
|
120
140
|
(0, class_validator_2.IsOptional)(),
|
|
121
141
|
(0, class_validator_2.IsDate)(),
|
|
142
|
+
(0, swagger_1.ApiProperty)(),
|
|
122
143
|
__metadata("design:type", Date)
|
|
123
144
|
], CreateUserDto.prototype, "emailVerifiedOnRegistrationAt", void 0);
|
|
124
145
|
__decorate([
|
|
125
146
|
(0, class_validator_2.IsOptional)(),
|
|
126
147
|
(0, class_validator_1.IsString)(),
|
|
148
|
+
(0, swagger_1.ApiProperty)(),
|
|
127
149
|
__metadata("design:type", String)
|
|
128
150
|
], CreateUserDto.prototype, "emailVerificationTokenOnRegistration", void 0);
|
|
129
151
|
__decorate([
|
|
130
152
|
(0, class_validator_2.IsOptional)(),
|
|
131
153
|
(0, class_validator_2.IsDate)(),
|
|
154
|
+
(0, swagger_1.ApiProperty)(),
|
|
132
155
|
__metadata("design:type", Date)
|
|
133
156
|
], CreateUserDto.prototype, "emailVerificationTokenOnRegistrationExpiresAt", void 0);
|
|
134
157
|
__decorate([
|
|
135
158
|
(0, class_validator_2.IsOptional)(),
|
|
136
159
|
(0, class_validator_2.IsDate)(),
|
|
160
|
+
(0, swagger_1.ApiProperty)(),
|
|
137
161
|
__metadata("design:type", Date)
|
|
138
162
|
], CreateUserDto.prototype, "mobileVerifiedOnRegistrationAt", void 0);
|
|
139
163
|
__decorate([
|
|
140
164
|
(0, class_validator_2.IsOptional)(),
|
|
141
165
|
(0, class_validator_1.IsString)(),
|
|
166
|
+
(0, swagger_1.ApiProperty)(),
|
|
142
167
|
__metadata("design:type", String)
|
|
143
168
|
], CreateUserDto.prototype, "mobileVerificationTokenOnRegistration", void 0);
|
|
144
169
|
__decorate([
|
|
145
170
|
(0, class_validator_2.IsOptional)(),
|
|
146
171
|
(0, class_validator_2.IsDate)(),
|
|
172
|
+
(0, swagger_1.ApiProperty)(),
|
|
147
173
|
__metadata("design:type", Date)
|
|
148
174
|
], CreateUserDto.prototype, "mobileVerificationTokenOnRegistrationExpiresAt", void 0);
|
|
149
175
|
__decorate([
|
|
150
176
|
(0, class_validator_2.IsOptional)(),
|
|
151
177
|
(0, class_validator_2.IsDate)(),
|
|
178
|
+
(0, swagger_1.ApiProperty)(),
|
|
152
179
|
__metadata("design:type", Date)
|
|
153
180
|
], CreateUserDto.prototype, "emailVerifiedOnLoginAt", void 0);
|
|
154
181
|
__decorate([
|
|
155
182
|
(0, class_validator_2.IsOptional)(),
|
|
156
183
|
(0, class_validator_1.IsString)(),
|
|
184
|
+
(0, swagger_1.ApiProperty)(),
|
|
157
185
|
__metadata("design:type", String)
|
|
158
186
|
], CreateUserDto.prototype, "emailVerificationTokenOnLogin", void 0);
|
|
159
187
|
__decorate([
|
|
160
188
|
(0, class_validator_2.IsOptional)(),
|
|
161
189
|
(0, class_validator_2.IsDate)(),
|
|
190
|
+
(0, swagger_1.ApiProperty)(),
|
|
162
191
|
__metadata("design:type", Date)
|
|
163
192
|
], CreateUserDto.prototype, "emailVerificationTokenOnLoginExpiresAt", void 0);
|
|
164
193
|
__decorate([
|
|
165
194
|
(0, class_validator_2.IsOptional)(),
|
|
166
195
|
(0, class_validator_2.IsDate)(),
|
|
196
|
+
(0, swagger_1.ApiProperty)(),
|
|
167
197
|
__metadata("design:type", Date)
|
|
168
198
|
], CreateUserDto.prototype, "mobileVerifiedOnLoginAt", void 0);
|
|
169
199
|
__decorate([
|
|
170
200
|
(0, class_validator_2.IsOptional)(),
|
|
171
201
|
(0, class_validator_1.IsString)(),
|
|
202
|
+
(0, swagger_1.ApiProperty)(),
|
|
172
203
|
__metadata("design:type", String)
|
|
173
204
|
], CreateUserDto.prototype, "mobileVerificationTokenOnLogin", void 0);
|
|
174
205
|
__decorate([
|
|
175
206
|
(0, class_validator_2.IsOptional)(),
|
|
176
207
|
(0, class_validator_2.IsDate)(),
|
|
208
|
+
(0, swagger_1.ApiProperty)(),
|
|
177
209
|
__metadata("design:type", Date)
|
|
178
210
|
], CreateUserDto.prototype, "mobileVerificationTokenOnLoginExpiresAt", void 0);
|
|
179
211
|
__decorate([
|
|
180
212
|
(0, class_validator_2.IsOptional)(),
|
|
181
213
|
(0, class_validator_1.IsString)(),
|
|
214
|
+
(0, swagger_1.ApiProperty)(),
|
|
182
215
|
__metadata("design:type", String)
|
|
183
216
|
], CreateUserDto.prototype, "customPayload", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, class_validator_2.IsOptional)(),
|
|
219
|
+
(0, swagger_1.ApiProperty)(),
|
|
220
|
+
(0, class_validator_2.IsArray)(),
|
|
221
|
+
(0, class_validator_2.ValidateNested)({ each: true }),
|
|
222
|
+
(0, class_transformer_1.Type)(() => update_role_metadata_dto_1.UpdateRoleMetadataDto),
|
|
223
|
+
__metadata("design:type", Array)
|
|
224
|
+
], CreateUserDto.prototype, "roles", void 0);
|
|
225
|
+
__decorate([
|
|
226
|
+
(0, class_validator_2.IsOptional)(),
|
|
227
|
+
(0, class_validator_2.IsArray)(),
|
|
228
|
+
(0, swagger_1.ApiProperty)(),
|
|
229
|
+
__metadata("design:type", Array)
|
|
230
|
+
], CreateUserDto.prototype, "rolesIds", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, class_validator_1.IsString)(),
|
|
233
|
+
(0, class_validator_2.IsOptional)(),
|
|
234
|
+
(0, swagger_1.ApiProperty)(),
|
|
235
|
+
__metadata("design:type", String)
|
|
236
|
+
], CreateUserDto.prototype, "rolesCommand", void 0);
|
|
237
|
+
__decorate([
|
|
238
|
+
(0, class_validator_2.IsOptional)(),
|
|
239
|
+
(0, swagger_1.ApiProperty)(),
|
|
240
|
+
(0, class_validator_2.IsArray)(),
|
|
241
|
+
(0, class_validator_2.ValidateNested)({ each: true }),
|
|
242
|
+
(0, class_transformer_1.Type)(() => update_user_view_metadata_dto_1.UpdateUserViewMetadataDto),
|
|
243
|
+
__metadata("design:type", Array)
|
|
244
|
+
], CreateUserDto.prototype, "userViewMetadata", void 0);
|
|
245
|
+
__decorate([
|
|
246
|
+
(0, class_validator_2.IsOptional)(),
|
|
247
|
+
(0, class_validator_2.IsArray)(),
|
|
248
|
+
(0, swagger_1.ApiProperty)(),
|
|
249
|
+
__metadata("design:type", Array)
|
|
250
|
+
], CreateUserDto.prototype, "userViewMetadataIds", void 0);
|
|
251
|
+
__decorate([
|
|
252
|
+
(0, class_validator_1.IsString)(),
|
|
253
|
+
(0, class_validator_2.IsOptional)(),
|
|
254
|
+
(0, swagger_1.ApiProperty)(),
|
|
255
|
+
__metadata("design:type", String)
|
|
256
|
+
], CreateUserDto.prototype, "userViewMetadataCommand", void 0);
|
|
184
257
|
//# sourceMappingURL=create-user.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.dto.js","sourceRoot":"","sources":["../../src/dtos/create-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"create-user.dto.js","sourceRoot":"","sources":["../../src/dtos/create-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA2C;AAC3C,qDAA8G;AAC9G,6CAA8C;AAC9C,yDAAyC;AACzC,yEAA0E;AAC1E,mFAAmF;AAEnF,MAAa,aAAa;IAA1B;QA8BI,wBAAmB,GAAY,IAAI,CAAC;QAIpC,sBAAiB,GAAW,OAAO,CAAC;QAoBpC,WAAM,GAAY,IAAI,CAAC;QAIvB,8BAAyB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQvE,+CAA0C,GAAS,IAAI,IAAI,C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AAE;8BAC2B,IAAI;8EAAwC;AAIrF;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACQ;AAMtB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,gDAAqB,CAAC;;4CACH;AAI/B;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;+CACK;AAInB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;mDACO;AAMrB;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;IACb,IAAA,yBAAO,GAAE;IACT,IAAA,gCAAc,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,yDAAyB,CAAC;;uDACQ;AAI9C;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,qBAAW,GAAE;;0DACgB;AAI9B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;8DACkB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { UpdateUserViewMetadataDto } from 'src/dtos/update-user-view-metadata.dto';
|
|
1
2
|
export declare class CreateViewMetadataDto {
|
|
2
3
|
name: string;
|
|
3
4
|
displayName: string;
|
|
@@ -8,5 +9,8 @@ export declare class CreateViewMetadataDto {
|
|
|
8
9
|
moduleUserKey: string;
|
|
9
10
|
modelId: number;
|
|
10
11
|
modelUserKey: string;
|
|
12
|
+
userViewMetadata: UpdateUserViewMetadataDto[];
|
|
13
|
+
userViewMetadataIds: number[];
|
|
14
|
+
userViewMetadataCommand: string;
|
|
11
15
|
}
|
|
12
16
|
//# sourceMappingURL=create-view-metadata.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-view-metadata.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-view-metadata.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-view-metadata.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-view-metadata.dto.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,qBAAa,qBAAqB;IAK9B,IAAI,EAAE,MAAM,CAAC;IAIb,WAAW,EAAE,MAAM,CAAC;IAIpB,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,GAAG,CAAQ;IAIpB,MAAM,EAAE,GAAG,CAAC;IAIZ,QAAQ,EAAE,MAAM,CAAC;IAIjB,aAAa,EAAE,MAAM,CAAC;IAItB,OAAO,EAAE,MAAM,CAAC;IAIhB,YAAY,EAAE,MAAM,CAAC;IAMrB,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;IAI9C,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAI9B,uBAAuB,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -14,9 +14,15 @@ const openapi = require("@nestjs/swagger");
|
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const class_validator_2 = require("class-validator");
|
|
16
16
|
const class_validator_3 = require("class-validator");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const class_transformer_1 = require("class-transformer");
|
|
19
|
+
const update_user_view_metadata_dto_1 = require("./update-user-view-metadata.dto");
|
|
17
20
|
class CreateViewMetadataDto {
|
|
21
|
+
constructor() {
|
|
22
|
+
this.context = "{}";
|
|
23
|
+
}
|
|
18
24
|
static _OPENAPI_METADATA_FACTORY() {
|
|
19
|
-
return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, type: { required: true, type: () => String }, context: { required: true, type: () => Object }, layout: { required: true, type: () => Object }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String } };
|
|
25
|
+
return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, type: { required: true, type: () => String }, context: { required: true, type: () => Object, default: "{}" }, layout: { required: true, type: () => Object }, moduleId: { required: true, type: () => Number }, moduleUserKey: { required: true, type: () => String }, modelId: { required: true, type: () => Number }, modelUserKey: { required: true, type: () => String }, userViewMetadata: { required: true, type: () => [require("./update-user-view-metadata.dto").UpdateUserViewMetadataDto] }, userViewMetadataIds: { required: true, type: () => [Number] }, userViewMetadataCommand: { required: true, type: () => String } };
|
|
20
26
|
}
|
|
21
27
|
}
|
|
22
28
|
exports.CreateViewMetadataDto = CreateViewMetadataDto;
|
|
@@ -24,44 +30,75 @@ __decorate([
|
|
|
24
30
|
(0, class_validator_3.IsNotEmpty)(),
|
|
25
31
|
(0, class_validator_2.Matches)(/[a-z]+(-[a-z]+)*/, { message: "Only kebab case allowed for module name, also only lower case." }),
|
|
26
32
|
(0, class_validator_1.IsString)(),
|
|
33
|
+
(0, swagger_1.ApiProperty)(),
|
|
27
34
|
__metadata("design:type", String)
|
|
28
35
|
], CreateViewMetadataDto.prototype, "name", void 0);
|
|
29
36
|
__decorate([
|
|
30
37
|
(0, class_validator_3.IsNotEmpty)(),
|
|
31
38
|
(0, class_validator_1.IsString)(),
|
|
39
|
+
(0, swagger_1.ApiProperty)(),
|
|
32
40
|
__metadata("design:type", String)
|
|
33
41
|
], CreateViewMetadataDto.prototype, "displayName", void 0);
|
|
34
42
|
__decorate([
|
|
35
43
|
(0, class_validator_3.IsNotEmpty)(),
|
|
36
44
|
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
46
|
__metadata("design:type", String)
|
|
38
47
|
], CreateViewMetadataDto.prototype, "type", void 0);
|
|
39
48
|
__decorate([
|
|
40
49
|
(0, class_validator_3.IsNotEmpty)(),
|
|
41
50
|
(0, class_validator_3.IsJSON)(),
|
|
51
|
+
(0, swagger_1.ApiProperty)(),
|
|
42
52
|
__metadata("design:type", Object)
|
|
43
53
|
], CreateViewMetadataDto.prototype, "context", void 0);
|
|
44
54
|
__decorate([
|
|
45
55
|
(0, class_validator_3.IsNotEmpty)(),
|
|
46
56
|
(0, class_validator_3.IsJSON)(),
|
|
57
|
+
(0, swagger_1.ApiProperty)(),
|
|
47
58
|
__metadata("design:type", Object)
|
|
48
59
|
], CreateViewMetadataDto.prototype, "layout", void 0);
|
|
49
60
|
__decorate([
|
|
50
|
-
(0,
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_3.IsInt)(),
|
|
63
|
+
(0, swagger_1.ApiProperty)(),
|
|
51
64
|
__metadata("design:type", Number)
|
|
52
65
|
], CreateViewMetadataDto.prototype, "moduleId", void 0);
|
|
53
66
|
__decorate([
|
|
54
67
|
(0, class_validator_1.IsString)(),
|
|
55
68
|
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, swagger_1.ApiProperty)(),
|
|
56
70
|
__metadata("design:type", String)
|
|
57
71
|
], CreateViewMetadataDto.prototype, "moduleUserKey", void 0);
|
|
58
72
|
__decorate([
|
|
59
|
-
(0,
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_validator_3.IsInt)(),
|
|
75
|
+
(0, swagger_1.ApiProperty)(),
|
|
60
76
|
__metadata("design:type", Number)
|
|
61
77
|
], CreateViewMetadataDto.prototype, "modelId", void 0);
|
|
62
78
|
__decorate([
|
|
63
79
|
(0, class_validator_1.IsString)(),
|
|
64
80
|
(0, class_validator_1.IsOptional)(),
|
|
81
|
+
(0, swagger_1.ApiProperty)(),
|
|
65
82
|
__metadata("design:type", String)
|
|
66
83
|
], CreateViewMetadataDto.prototype, "modelUserKey", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, swagger_1.ApiProperty)(),
|
|
87
|
+
(0, class_validator_3.IsArray)(),
|
|
88
|
+
(0, class_validator_3.ValidateNested)({ each: true }),
|
|
89
|
+
(0, class_transformer_1.Type)(() => update_user_view_metadata_dto_1.UpdateUserViewMetadataDto),
|
|
90
|
+
__metadata("design:type", Array)
|
|
91
|
+
], CreateViewMetadataDto.prototype, "userViewMetadata", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
(0, class_validator_1.IsOptional)(),
|
|
94
|
+
(0, class_validator_3.IsArray)(),
|
|
95
|
+
(0, swagger_1.ApiProperty)(),
|
|
96
|
+
__metadata("design:type", Array)
|
|
97
|
+
], CreateViewMetadataDto.prototype, "userViewMetadataIds", void 0);
|
|
98
|
+
__decorate([
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, class_validator_1.IsOptional)(),
|
|
101
|
+
(0, swagger_1.ApiProperty)(),
|
|
102
|
+
__metadata("design:type", String)
|
|
103
|
+
], CreateViewMetadataDto.prototype, "userViewMetadataCommand", void 0);
|
|
67
104
|
//# sourceMappingURL=create-view-metadata.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/create-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAuD;AACvD,qDAA0C;AAC1C,
|
|
1
|
+
{"version":3,"file":"create-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/create-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAuD;AACvD,qDAA0C;AAC1C,qDAAqF;AACrF,6CAA8C;AAC9C,yDAAyC;AACzC,mFAAmF;AAEnF,MAAa,qBAAqB;IAAlC;QAiBI,YAAO,GAAQ,IAAI,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C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;sEACkB"}
|
|
@@ -2,7 +2,7 @@ import { PaginationQueryDto } from "src/dtos/pagination-query.dto";
|
|
|
2
2
|
export declare class SelectionDynamicQueryDto extends PaginationQueryDto {
|
|
3
3
|
constructor(fieldId: number, query: string, limit: number, offset: number);
|
|
4
4
|
fieldId: number;
|
|
5
|
-
query?:
|
|
5
|
+
query?: any;
|
|
6
6
|
optionValue?: string;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=selection-dynamic-query.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-dynamic-query.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/selection-dynamic-query.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGnE,qBAAa,wBAAyB,SAAQ,kBAAkB;gBAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IASzE,OAAO,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"selection-dynamic-query.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/selection-dynamic-query.dto.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGnE,qBAAa,wBAAyB,SAAQ,kBAAkB;gBAChD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;IASzE,OAAO,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,GAAG,CAAC;IAKZ,WAAW,CAAC,EAAE,MAAM,CAAM;CAC7B"}
|
|
@@ -22,13 +22,12 @@ const integer_transformer_1 = __importDefault(require("../transformers/integer-t
|
|
|
22
22
|
class SelectionDynamicQueryDto extends pagination_query_dto_1.PaginationQueryDto {
|
|
23
23
|
constructor(fieldId, query, limit, offset) {
|
|
24
24
|
super(limit, offset);
|
|
25
|
-
this.query = '';
|
|
26
25
|
this.optionValue = '';
|
|
27
26
|
this.fieldId = fieldId;
|
|
28
27
|
this.query = query;
|
|
29
28
|
}
|
|
30
29
|
static _OPENAPI_METADATA_FACTORY() {
|
|
31
|
-
return { fieldId: { required: true, type: () => Number }, query: { required: false, type: () =>
|
|
30
|
+
return { fieldId: { required: true, type: () => Number }, query: { required: false, type: () => Object }, optionValue: { required: false, type: () => String, default: "" } };
|
|
32
31
|
}
|
|
33
32
|
}
|
|
34
33
|
exports.SelectionDynamicQueryDto = SelectionDynamicQueryDto;
|
|
@@ -42,7 +41,7 @@ __decorate([
|
|
|
42
41
|
(0, swagger_1.ApiProperty)({ description: "Search query string", type: String }),
|
|
43
42
|
(0, class_validator_1.IsString)(),
|
|
44
43
|
(0, class_validator_1.IsOptional)(),
|
|
45
|
-
__metadata("design:type",
|
|
44
|
+
__metadata("design:type", Object)
|
|
46
45
|
], SelectionDynamicQueryDto.prototype, "query", void 0);
|
|
47
46
|
__decorate([
|
|
48
47
|
(0, swagger_1.ApiProperty)({ description: "Value of a single dynamic option", type: String }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-dynamic-query.dto.js","sourceRoot":"","sources":["../../src/dtos/selection-dynamic-query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,6CAA8C;AAC9C,yDAAoD;AACpD,qDAAiE;AACjE,iEAAmE;AACnE,8FAAqE;AAErE,MAAa,wBAAyB,SAAQ,yCAAkB;IAC5D,YAAY,OAAe,EAAE,KAAa,EAAE,KAAa,EAAE,MAAc;QACrE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"selection-dynamic-query.dto.js","sourceRoot":"","sources":["../../src/dtos/selection-dynamic-query.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,6CAA8C;AAC9C,yDAAoD;AACpD,qDAAiE;AACjE,iEAAmE;AACnE,8FAAqE;AAErE,MAAa,wBAAyB,SAAQ,yCAAkB;IAC5D,YAAY,OAAe,EAAE,KAAa,EAAE,KAAa,EAAE,MAAc;QACrE,KAAK,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;QAkBzB,gBAAW,GAAY,EAAE,CAAC;QAjBtB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACvB,CAAC;;;;CAgBJ;AArBD,4DAqBC;AAXG;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,+EAA+E,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC3H,IAAA,0BAAQ,GAAE;IACV,IAAA,6BAAS,EAAC,6BAAkB,CAAC;;yDACd;AAKhB;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,qBAAqB,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IACjE,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;uDACD;AAKZ;IAHC,IAAA,qBAAW,EAAC,EAAE,WAAW,EAAE,kCAAkC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAC9E,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-attachment.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-email-attachment.dto.ts"],"names":[],"mappings":"AAKA,qBAAa,wBAAwB;IAQrC,IAAI,EAAE,MAAM,CAAC;IAMb,WAAW,EAAE,MAAM,CAAC;IAKpB,YAAY,EAAE,MAAM,CAAC;IAKrB,GAAG,EAAE,MAAM,CAAC;IAKZ,QAAQ,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.UpdateEmailAttachmentDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const class_validator_2 = require("class-validator");
|
|
17
|
+
const class_validator_3 = require("class-validator");
|
|
18
|
+
const class_validator_4 = require("class-validator");
|
|
19
|
+
class UpdateEmailAttachmentDto {
|
|
20
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
21
|
+
return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, relativePath: { required: true, type: () => String }, url: { required: true, type: () => String }, template: { required: true, type: () => String } };
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.UpdateEmailAttachmentDto = UpdateEmailAttachmentDto;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
27
|
+
(0, class_validator_3.IsOptional)(),
|
|
28
|
+
(0, class_validator_2.Matches)(/[a-z]+(-[a-z]+)*/),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, swagger_1.ApiProperty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], UpdateEmailAttachmentDto.prototype, "name", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_3.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, swagger_1.ApiProperty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], UpdateEmailAttachmentDto.prototype, "displayName", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_3.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
(0, swagger_1.ApiProperty)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], UpdateEmailAttachmentDto.prototype, "relativePath", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_3.IsOptional)(),
|
|
48
|
+
(0, class_validator_1.IsString)(),
|
|
49
|
+
(0, swagger_1.ApiProperty)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], UpdateEmailAttachmentDto.prototype, "url", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_3.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, swagger_1.ApiProperty)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], UpdateEmailAttachmentDto.prototype, "template", void 0);
|
|
58
|
+
//# sourceMappingURL=update-email-attachment.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-email-attachment.dto.js","sourceRoot":"","sources":["../../src/dtos/update-email-attachment.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA2C;AAC3C,qDAA0C;AAC1C,qDAA6C;AAC7C,qDAA6C;AAC7C,MAAa,wBAAwB;;;;CA8BpC;AA9BD,4DA8BC;AAtBD;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;sDACD;AAMb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;6DACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;8DACO;AAKrB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;qDACF;AAKZ;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;0DACG"}
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { CreateEmailTemplateDto } from './create-email-template.dto';
|
|
2
2
|
declare const UpdateEmailTemplateDto_base: import("@nestjs/common").Type<Partial<CreateEmailTemplateDto>>;
|
|
3
3
|
export declare class UpdateEmailTemplateDto extends UpdateEmailTemplateDto_base {
|
|
4
|
+
name: string;
|
|
5
|
+
displayName: string;
|
|
6
|
+
body: string;
|
|
7
|
+
type: string;
|
|
8
|
+
subject: string;
|
|
9
|
+
description: string;
|
|
10
|
+
active: boolean;
|
|
4
11
|
}
|
|
5
12
|
export {};
|
|
6
13
|
//# sourceMappingURL=update-email-template.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-email-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-email-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;
|
|
1
|
+
{"version":3,"file":"update-email-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-email-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;;AAMrE,qBAAa,sBAAuB,SAAQ,2BAAmC;IAM3E,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAIb,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,MAAM,CAAC;IAIhB,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -1,14 +1,74 @@
|
|
|
1
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
|
+
};
|
|
2
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
12
|
exports.UpdateEmailTemplateDto = void 0;
|
|
4
13
|
const openapi = require("@nestjs/swagger");
|
|
5
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
6
15
|
const create_email_template_dto_1 = require("./create-email-template.dto");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const class_validator_2 = require("class-validator");
|
|
18
|
+
const class_validator_3 = require("class-validator");
|
|
19
|
+
const class_validator_4 = require("class-validator");
|
|
7
20
|
class UpdateEmailTemplateDto extends (0, swagger_1.PartialType)(create_email_template_dto_1.CreateEmailTemplateDto) {
|
|
8
21
|
static _OPENAPI_METADATA_FACTORY() {
|
|
9
|
-
return {};
|
|
22
|
+
return { name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, type: { required: true, type: () => String }, subject: { required: true, type: () => String }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean } };
|
|
10
23
|
}
|
|
11
24
|
}
|
|
12
25
|
exports.UpdateEmailTemplateDto = UpdateEmailTemplateDto;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_3.IsOptional)(),
|
|
29
|
+
(0, class_validator_2.Matches)(/[a-z]+(-[a-z]+)*/),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, swagger_1.ApiProperty)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], UpdateEmailTemplateDto.prototype, "name", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
36
|
+
(0, class_validator_3.IsOptional)(),
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, swagger_1.ApiProperty)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], UpdateEmailTemplateDto.prototype, "displayName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
43
|
+
(0, class_validator_3.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, swagger_1.ApiProperty)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], UpdateEmailTemplateDto.prototype, "body", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_3.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, swagger_1.ApiProperty)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], UpdateEmailTemplateDto.prototype, "type", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_4.IsNotEmpty)(),
|
|
56
|
+
(0, class_validator_3.IsOptional)(),
|
|
57
|
+
(0, class_validator_1.IsString)(),
|
|
58
|
+
(0, swagger_1.ApiProperty)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], UpdateEmailTemplateDto.prototype, "subject", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, class_validator_3.IsOptional)(),
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
(0, swagger_1.ApiProperty)(),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], UpdateEmailTemplateDto.prototype, "description", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_3.IsOptional)(),
|
|
69
|
+
(0, class_validator_4.IsBoolean)(),
|
|
70
|
+
(0, swagger_1.ApiProperty)(),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], UpdateEmailTemplateDto.prototype, "active", void 0);
|
|
13
73
|
{ }
|
|
14
74
|
//# sourceMappingURL=update-email-template.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-email-template.dto.js","sourceRoot":"","sources":["../../src/dtos/update-email-template.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-email-template.dto.js","sourceRoot":"","sources":["../../src/dtos/update-email-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA2D;AAC3D,2EAAqE;AACrE,qDAA2C;AAC3C,qDAA0C;AAC1C,qDAA6C;AAC7C,qDAAwD;AAExD,MAAa,sBAAuB,SAAQ,IAAA,qBAAW,EAAC,kDAAsB,CAAC;;;;CAkC9E;AAlCD,wDAkCC;AA5BG;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAKpB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAIb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;oDACD;AAKb;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;uDACE;AAIhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;2DACM;AAIpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;sDACE;AAClB,CAAC,CAAC,CAAC"}
|