@experts_hub/shared 1.0.221 → 1.0.223

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.
@@ -45,4 +45,6 @@ export declare class FreelancerProfile extends BaseEntity {
45
45
  address: string;
46
46
  about: string;
47
47
  profileCompletedPercentage: Record<string, number>;
48
+ serviceAgreementUrl: string;
49
+ serviceAggrementSignedOn: Date;
48
50
  }
package/dist/index.d.mts CHANGED
@@ -455,6 +455,7 @@ declare const PROFILE_PATTERN: {
455
455
  changeFreelancerPassword: string;
456
456
  uploadFreelancerProfilePic: string;
457
457
  updateFreelancerProfile: string;
458
+ uploadFreelancerServiceAgreement: string;
458
459
  };
459
460
 
460
461
  declare class FreelancerChangePasswordDto {
@@ -644,6 +645,8 @@ declare class FreelancerProfile extends BaseEntity {
644
645
  address: string;
645
646
  about: string;
646
647
  profileCompletedPercentage: Record<string, number>;
648
+ serviceAgreementUrl: string;
649
+ serviceAggrementSignedOn: Date;
647
650
  }
648
651
 
649
652
  declare enum KindOfHire {
package/dist/index.d.ts CHANGED
@@ -455,6 +455,7 @@ declare const PROFILE_PATTERN: {
455
455
  changeFreelancerPassword: string;
456
456
  uploadFreelancerProfilePic: string;
457
457
  updateFreelancerProfile: string;
458
+ uploadFreelancerServiceAgreement: string;
458
459
  };
459
460
 
460
461
  declare class FreelancerChangePasswordDto {
@@ -644,6 +645,8 @@ declare class FreelancerProfile extends BaseEntity {
644
645
  address: string;
645
646
  about: string;
646
647
  profileCompletedPercentage: Record<string, number>;
648
+ serviceAgreementUrl: string;
649
+ serviceAggrementSignedOn: Date;
647
650
  }
648
651
 
649
652
  declare enum KindOfHire {
package/dist/index.js CHANGED
@@ -969,7 +969,8 @@ var PROFILE_PATTERN = {
969
969
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
970
970
  changeFreelancerPassword: "change.freelancer.password",
971
971
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
972
- updateFreelancerProfile: "update.freelancer.profile"
972
+ updateFreelancerProfile: "update.freelancer.profile",
973
+ uploadFreelancerServiceAgreement: "upload.freelancer.service.agreement"
973
974
  };
974
975
 
975
976
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
@@ -1473,8 +1474,25 @@ __decorateClass([
1473
1474
  (0, import_typeorm5.Column)({ name: "about", type: "varchar", nullable: true })
1474
1475
  ], FreelancerProfile.prototype, "about", 2);
1475
1476
  __decorateClass([
1476
- (0, import_typeorm5.Column)({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
1477
+ (0, import_typeorm5.Column)({
1478
+ name: "profile_completed_percentage",
1479
+ type: "json",
1480
+ default: {
1481
+ about: 0,
1482
+ skills: 0,
1483
+ project: 0,
1484
+ experience: 0,
1485
+ education: 0,
1486
+ declaration: 0
1487
+ }
1488
+ })
1477
1489
  ], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
1490
+ __decorateClass([
1491
+ (0, import_typeorm5.Column)({ name: "service_agreement_url", type: "varchar", nullable: true })
1492
+ ], FreelancerProfile.prototype, "serviceAgreementUrl", 2);
1493
+ __decorateClass([
1494
+ (0, import_typeorm5.Column)({ name: "service_agreement_signed_on", type: "timestamp with time zone", nullable: true })
1495
+ ], FreelancerProfile.prototype, "serviceAggrementSignedOn", 2);
1478
1496
  FreelancerProfile = __decorateClass([
1479
1497
  (0, import_typeorm5.Entity)("freelancer_profiles")
1480
1498
  ], FreelancerProfile);
@@ -1539,7 +1557,7 @@ __decorateClass([
1539
1557
  (0, import_typeorm6.Column)({ name: "service_agreement_url", type: "varchar", nullable: true })
1540
1558
  ], CompanyProfile.prototype, "serviceAgreementUrl", 2);
1541
1559
  __decorateClass([
1542
- (0, import_typeorm6.Column)({ name: "service_agreement_signed_on", type: "date", nullable: true })
1560
+ (0, import_typeorm6.Column)({ name: "service_agreement_signed_on", type: "timestamp with time zone", nullable: true })
1543
1561
  ], CompanyProfile.prototype, "serviceAggrementSignedOn", 2);
1544
1562
  __decorateClass([
1545
1563
  (0, import_typeorm6.Column)({ name: "company_address", type: "varchar", nullable: true })
package/dist/index.mjs CHANGED
@@ -840,7 +840,8 @@ var PROFILE_PATTERN = {
840
840
  fetchFreelancerScreeningResult: "fetch.freelancer.screening.result",
841
841
  changeFreelancerPassword: "change.freelancer.password",
842
842
  uploadFreelancerProfilePic: "upload.freelancer.profilepic",
843
- updateFreelancerProfile: "update.freelancer.profile"
843
+ updateFreelancerProfile: "update.freelancer.profile",
844
+ uploadFreelancerServiceAgreement: "upload.freelancer.service.agreement"
844
845
  };
845
846
 
846
847
  // src/modules/user/freelancer-profile/dto/freelancer-change-password.dto.ts
@@ -1410,8 +1411,25 @@ __decorateClass([
1410
1411
  Column5({ name: "about", type: "varchar", nullable: true })
1411
1412
  ], FreelancerProfile.prototype, "about", 2);
1412
1413
  __decorateClass([
1413
- Column5({ name: "profile_completed_percentage", type: "json", default: { about: 0, skills: 0, project: 0, experience: 0, education: 0, declaration: 0 } })
1414
+ Column5({
1415
+ name: "profile_completed_percentage",
1416
+ type: "json",
1417
+ default: {
1418
+ about: 0,
1419
+ skills: 0,
1420
+ project: 0,
1421
+ experience: 0,
1422
+ education: 0,
1423
+ declaration: 0
1424
+ }
1425
+ })
1414
1426
  ], FreelancerProfile.prototype, "profileCompletedPercentage", 2);
1427
+ __decorateClass([
1428
+ Column5({ name: "service_agreement_url", type: "varchar", nullable: true })
1429
+ ], FreelancerProfile.prototype, "serviceAgreementUrl", 2);
1430
+ __decorateClass([
1431
+ Column5({ name: "service_agreement_signed_on", type: "timestamp with time zone", nullable: true })
1432
+ ], FreelancerProfile.prototype, "serviceAggrementSignedOn", 2);
1415
1433
  FreelancerProfile = __decorateClass([
1416
1434
  Entity4("freelancer_profiles")
1417
1435
  ], FreelancerProfile);
@@ -1476,7 +1494,7 @@ __decorateClass([
1476
1494
  Column6({ name: "service_agreement_url", type: "varchar", nullable: true })
1477
1495
  ], CompanyProfile.prototype, "serviceAgreementUrl", 2);
1478
1496
  __decorateClass([
1479
- Column6({ name: "service_agreement_signed_on", type: "date", nullable: true })
1497
+ Column6({ name: "service_agreement_signed_on", type: "timestamp with time zone", nullable: true })
1480
1498
  ], CompanyProfile.prototype, "serviceAggrementSignedOn", 2);
1481
1499
  __decorateClass([
1482
1500
  Column6({ name: "company_address", type: "varchar", nullable: true })
@@ -4,4 +4,5 @@ export declare const PROFILE_PATTERN: {
4
4
  changeFreelancerPassword: string;
5
5
  uploadFreelancerProfilePic: string;
6
6
  updateFreelancerProfile: string;
7
+ uploadFreelancerServiceAgreement: string;
7
8
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.221",
3
+ "version": "1.0.223",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",