@likewatt/models 1.91.0 → 1.92.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 +1 -0
- package/dist/core/Scenario.js +11 -0
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -130,6 +130,7 @@ export declare class ConfigSite {
|
|
|
130
130
|
demandMultiplier?: number;
|
|
131
131
|
demandMultiplierSlots?: DemandMultiplierSlot[];
|
|
132
132
|
demandMultiplierUnit?: string;
|
|
133
|
+
distributionKey?: DistributionKey[];
|
|
133
134
|
priorityStage?: number;
|
|
134
135
|
rateOfGrowth?: RateOfGrowth[];
|
|
135
136
|
settings?: Record<string, unknown>;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -370,6 +370,17 @@ __decorate([
|
|
|
370
370
|
(0, class_validator_1.IsString)(),
|
|
371
371
|
__metadata("design:type", String)
|
|
372
372
|
], ConfigSite.prototype, "demandMultiplierUnit", void 0);
|
|
373
|
+
__decorate([
|
|
374
|
+
(0, swagger_1.ApiProperty)({ type: [DistributionKey], required: false }),
|
|
375
|
+
(0, mongoose_1.Prop)({
|
|
376
|
+
type: [exports.DistributionKeySchema],
|
|
377
|
+
required: false,
|
|
378
|
+
default: undefined,
|
|
379
|
+
}),
|
|
380
|
+
(0, class_validator_1.IsOptional)(),
|
|
381
|
+
(0, class_validator_1.IsArray)(),
|
|
382
|
+
__metadata("design:type", Array)
|
|
383
|
+
], ConfigSite.prototype, "distributionKey", void 0);
|
|
373
384
|
__decorate([
|
|
374
385
|
(0, swagger_1.ApiPropertyOptional)({ example: 1 }),
|
|
375
386
|
(0, mongoose_1.Prop)(),
|