@likewatt/models 1.101.0 → 1.102.0
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/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -428,6 +428,16 @@ __decorate([
|
|
|
428
428
|
(0, class_validator_1.IsBoolean)(),
|
|
429
429
|
__metadata("design:type", Boolean)
|
|
430
430
|
], User.prototype, "principal", void 0);
|
|
431
|
+
__decorate([
|
|
432
|
+
(0, swagger_1.ApiProperty)({
|
|
433
|
+
description: 'Accès à l’API Likewatt publique (gestion et usage des clés API)',
|
|
434
|
+
example: false,
|
|
435
|
+
}),
|
|
436
|
+
(0, mongoose_1.Prop)({ type: Boolean, default: false }),
|
|
437
|
+
(0, class_validator_1.IsOptional)(),
|
|
438
|
+
(0, class_validator_1.IsBoolean)(),
|
|
439
|
+
__metadata("design:type", Boolean)
|
|
440
|
+
], User.prototype, "publicApi", void 0);
|
|
431
441
|
__decorate([
|
|
432
442
|
(0, swagger_1.ApiProperty)({
|
|
433
443
|
description: 'Identifiant de l’utilisateur principal (si compte secondaire)',
|