@experts_hub/shared 1.0.134 → 1.0.135

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
@@ -1518,7 +1518,7 @@ __decorateClass([
1518
1518
  )
1519
1519
  ], User.prototype, "freelancerProfile", 2);
1520
1520
  __decorateClass([
1521
- (0, import_typeorm15.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user)
1521
+ (0, import_typeorm15.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
1522
1522
  ], User.prototype, "companyProfile", 2);
1523
1523
  __decorateClass([
1524
1524
  (0, import_typeorm15.OneToMany)(() => Job, (job) => job.user)
package/dist/index.mjs CHANGED
@@ -1513,7 +1513,7 @@ __decorateClass([
1513
1513
  )
1514
1514
  ], User.prototype, "freelancerProfile", 2);
1515
1515
  __decorateClass([
1516
- OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user)
1516
+ OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user, { cascade: true })
1517
1517
  ], User.prototype, "companyProfile", 2);
1518
1518
  __decorateClass([
1519
1519
  OneToMany6(() => Job, (job) => job.user)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.134",
3
+ "version": "1.0.135",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",