@likewatt/models 1.0.43 → 1.0.45
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 +2 -2
- package/dist/core/Site.js +5 -4
- package/package.json +1 -1
package/dist/core/Site.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare class Site {
|
|
|
50
50
|
TCSPE: number;
|
|
51
51
|
TURPE_VERSION: number;
|
|
52
52
|
_createdAt: Date;
|
|
53
|
-
|
|
53
|
+
_lastModified: Date;
|
|
54
54
|
_lastUpdated: string;
|
|
55
55
|
_step3: boolean;
|
|
56
56
|
_step3At: Date;
|
|
@@ -58,7 +58,7 @@ export declare class Site {
|
|
|
58
58
|
analysisYear: number;
|
|
59
59
|
autoCO2: boolean;
|
|
60
60
|
buildingData: BuildingData;
|
|
61
|
-
co2rate
|
|
61
|
+
co2rate?: number | null;
|
|
62
62
|
connectingPower: string;
|
|
63
63
|
consentFileUrl: string;
|
|
64
64
|
consumptionIndexes: ConsumptionIndexes;
|
package/dist/core/Site.js
CHANGED
|
@@ -272,7 +272,7 @@ __decorate([
|
|
|
272
272
|
(0, mongoose_1.Prop)({ type: Date, required: true }),
|
|
273
273
|
(0, class_validator_1.IsDate)(),
|
|
274
274
|
__metadata("design:type", Date)
|
|
275
|
-
], Site.prototype, "
|
|
275
|
+
], Site.prototype, "_lastModified", void 0);
|
|
276
276
|
__decorate([
|
|
277
277
|
(0, swagger_1.ApiProperty)(),
|
|
278
278
|
(0, mongoose_1.Prop)({ required: true }),
|
|
@@ -315,10 +315,11 @@ __decorate([
|
|
|
315
315
|
__metadata("design:type", building_data_1.BuildingData)
|
|
316
316
|
], Site.prototype, "buildingData", void 0);
|
|
317
317
|
__decorate([
|
|
318
|
-
(0, swagger_1.ApiProperty)(),
|
|
319
|
-
(0, mongoose_1.Prop)({ required:
|
|
318
|
+
(0, swagger_1.ApiProperty)({ required: false, nullable: true }),
|
|
319
|
+
(0, mongoose_1.Prop)({ required: false, default: null }),
|
|
320
|
+
(0, class_validator_1.IsOptional)(),
|
|
320
321
|
(0, class_validator_1.IsNumber)(),
|
|
321
|
-
__metadata("design:type",
|
|
322
|
+
__metadata("design:type", Object)
|
|
322
323
|
], Site.prototype, "co2rate", void 0);
|
|
323
324
|
__decorate([
|
|
324
325
|
(0, swagger_1.ApiProperty)(),
|