@likewatt/models 1.72.1 → 1.72.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.
@@ -16,83 +16,99 @@ let Comments = class Comments {
16
16
  };
17
17
  exports.Comments = Comments;
18
18
  __decorate([
19
- (0, mongoose_1.Prop)({ required: false }),
19
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
20
20
  (0, class_validator_1.IsString)(),
21
+ (0, class_validator_1.IsOptional)(),
21
22
  __metadata("design:type", String)
22
23
  ], Comments.prototype, "CostPerMonth", void 0);
23
24
  __decorate([
24
- (0, mongoose_1.Prop)({ required: false }),
25
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
25
26
  (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsOptional)(),
26
28
  __metadata("design:type", String)
27
29
  ], Comments.prototype, "DailyProfile", void 0);
28
30
  __decorate([
29
- (0, mongoose_1.Prop)({ required: false }),
31
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
30
32
  (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsOptional)(),
31
34
  __metadata("design:type", String)
32
35
  ], Comments.prototype, "EnergyBalance", void 0);
33
36
  __decorate([
34
- (0, mongoose_1.Prop)({ required: false }),
37
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
35
38
  (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsOptional)(),
36
40
  __metadata("design:type", String)
37
41
  ], Comments.prototype, "LineBalanceSheet", void 0);
38
42
  __decorate([
39
- (0, mongoose_1.Prop)({ required: false }),
43
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
40
44
  (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsOptional)(),
41
46
  __metadata("design:type", String)
42
47
  ], Comments.prototype, "LoadCurve", void 0);
43
48
  __decorate([
44
- (0, mongoose_1.Prop)({ required: false }),
49
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
45
50
  (0, class_validator_1.IsString)(),
51
+ (0, class_validator_1.IsOptional)(),
46
52
  __metadata("design:type", String)
47
53
  ], Comments.prototype, "ScenarioTable", void 0);
48
54
  __decorate([
49
- (0, mongoose_1.Prop)({ required: false }),
55
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
50
56
  (0, class_validator_1.IsString)(),
57
+ (0, class_validator_1.IsOptional)(),
51
58
  __metadata("design:type", String)
52
59
  ], Comments.prototype, "TotalCost", void 0);
53
60
  __decorate([
54
- (0, mongoose_1.Prop)({ required: false }),
61
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
55
62
  (0, class_validator_1.IsString)(),
63
+ (0, class_validator_1.IsOptional)(),
56
64
  __metadata("design:type", String)
57
65
  ], Comments.prototype, "TotalEnergy", void 0);
58
66
  __decorate([
59
- (0, mongoose_1.Prop)({ required: false }),
67
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
60
68
  (0, class_validator_1.IsString)(),
69
+ (0, class_validator_1.IsOptional)(),
61
70
  __metadata("design:type", String)
62
71
  ], Comments.prototype, "Grid_EnergeticMix", void 0);
63
72
  __decorate([
64
- (0, mongoose_1.Prop)({ required: false }),
73
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
65
74
  (0, class_validator_1.IsString)(),
75
+ (0, class_validator_1.IsOptional)(),
66
76
  __metadata("design:type", String)
67
77
  ], Comments.prototype, "LineBalanceSheetFromPopUp", void 0);
68
78
  __decorate([
69
- (0, mongoose_1.Prop)({ required: false }),
79
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
70
80
  (0, class_validator_1.IsString)(),
81
+ (0, class_validator_1.IsOptional)(),
71
82
  __metadata("design:type", String)
72
83
  ], Comments.prototype, "Opex", void 0);
73
84
  __decorate([
74
- (0, mongoose_1.Prop)({ required: false }),
85
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
75
86
  (0, class_validator_1.IsString)(),
87
+ (0, class_validator_1.IsOptional)(),
76
88
  __metadata("design:type", String)
77
89
  ], Comments.prototype, "PV_EnergeticMix", void 0);
78
90
  __decorate([
79
- (0, mongoose_1.Prop)({ required: false }),
91
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
80
92
  (0, class_validator_1.IsString)(),
93
+ (0, class_validator_1.IsOptional)(),
81
94
  __metadata("design:type", String)
82
95
  ], Comments.prototype, "TechSummary", void 0);
83
96
  __decorate([
84
- (0, mongoose_1.Prop)({ required: false }),
97
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
85
98
  (0, class_validator_1.IsString)(),
99
+ (0, class_validator_1.IsOptional)(),
86
100
  __metadata("design:type", String)
87
101
  ], Comments.prototype, "VanFromPopUp", void 0);
88
102
  __decorate([
89
- (0, mongoose_1.Prop)({ required: false }),
103
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
90
104
  (0, class_validator_1.IsString)(),
105
+ (0, class_validator_1.IsOptional)(),
91
106
  __metadata("design:type", String)
92
107
  ], Comments.prototype, "Van", void 0);
93
108
  __decorate([
94
- (0, mongoose_1.Prop)({ required: false }),
109
+ (0, mongoose_1.Prop)({ required: false, default: '' }),
95
110
  (0, class_validator_1.IsString)(),
111
+ (0, class_validator_1.IsOptional)(),
96
112
  __metadata("design:type", String)
97
113
  ], Comments.prototype, "ConsumerEnergyBalance", void 0);
98
114
  exports.Comments = Comments = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.72.1",
3
+ "version": "1.72.3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {