@solidstarters/solid-core 1.2.45 → 1.2.47
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/user-view-metadata.controller.d.ts +43 -0
- package/dist/controllers/user-view-metadata.controller.d.ts.map +1 -0
- package/dist/controllers/user-view-metadata.controller.js +192 -0
- package/dist/controllers/user-view-metadata.controller.js.map +1 -0
- 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-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/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 +412 -134
- package/dist/services/authentication.service.d.ts +1 -0
- package/dist/services/authentication.service.d.ts.map +1 -1
- package/dist/services/user-view-metadata.service.d.ts +24 -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 +3 -1
- 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/user-view-metadata.controller.ts +99 -0
- 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-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/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 +412 -144
- package/src/services/user-view-metadata.service.ts +54 -0
- package/src/services/view-metadata.service.ts +23 -2
- package/src/solid-core.module.ts +7 -1
|
@@ -82,6 +82,7 @@ export declare class AuthenticationController {
|
|
|
82
82
|
mobileVerificationTokenOnLoginExpiresAt: Date;
|
|
83
83
|
customPayload: string;
|
|
84
84
|
roles: import("..").RoleMetadata[];
|
|
85
|
+
userViewMetadata: import("..").UserViewMetadata[];
|
|
85
86
|
id: number;
|
|
86
87
|
createdAt: Date;
|
|
87
88
|
updatedAt: Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/authentication.controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAI5D,OAAO,EAAE,yB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,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAK1E,qBAEa,wBAAwB;IAGrB,OAAO,CAAC,QAAQ,CAAC,WAAW;IAFxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6C;gBAEvC,WAAW,EAAE,qBAAqB;IAI/D,MAAM,CAAS,SAAS,EAAE,SAAS;IAMnC,aAAa,CAAS,SAAS,EAAE,SAAS,EAAgB,UAAU,EAAE,cAAc;IAQ9E,MAAM,CACoB,QAAQ,EAAE,QAAQ,EACtC,SAAS,EAAE,SAAS;;;;;;;;;;;;IAoBhC,aAAa,CAAS,eAAe,EAAE,eAAe;;;;IAMtD,sBAAsB,CAAS,yBAAyB,EAAE,yBAAyB;;;;;;;;;;;;;IAMnF,qBAAqB,CAAS,wBAAwB,EAAE,wBAAwB;;;;;;;IAMhF,cAAc,CAAS,iBAAiB,EAAE,iBAAiB,EAAgB,UAAU,EAAE,cAAc;IAMrG,EAAE,CACgB,UAAU,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAQtC,MAAM;CAGf"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { UserViewMetadataService } from '../services/user-view-metadata.service';
|
|
2
|
+
import { CreateUserViewMetadataDto } from '../dtos/create-user-view-metadata.dto';
|
|
3
|
+
import { UpdateUserViewMetadataDto } from '../dtos/update-user-view-metadata.dto';
|
|
4
|
+
import { UpsertUserViewMetadataDto } from 'src/dtos/upsert-user-view-metadata.dto';
|
|
5
|
+
export declare class UserViewMetadataController {
|
|
6
|
+
private readonly service;
|
|
7
|
+
constructor(service: UserViewMetadataService);
|
|
8
|
+
create(createDto: CreateUserViewMetadataDto, files: Array<Express.Multer.File>): Promise<import("..").UserViewMetadata>;
|
|
9
|
+
insertMany(createDtos: CreateUserViewMetadataDto[], filesArray?: Express.Multer.File[][]): Promise<import("..").UserViewMetadata[]>;
|
|
10
|
+
update(id: number, updateDto: UpdateUserViewMetadataDto, files: Array<Express.Multer.File>): Promise<import("..").UserViewMetadata>;
|
|
11
|
+
partialUpdate(id: number, updateDto: UpdateUserViewMetadataDto, files: Array<Express.Multer.File>): Promise<import("..").UserViewMetadata>;
|
|
12
|
+
recoverMany(ids: number[]): Promise<{
|
|
13
|
+
message: string;
|
|
14
|
+
recoveredIds: number[];
|
|
15
|
+
}>;
|
|
16
|
+
recover(id: number): Promise<{
|
|
17
|
+
message: string;
|
|
18
|
+
data: import("..").UserViewMetadata;
|
|
19
|
+
}>;
|
|
20
|
+
findMany(query: any): Promise<{
|
|
21
|
+
groupMeta: any[];
|
|
22
|
+
groupRecords: any[];
|
|
23
|
+
meta?: undefined;
|
|
24
|
+
records?: undefined;
|
|
25
|
+
} | {
|
|
26
|
+
meta: {
|
|
27
|
+
totalRecords: number;
|
|
28
|
+
currentPage: number;
|
|
29
|
+
nextPage: number;
|
|
30
|
+
prevPage: number;
|
|
31
|
+
totalPages: number;
|
|
32
|
+
perPage: number;
|
|
33
|
+
};
|
|
34
|
+
records: import("..").UserViewMetadata[];
|
|
35
|
+
groupMeta?: undefined;
|
|
36
|
+
groupRecords?: undefined;
|
|
37
|
+
}>;
|
|
38
|
+
findOne(id: string, query: any): Promise<import("..").UserViewMetadata>;
|
|
39
|
+
deleteMany(ids: number[]): Promise<any>;
|
|
40
|
+
delete(id: number): Promise<import("..").UserViewMetadata>;
|
|
41
|
+
upsert(query: UpsertUserViewMetadataDto): Promise<import("..").UserViewMetadata>;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=user-view-metadata.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-view-metadata.controller.d.ts","sourceRoot":"","sources":["../../src/controllers/user-view-metadata.controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AAOnF,qBAEa,0BAA0B;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,uBAAuB;IAK7D,MAAM,CAAS,SAAS,EAAE,yBAAyB,EAAmB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;IAOvG,UAAU,CAAS,UAAU,EAAE,yBAAyB,EAAE,EAAmB,UAAU,GAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,EAAO;IAQrH,MAAM,CAAc,EAAE,EAAE,MAAM,EAAU,SAAS,EAAE,yBAAyB,EAAmB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;IAOhI,aAAa,CAAc,EAAE,EAAE,MAAM,EAAU,SAAS,EAAE,yBAAyB,EAAmB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC;IAMjI,WAAW,CAAS,GAAG,EAAE,MAAM,EAAE;;;;IAMjC,OAAO,CAAc,EAAE,EAAE,MAAM;;;;IAe/B,QAAQ,CAAU,KAAK,EAAE,GAAG;;;;;;;;;;;;;;;;;;IAM5B,OAAO,CAAc,EAAE,EAAE,MAAM,EAAW,KAAK,EAAE,GAAG;IAMpD,UAAU,CAAS,GAAG,EAAE,MAAM,EAAE;IAMhC,MAAM,CAAc,EAAE,EAAE,MAAM;IAM9B,MAAM,CAAS,KAAK,EAAE,yBAAyB;CAItD"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.UserViewMetadataController = void 0;
|
|
16
|
+
const openapi = require("@nestjs/swagger");
|
|
17
|
+
const common_1 = require("@nestjs/common");
|
|
18
|
+
const platform_express_1 = require("@nestjs/platform-express");
|
|
19
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
20
|
+
const user_view_metadata_service_1 = require("../services/user-view-metadata.service");
|
|
21
|
+
const create_user_view_metadata_dto_1 = require("../dtos/create-user-view-metadata.dto");
|
|
22
|
+
const update_user_view_metadata_dto_1 = require("../dtos/update-user-view-metadata.dto");
|
|
23
|
+
const upsert_user_view_metadata_dto_1 = require("../dtos/upsert-user-view-metadata.dto");
|
|
24
|
+
var ShowSoftDeleted;
|
|
25
|
+
(function (ShowSoftDeleted) {
|
|
26
|
+
ShowSoftDeleted["INCLUSIVE"] = "inclusive";
|
|
27
|
+
ShowSoftDeleted["EXCLUSIVE"] = "exclusive";
|
|
28
|
+
})(ShowSoftDeleted || (ShowSoftDeleted = {}));
|
|
29
|
+
let UserViewMetadataController = class UserViewMetadataController {
|
|
30
|
+
constructor(service) {
|
|
31
|
+
this.service = service;
|
|
32
|
+
}
|
|
33
|
+
create(createDto, files) {
|
|
34
|
+
return this.service.create(createDto, files);
|
|
35
|
+
}
|
|
36
|
+
insertMany(createDtos, filesArray = []) {
|
|
37
|
+
return this.service.insertMany(createDtos, filesArray);
|
|
38
|
+
}
|
|
39
|
+
update(id, updateDto, files) {
|
|
40
|
+
return this.service.update(id, updateDto, files);
|
|
41
|
+
}
|
|
42
|
+
partialUpdate(id, updateDto, files) {
|
|
43
|
+
return this.service.update(id, updateDto, files, true);
|
|
44
|
+
}
|
|
45
|
+
async recoverMany(ids) {
|
|
46
|
+
return this.service.recoverMany(ids);
|
|
47
|
+
}
|
|
48
|
+
async recover(id) {
|
|
49
|
+
return this.service.recover(id);
|
|
50
|
+
}
|
|
51
|
+
async findMany(query) {
|
|
52
|
+
return this.service.find(query);
|
|
53
|
+
}
|
|
54
|
+
async findOne(id, query) {
|
|
55
|
+
return this.service.findOne(+id, query);
|
|
56
|
+
}
|
|
57
|
+
async deleteMany(ids) {
|
|
58
|
+
return this.service.deleteMany(ids);
|
|
59
|
+
}
|
|
60
|
+
async delete(id) {
|
|
61
|
+
return this.service.delete(id);
|
|
62
|
+
}
|
|
63
|
+
async upsert(query) {
|
|
64
|
+
return this.service.upsert(query);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
exports.UserViewMetadataController = UserViewMetadataController;
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
70
|
+
(0, common_1.Post)(),
|
|
71
|
+
(0, common_1.UseInterceptors)((0, platform_express_1.AnyFilesInterceptor)()),
|
|
72
|
+
openapi.ApiResponse({ status: 201, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
73
|
+
__param(0, (0, common_1.Body)()),
|
|
74
|
+
__param(1, (0, common_1.UploadedFiles)()),
|
|
75
|
+
__metadata("design:type", Function),
|
|
76
|
+
__metadata("design:paramtypes", [create_user_view_metadata_dto_1.CreateUserViewMetadataDto, Array]),
|
|
77
|
+
__metadata("design:returntype", void 0)
|
|
78
|
+
], UserViewMetadataController.prototype, "create", null);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
81
|
+
(0, common_1.Post)('/bulk'),
|
|
82
|
+
(0, common_1.UseInterceptors)((0, platform_express_1.AnyFilesInterceptor)()),
|
|
83
|
+
openapi.ApiResponse({ status: 201, type: [require("../entities/user-view-metadata.entity").UserViewMetadata] }),
|
|
84
|
+
__param(0, (0, common_1.Body)()),
|
|
85
|
+
__param(1, (0, common_1.UploadedFiles)()),
|
|
86
|
+
__metadata("design:type", Function),
|
|
87
|
+
__metadata("design:paramtypes", [Array, Array]),
|
|
88
|
+
__metadata("design:returntype", void 0)
|
|
89
|
+
], UserViewMetadataController.prototype, "insertMany", null);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
92
|
+
(0, common_1.Put)(':id'),
|
|
93
|
+
(0, common_1.UseInterceptors)((0, platform_express_1.AnyFilesInterceptor)()),
|
|
94
|
+
openapi.ApiResponse({ status: 200, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
95
|
+
__param(0, (0, common_1.Param)('id')),
|
|
96
|
+
__param(1, (0, common_1.Body)()),
|
|
97
|
+
__param(2, (0, common_1.UploadedFiles)()),
|
|
98
|
+
__metadata("design:type", Function),
|
|
99
|
+
__metadata("design:paramtypes", [Number, update_user_view_metadata_dto_1.UpdateUserViewMetadataDto, Array]),
|
|
100
|
+
__metadata("design:returntype", void 0)
|
|
101
|
+
], UserViewMetadataController.prototype, "update", null);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
104
|
+
(0, common_1.Patch)(':id'),
|
|
105
|
+
(0, common_1.UseInterceptors)((0, platform_express_1.AnyFilesInterceptor)()),
|
|
106
|
+
openapi.ApiResponse({ status: 200, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
107
|
+
__param(0, (0, common_1.Param)('id')),
|
|
108
|
+
__param(1, (0, common_1.Body)()),
|
|
109
|
+
__param(2, (0, common_1.UploadedFiles)()),
|
|
110
|
+
__metadata("design:type", Function),
|
|
111
|
+
__metadata("design:paramtypes", [Number, update_user_view_metadata_dto_1.UpdateUserViewMetadataDto, Array]),
|
|
112
|
+
__metadata("design:returntype", void 0)
|
|
113
|
+
], UserViewMetadataController.prototype, "partialUpdate", null);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
116
|
+
(0, common_1.Post)('/bulk-recover'),
|
|
117
|
+
openapi.ApiResponse({ status: 201 }),
|
|
118
|
+
__param(0, (0, common_1.Body)()),
|
|
119
|
+
__metadata("design:type", Function),
|
|
120
|
+
__metadata("design:paramtypes", [Array]),
|
|
121
|
+
__metadata("design:returntype", Promise)
|
|
122
|
+
], UserViewMetadataController.prototype, "recoverMany", null);
|
|
123
|
+
__decorate([
|
|
124
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
125
|
+
(0, common_1.Get)('/recover/:id'),
|
|
126
|
+
openapi.ApiResponse({ status: 200 }),
|
|
127
|
+
__param(0, (0, common_1.Param)('id')),
|
|
128
|
+
__metadata("design:type", Function),
|
|
129
|
+
__metadata("design:paramtypes", [Number]),
|
|
130
|
+
__metadata("design:returntype", Promise)
|
|
131
|
+
], UserViewMetadataController.prototype, "recover", null);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
134
|
+
(0, swagger_1.ApiQuery)({ name: 'showSoftDeleted', required: false, enum: ShowSoftDeleted }),
|
|
135
|
+
(0, swagger_1.ApiQuery)({ name: 'limit', required: false, type: Number }),
|
|
136
|
+
(0, swagger_1.ApiQuery)({ name: 'offset', required: false, type: Number }),
|
|
137
|
+
(0, swagger_1.ApiQuery)({ name: 'fields', required: false, type: Array }),
|
|
138
|
+
(0, swagger_1.ApiQuery)({ name: 'sort', required: false, type: Array }),
|
|
139
|
+
(0, swagger_1.ApiQuery)({ name: 'groupBy', required: false, type: Array }),
|
|
140
|
+
(0, swagger_1.ApiQuery)({ name: 'populate', required: false, type: Array }),
|
|
141
|
+
(0, swagger_1.ApiQuery)({ name: 'populateMedia', required: false, type: Array }),
|
|
142
|
+
(0, swagger_1.ApiQuery)({ name: 'filters', required: false, type: Array }),
|
|
143
|
+
(0, common_1.Get)(),
|
|
144
|
+
openapi.ApiResponse({ status: 200, type: Object }),
|
|
145
|
+
__param(0, (0, common_1.Query)()),
|
|
146
|
+
__metadata("design:type", Function),
|
|
147
|
+
__metadata("design:paramtypes", [Object]),
|
|
148
|
+
__metadata("design:returntype", Promise)
|
|
149
|
+
], UserViewMetadataController.prototype, "findMany", null);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
152
|
+
(0, common_1.Get)(':id'),
|
|
153
|
+
openapi.ApiResponse({ status: 200, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
154
|
+
__param(0, (0, common_1.Param)('id')),
|
|
155
|
+
__param(1, (0, common_1.Query)()),
|
|
156
|
+
__metadata("design:type", Function),
|
|
157
|
+
__metadata("design:paramtypes", [String, Object]),
|
|
158
|
+
__metadata("design:returntype", Promise)
|
|
159
|
+
], UserViewMetadataController.prototype, "findOne", null);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
162
|
+
(0, common_1.Delete)('/bulk'),
|
|
163
|
+
openapi.ApiResponse({ status: 200, type: Object }),
|
|
164
|
+
__param(0, (0, common_1.Body)()),
|
|
165
|
+
__metadata("design:type", Function),
|
|
166
|
+
__metadata("design:paramtypes", [Array]),
|
|
167
|
+
__metadata("design:returntype", Promise)
|
|
168
|
+
], UserViewMetadataController.prototype, "deleteMany", null);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
171
|
+
(0, common_1.Delete)(':id'),
|
|
172
|
+
openapi.ApiResponse({ status: 200, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
173
|
+
__param(0, (0, common_1.Param)('id')),
|
|
174
|
+
__metadata("design:type", Function),
|
|
175
|
+
__metadata("design:paramtypes", [Number]),
|
|
176
|
+
__metadata("design:returntype", Promise)
|
|
177
|
+
], UserViewMetadataController.prototype, "delete", null);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, swagger_1.ApiBearerAuth)("jwt"),
|
|
180
|
+
(0, common_1.Post)('/upsert'),
|
|
181
|
+
openapi.ApiResponse({ status: 201, type: require("../entities/user-view-metadata.entity").UserViewMetadata }),
|
|
182
|
+
__param(0, (0, common_1.Body)()),
|
|
183
|
+
__metadata("design:type", Function),
|
|
184
|
+
__metadata("design:paramtypes", [upsert_user_view_metadata_dto_1.UpsertUserViewMetadataDto]),
|
|
185
|
+
__metadata("design:returntype", Promise)
|
|
186
|
+
], UserViewMetadataController.prototype, "upsert", null);
|
|
187
|
+
exports.UserViewMetadataController = UserViewMetadataController = __decorate([
|
|
188
|
+
(0, swagger_1.ApiTags)('Solid Core'),
|
|
189
|
+
(0, common_1.Controller)('user-view-metadata'),
|
|
190
|
+
__metadata("design:paramtypes", [user_view_metadata_service_1.UserViewMetadataService])
|
|
191
|
+
], UserViewMetadataController);
|
|
192
|
+
//# sourceMappingURL=user-view-metadata.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-view-metadata.controller.js","sourceRoot":"","sources":["../../src/controllers/user-view-metadata.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAA+H;AAC/H,+DAA+D;AAC/D,6CAAmE;AACnE,uFAAiF;AACjF,yFAAkF;AAClF,yFAAkF;AAClF,yFAAmF;AAEnF,IAAK,eAGJ;AAHD,WAAK,eAAe;IAClB,0CAAuB,CAAA;IACvB,0CAAuB,CAAA;AACzB,CAAC,EAHI,eAAe,KAAf,eAAe,QAGnB;AAIM,IAAM,0BAA0B,GAAhC,MAAM,0BAA0B;IACrC,YAA6B,OAAgC;QAAhC,YA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,GAAG,CAAQ;IAInB,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.CreateUserViewMetadataDto = 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
|
+
class CreateUserViewMetadataDto {
|
|
19
|
+
constructor() {
|
|
20
|
+
this.layout = "{}";
|
|
21
|
+
}
|
|
22
|
+
static _OPENAPI_METADATA_FACTORY() {
|
|
23
|
+
return { userId: { required: true, type: () => Number }, userUserKey: { required: true, type: () => String }, layout: { required: true, type: () => Object, default: "{}" }, viewMetadataId: { required: true, type: () => Number }, viewMetadataUserKey: { required: true, type: () => String } };
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.CreateUserViewMetadataDto = CreateUserViewMetadataDto;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_2.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsInt)(),
|
|
30
|
+
(0, swagger_1.ApiProperty)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], CreateUserViewMetadataDto.prototype, "userId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_3.IsString)(),
|
|
35
|
+
(0, class_validator_2.IsOptional)(),
|
|
36
|
+
(0, swagger_1.ApiProperty)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CreateUserViewMetadataDto.prototype, "userUserKey", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_2.IsOptional)(),
|
|
41
|
+
(0, class_validator_3.IsJSON)(),
|
|
42
|
+
(0, swagger_1.ApiProperty)(),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], CreateUserViewMetadataDto.prototype, "layout", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_2.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsInt)(),
|
|
48
|
+
(0, swagger_1.ApiProperty)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], CreateUserViewMetadataDto.prototype, "viewMetadataId", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_3.IsString)(),
|
|
53
|
+
(0, class_validator_2.IsOptional)(),
|
|
54
|
+
(0, swagger_1.ApiProperty)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], CreateUserViewMetadataDto.prototype, "viewMetadataUserKey", void 0);
|
|
57
|
+
//# sourceMappingURL=create-user-view-metadata.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-user-view-metadata.dto.js","sourceRoot":"","sources":["../../src/dtos/create-user-view-metadata.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAAwC;AACxC,qDAA6C;AAC7C,qDAAmD;AAEnD,MAAa,yBAAyB;IAAtC;QAYI,WAAM,GAAQ,IAAI,CAAC;KAStB;;;;CAAA;AArBD,8DAqBC;AAjBG;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;;yDACK;AAInB;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 CreateUserDto {
|
|
2
4
|
fullName: string;
|
|
3
5
|
username: string;
|
|
@@ -28,5 +30,11 @@ export declare class CreateUserDto {
|
|
|
28
30
|
mobileVerificationTokenOnLogin: string;
|
|
29
31
|
mobileVerificationTokenOnLoginExpiresAt: Date;
|
|
30
32
|
customPayload: string;
|
|
33
|
+
roles: UpdateRoleMetadataDto[];
|
|
34
|
+
rolesIds: number[];
|
|
35
|
+
rolesCommand: string;
|
|
36
|
+
userViewMetadata: UpdateUserViewMetadataDto[];
|
|
37
|
+
userViewMetadataIds: number[];
|
|
38
|
+
userViewMetadataCommand: string;
|
|
31
39
|
}
|
|
32
40
|
//# sourceMappingURL=create-user.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.dto.d.ts","sourceRoot":"","sources":["../../src/dtos/create-user.dto.ts"],"names":[],"mappings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,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"}
|
|
@@ -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,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,C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