@likewatt/models 1.119.0 → 1.120.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.
@@ -31,6 +31,7 @@ export declare class CollectiveSite {
31
31
  timezone?: number;
32
32
  sites: string[];
33
33
  hasAnalysis: boolean;
34
+ analysisYear?: number;
34
35
  buildingData?: BuildingData | null;
35
36
  buildingDataStatus?: BuildingDataStatus | null;
36
37
  auroraProjectId?: string | null;
@@ -202,6 +202,13 @@ __decorate([
202
202
  (0, class_validator_1.IsBoolean)(),
203
203
  __metadata("design:type", Boolean)
204
204
  ], CollectiveSite.prototype, "hasAnalysis", void 0);
205
+ __decorate([
206
+ (0, swagger_1.ApiPropertyOptional)(),
207
+ (0, mongoose_1.Prop)({ required: false }),
208
+ (0, class_validator_1.IsOptional)(),
209
+ (0, class_validator_1.IsNumber)(),
210
+ __metadata("design:type", Number)
211
+ ], CollectiveSite.prototype, "analysisYear", void 0);
205
212
  __decorate([
206
213
  (0, swagger_1.ApiPropertyOptional)({ type: building_data_1.BuildingData }),
207
214
  (0, mongoose_1.Prop)({ type: building_data_1.BuildingData, required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.119.0",
3
+ "version": "1.120.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {