@experts_hub/shared 1.0.133 → 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.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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)
|
|
@@ -2205,7 +2205,7 @@ var UpdateExperienceDto = class {
|
|
|
2205
2205
|
};
|
|
2206
2206
|
__decorateClass([
|
|
2207
2207
|
(0, import_class_validator34.IsOptional)()
|
|
2208
|
-
], UpdateExperienceDto.prototype, "
|
|
2208
|
+
], UpdateExperienceDto.prototype, "uuid", 2);
|
|
2209
2209
|
__decorateClass([
|
|
2210
2210
|
(0, import_class_validator34.IsNotEmpty)(),
|
|
2211
2211
|
(0, import_class_validator34.IsString)()
|
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)
|
|
@@ -2241,7 +2241,7 @@ var UpdateExperienceDto = class {
|
|
|
2241
2241
|
};
|
|
2242
2242
|
__decorateClass([
|
|
2243
2243
|
IsOptional13()
|
|
2244
|
-
], UpdateExperienceDto.prototype, "
|
|
2244
|
+
], UpdateExperienceDto.prototype, "uuid", 2);
|
|
2245
2245
|
__decorateClass([
|
|
2246
2246
|
IsNotEmpty26(),
|
|
2247
2247
|
IsString19()
|