@likewatt/models 1.0.63 → 1.0.65
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
CHANGED
|
@@ -131,7 +131,7 @@ export declare class Scenario {
|
|
|
131
131
|
readonly _id: Types.ObjectId;
|
|
132
132
|
color?: string;
|
|
133
133
|
configScenario: ConfigScenario;
|
|
134
|
-
configSite?: ConfigSite
|
|
134
|
+
configSite?: Record<string, ConfigSite>;
|
|
135
135
|
error?: boolean;
|
|
136
136
|
isDefaultScenario?: boolean;
|
|
137
137
|
leasingLifespan?: number;
|
package/dist/core/Scenario.js
CHANGED
|
@@ -378,15 +378,37 @@ __decorate([
|
|
|
378
378
|
__metadata("design:type", ConfigScenario)
|
|
379
379
|
], Scenario.prototype, "configScenario", void 0);
|
|
380
380
|
__decorate([
|
|
381
|
-
(0, swagger_1.ApiPropertyOptional)({
|
|
381
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
382
|
+
type: 'object',
|
|
383
|
+
additionalProperties: {
|
|
384
|
+
type: 'object',
|
|
385
|
+
properties: {
|
|
386
|
+
ACI: { type: 'boolean' },
|
|
387
|
+
consumptionReference: { type: 'string' },
|
|
388
|
+
counterNumber: { type: 'number' },
|
|
389
|
+
demandMultiplier: { type: 'number' },
|
|
390
|
+
// ... other ConfigSite properties
|
|
391
|
+
},
|
|
392
|
+
},
|
|
393
|
+
example: {
|
|
394
|
+
'4a5de046-4e95-4456-9c9d-b03772f736d7': {
|
|
395
|
+
ACI: true,
|
|
396
|
+
consumptionReference: 'REFERENCE',
|
|
397
|
+
counterNumber: 0,
|
|
398
|
+
demandMultiplier: 1,
|
|
399
|
+
demandMultiplierSlots: [{}],
|
|
400
|
+
demandMultiplierUnit: 'POWER',
|
|
401
|
+
},
|
|
402
|
+
},
|
|
403
|
+
}),
|
|
382
404
|
(0, mongoose_1.Prop)({
|
|
383
|
-
type:
|
|
384
|
-
required:
|
|
385
|
-
default: {},
|
|
405
|
+
type: mongoose_2.Schema.Types.Mixed,
|
|
406
|
+
required: false,
|
|
407
|
+
default: {},
|
|
386
408
|
}),
|
|
387
409
|
(0, class_validator_1.IsOptional)(),
|
|
388
410
|
(0, class_validator_1.IsObject)(),
|
|
389
|
-
__metadata("design:type",
|
|
411
|
+
__metadata("design:type", Object)
|
|
390
412
|
], Scenario.prototype, "configSite", void 0);
|
|
391
413
|
__decorate([
|
|
392
414
|
(0, swagger_1.ApiPropertyOptional)({ example: true }),
|
|
@@ -46,7 +46,8 @@ export declare enum FileType {
|
|
|
46
46
|
PROFILE_PRO1 = "PROFILE_PRO1",
|
|
47
47
|
PROFILE_PRO2 = "PROFILE_PRO2",
|
|
48
48
|
PROFILE_ENT1 = "PROFILE_ENT1",
|
|
49
|
-
PROFILE_ENT3 = "PROFILE_ENT3"
|
|
49
|
+
PROFILE_ENT3 = "PROFILE_ENT3",
|
|
50
|
+
BASE_PATH = "BASE_PATH"
|
|
50
51
|
}
|
|
51
52
|
export declare enum FileName_Extra {
|
|
52
53
|
LOG = "optiwize.log`"
|
|
@@ -51,6 +51,7 @@ var FileType;
|
|
|
51
51
|
FileType["PROFILE_PRO2"] = "PROFILE_PRO2";
|
|
52
52
|
FileType["PROFILE_ENT1"] = "PROFILE_ENT1";
|
|
53
53
|
FileType["PROFILE_ENT3"] = "PROFILE_ENT3";
|
|
54
|
+
FileType["BASE_PATH"] = "BASE_PATH";
|
|
54
55
|
})(FileType || (exports.FileType = FileType = {}));
|
|
55
56
|
var FileName_Extra;
|
|
56
57
|
(function (FileName_Extra) {
|