@experts_hub/shared 1.0.610 → 1.0.611

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/index.js CHANGED
@@ -7310,12 +7310,12 @@ Rating = __decorateClass([
7310
7310
  var CreateRatingDto = class {
7311
7311
  };
7312
7312
  __decorateClass([
7313
- (0, import_class_validator63.IsInt)({ message: "Reviewee ID must be a valid integer" }),
7314
- (0, import_class_validator63.IsNotEmpty)({ message: "Reviewee ID is required" })
7313
+ (0, import_class_validator63.IsOptional)(),
7314
+ (0, import_class_validator63.IsInt)({ message: "Reviewee ID must be a valid integer" })
7315
7315
  ], CreateRatingDto.prototype, "revieweeId", 2);
7316
7316
  __decorateClass([
7317
- (0, import_class_validator63.IsInt)({ message: "Reviewer ID must be a valid integer" }),
7318
- (0, import_class_validator63.IsNotEmpty)({ message: "Reviewer ID is required" })
7317
+ (0, import_class_validator63.IsOptional)(),
7318
+ (0, import_class_validator63.IsInt)({ message: "Reviewer ID must be a valid integer" })
7319
7319
  ], CreateRatingDto.prototype, "reviewerId", 2);
7320
7320
  __decorateClass([
7321
7321
  (0, import_class_validator63.IsInt)({ message: "Job ID must be a valid integer" }),
package/dist/index.mjs CHANGED
@@ -7249,12 +7249,12 @@ Rating = __decorateClass([
7249
7249
  var CreateRatingDto = class {
7250
7250
  };
7251
7251
  __decorateClass([
7252
- IsInt2({ message: "Reviewee ID must be a valid integer" }),
7253
- IsNotEmpty52({ message: "Reviewee ID is required" })
7252
+ IsOptional29(),
7253
+ IsInt2({ message: "Reviewee ID must be a valid integer" })
7254
7254
  ], CreateRatingDto.prototype, "revieweeId", 2);
7255
7255
  __decorateClass([
7256
- IsInt2({ message: "Reviewer ID must be a valid integer" }),
7257
- IsNotEmpty52({ message: "Reviewer ID is required" })
7256
+ IsOptional29(),
7257
+ IsInt2({ message: "Reviewer ID must be a valid integer" })
7258
7258
  ], CreateRatingDto.prototype, "reviewerId", 2);
7259
7259
  __decorateClass([
7260
7260
  IsInt2({ message: "Job ID must be a valid integer" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.610",
3
+ "version": "1.0.611",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",