@likewatt/models 1.0.45 → 1.0.46
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 +8 -6
- package/package.json +1 -1
package/dist/core/Site.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class Site {
|
|
|
21
21
|
type: SiteType;
|
|
22
22
|
purchaseMeterOwner: string;
|
|
23
23
|
purchaseContractType: string;
|
|
24
|
-
description
|
|
24
|
+
description?: string | undefined;
|
|
25
25
|
subscriptionRates: number;
|
|
26
26
|
address: string;
|
|
27
27
|
ratesOption: string;
|
|
@@ -56,7 +56,7 @@ export declare class Site {
|
|
|
56
56
|
_step3At: Date;
|
|
57
57
|
analysisId: string;
|
|
58
58
|
analysisYear: number;
|
|
59
|
-
autoCO2
|
|
59
|
+
autoCO2?: boolean | null;
|
|
60
60
|
buildingData: BuildingData;
|
|
61
61
|
co2rate?: number | null;
|
|
62
62
|
connectingPower: string;
|
package/dist/core/Site.js
CHANGED
|
@@ -92,10 +92,11 @@ __decorate([
|
|
|
92
92
|
__metadata("design:type", String)
|
|
93
93
|
], Site.prototype, "purchaseContractType", void 0);
|
|
94
94
|
__decorate([
|
|
95
|
-
(0, swagger_1.ApiProperty)(),
|
|
96
|
-
(0, mongoose_1.Prop)({ required:
|
|
95
|
+
(0, swagger_1.ApiProperty)({ required: false }),
|
|
96
|
+
(0, mongoose_1.Prop)({ required: false }),
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
97
98
|
(0, class_validator_1.IsString)(),
|
|
98
|
-
__metadata("design:type",
|
|
99
|
+
__metadata("design:type", Object)
|
|
99
100
|
], Site.prototype, "description", void 0);
|
|
100
101
|
__decorate([
|
|
101
102
|
(0, mongoose_1.Prop)({ required: true }),
|
|
@@ -304,10 +305,11 @@ __decorate([
|
|
|
304
305
|
__metadata("design:type", Number)
|
|
305
306
|
], Site.prototype, "analysisYear", void 0);
|
|
306
307
|
__decorate([
|
|
307
|
-
(0, swagger_1.ApiProperty)(),
|
|
308
|
-
(0, mongoose_1.Prop)({ required:
|
|
308
|
+
(0, swagger_1.ApiProperty)({ required: false, nullable: true }),
|
|
309
|
+
(0, mongoose_1.Prop)({ required: false, default: null }),
|
|
310
|
+
(0, class_validator_1.IsOptional)(),
|
|
309
311
|
(0, class_validator_1.IsBoolean)(),
|
|
310
|
-
__metadata("design:type",
|
|
312
|
+
__metadata("design:type", Object)
|
|
311
313
|
], Site.prototype, "autoCO2", void 0);
|
|
312
314
|
__decorate([
|
|
313
315
|
(0, swagger_1.ApiProperty)({ type: building_data_1.BuildingData }),
|