@likewatt/models 1.10.1 → 1.10.3
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.
|
@@ -26,6 +26,7 @@ export declare class CollectiveSite {
|
|
|
26
26
|
isVisible: boolean;
|
|
27
27
|
timezone: number;
|
|
28
28
|
sites: string[];
|
|
29
|
+
hasAnalysis: boolean;
|
|
29
30
|
}
|
|
30
31
|
export declare const CollectiveSiteSchema: import("mongoose").Schema<CollectiveSite, import("mongoose").Model<CollectiveSite, any, any, any, Document<unknown, any, CollectiveSite, any, {}> & CollectiveSite & Required<{
|
|
31
32
|
_id: string;
|
|
@@ -171,6 +171,12 @@ __decorate([
|
|
|
171
171
|
(0, class_validator_1.IsArray)(),
|
|
172
172
|
__metadata("design:type", Array)
|
|
173
173
|
], CollectiveSite.prototype, "sites", void 0);
|
|
174
|
+
__decorate([
|
|
175
|
+
(0, swagger_1.ApiProperty)(),
|
|
176
|
+
(0, mongoose_1.Prop)({ required: true, default: false }),
|
|
177
|
+
(0, class_validator_1.IsBoolean)(),
|
|
178
|
+
__metadata("design:type", Boolean)
|
|
179
|
+
], CollectiveSite.prototype, "hasAnalysis", void 0);
|
|
174
180
|
exports.CollectiveSite = CollectiveSite = __decorate([
|
|
175
181
|
(0, mongoose_1.Schema)({
|
|
176
182
|
id: false,
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -94,6 +94,8 @@ export declare class Site {
|
|
|
94
94
|
timezone: number;
|
|
95
95
|
TMYstatus?: number;
|
|
96
96
|
comments?: Comments;
|
|
97
|
+
hasConsoData: boolean;
|
|
98
|
+
hasAnalysis: boolean;
|
|
97
99
|
}
|
|
98
100
|
export type SiteDocument = Site & Document;
|
|
99
101
|
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
|
@@ -547,6 +547,18 @@ __decorate([
|
|
|
547
547
|
(0, class_validator_1.IsArray)(),
|
|
548
548
|
__metadata("design:type", comments_1.Comments)
|
|
549
549
|
], Site.prototype, "comments", void 0);
|
|
550
|
+
__decorate([
|
|
551
|
+
(0, swagger_1.ApiProperty)(),
|
|
552
|
+
(0, mongoose_1.Prop)({ required: true, default: false }),
|
|
553
|
+
(0, class_validator_1.IsBoolean)(),
|
|
554
|
+
__metadata("design:type", Boolean)
|
|
555
|
+
], Site.prototype, "hasConsoData", void 0);
|
|
556
|
+
__decorate([
|
|
557
|
+
(0, swagger_1.ApiProperty)(),
|
|
558
|
+
(0, mongoose_1.Prop)({ required: true, default: false }),
|
|
559
|
+
(0, class_validator_1.IsBoolean)(),
|
|
560
|
+
__metadata("design:type", Boolean)
|
|
561
|
+
], Site.prototype, "hasAnalysis", void 0);
|
|
550
562
|
exports.Site = Site = __decorate([
|
|
551
563
|
(0, mongoose_1.Schema)({
|
|
552
564
|
id: false,
|