@experts_hub/shared 1.0.292 → 1.0.294

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.
@@ -61,6 +61,7 @@ export declare class User extends BaseEntity {
61
61
  accountStatus: AccountStatus;
62
62
  isEmailVerified: boolean;
63
63
  isMobileVerified: boolean;
64
+ isSocial: boolean;
64
65
  lastLoginAt: Date;
65
66
  lastLoginIp: string;
66
67
  resetToken: string | null;
package/dist/index.d.mts CHANGED
@@ -1210,6 +1210,7 @@ declare class User extends BaseEntity {
1210
1210
  accountStatus: AccountStatus;
1211
1211
  isEmailVerified: boolean;
1212
1212
  isMobileVerified: boolean;
1213
+ isSocial: boolean;
1213
1214
  lastLoginAt: Date;
1214
1215
  lastLoginIp: string;
1215
1216
  resetToken: string | null;
package/dist/index.d.ts CHANGED
@@ -1210,6 +1210,7 @@ declare class User extends BaseEntity {
1210
1210
  accountStatus: AccountStatus;
1211
1211
  isEmailVerified: boolean;
1212
1212
  isMobileVerified: boolean;
1213
+ isSocial: boolean;
1213
1214
  lastLoginAt: Date;
1214
1215
  lastLoginIp: string;
1215
1216
  resetToken: string | null;
package/dist/index.js CHANGED
@@ -734,23 +734,48 @@ __decorateClass([
734
734
  __decorateClass([
735
735
  (0, import_class_validator21.IsNotEmpty)({ message: "Please enter likedin profile url." }),
736
736
  (0, import_class_validator21.IsString)(),
737
- (0, import_class_validator21.IsUrl)({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
737
+ (0, import_class_validator21.IsUrl)(
738
+ { require_protocol: false },
739
+ {
740
+ message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
741
+ }
742
+ )
738
743
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
739
744
  __decorateClass([
740
745
  (0, import_class_validator21.IsOptional)(),
741
- (0, import_class_validator21.IsUrl)({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
746
+ (0, import_class_validator21.IsUrl)(
747
+ { require_protocol: false },
748
+ {
749
+ message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
750
+ }
751
+ )
742
752
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
743
753
  __decorateClass([
744
754
  (0, import_class_validator21.IsOptional)(),
745
- (0, import_class_validator21.IsUrl)({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
755
+ (0, import_class_validator21.IsUrl)(
756
+ { require_protocol: false },
757
+ {
758
+ message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
759
+ }
760
+ )
746
761
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
747
762
  __decorateClass([
748
763
  (0, import_class_validator21.IsOptional)(),
749
- (0, import_class_validator21.IsUrl)({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
764
+ (0, import_class_validator21.IsUrl)(
765
+ { require_protocol: false },
766
+ {
767
+ message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
768
+ }
769
+ )
750
770
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
751
771
  __decorateClass([
752
772
  (0, import_class_validator21.IsOptional)(),
753
- (0, import_class_validator21.IsUrl)({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
773
+ (0, import_class_validator21.IsUrl)(
774
+ { require_protocol: false },
775
+ {
776
+ message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
777
+ }
778
+ )
754
779
  ], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
755
780
 
756
781
  // src/modules/onboarding/dto/client-profile-question.dto.ts
@@ -3458,6 +3483,9 @@ __decorateClass([
3458
3483
  __decorateClass([
3459
3484
  (0, import_typeorm41.Column)({ name: "is_mobile_verified", type: "boolean", default: false })
3460
3485
  ], User.prototype, "isMobileVerified", 2);
3486
+ __decorateClass([
3487
+ (0, import_typeorm41.Column)({ name: "is_social", type: "boolean", default: false })
3488
+ ], User.prototype, "isSocial", 2);
3461
3489
  __decorateClass([
3462
3490
  (0, import_typeorm41.Column)({
3463
3491
  name: "last_login_at",
package/dist/index.mjs CHANGED
@@ -551,23 +551,48 @@ __decorateClass([
551
551
  __decorateClass([
552
552
  IsNotEmpty18({ message: "Please enter likedin profile url." }),
553
553
  IsString5(),
554
- IsUrl({ require_protocol: true }, { message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)" })
554
+ IsUrl(
555
+ { require_protocol: false },
556
+ {
557
+ message: "linkedinProfileLink must be a valid URL with protocol (e.g. https://)"
558
+ }
559
+ )
555
560
  ], FreelancerWorkShowcaseDto.prototype, "linkedinProfileLink", 2);
556
561
  __decorateClass([
557
562
  IsOptional3(),
558
- IsUrl({ require_protocol: true }, { message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)" })
563
+ IsUrl(
564
+ { require_protocol: false },
565
+ {
566
+ message: "kaggleProfileLink must be a valid URL with protocol (e.g. https://)"
567
+ }
568
+ )
559
569
  ], FreelancerWorkShowcaseDto.prototype, "kaggleProfileLink", 2);
560
570
  __decorateClass([
561
571
  IsOptional3(),
562
- IsUrl({ require_protocol: true }, { message: "githubProfileLink must be a valid URL with protocol (e.g. https://)" })
572
+ IsUrl(
573
+ { require_protocol: false },
574
+ {
575
+ message: "githubProfileLink must be a valid URL with protocol (e.g. https://)"
576
+ }
577
+ )
563
578
  ], FreelancerWorkShowcaseDto.prototype, "githubProfileLink", 2);
564
579
  __decorateClass([
565
580
  IsOptional3(),
566
- IsUrl({ require_protocol: true }, { message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)" })
581
+ IsUrl(
582
+ { require_protocol: false },
583
+ {
584
+ message: "stackOverflowProfileLink must be a valid URL with protocol (e.g. https://)"
585
+ }
586
+ )
567
587
  ], FreelancerWorkShowcaseDto.prototype, "stackOverflowProfileLink", 2);
568
588
  __decorateClass([
569
589
  IsOptional3(),
570
- IsUrl({ require_protocol: true }, { message: "portfolioLink must be a valid URL with protocol (e.g. https://)" })
590
+ IsUrl(
591
+ { require_protocol: false },
592
+ {
593
+ message: "portfolioLink must be a valid URL with protocol (e.g. https://)"
594
+ }
595
+ )
571
596
  ], FreelancerWorkShowcaseDto.prototype, "portfolioLink", 2);
572
597
 
573
598
  // src/modules/onboarding/dto/client-profile-question.dto.ts
@@ -3521,6 +3546,9 @@ __decorateClass([
3521
3546
  __decorateClass([
3522
3547
  Column41({ name: "is_mobile_verified", type: "boolean", default: false })
3523
3548
  ], User.prototype, "isMobileVerified", 2);
3549
+ __decorateClass([
3550
+ Column41({ name: "is_social", type: "boolean", default: false })
3551
+ ], User.prototype, "isSocial", 2);
3524
3552
  __decorateClass([
3525
3553
  Column41({
3526
3554
  name: "last_login_at",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.292",
3
+ "version": "1.0.294",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",