@experts_hub/shared 1.0.609 → 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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -5
- package/dist/index.mjs +6 -5
- package/dist/modules/rating/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2507,7 +2507,8 @@ __decorateClass([
|
|
|
2507
2507
|
// src/modules/rating/pattern/pattern.ts
|
|
2508
2508
|
var RATING_PATTERN = {
|
|
2509
2509
|
addRating: "add.rating",
|
|
2510
|
-
fetchRating: "fetch.rating"
|
|
2510
|
+
fetchRating: "fetch.rating",
|
|
2511
|
+
fetchPublicRating: "fetch.public.rating"
|
|
2511
2512
|
};
|
|
2512
2513
|
|
|
2513
2514
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -7309,12 +7310,12 @@ Rating = __decorateClass([
|
|
|
7309
7310
|
var CreateRatingDto = class {
|
|
7310
7311
|
};
|
|
7311
7312
|
__decorateClass([
|
|
7312
|
-
(0, import_class_validator63.
|
|
7313
|
-
(0, import_class_validator63.
|
|
7313
|
+
(0, import_class_validator63.IsOptional)(),
|
|
7314
|
+
(0, import_class_validator63.IsInt)({ message: "Reviewee ID must be a valid integer" })
|
|
7314
7315
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
7315
7316
|
__decorateClass([
|
|
7316
|
-
(0, import_class_validator63.
|
|
7317
|
-
(0, import_class_validator63.
|
|
7317
|
+
(0, import_class_validator63.IsOptional)(),
|
|
7318
|
+
(0, import_class_validator63.IsInt)({ message: "Reviewer ID must be a valid integer" })
|
|
7318
7319
|
], CreateRatingDto.prototype, "reviewerId", 2);
|
|
7319
7320
|
__decorateClass([
|
|
7320
7321
|
(0, import_class_validator63.IsInt)({ message: "Job ID must be a valid integer" }),
|
package/dist/index.mjs
CHANGED
|
@@ -2210,7 +2210,8 @@ __decorateClass([
|
|
|
2210
2210
|
// src/modules/rating/pattern/pattern.ts
|
|
2211
2211
|
var RATING_PATTERN = {
|
|
2212
2212
|
addRating: "add.rating",
|
|
2213
|
-
fetchRating: "fetch.rating"
|
|
2213
|
+
fetchRating: "fetch.rating",
|
|
2214
|
+
fetchPublicRating: "fetch.public.rating"
|
|
2214
2215
|
};
|
|
2215
2216
|
|
|
2216
2217
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
@@ -7248,12 +7249,12 @@ Rating = __decorateClass([
|
|
|
7248
7249
|
var CreateRatingDto = class {
|
|
7249
7250
|
};
|
|
7250
7251
|
__decorateClass([
|
|
7251
|
-
|
|
7252
|
-
|
|
7252
|
+
IsOptional29(),
|
|
7253
|
+
IsInt2({ message: "Reviewee ID must be a valid integer" })
|
|
7253
7254
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
7254
7255
|
__decorateClass([
|
|
7255
|
-
|
|
7256
|
-
|
|
7256
|
+
IsOptional29(),
|
|
7257
|
+
IsInt2({ message: "Reviewer ID must be a valid integer" })
|
|
7257
7258
|
], CreateRatingDto.prototype, "reviewerId", 2);
|
|
7258
7259
|
__decorateClass([
|
|
7259
7260
|
IsInt2({ message: "Job ID must be a valid integer" }),
|