@likewatt/models 1.7.0 → 1.8.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.
@@ -571,7 +571,7 @@ __decorate([
571
571
  ], ScenarioType.prototype, "siteId", void 0);
572
572
  __decorate([
573
573
  (0, swagger_1.ApiPropertyOptional)({ type: comments_1.Comments }),
574
- (0, mongoose_1.Prop)({ type: [comments_1.CommentsSchema], required: false }),
574
+ (0, mongoose_1.Prop)({ type: comments_1.CommentsSchema, required: false }),
575
575
  (0, class_validator_1.IsOptional)(),
576
576
  (0, class_validator_1.IsArray)(),
577
577
  __metadata("design:type", comments_1.Comments)
package/dist/core/Site.js CHANGED
@@ -542,7 +542,7 @@ __decorate([
542
542
  ], Site.prototype, "TMYstatus", void 0);
543
543
  __decorate([
544
544
  (0, swagger_1.ApiPropertyOptional)({ type: comments_1.Comments }),
545
- (0, mongoose_1.Prop)({ type: [comments_1.CommentsSchema], required: false }),
545
+ (0, mongoose_1.Prop)({ type: comments_1.CommentsSchema, required: false }),
546
546
  (0, class_validator_1.IsOptional)(),
547
547
  (0, class_validator_1.IsArray)(),
548
548
  __metadata("design:type", comments_1.Comments)
@@ -54,7 +54,8 @@ export declare enum FileType {
54
54
  CONSENT4 = "consent4.docx",
55
55
  CONSENT5 = "consent5.pdf",
56
56
  CONSENT6 = "consent6.txt",
57
- METADATA = "metadata.json"
57
+ METADATA = "metadata.json",
58
+ OVERLAY = "overlay.png"
58
59
  }
59
60
  export declare enum FileName_Extra {
60
61
  LOG = "optiwize.log`"
@@ -59,6 +59,7 @@ var FileType;
59
59
  FileType["CONSENT5"] = "consent5.pdf";
60
60
  FileType["CONSENT6"] = "consent6.txt";
61
61
  FileType["METADATA"] = "metadata.json";
62
+ FileType["OVERLAY"] = "overlay.png";
62
63
  })(FileType || (exports.FileType = FileType = {}));
63
64
  var FileName_Extra;
64
65
  (function (FileName_Extra) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {