@likewatt/models 1.0.100 → 1.0.101
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/core/User.d.ts +1 -0
- package/dist/core/User.js +10 -1
- package/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -74,7 +74,7 @@ let tokenData = class tokenData {
|
|
|
74
74
|
exports.tokenData = tokenData;
|
|
75
75
|
__decorate([
|
|
76
76
|
(0, swagger_1.ApiProperty)({
|
|
77
|
-
description:
|
|
77
|
+
description: 'Token de réinitialisation du mot de passe',
|
|
78
78
|
example: true,
|
|
79
79
|
}),
|
|
80
80
|
(0, mongoose_2.Prop)({ type: String, required: true }),
|
|
@@ -599,6 +599,15 @@ __decorate([
|
|
|
599
599
|
(0, class_validator_1.IsOptional)(),
|
|
600
600
|
__metadata("design:type", tokenData)
|
|
601
601
|
], User.prototype, "tokenData", void 0);
|
|
602
|
+
__decorate([
|
|
603
|
+
(0, swagger_1.ApiProperty)({
|
|
604
|
+
description: 'Indique si l’adresse e-mail de l’utilisateur a été confirmée',
|
|
605
|
+
example: false,
|
|
606
|
+
}),
|
|
607
|
+
(0, mongoose_2.Prop)({ type: Boolean, default: false }),
|
|
608
|
+
(0, class_validator_1.IsBoolean)(),
|
|
609
|
+
__metadata("design:type", Boolean)
|
|
610
|
+
], User.prototype, "isEmailConfirmed", void 0);
|
|
602
611
|
__decorate([
|
|
603
612
|
(0, swagger_1.ApiProperty)({
|
|
604
613
|
description: 'Date interne de création (legacy)',
|