@likewatt/models 1.2.3 → 1.2.4

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/Site.js CHANGED
@@ -276,13 +276,13 @@ __decorate([
276
276
  ], Site.prototype, "TURPE_VERSION", void 0);
277
277
  __decorate([
278
278
  (0, swagger_1.ApiProperty)(),
279
- (0, mongoose_1.Prop)({ type: Date, required: true }),
279
+ (0, mongoose_1.Prop)({ type: Date, required: false }),
280
280
  (0, class_validator_1.IsDate)(),
281
281
  __metadata("design:type", Object)
282
282
  ], Site.prototype, "_createdAt", void 0);
283
283
  __decorate([
284
284
  (0, swagger_1.ApiProperty)(),
285
- (0, mongoose_1.Prop)({ type: Date, required: true }),
285
+ (0, mongoose_1.Prop)({ type: Date, required: false }),
286
286
  (0, class_validator_1.IsDate)(),
287
287
  __metadata("design:type", Object)
288
288
  ], Site.prototype, "_lastModified", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {