@likewatt/models 1.80.0 → 1.83.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/Site.d.ts
CHANGED
|
@@ -81,6 +81,8 @@ export declare class Site {
|
|
|
81
81
|
co2rate?: number | null;
|
|
82
82
|
connectingPower: number;
|
|
83
83
|
consentFileUrl?: string;
|
|
84
|
+
isValidateConsent?: boolean;
|
|
85
|
+
dateConsentCheck?: Date | string;
|
|
84
86
|
consumptionIndexes: number[][];
|
|
85
87
|
creator?: string;
|
|
86
88
|
currency: string;
|
|
@@ -118,6 +120,7 @@ export declare class Site {
|
|
|
118
120
|
TMYstatus?: number;
|
|
119
121
|
comments?: Comments;
|
|
120
122
|
hasConsoData: boolean;
|
|
123
|
+
hasInjectionData: boolean;
|
|
121
124
|
hasAnalysis: boolean;
|
|
122
125
|
hasContractData: boolean;
|
|
123
126
|
scenarioOption?: string;
|
package/dist/core/Site.js
CHANGED
|
@@ -380,6 +380,21 @@ __decorate([
|
|
|
380
380
|
(0, class_validator_1.IsString)(),
|
|
381
381
|
__metadata("design:type", String)
|
|
382
382
|
], Site.prototype, "consentFileUrl", void 0);
|
|
383
|
+
__decorate([
|
|
384
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
385
|
+
(0, mongoose_1.Prop)({ type: Boolean, required: false }),
|
|
386
|
+
(0, class_validator_1.IsOptional)(),
|
|
387
|
+
(0, class_validator_1.IsBoolean)(),
|
|
388
|
+
__metadata("design:type", Boolean)
|
|
389
|
+
], Site.prototype, "isValidateConsent", void 0);
|
|
390
|
+
__decorate([
|
|
391
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
392
|
+
(0, mongoose_1.Prop)({ type: Date, required: false }),
|
|
393
|
+
(0, class_validator_1.IsOptional)(),
|
|
394
|
+
(0, class_validator_1.IsDate)(),
|
|
395
|
+
(0, class_transformer_1.Type)(() => Date),
|
|
396
|
+
__metadata("design:type", Object)
|
|
397
|
+
], Site.prototype, "dateConsentCheck", void 0);
|
|
383
398
|
__decorate([
|
|
384
399
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
385
400
|
(0, mongoose_1.Prop)({ required: false, default: [] }),
|
|
@@ -634,6 +649,13 @@ __decorate([
|
|
|
634
649
|
(0, class_validator_1.IsBoolean)(),
|
|
635
650
|
__metadata("design:type", Boolean)
|
|
636
651
|
], Site.prototype, "hasConsoData", void 0);
|
|
652
|
+
__decorate([
|
|
653
|
+
(0, swagger_1.ApiPropertyOptional)(),
|
|
654
|
+
(0, mongoose_1.Prop)({ required: false, default: false }),
|
|
655
|
+
(0, class_validator_1.IsOptional)(),
|
|
656
|
+
(0, class_validator_1.IsBoolean)(),
|
|
657
|
+
__metadata("design:type", Boolean)
|
|
658
|
+
], Site.prototype, "hasInjectionData", void 0);
|
|
637
659
|
__decorate([
|
|
638
660
|
(0, swagger_1.ApiPropertyOptional)(),
|
|
639
661
|
(0, mongoose_1.Prop)({ required: false, default: false }),
|
|
@@ -36,6 +36,7 @@ export declare enum FileType {
|
|
|
36
36
|
'RES3-F' = "RES3-F.xlsx",
|
|
37
37
|
ANALYSIS = "analyse.json",
|
|
38
38
|
DATA_FILTERED = "ConsoDataFiltered.csv",
|
|
39
|
+
INJECTION_DATA = "InjectionData.csv",
|
|
39
40
|
DEFAULT_VALUES = "defaultValues.json",
|
|
40
41
|
DEFAULT_VALUES_CONSUMER_PLUS = "defaultValuesConsumerPlus.json",
|
|
41
42
|
DEFAULT_VALUES_SUPPLIER = "defaultValuesSupplier.json",
|
|
@@ -40,6 +40,7 @@ var FileType;
|
|
|
40
40
|
FileType["RES3-F"] = "RES3-F.xlsx";
|
|
41
41
|
FileType["ANALYSIS"] = "analyse.json";
|
|
42
42
|
FileType["DATA_FILTERED"] = "ConsoDataFiltered.csv";
|
|
43
|
+
FileType["INJECTION_DATA"] = "InjectionData.csv";
|
|
43
44
|
FileType["DEFAULT_VALUES"] = "defaultValues.json";
|
|
44
45
|
FileType["DEFAULT_VALUES_CONSUMER_PLUS"] = "defaultValuesConsumerPlus.json";
|
|
45
46
|
FileType["DEFAULT_VALUES_SUPPLIER"] = "defaultValuesSupplier.json";
|