@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.
- package/dist/entities/user.entity.d.ts +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +33 -5
- package/dist/index.mjs +33 -5
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
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)(
|
|
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)(
|
|
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)(
|
|
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)(
|
|
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)(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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",
|