@likewatt/models 1.132.0 → 1.132.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.
@@ -244,7 +244,7 @@ __decorate([
244
244
  'ancrée sur collectiveSiteId, sans site. Invariant (contrôlé au ' +
245
245
  'gateway) : exactement un de siteId | collectiveSiteId est présent.',
246
246
  }),
247
- (0, mongoose_1.Prop)({ type: String, required: false }),
247
+ (0, mongoose_1.Prop)({ type: String, required: false, index: true }),
248
248
  (0, class_validator_1.IsOptional)(),
249
249
  (0, class_validator_1.IsString)(),
250
250
  __metadata("design:type", String)
@@ -698,7 +698,7 @@ __decorate([
698
698
  ], Scenario.prototype, "sellingPriceInflation", void 0);
699
699
  __decorate([
700
700
  (0, swagger_1.ApiProperty)({ example: 'site_12345' }),
701
- (0, mongoose_1.Prop)({ required: true }),
701
+ (0, mongoose_1.Prop)({ required: true, index: true }),
702
702
  (0, class_validator_1.IsString)(),
703
703
  __metadata("design:type", String)
704
704
  ], Scenario.prototype, "siteId", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@likewatt/models",
3
- "version": "1.132.0",
3
+ "version": "1.132.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {