@experts_hub/shared 1.0.426 → 1.0.428
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1447,9 +1447,9 @@ __decorateClass([
|
|
|
1447
1447
|
(0, import_class_validator39.IsOptional)(),
|
|
1448
1448
|
(0, import_class_validator39.IsNumber)()
|
|
1449
1449
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1450
|
+
//@IsString({ message: "Please enter valid expected hourly compensation." })
|
|
1450
1451
|
__decorateClass([
|
|
1451
|
-
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
1452
|
-
(0, import_class_validator39.IsString)({ message: "Please enter valid expected hourly compensation." })
|
|
1452
|
+
(0, import_class_validator39.IsNotEmpty)({ message: "Please enter expected hourly compensation." })
|
|
1453
1453
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1454
1454
|
__decorateClass([
|
|
1455
1455
|
(0, import_class_validator39.IsNotEmpty)({ message: "Please select engagement type." }),
|
|
@@ -3460,7 +3460,7 @@ __decorateClass([
|
|
|
3460
3460
|
(0, import_typeorm26.Index)()
|
|
3461
3461
|
], ClientCandidatePreference.prototype, "clientId", 2);
|
|
3462
3462
|
__decorateClass([
|
|
3463
|
-
(0, import_typeorm26.ManyToOne)(() => User),
|
|
3463
|
+
(0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientPreferencesGiven),
|
|
3464
3464
|
(0, import_typeorm26.JoinColumn)({ name: "client_id" })
|
|
3465
3465
|
], ClientCandidatePreference.prototype, "client", 2);
|
|
3466
3466
|
__decorateClass([
|
|
@@ -3468,7 +3468,7 @@ __decorateClass([
|
|
|
3468
3468
|
(0, import_typeorm26.Index)()
|
|
3469
3469
|
], ClientCandidatePreference.prototype, "candidateId", 2);
|
|
3470
3470
|
__decorateClass([
|
|
3471
|
-
(0, import_typeorm26.ManyToOne)(() => User),
|
|
3471
|
+
(0, import_typeorm26.ManyToOne)(() => User, (user) => user.clientPreferencesReceived),
|
|
3472
3472
|
(0, import_typeorm26.JoinColumn)({ name: "candidate_id" })
|
|
3473
3473
|
], ClientCandidatePreference.prototype, "candidate", 2);
|
|
3474
3474
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -1261,9 +1261,9 @@ __decorateClass([
|
|
|
1261
1261
|
IsOptional14(),
|
|
1262
1262
|
IsNumber2()
|
|
1263
1263
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
1264
|
+
//@IsString({ message: "Please enter valid expected hourly compensation." })
|
|
1264
1265
|
__decorateClass([
|
|
1265
|
-
IsNotEmpty33({ message: "Please enter expected hourly compensation." })
|
|
1266
|
-
IsString16({ message: "Please enter valid expected hourly compensation." })
|
|
1266
|
+
IsNotEmpty33({ message: "Please enter expected hourly compensation." })
|
|
1267
1267
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
1268
1268
|
__decorateClass([
|
|
1269
1269
|
IsNotEmpty33({ message: "Please select engagement type." }),
|
|
@@ -3394,7 +3394,7 @@ __decorateClass([
|
|
|
3394
3394
|
Index19()
|
|
3395
3395
|
], ClientCandidatePreference.prototype, "clientId", 2);
|
|
3396
3396
|
__decorateClass([
|
|
3397
|
-
ManyToOne24(() => User),
|
|
3397
|
+
ManyToOne24(() => User, (user) => user.clientPreferencesGiven),
|
|
3398
3398
|
JoinColumn24({ name: "client_id" })
|
|
3399
3399
|
], ClientCandidatePreference.prototype, "client", 2);
|
|
3400
3400
|
__decorateClass([
|
|
@@ -3402,7 +3402,7 @@ __decorateClass([
|
|
|
3402
3402
|
Index19()
|
|
3403
3403
|
], ClientCandidatePreference.prototype, "candidateId", 2);
|
|
3404
3404
|
__decorateClass([
|
|
3405
|
-
ManyToOne24(() => User),
|
|
3405
|
+
ManyToOne24(() => User, (user) => user.clientPreferencesReceived),
|
|
3406
3406
|
JoinColumn24({ name: "candidate_id" })
|
|
3407
3407
|
], ClientCandidatePreference.prototype, "candidate", 2);
|
|
3408
3408
|
__decorateClass([
|