@experts_hub/shared 1.0.426 → 1.0.427

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
@@ -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
@@ -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([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.426",
3
+ "version": "1.0.427",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",