@likewatt/models 1.0.74 → 1.0.76
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/Scenario.d.ts +1 -0
- package/dist/core/Scenario.js +7 -0
- package/dist/core/ScenarioDefaultValue.d.ts +1 -0
- package/dist/core/ScenarioDefaultValue.js +7 -0
- package/dist/core/User.d.ts +1 -0
- package/dist/core/User.js +10 -0
- package/dist/frontend/Scenario.types.d.ts +1 -0
- package/dist/frontend/ScenarioDefaultValue.types.d.ts +1 -0
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
package/dist/core/Scenario.js
CHANGED
|
@@ -424,6 +424,13 @@ __decorate([
|
|
|
424
424
|
(0, class_validator_1.IsBoolean)(),
|
|
425
425
|
__metadata("design:type", Boolean)
|
|
426
426
|
], Scenario.prototype, "isDefaultScenario", void 0);
|
|
427
|
+
__decorate([
|
|
428
|
+
(0, swagger_1.ApiPropertyOptional)({ example: false }),
|
|
429
|
+
(0, mongoose_1.Prop)({ default: false }),
|
|
430
|
+
(0, class_validator_1.IsOptional)(),
|
|
431
|
+
(0, class_validator_1.IsBoolean)(),
|
|
432
|
+
__metadata("design:type", Boolean)
|
|
433
|
+
], Scenario.prototype, "isOptimized", void 0);
|
|
427
434
|
__decorate([
|
|
428
435
|
(0, swagger_1.ApiPropertyOptional)({ example: 1 }),
|
|
429
436
|
(0, mongoose_1.Prop)(),
|
|
@@ -198,6 +198,13 @@ __decorate([
|
|
|
198
198
|
(0, class_validator_1.IsBoolean)(),
|
|
199
199
|
__metadata("design:type", Boolean)
|
|
200
200
|
], ScenarioDefaultValue.prototype, "isActive", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, swagger_1.ApiPropertyOptional)({ example: false }),
|
|
203
|
+
(0, mongoose_1.Prop)({ default: false }),
|
|
204
|
+
(0, class_validator_1.IsOptional)(),
|
|
205
|
+
(0, class_validator_1.IsBoolean)(),
|
|
206
|
+
__metadata("design:type", Boolean)
|
|
207
|
+
], ScenarioDefaultValue.prototype, "isOptimized", void 0);
|
|
201
208
|
__decorate([
|
|
202
209
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
203
210
|
(0, mongoose_1.Prop)(),
|
package/dist/core/User.d.ts
CHANGED
package/dist/core/User.js
CHANGED
|
@@ -302,6 +302,16 @@ __decorate([
|
|
|
302
302
|
(0, class_validator_1.IsString)(),
|
|
303
303
|
__metadata("design:type", String)
|
|
304
304
|
], User.prototype, "license", void 0);
|
|
305
|
+
__decorate([
|
|
306
|
+
(0, swagger_1.ApiProperty)({
|
|
307
|
+
description: 'Identifiant de la licence',
|
|
308
|
+
example: 'Standard',
|
|
309
|
+
}),
|
|
310
|
+
(0, mongoose_2.Prop)({ type: String, required: false }),
|
|
311
|
+
(0, class_validator_1.IsOptional)(),
|
|
312
|
+
(0, class_validator_1.IsString)(),
|
|
313
|
+
__metadata("design:type", String)
|
|
314
|
+
], User.prototype, "licenseId", void 0);
|
|
305
315
|
__decorate([
|
|
306
316
|
(0, swagger_1.ApiProperty)({
|
|
307
317
|
description: 'Langue',
|