@likewatt/models 1.1.23 → 1.2.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.
@@ -36,6 +36,7 @@ export declare class Site {
36
36
  addressDepartement: string;
37
37
  reportURL: string;
38
38
  enedisNumber: string;
39
+ strasbourgNumber: string;
39
40
  startDate: Date;
40
41
  endDate: Date;
41
42
  automaticUpdateError?: string;
package/dist/core/Site.js CHANGED
@@ -185,6 +185,12 @@ __decorate([
185
185
  (0, class_validator_1.IsString)(),
186
186
  __metadata("design:type", String)
187
187
  ], Site.prototype, "enedisNumber", void 0);
188
+ __decorate([
189
+ (0, swagger_1.ApiProperty)(),
190
+ (0, mongoose_1.Prop)({ required: false }),
191
+ (0, class_validator_1.IsString)(),
192
+ __metadata("design:type", String)
193
+ ], Site.prototype, "strasbourgNumber", void 0);
188
194
  __decorate([
189
195
  (0, swagger_1.ApiProperty)(),
190
196
  (0, mongoose_1.Prop)({ type: Date, required: false }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.1.23",
3
+ "version": "1.2.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {