@experts_hub/shared 1.0.187 → 1.0.189
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/entities/freelancer-profile.entity.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1422,7 +1422,7 @@ __decorateClass([
|
|
|
1422
1422
|
(0, import_typeorm5.Column)({ name: "about", type: "varchar", nullable: true })
|
|
1423
1423
|
], FreelancerProfile.prototype, "about", 2);
|
|
1424
1424
|
__decorateClass([
|
|
1425
|
-
(0, import_typeorm5.Column)({ name: "profile_completed_percentage", type: "
|
|
1425
|
+
(0, import_typeorm5.Column)({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
|
|
1426
1426
|
], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
|
|
1427
1427
|
FreelancerProfile = __decorateClass([
|
|
1428
1428
|
(0, import_typeorm5.Entity)("freelancer_profiles")
|
|
@@ -2574,10 +2574,7 @@ __decorateClass([
|
|
|
2574
2574
|
(0, import_typeorm28.OneToMany)(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
2575
2575
|
], User.prototype, "senseloafLogs", 2);
|
|
2576
2576
|
__decorateClass([
|
|
2577
|
-
(0, import_typeorm28.OneToOne)(
|
|
2578
|
-
() => FreelancerProfile,
|
|
2579
|
-
(freelancerProfile) => freelancerProfile.user
|
|
2580
|
-
)
|
|
2577
|
+
(0, import_typeorm28.OneToOne)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
2581
2578
|
], User.prototype, "freelancerProfile", 2);
|
|
2582
2579
|
__decorateClass([
|
|
2583
2580
|
(0, import_typeorm28.OneToOne)(() => CompanyProfile, (companyProfile) => companyProfile.user, {
|
package/dist/index.mjs
CHANGED
|
@@ -1393,7 +1393,7 @@ __decorateClass([
|
|
|
1393
1393
|
Column5({ name: "about", type: "varchar", nullable: true })
|
|
1394
1394
|
], FreelancerProfile.prototype, "about", 2);
|
|
1395
1395
|
__decorateClass([
|
|
1396
|
-
Column5({ name: "profile_completed_percentage", type: "
|
|
1396
|
+
Column5({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
|
|
1397
1397
|
], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
|
|
1398
1398
|
FreelancerProfile = __decorateClass([
|
|
1399
1399
|
Entity4("freelancer_profiles")
|
|
@@ -2650,10 +2650,7 @@ __decorateClass([
|
|
|
2650
2650
|
OneToMany8(() => SenseloafLog, (senseloafLog) => senseloafLog.user)
|
|
2651
2651
|
], User.prototype, "senseloafLogs", 2);
|
|
2652
2652
|
__decorateClass([
|
|
2653
|
-
OneToOne(
|
|
2654
|
-
() => FreelancerProfile,
|
|
2655
|
-
(freelancerProfile) => freelancerProfile.user
|
|
2656
|
-
)
|
|
2653
|
+
OneToOne(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.user, { cascade: true })
|
|
2657
2654
|
], User.prototype, "freelancerProfile", 2);
|
|
2658
2655
|
__decorateClass([
|
|
2659
2656
|
OneToOne(() => CompanyProfile, (companyProfile) => companyProfile.user, {
|