@likewatt/models 1.0.73 → 1.0.75
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/License.d.ts +3 -3
- 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/frontend/Scenario.types.d.ts +1 -0
- package/dist/frontend/ScenarioDefaultValue.types.d.ts +1 -0
- package/package.json +1 -1
package/dist/core/License.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Types } from 'mongoose';
|
|
1
|
+
import { Document, Types } from 'mongoose';
|
|
2
2
|
/**
|
|
3
3
|
* Représente un utilisateur dans le système.
|
|
4
4
|
* - @Schema/timestamps : gère createdAt et updatedAt automatiques
|
|
@@ -19,11 +19,11 @@ export declare class License {
|
|
|
19
19
|
userId?: string;
|
|
20
20
|
}
|
|
21
21
|
export type LicenseDocument = License & Document;
|
|
22
|
-
export declare const LicenseSchema: import("mongoose").Schema<License, import("mongoose").Model<License, any, any, any,
|
|
22
|
+
export declare const LicenseSchema: import("mongoose").Schema<License, import("mongoose").Model<License, any, any, any, Document<unknown, any, License, any, {}> & License & Required<{
|
|
23
23
|
_id: Types.ObjectId;
|
|
24
24
|
}> & {
|
|
25
25
|
__v: number;
|
|
26
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, License,
|
|
26
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, License, Document<unknown, {}, import("mongoose").FlatRecord<License>, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & import("mongoose").FlatRecord<License> & Required<{
|
|
27
27
|
_id: Types.ObjectId;
|
|
28
28
|
}> & {
|
|
29
29
|
__v: number;
|
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)(),
|