@likewatt/models 1.39.3 → 1.40.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/Scenario.d.ts +2 -2
- package/dist/core/Scenario.js +6 -6
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -33,10 +33,10 @@ export declare const MonthSchema: MSchema<Month, import("mongoose").Model<Month,
|
|
|
33
33
|
export declare class DemandMultiplierSlot {
|
|
34
34
|
days: number[];
|
|
35
35
|
demandMultiplier?: number;
|
|
36
|
-
endHour?:
|
|
36
|
+
endHour?: string;
|
|
37
37
|
id: string;
|
|
38
38
|
months?: Month[];
|
|
39
|
-
startHour?:
|
|
39
|
+
startHour?: string;
|
|
40
40
|
}
|
|
41
41
|
export declare const DemandMultiplierSlotSchema: MSchema<DemandMultiplierSlot, import("mongoose").Model<DemandMultiplierSlot, any, any, any, Document<unknown, any, DemandMultiplierSlot, any, {}> & DemandMultiplierSlot & {
|
|
42
42
|
_id: import("mongoose").Types.ObjectId;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -103,11 +103,11 @@ __decorate([
|
|
|
103
103
|
__metadata("design:type", Number)
|
|
104
104
|
], DemandMultiplierSlot.prototype, "demandMultiplier", void 0);
|
|
105
105
|
__decorate([
|
|
106
|
-
(0, swagger_1.ApiPropertyOptional)({ example:
|
|
106
|
+
(0, swagger_1.ApiPropertyOptional)({ example: '24:00' }),
|
|
107
107
|
(0, mongoose_1.Prop)(),
|
|
108
108
|
(0, class_validator_1.IsOptional)(),
|
|
109
|
-
(0, class_validator_1.
|
|
110
|
-
__metadata("design:type",
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
111
|
], DemandMultiplierSlot.prototype, "endHour", void 0);
|
|
112
112
|
__decorate([
|
|
113
113
|
(0, swagger_1.ApiProperty)({ example: 0 }),
|
|
@@ -122,11 +122,11 @@ __decorate([
|
|
|
122
122
|
__metadata("design:type", Array)
|
|
123
123
|
], DemandMultiplierSlot.prototype, "months", void 0);
|
|
124
124
|
__decorate([
|
|
125
|
-
(0, swagger_1.ApiPropertyOptional)({ example:
|
|
125
|
+
(0, swagger_1.ApiPropertyOptional)({ example: '00:00' }),
|
|
126
126
|
(0, mongoose_1.Prop)(),
|
|
127
127
|
(0, class_validator_1.IsOptional)(),
|
|
128
|
-
(0, class_validator_1.
|
|
129
|
-
__metadata("design:type",
|
|
128
|
+
(0, class_validator_1.IsString)(),
|
|
129
|
+
__metadata("design:type", String)
|
|
130
130
|
], DemandMultiplierSlot.prototype, "startHour", void 0);
|
|
131
131
|
exports.DemandMultiplierSlot = DemandMultiplierSlot = __decorate([
|
|
132
132
|
(0, mongoose_1.Schema)({ _id: false })
|