@likewatt/models 1.0.95 → 1.0.96

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.
@@ -144,7 +144,7 @@ export declare class Scenario {
144
144
  progress?: number;
145
145
  projectLifespan?: number;
146
146
  sellingPriceInflation?: number;
147
- siteId: string;
147
+ siteId?: string;
148
148
  technologies?: Technology[];
149
149
  version?: number;
150
150
  _createdAt: Date;
@@ -493,7 +493,7 @@ __decorate([
493
493
  ], Scenario.prototype, "sellingPriceInflation", void 0);
494
494
  __decorate([
495
495
  (0, swagger_1.ApiProperty)({ example: 'site_12345' }),
496
- (0, mongoose_1.Prop)({ required: false, type: String, default: null, nullable: true }),
496
+ (0, mongoose_1.Prop)({ required: true }),
497
497
  (0, class_validator_1.IsString)(),
498
498
  __metadata("design:type", String)
499
499
  ], Scenario.prototype, "siteId", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {