@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
@@ -992,7 +992,7 @@ declare class CreateFreelancerExperienceDto {
992
992
  }
993
993
 
994
994
  declare class UpdateExperienceDto {
995
- id?: string;
995
+ uuid?: string;
996
996
  companyName: string;
997
997
  designation: string;
998
998
  jobDuration: string;
package/dist/index.d.ts CHANGED
@@ -992,7 +992,7 @@ declare class CreateFreelancerExperienceDto {
992
992
  }
993
993
 
994
994
  declare class UpdateExperienceDto {
995
- id?: string;
995
+ uuid?: string;
996
996
  companyName: string;
997
997
  designation: string;
998
998
  jobDuration: string;
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, "id", 2);
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, "id", 2);
2244
+ ], UpdateExperienceDto.prototype, "uuid", 2);
2245
2245
  __decorateClass([
2246
2246
  IsNotEmpty26(),
2247
2247
  IsString19()
@@ -1,5 +1,5 @@
1
1
  export declare class UpdateExperienceDto {
2
- id?: string;
2
+ uuid?: string;
3
3
  companyName: string;
4
4
  designation: string;
5
5
  jobDuration: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.133",
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/",