@likewatt/models 1.10.5 → 1.11.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.
@@ -96,6 +96,7 @@ export declare class Site {
96
96
  comments?: Comments;
97
97
  hasConsoData: boolean;
98
98
  hasAnalysis: boolean;
99
+ hasContractData: boolean;
99
100
  }
100
101
  export type SiteDocument = Site & Document;
101
102
  export declare const SiteSchema: import("mongoose").Schema<Site, import("mongoose").Model<Site, any, any, any, Document<unknown, any, Site, any, {}> & Site & Required<{
package/dist/core/Site.js CHANGED
@@ -559,6 +559,12 @@ __decorate([
559
559
  (0, class_validator_1.IsBoolean)(),
560
560
  __metadata("design:type", Boolean)
561
561
  ], Site.prototype, "hasAnalysis", void 0);
562
+ __decorate([
563
+ (0, swagger_1.ApiProperty)(),
564
+ (0, mongoose_1.Prop)({ required: true, default: false }),
565
+ (0, class_validator_1.IsBoolean)(),
566
+ __metadata("design:type", Boolean)
567
+ ], Site.prototype, "hasContractData", void 0);
562
568
  exports.Site = Site = __decorate([
563
569
  (0, mongoose_1.Schema)({
564
570
  id: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.10.5",
3
+ "version": "1.11.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {