@likewatt/models 1.10.5 → 1.11.1
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 +1 -1
- package/dist/core/Scenario.js +6 -5
- package/dist/core/Site.d.ts +1 -0
- package/dist/core/Site.js +6 -0
- package/package.json +1 -1
package/dist/core/Scenario.d.ts
CHANGED
package/dist/core/Scenario.js
CHANGED
|
@@ -228,11 +228,12 @@ __decorate([
|
|
|
228
228
|
__metadata("design:type", String)
|
|
229
229
|
], Pv.prototype, "name", void 0);
|
|
230
230
|
__decorate([
|
|
231
|
-
(0, swagger_1.ApiProperty)({ example:
|
|
232
|
-
(0, mongoose_1.Prop)({ required: false }),
|
|
233
|
-
(0, class_validator_1.
|
|
234
|
-
|
|
235
|
-
|
|
231
|
+
(0, swagger_1.ApiProperty)({ example: 'counter_12345' }),
|
|
232
|
+
(0, mongoose_1.Prop)({ required: false, default: null }),
|
|
233
|
+
(0, class_validator_1.IsOptional)(),
|
|
234
|
+
(0, class_validator_1.IsString)(),
|
|
235
|
+
__metadata("design:type", String)
|
|
236
|
+
], Pv.prototype, "counterId", void 0);
|
|
236
237
|
__decorate([
|
|
237
238
|
(0, swagger_1.ApiPropertyOptional)({ example: 1 }),
|
|
238
239
|
(0, mongoose_1.Prop)({ type: Number }),
|
package/dist/core/Site.d.ts
CHANGED
|
@@ -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,
|