@likewatt/models 1.0.83 → 1.0.84
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 -0
- package/dist/frontend/User.types.d.ts +1 -0
- package/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -260,6 +260,16 @@ __decorate([
|
|
|
260
260
|
(0, class_validator_1.IsBoolean)(),
|
|
261
261
|
__metadata("design:type", Boolean)
|
|
262
262
|
], User.prototype, "principal", void 0);
|
|
263
|
+
__decorate([
|
|
264
|
+
(0, swagger_1.ApiProperty)({
|
|
265
|
+
description: 'Identifiant de l’utilisateur principal (si compte secondaire)',
|
|
266
|
+
example: '2M61PGSm7lRpqXeaDacbAYOLTYG3',
|
|
267
|
+
}),
|
|
268
|
+
(0, mongoose_2.Prop)({ type: String, required: false }),
|
|
269
|
+
(0, class_validator_1.IsOptional)(),
|
|
270
|
+
(0, class_validator_1.IsString)(),
|
|
271
|
+
__metadata("design:type", String)
|
|
272
|
+
], User.prototype, "principalUser", void 0);
|
|
263
273
|
__decorate([
|
|
264
274
|
(0, swagger_1.ApiProperty)({
|
|
265
275
|
description: 'Type de l’utilisateur',
|