docta-package 1.2.38 → 1.2.39

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.
@@ -120,7 +120,7 @@ __decorate([
120
120
  (0, class_validator_1.IsOptional)(),
121
121
  (0, class_validator_1.IsArray)(),
122
122
  (0, class_validator_1.ArrayMaxSize)(5, { message: "A maximum of 5 expertises is allowed" }),
123
- (0, class_validator_1.IsString)({ each: true }),
123
+ (0, class_validator_1.IsMongoId)({ each: true }),
124
124
  __metadata("design:type", Array)
125
125
  ], UpdateDoctorDto.prototype, "expertises", void 0);
126
126
  __decorate([
@@ -164,7 +164,7 @@ __decorate([
164
164
  __decorate([
165
165
  (0, class_validator_1.IsOptional)(),
166
166
  (0, class_validator_1.IsArray)(),
167
- (0, class_validator_1.IsString)({ each: true }),
167
+ (0, class_validator_1.IsMongoId)({ each: true }),
168
168
  __metadata("design:type", Array)
169
169
  ], DoctorFilterDto.prototype, "expertises", void 0);
170
170
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docta-package",
3
- "version": "1.2.38",
3
+ "version": "1.2.39",
4
4
  "description": "This package will contail all the required files to run the docta micro-service app",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",