@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
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { CreateSmsTemplateDto } from './create-sms-template.dto';
|
|
2
2
|
declare const UpdateSmsTemplateDto_base: import("@nestjs/common").Type<Partial<CreateSmsTemplateDto>>;
|
|
3
3
|
export declare class UpdateSmsTemplateDto extends UpdateSmsTemplateDto_base {
|
|
4
|
+
type: string;
|
|
5
|
+
name: string;
|
|
6
|
+
smsProviderTemplateId: string;
|
|
7
|
+
displayName: string;
|
|
8
|
+
body: string;
|
|
9
|
+
description: string;
|
|
10
|
+
active: boolean;
|
|
4
11
|
}
|
|
5
12
|
export {};
|
|
6
13
|
//# sourceMappingURL=update-sms-template.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sms-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-sms-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;
|
|
1
|
+
{"version":3,"file":"update-sms-template.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-sms-template.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;;AAIjE,qBAAa,oBAAqB,SAAQ,yBAAiC;IAI3E,IAAI,EAAE,MAAM,CAAC;IAOb,IAAI,EAAE,MAAM,CAAC;IAKb,qBAAqB,EAAE,MAAM,CAAC;IAM9B,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;CACf"}
|
|
@@ -1,14 +1,70 @@
|
|
|
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.UpdateSmsTemplateDto = void 0;
|
|
4
13
|
const openapi = require("@nestjs/swagger");
|
|
5
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
6
15
|
const create_sms_template_dto_1 = require("./create-sms-template.dto");
|
|
16
|
+
const class_validator_1 = require("class-validator");
|
|
17
|
+
const class_validator_2 = require("class-validator");
|
|
7
18
|
class UpdateSmsTemplateDto extends (0, swagger_1.PartialType)(create_sms_template_dto_1.CreateSmsTemplateDto) {
|
|
8
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
9
|
-
return {};
|
|
20
|
+
return { type: { required: true, type: () => String }, name: { required: true, type: () => String, pattern: "/[a-z]+(-[a-z]+)*/" }, smsProviderTemplateId: { required: true, type: () => String }, displayName: { required: true, type: () => String }, body: { required: true, type: () => String }, description: { required: true, type: () => String }, active: { required: true, type: () => Boolean } };
|
|
10
21
|
}
|
|
11
22
|
}
|
|
12
23
|
exports.UpdateSmsTemplateDto = UpdateSmsTemplateDto;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_2.IsOptional)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
(0, swagger_1.ApiProperty)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], UpdateSmsTemplateDto.prototype, "type", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_2.IsNotEmpty)(),
|
|
32
|
+
(0, class_validator_2.IsOptional)(),
|
|
33
|
+
(0, class_validator_2.Matches)(/[a-z]+(-[a-z]+)*/),
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, swagger_1.ApiProperty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], UpdateSmsTemplateDto.prototype, "name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_2.IsOptional)(),
|
|
40
|
+
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, swagger_1.ApiProperty)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], UpdateSmsTemplateDto.prototype, "smsProviderTemplateId", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_2.IsNotEmpty)(),
|
|
46
|
+
(0, class_validator_2.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, swagger_1.ApiProperty)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], UpdateSmsTemplateDto.prototype, "displayName", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_2.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UpdateSmsTemplateDto.prototype, "body", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_2.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
(0, swagger_1.ApiProperty)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], UpdateSmsTemplateDto.prototype, "description", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_2.IsOptional)(),
|
|
65
|
+
(0, class_validator_2.IsBoolean)(),
|
|
66
|
+
(0, swagger_1.ApiProperty)(),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], UpdateSmsTemplateDto.prototype, "active", void 0);
|
|
13
69
|
{ }
|
|
14
70
|
//# sourceMappingURL=update-sms-template.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sms-template.dto.js","sourceRoot":"","sources":["../../src/dtos/update-sms-template.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-sms-template.dto.js","sourceRoot":"","sources":["../../src/dtos/update-sms-template.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA2D;AAC3D,uEAAiE;AACjE,qDAA2C;AAC3C,qDAA6E;AAE7E,MAAa,oBAAqB,SAAQ,IAAA,qBAAW,EAAC,8CAAoB,CAAC;;;;CAsC1E;AAtCD,oDAsCC;AAlCD;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAOb;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;IAC3B,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;mEACgB;AAM9B;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;kDACD;AAKb;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAW,GAAE;;yDACM;AAKpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,qBAAW,GAAE;;oDACE;AACd,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-view-metadata.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-user-view-metadata.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,yBAAyB;IAGlC,EAAE,EAAE,MAAM,CAAC;IAIX,MAAM,EAAE,MAAM,CAAC;IAIf,WAAW,EAAE,MAAM,CAAC;IAIpB,MAAM,EAAE,GAAG,CAAC;IAIZ,cAAc,EAAE,MAAM,CAAC;IAIvB,mBAAmB,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.UpdateUserViewMetadataDto = void 0;
|
|
13
|
+
const openapi = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
class UpdateUserViewMetadataDto {
|
|
17
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
18
|
+
return { id: { required: true, type: () => Number }, userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, layout: { required: true, type: () => Object }, viewMetadataId: { required: true, type: () => Number }, viewMetadataUserKey: { required: true, type: () => String } };
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.UpdateUserViewMetadataDto = UpdateUserViewMetadataDto;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsInt)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], UpdateUserViewMetadataDto.prototype, "id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsInt)(),
|
|
30
|
+
(0, swagger_1.ApiProperty)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], UpdateUserViewMetadataDto.prototype, "userId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], UpdateUserViewMetadataDto.prototype, "userUserKey", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsJSON)(),
|
|
42
|
+
(0, swagger_1.ApiProperty)(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], UpdateUserViewMetadataDto.prototype, "layout", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsInt)(),
|
|
48
|
+
(0, swagger_1.ApiProperty)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], UpdateUserViewMetadataDto.prototype, "viewMetadataId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsString)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], UpdateUserViewMetadataDto.prototype, "viewMetadataUserKey", void 0);
|
|
57
|
+
//# sourceMappingURL=update-user-view-metadata.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-user-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/update-user-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAqE;AACrE,6CAA8C;AAE9C,MAAa,yBAAyB;;;;CAwBrC;AAxBD,8DAwBC;AArBG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;qDACG;AAIX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;yDACC;AAIf;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;8DACM;AAIpB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,qBAAW,GAAE;;yDACF;AAIZ;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;IACP,IAAA,qBAAW,GAAE;;iEACS;AAIvB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;IACZ,IAAA,qBAAW,GAAE;;sEACc"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { UpdateRoleMetadataDto } from 'src/dtos/update-role-metadata.dto';
|
|
2
|
+
import { UpdateUserViewMetadataDto } from 'src/dtos/update-user-view-metadata.dto';
|
|
1
3
|
export declare class UpdateUserDto {
|
|
2
4
|
id: number;
|
|
3
5
|
fullName: string;
|
|
@@ -29,5 +31,11 @@ export declare class UpdateUserDto {
|
|
|
29
31
|
mobileVerificationTokenOnLogin: string;
|
|
30
32
|
mobileVerificationTokenOnLoginExpiresAt: Date;
|
|
31
33
|
customPayload: string;
|
|
34
|
+
roles: UpdateRoleMetadataDto[];
|
|
35
|
+
rolesIds: number[];
|
|
36
|
+
rolesCommand: string;
|
|
37
|
+
userViewMetadata: UpdateUserViewMetadataDto[];
|
|
38
|
+
userViewMetadataIds: number[];
|
|
39
|
+
userViewMetadataCommand: string;
|
|
32
40
|
}
|
|
33
41
|
//# sourceMappingURL=update-user.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-user.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-user.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,qBAAa,aAAa;IAGtB,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAIjB,KAAK,EAAE,MAAM,CAAC;IAId,MAAM,EAAE,MAAM,CAAC;IAKf,QAAQ,EAAE,MAAM,CAAC;IAKjB,eAAe,EAAE,MAAM,CAAC;IAIxB,mBAAmB,EAAE,OAAO,CAAQ;IAKpC,iBAAiB,EAAE,MAAM,CAAW;IAIpC,UAAU,EAAE,MAAM,CAAC;IAInB,iBAAiB,EAAE,MAAM,CAAC;IAI1B,QAAQ,EAAE,MAAM,CAAC;IAIjB,oBAAoB,EAAE,MAAM,CAAC;IAK7B,MAAM,EAAE,OAAO,CAAQ;IAIvB,yBAAyB,EAAE,IAAI,CAAwC;IAIvE,iCAAiC,EAAE,MAAM,CAAC;IAI1C,0CAA0C,EAAE,IAAI,CAAwC;IAIxF,6BAA6B,EAAE,IAAI,CAAwC;IAI3E,oCAAoC,EAAE,MAAM,CAAC;IAI7C,6CAA6C,EAAE,IAAI,CAAwC;IAI3F,8BAA8B,EAAE,IAAI,CAAwC;IAI5E,qCAAqC,EAAE,MAAM,CAAC;IAI9C,8CAA8C,EAAE,IAAI,CAAwC;IAI5F,sBAAsB,EAAE,IAAI,CAAwC;IAIpE,6BAA6B,EAAE,MAAM,CAAC;IAItC,sCAAsC,EAAE,IAAI,CAAwC;IAIpF,uBAAuB,EAAE,IAAI,CAAwC;IAIrE,8BAA8B,EAAE,MAAM,CAAC;IAIvC,uCAAuC,EAAE,IAAI,CAAwC;IAIrF,aAAa,EAAE,MAAM,CAAC;IAMtB,KAAK,EAAE,qBAAqB,EAAE,CAAC;IAI/B,QAAQ,EAAE,MAAM,EAAE,CAAC;IAInB,YAAY,EAAE,MAAM,CAAC;IAMrB,gBAAgB,EAAE,yBAAyB,EAAE,CAAC;IAI9C,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAI9B,uBAAuB,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -12,6 +12,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateUserDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const update_role_metadata_dto_1 = require("./update-role-metadata.dto");
|
|
18
|
+
const update_user_view_metadata_dto_1 = require("./update-user-view-metadata.dto");
|
|
15
19
|
class UpdateUserDto {
|
|
16
20
|
constructor() {
|
|
17
21
|
this.forcePasswordChange = true;
|
|
@@ -29,7 +33,7 @@ class UpdateUserDto {
|
|
|
29
33
|
this.mobileVerificationTokenOnLoginExpiresAt = new Date("1970-01-01T00:00:00.000Z");
|
|
30
34
|
}
|
|
31
35
|
static _OPENAPI_METADATA_FACTORY() {
|
|
32
|
-
return { id: { required: true, type: () => Number }, 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 } };
|
|
36
|
+
return { id: { required: true, type: () => Number }, 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 } };
|
|
33
37
|
}
|
|
34
38
|
}
|
|
35
39
|
exports.UpdateUserDto = UpdateUserDto;
|
|
@@ -41,153 +45,220 @@ __decorate([
|
|
|
41
45
|
__decorate([
|
|
42
46
|
(0, class_validator_1.IsOptional)(),
|
|
43
47
|
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, swagger_1.ApiProperty)(),
|
|
44
49
|
__metadata("design:type", String)
|
|
45
50
|
], UpdateUserDto.prototype, "fullName", void 0);
|
|
46
51
|
__decorate([
|
|
47
|
-
(0, class_validator_1.IsOptional)(),
|
|
48
52
|
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
54
|
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, swagger_1.ApiProperty)(),
|
|
50
56
|
__metadata("design:type", String)
|
|
51
57
|
], UpdateUserDto.prototype, "username", void 0);
|
|
52
58
|
__decorate([
|
|
53
59
|
(0, class_validator_1.IsOptional)(),
|
|
54
60
|
(0, class_validator_1.IsString)(),
|
|
61
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
62
|
__metadata("design:type", String)
|
|
56
63
|
], UpdateUserDto.prototype, "email", void 0);
|
|
57
64
|
__decorate([
|
|
58
65
|
(0, class_validator_1.IsOptional)(),
|
|
59
66
|
(0, class_validator_1.IsString)(),
|
|
67
|
+
(0, swagger_1.ApiProperty)(),
|
|
60
68
|
__metadata("design:type", String)
|
|
61
69
|
], UpdateUserDto.prototype, "mobile", void 0);
|
|
62
70
|
__decorate([
|
|
63
71
|
(0, class_validator_1.IsOptional)(),
|
|
64
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
65
72
|
(0, class_validator_1.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
|
|
66
73
|
(0, class_validator_1.IsString)(),
|
|
74
|
+
(0, swagger_1.ApiProperty)(),
|
|
67
75
|
__metadata("design:type", String)
|
|
68
76
|
], UpdateUserDto.prototype, "password", void 0);
|
|
69
77
|
__decorate([
|
|
70
78
|
(0, class_validator_1.IsOptional)(),
|
|
71
|
-
(0, class_validator_1.IsString)(),
|
|
72
79
|
(0, class_validator_1.Matches)(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\da-zA-Z]).*$/),
|
|
73
|
-
(0, class_validator_1.
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, swagger_1.ApiProperty)(),
|
|
74
82
|
__metadata("design:type", String)
|
|
75
83
|
], UpdateUserDto.prototype, "passwordConfirm", void 0);
|
|
76
84
|
__decorate([
|
|
77
85
|
(0, class_validator_1.IsOptional)(),
|
|
78
86
|
(0, class_validator_1.IsBoolean)(),
|
|
87
|
+
(0, swagger_1.ApiProperty)(),
|
|
79
88
|
__metadata("design:type", Boolean)
|
|
80
89
|
], UpdateUserDto.prototype, "forcePasswordChange", void 0);
|
|
81
90
|
__decorate([
|
|
82
|
-
(0, class_validator_1.IsOptional)(),
|
|
83
91
|
(0, class_validator_1.IsNotEmpty)(),
|
|
92
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
93
|
(0, class_validator_1.IsString)(),
|
|
94
|
+
(0, swagger_1.ApiProperty)(),
|
|
85
95
|
__metadata("design:type", String)
|
|
86
96
|
], UpdateUserDto.prototype, "lastLoginProvider", void 0);
|
|
87
97
|
__decorate([
|
|
88
98
|
(0, class_validator_1.IsOptional)(),
|
|
89
99
|
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, swagger_1.ApiProperty)(),
|
|
90
101
|
__metadata("design:type", String)
|
|
91
102
|
], UpdateUserDto.prototype, "accessCode", void 0);
|
|
92
103
|
__decorate([
|
|
93
104
|
(0, class_validator_1.IsOptional)(),
|
|
94
105
|
(0, class_validator_1.IsString)(),
|
|
106
|
+
(0, swagger_1.ApiProperty)(),
|
|
95
107
|
__metadata("design:type", String)
|
|
96
108
|
], UpdateUserDto.prototype, "googleAccessToken", void 0);
|
|
97
109
|
__decorate([
|
|
98
110
|
(0, class_validator_1.IsOptional)(),
|
|
99
111
|
(0, class_validator_1.IsString)(),
|
|
112
|
+
(0, swagger_1.ApiProperty)(),
|
|
100
113
|
__metadata("design:type", String)
|
|
101
114
|
], UpdateUserDto.prototype, "googleId", void 0);
|
|
102
115
|
__decorate([
|
|
103
116
|
(0, class_validator_1.IsOptional)(),
|
|
104
117
|
(0, class_validator_1.IsString)(),
|
|
118
|
+
(0, swagger_1.ApiProperty)(),
|
|
105
119
|
__metadata("design:type", String)
|
|
106
120
|
], UpdateUserDto.prototype, "googleProfilePicture", void 0);
|
|
107
121
|
__decorate([
|
|
108
|
-
(0, class_validator_1.IsOptional)(),
|
|
109
122
|
(0, class_validator_1.IsNotEmpty)(),
|
|
123
|
+
(0, class_validator_1.IsOptional)(),
|
|
110
124
|
(0, class_validator_1.IsBoolean)(),
|
|
125
|
+
(0, swagger_1.ApiProperty)(),
|
|
111
126
|
__metadata("design:type", Boolean)
|
|
112
127
|
], UpdateUserDto.prototype, "active", void 0);
|
|
113
128
|
__decorate([
|
|
114
129
|
(0, class_validator_1.IsOptional)(),
|
|
115
130
|
(0, class_validator_1.IsDate)(),
|
|
131
|
+
(0, swagger_1.ApiProperty)(),
|
|
116
132
|
__metadata("design:type", Date)
|
|
117
133
|
], UpdateUserDto.prototype, "forgotPasswordConfirmedAt", void 0);
|
|
118
134
|
__decorate([
|
|
119
135
|
(0, class_validator_1.IsOptional)(),
|
|
120
136
|
(0, class_validator_1.IsString)(),
|
|
137
|
+
(0, swagger_1.ApiProperty)(),
|
|
121
138
|
__metadata("design:type", String)
|
|
122
139
|
], UpdateUserDto.prototype, "verificationTokenOnForgotPassword", void 0);
|
|
123
140
|
__decorate([
|
|
124
141
|
(0, class_validator_1.IsOptional)(),
|
|
125
142
|
(0, class_validator_1.IsDate)(),
|
|
143
|
+
(0, swagger_1.ApiProperty)(),
|
|
126
144
|
__metadata("design:type", Date)
|
|
127
145
|
], UpdateUserDto.prototype, "verificationTokenOnForgotPasswordExpiresAt", void 0);
|
|
128
146
|
__decorate([
|
|
129
147
|
(0, class_validator_1.IsOptional)(),
|
|
130
148
|
(0, class_validator_1.IsDate)(),
|
|
149
|
+
(0, swagger_1.ApiProperty)(),
|
|
131
150
|
__metadata("design:type", Date)
|
|
132
151
|
], UpdateUserDto.prototype, "emailVerifiedOnRegistrationAt", void 0);
|
|
133
152
|
__decorate([
|
|
134
153
|
(0, class_validator_1.IsOptional)(),
|
|
135
154
|
(0, class_validator_1.IsString)(),
|
|
155
|
+
(0, swagger_1.ApiProperty)(),
|
|
136
156
|
__metadata("design:type", String)
|
|
137
157
|
], UpdateUserDto.prototype, "emailVerificationTokenOnRegistration", void 0);
|
|
138
158
|
__decorate([
|
|
139
159
|
(0, class_validator_1.IsOptional)(),
|
|
140
160
|
(0, class_validator_1.IsDate)(),
|
|
161
|
+
(0, swagger_1.ApiProperty)(),
|
|
141
162
|
__metadata("design:type", Date)
|
|
142
163
|
], UpdateUserDto.prototype, "emailVerificationTokenOnRegistrationExpiresAt", void 0);
|
|
143
164
|
__decorate([
|
|
144
165
|
(0, class_validator_1.IsOptional)(),
|
|
145
166
|
(0, class_validator_1.IsDate)(),
|
|
167
|
+
(0, swagger_1.ApiProperty)(),
|
|
146
168
|
__metadata("design:type", Date)
|
|
147
169
|
], UpdateUserDto.prototype, "mobileVerifiedOnRegistrationAt", void 0);
|
|
148
170
|
__decorate([
|
|
149
171
|
(0, class_validator_1.IsOptional)(),
|
|
150
172
|
(0, class_validator_1.IsString)(),
|
|
173
|
+
(0, swagger_1.ApiProperty)(),
|
|
151
174
|
__metadata("design:type", String)
|
|
152
175
|
], UpdateUserDto.prototype, "mobileVerificationTokenOnRegistration", void 0);
|
|
153
176
|
__decorate([
|
|
154
177
|
(0, class_validator_1.IsOptional)(),
|
|
155
178
|
(0, class_validator_1.IsDate)(),
|
|
179
|
+
(0, swagger_1.ApiProperty)(),
|
|
156
180
|
__metadata("design:type", Date)
|
|
157
181
|
], UpdateUserDto.prototype, "mobileVerificationTokenOnRegistrationExpiresAt", void 0);
|
|
158
182
|
__decorate([
|
|
159
183
|
(0, class_validator_1.IsOptional)(),
|
|
160
184
|
(0, class_validator_1.IsDate)(),
|
|
185
|
+
(0, swagger_1.ApiProperty)(),
|
|
161
186
|
__metadata("design:type", Date)
|
|
162
187
|
], UpdateUserDto.prototype, "emailVerifiedOnLoginAt", void 0);
|
|
163
188
|
__decorate([
|
|
164
189
|
(0, class_validator_1.IsOptional)(),
|
|
165
190
|
(0, class_validator_1.IsString)(),
|
|
191
|
+
(0, swagger_1.ApiProperty)(),
|
|
166
192
|
__metadata("design:type", String)
|
|
167
193
|
], UpdateUserDto.prototype, "emailVerificationTokenOnLogin", void 0);
|
|
168
194
|
__decorate([
|
|
169
195
|
(0, class_validator_1.IsOptional)(),
|
|
170
196
|
(0, class_validator_1.IsDate)(),
|
|
197
|
+
(0, swagger_1.ApiProperty)(),
|
|
171
198
|
__metadata("design:type", Date)
|
|
172
199
|
], UpdateUserDto.prototype, "emailVerificationTokenOnLoginExpiresAt", void 0);
|
|
173
200
|
__decorate([
|
|
174
201
|
(0, class_validator_1.IsOptional)(),
|
|
175
202
|
(0, class_validator_1.IsDate)(),
|
|
203
|
+
(0, swagger_1.ApiProperty)(),
|
|
176
204
|
__metadata("design:type", Date)
|
|
177
205
|
], UpdateUserDto.prototype, "mobileVerifiedOnLoginAt", void 0);
|
|
178
206
|
__decorate([
|
|
179
207
|
(0, class_validator_1.IsOptional)(),
|
|
180
208
|
(0, class_validator_1.IsString)(),
|
|
209
|
+
(0, swagger_1.ApiProperty)(),
|
|
181
210
|
__metadata("design:type", String)
|
|
182
211
|
], UpdateUserDto.prototype, "mobileVerificationTokenOnLogin", void 0);
|
|
183
212
|
__decorate([
|
|
184
213
|
(0, class_validator_1.IsOptional)(),
|
|
185
214
|
(0, class_validator_1.IsDate)(),
|
|
215
|
+
(0, swagger_1.ApiProperty)(),
|
|
186
216
|
__metadata("design:type", Date)
|
|
187
217
|
], UpdateUserDto.prototype, "mobileVerificationTokenOnLoginExpiresAt", void 0);
|
|
188
218
|
__decorate([
|
|
189
219
|
(0, class_validator_1.IsOptional)(),
|
|
190
220
|
(0, class_validator_1.IsString)(),
|
|
221
|
+
(0, swagger_1.ApiProperty)(),
|
|
191
222
|
__metadata("design:type", String)
|
|
192
223
|
], UpdateUserDto.prototype, "customPayload", void 0);
|
|
224
|
+
__decorate([
|
|
225
|
+
(0, class_validator_1.IsOptional)(),
|
|
226
|
+
(0, swagger_1.ApiProperty)(),
|
|
227
|
+
(0, class_validator_1.IsArray)(),
|
|
228
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
229
|
+
(0, class_transformer_1.Type)(() => update_role_metadata_dto_1.UpdateRoleMetadataDto),
|
|
230
|
+
__metadata("design:type", Array)
|
|
231
|
+
], UpdateUserDto.prototype, "roles", void 0);
|
|
232
|
+
__decorate([
|
|
233
|
+
(0, class_validator_1.IsOptional)(),
|
|
234
|
+
(0, class_validator_1.IsArray)(),
|
|
235
|
+
(0, swagger_1.ApiProperty)(),
|
|
236
|
+
__metadata("design:type", Array)
|
|
237
|
+
], UpdateUserDto.prototype, "rolesIds", void 0);
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, class_validator_1.IsString)(),
|
|
240
|
+
(0, class_validator_1.IsOptional)(),
|
|
241
|
+
(0, swagger_1.ApiProperty)(),
|
|
242
|
+
__metadata("design:type", String)
|
|
243
|
+
], UpdateUserDto.prototype, "rolesCommand", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, class_validator_1.IsOptional)(),
|
|
246
|
+
(0, swagger_1.ApiProperty)(),
|
|
247
|
+
(0, class_validator_1.IsArray)(),
|
|
248
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
249
|
+
(0, class_transformer_1.Type)(() => update_user_view_metadata_dto_1.UpdateUserViewMetadataDto),
|
|
250
|
+
__metadata("design:type", Array)
|
|
251
|
+
], UpdateUserDto.prototype, "userViewMetadata", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
(0, class_validator_1.IsOptional)(),
|
|
254
|
+
(0, class_validator_1.IsArray)(),
|
|
255
|
+
(0, swagger_1.ApiProperty)(),
|
|
256
|
+
__metadata("design:type", Array)
|
|
257
|
+
], UpdateUserDto.prototype, "userViewMetadataIds", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, class_validator_1.IsString)(),
|
|
260
|
+
(0, class_validator_1.IsOptional)(),
|
|
261
|
+
(0, swagger_1.ApiProperty)(),
|
|
262
|
+
__metadata("design:type", String)
|
|
263
|
+
], UpdateUserDto.prototype, "userViewMetadataCommand", void 0);
|
|
193
264
|
//# sourceMappingURL=update-user.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.dto.js","sourceRoot":"","sources":["../../src/dtos/update-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"update-user.dto.js","sourceRoot":"","sources":["../../src/dtos/update-user.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAA+H;AAC/H,6CAA8C;AAC9C,yDAAyC;AACzC,yEAA0E;AAC1E,mFAAmF;AAEnF,MAAa,aAAa;IAA1B;QAkCI,wBAAmB,GAAY,IAAI,CAAC;QAKpC,sBAAiB,GAAW,OAAO,CAAC;QAqBpC,WAAM,GAAY,IAAI,CAAC;QAIvB,8BAAyB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQvE,+CAA0C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIxF,kCAA6B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ3E,kDAA6C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI3F,mCAA8B,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQ5E,mDAA8C,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAI5F,2BAAsB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQpE,2CAAsC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAIpF,4BAAuB,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;QAQrE,4CAAuC,GAAS,IAAI,IAAI,CAAC,0BAA0B,CAAC,CAAC;KAiCxF;;wjBAvHkC,IAAI,wWA0BjB,IAAI,4EAIY,IAAI,IAAI,CAAC,0BAA0B,CAAC,wKAQnB,IAAI,IAAI,CAAC,0BAA0B,CAAC,gFAIjD,IAAI,IAAI,CAAC,0BAA0B,CAAC,8KAQpB,IAAI,IAAI,CAAC,0BAA0B,CAAC,iFAInD,IAAI,IAAI,CAAC,0BAA0B,CAAC,gLAQpB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,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 UpdateViewMetadataDto {
|
|
2
3
|
id: number;
|
|
3
4
|
name: string;
|
|
@@ -9,5 +10,8 @@ export declare class UpdateViewMetadataDto {
|
|
|
9
10
|
moduleUserKey: string;
|
|
10
11
|
modelId: number;
|
|
11
12
|
modelUserKey: string;
|
|
13
|
+
userViewMetadata: UpdateUserViewMetadataDto[];
|
|
14
|
+
userViewMetadataIds: number[];
|
|
15
|
+
userViewMetadataCommand: string;
|
|
12
16
|
}
|
|
13
17
|
//# sourceMappingURL=update-view-metadata.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-view-metadata.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-view-metadata.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-view-metadata.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/update-view-metadata.dto.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAEnF,qBAAa,qBAAqB;IAG9B,EAAE,EAAE,MAAM,CAAC;IAMX,IAAI,EAAE,MAAM,CAAC;IAKb,WAAW,EAAE,MAAM,CAAC;IAKpB,IAAI,EAAE,MAAM,CAAC;IAKb,OAAO,EAAE,GAAG,CAAC;IAKb,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"}
|
|
@@ -12,9 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.UpdateViewMetadataDto = void 0;
|
|
13
13
|
const openapi = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const class_transformer_1 = require("class-transformer");
|
|
17
|
+
const update_user_view_metadata_dto_1 = require("./update-user-view-metadata.dto");
|
|
15
18
|
class UpdateViewMetadataDto {
|
|
16
19
|
static _OPENAPI_METADATA_FACTORY() {
|
|
17
|
-
return { id: { required: true, type: () => Number }, 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 } };
|
|
20
|
+
return { id: { required: true, type: () => Number }, 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 }, userViewMetadata: { required: true, type: () => [require("./update-user-view-metadata.dto").UpdateUserViewMetadataDto] }, userViewMetadataIds: { required: true, type: () => [Number] }, userViewMetadataCommand: { required: true, type: () => String } };
|
|
18
21
|
}
|
|
19
22
|
}
|
|
20
23
|
exports.UpdateViewMetadataDto = UpdateViewMetadataDto;
|
|
@@ -24,56 +27,83 @@ __decorate([
|
|
|
24
27
|
__metadata("design:type", Number)
|
|
25
28
|
], UpdateViewMetadataDto.prototype, "id", void 0);
|
|
26
29
|
__decorate([
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
30
|
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
32
|
(0, class_validator_1.Matches)(/[a-z]+(-[a-z]+)*/),
|
|
30
33
|
(0, class_validator_1.IsString)(),
|
|
34
|
+
(0, swagger_1.ApiProperty)(),
|
|
31
35
|
__metadata("design:type", String)
|
|
32
36
|
], UpdateViewMetadataDto.prototype, "name", void 0);
|
|
33
37
|
__decorate([
|
|
34
|
-
(0, class_validator_1.IsOptional)(),
|
|
35
38
|
(0, class_validator_1.IsNotEmpty)(),
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
40
|
(0, class_validator_1.IsString)(),
|
|
41
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
42
|
__metadata("design:type", String)
|
|
38
43
|
], UpdateViewMetadataDto.prototype, "displayName", void 0);
|
|
39
44
|
__decorate([
|
|
40
|
-
(0, class_validator_1.IsOptional)(),
|
|
41
45
|
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
47
|
(0, class_validator_1.IsString)(),
|
|
48
|
+
(0, swagger_1.ApiProperty)(),
|
|
43
49
|
__metadata("design:type", String)
|
|
44
50
|
], UpdateViewMetadataDto.prototype, "type", void 0);
|
|
45
51
|
__decorate([
|
|
46
|
-
(0, class_validator_1.IsOptional)(),
|
|
47
52
|
(0, class_validator_1.IsNotEmpty)(),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
54
|
(0, class_validator_1.IsJSON)(),
|
|
55
|
+
(0, swagger_1.ApiProperty)(),
|
|
49
56
|
__metadata("design:type", Object)
|
|
50
57
|
], UpdateViewMetadataDto.prototype, "context", void 0);
|
|
51
58
|
__decorate([
|
|
52
|
-
(0, class_validator_1.IsOptional)(),
|
|
53
59
|
(0, class_validator_1.IsNotEmpty)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
61
|
(0, class_validator_1.IsJSON)(),
|
|
62
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
63
|
__metadata("design:type", Object)
|
|
56
64
|
], UpdateViewMetadataDto.prototype, "layout", void 0);
|
|
57
65
|
__decorate([
|
|
58
66
|
(0, class_validator_1.IsOptional)(),
|
|
59
|
-
(0, class_validator_1.
|
|
67
|
+
(0, class_validator_1.IsInt)(),
|
|
68
|
+
(0, swagger_1.ApiProperty)(),
|
|
60
69
|
__metadata("design:type", Number)
|
|
61
70
|
], UpdateViewMetadataDto.prototype, "moduleId", void 0);
|
|
62
71
|
__decorate([
|
|
63
|
-
(0, class_validator_1.IsOptional)(),
|
|
64
72
|
(0, class_validator_1.IsString)(),
|
|
65
73
|
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, swagger_1.ApiProperty)(),
|
|
66
75
|
__metadata("design:type", String)
|
|
67
76
|
], UpdateViewMetadataDto.prototype, "moduleUserKey", void 0);
|
|
68
77
|
__decorate([
|
|
69
78
|
(0, class_validator_1.IsOptional)(),
|
|
70
|
-
(0, class_validator_1.
|
|
79
|
+
(0, class_validator_1.IsInt)(),
|
|
80
|
+
(0, swagger_1.ApiProperty)(),
|
|
71
81
|
__metadata("design:type", Number)
|
|
72
82
|
], UpdateViewMetadataDto.prototype, "modelId", void 0);
|
|
73
83
|
__decorate([
|
|
74
|
-
(0, class_validator_1.IsOptional)(),
|
|
75
84
|
(0, class_validator_1.IsString)(),
|
|
76
85
|
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, swagger_1.ApiProperty)(),
|
|
77
87
|
__metadata("design:type", String)
|
|
78
88
|
], UpdateViewMetadataDto.prototype, "modelUserKey", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsOptional)(),
|
|
91
|
+
(0, swagger_1.ApiProperty)(),
|
|
92
|
+
(0, class_validator_1.IsArray)(),
|
|
93
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
94
|
+
(0, class_transformer_1.Type)(() => update_user_view_metadata_dto_1.UpdateUserViewMetadataDto),
|
|
95
|
+
__metadata("design:type", Array)
|
|
96
|
+
], UpdateViewMetadataDto.prototype, "userViewMetadata", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.IsArray)(),
|
|
100
|
+
(0, swagger_1.ApiProperty)(),
|
|
101
|
+
__metadata("design:type", Array)
|
|
102
|
+
], UpdateViewMetadataDto.prototype, "userViewMetadataIds", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsString)(),
|
|
105
|
+
(0, class_validator_1.IsOptional)(),
|
|
106
|
+
(0, swagger_1.ApiProperty)(),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], UpdateViewMetadataDto.prototype, "userViewMetadataCommand", void 0);
|
|
79
109
|
//# sourceMappingURL=update-view-metadata.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/update-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"update-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/update-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,qDAAoH;AACpH,6CAA8C;AAC9C,yDAAyC;AACzC,mFAAmF;AAEnF,MAAa,qBAAqB;;;;CA4DjC;AA5DD,sDA4DC;AAzDG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;iDACG;AAMX;IALC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,EAAC,kBAAkB,CAAC;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