@experts_hub/shared 1.0.293 → 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.
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
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.293",
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/",