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