@likewatt/models 1.0.65 → 1.0.67
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 +2 -0
- package/dist/core/User.js +20 -0
- package/package.json +1 -1
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -231,6 +231,16 @@ __decorate([
|
|
|
231
231
|
(0, class_validator_1.IsString)(),
|
|
232
232
|
__metadata("design:type", String)
|
|
233
233
|
], User.prototype, "license", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, swagger_1.ApiProperty)({
|
|
236
|
+
description: 'Langue',
|
|
237
|
+
example: 'FR',
|
|
238
|
+
}),
|
|
239
|
+
(0, mongoose_2.Prop)({ type: String, required: true, default: 'FR' }),
|
|
240
|
+
(0, class_validator_1.IsOptional)(),
|
|
241
|
+
(0, class_validator_1.IsString)(),
|
|
242
|
+
__metadata("design:type", String)
|
|
243
|
+
], User.prototype, "language", void 0);
|
|
234
244
|
__decorate([
|
|
235
245
|
(0, swagger_1.ApiProperty)({
|
|
236
246
|
description: 'Nombre de sites autorisés',
|
|
@@ -241,6 +251,16 @@ __decorate([
|
|
|
241
251
|
(0, class_validator_1.IsNumber)(),
|
|
242
252
|
__metadata("design:type", Number)
|
|
243
253
|
], User.prototype, "allowedNumberOfSites", void 0);
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, swagger_1.ApiProperty)({
|
|
256
|
+
description: 'Logo',
|
|
257
|
+
example: 'logo.png',
|
|
258
|
+
}),
|
|
259
|
+
(0, mongoose_2.Prop)({ type: String, required: false }),
|
|
260
|
+
(0, class_validator_1.IsOptional)(),
|
|
261
|
+
(0, class_validator_1.IsString)(),
|
|
262
|
+
__metadata("design:type", String)
|
|
263
|
+
], User.prototype, "logo", void 0);
|
|
244
264
|
__decorate([
|
|
245
265
|
(0, swagger_1.ApiProperty)({
|
|
246
266
|
description: 'Nombre maximum d’utilisateurs',
|