@likewatt/models 1.6.0 → 1.7.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.
package/dist/core/Scenario.d.ts
CHANGED
|
@@ -165,7 +165,7 @@ export declare class ScenarioType extends Scenario {
|
|
|
165
165
|
principalUser?: string;
|
|
166
166
|
isACCScenario?: boolean;
|
|
167
167
|
siteId: string;
|
|
168
|
-
comments?: Comments
|
|
168
|
+
comments?: Comments;
|
|
169
169
|
}
|
|
170
170
|
export type ScenarioTypeDocument = ScenarioType & Document;
|
|
171
171
|
export declare const ScenarioTypeSchema: MSchema<ScenarioType, import("mongoose").Model<ScenarioType, any, any, any, Document<unknown, any, ScenarioType, any, {}> & ScenarioType & Required<{
|
package/dist/core/Scenario.js
CHANGED
|
@@ -570,11 +570,11 @@ __decorate([
|
|
|
570
570
|
__metadata("design:type", String)
|
|
571
571
|
], ScenarioType.prototype, "siteId", void 0);
|
|
572
572
|
__decorate([
|
|
573
|
-
(0, swagger_1.ApiPropertyOptional)({ type:
|
|
573
|
+
(0, swagger_1.ApiPropertyOptional)({ type: comments_1.Comments }),
|
|
574
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
|
-
__metadata("design:type",
|
|
577
|
+
__metadata("design:type", comments_1.Comments)
|
|
578
578
|
], ScenarioType.prototype, "comments", void 0);
|
|
579
579
|
exports.ScenarioType = ScenarioType = __decorate([
|
|
580
580
|
(0, mongoose_1.Schema)()
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -93,7 +93,7 @@ export declare class Site {
|
|
|
93
93
|
tempoPricing: boolean;
|
|
94
94
|
timezone: number;
|
|
95
95
|
TMYstatus?: number;
|
|
96
|
-
comments?: Comments
|
|
96
|
+
comments?: Comments;
|
|
97
97
|
}
|
|
98
98
|
export type SiteDocument = Site & Document;
|
|
99
99
|
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
|
@@ -541,11 +541,11 @@ __decorate([
|
|
|
541
541
|
__metadata("design:type", Number)
|
|
542
542
|
], Site.prototype, "TMYstatus", void 0);
|
|
543
543
|
__decorate([
|
|
544
|
-
(0, swagger_1.ApiPropertyOptional)({ type:
|
|
544
|
+
(0, swagger_1.ApiPropertyOptional)({ type: comments_1.Comments }),
|
|
545
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
|
-
__metadata("design:type",
|
|
548
|
+
__metadata("design:type", comments_1.Comments)
|
|
549
549
|
], Site.prototype, "comments", void 0);
|
|
550
550
|
exports.Site = Site = __decorate([
|
|
551
551
|
(0, mongoose_1.Schema)({
|
|
@@ -54,8 +54,7 @@ export declare enum FileType {
|
|
|
54
54
|
CONSENT4 = "consent4.docx",
|
|
55
55
|
CONSENT5 = "consent5.pdf",
|
|
56
56
|
CONSENT6 = "consent6.txt",
|
|
57
|
-
|
|
58
|
-
ANNUAL_FLUX_IMAGE = "annualFluxImage.tiff"
|
|
57
|
+
METADATA = "metadata.json"
|
|
59
58
|
}
|
|
60
59
|
export declare enum FileName_Extra {
|
|
61
60
|
LOG = "optiwize.log`"
|
|
@@ -58,8 +58,7 @@ var FileType;
|
|
|
58
58
|
FileType["CONSENT4"] = "consent4.docx";
|
|
59
59
|
FileType["CONSENT5"] = "consent5.pdf";
|
|
60
60
|
FileType["CONSENT6"] = "consent6.txt";
|
|
61
|
-
FileType["
|
|
62
|
-
FileType["ANNUAL_FLUX_IMAGE"] = "annualFluxImage.tiff";
|
|
61
|
+
FileType["METADATA"] = "metadata.json";
|
|
63
62
|
})(FileType || (exports.FileType = FileType = {}));
|
|
64
63
|
var FileName_Extra;
|
|
65
64
|
(function (FileName_Extra) {
|