@experts_hub/shared 1.0.136 → 1.0.138
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 +4 -2
- package/dist/index.mjs +72 -71
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -569,7 +569,9 @@ var UpdateCompanyProfileDto = class {
|
|
|
569
569
|
__decorateClass([
|
|
570
570
|
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter company name." }),
|
|
571
571
|
(0, import_class_validator17.IsString)({ message: "Company name must be a string." }),
|
|
572
|
-
(0, import_class_validator17.Length)(2, 255, {
|
|
572
|
+
(0, import_class_validator17.Length)(2, 255, {
|
|
573
|
+
message: "Company name must be between 2 and 255 characters"
|
|
574
|
+
})
|
|
573
575
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
574
576
|
__decorateClass([
|
|
575
577
|
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter company website url." }),
|
|
@@ -591,7 +593,7 @@ __decorateClass([
|
|
|
591
593
|
(0, import_class_validator17.IsEmail)()
|
|
592
594
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
593
595
|
__decorateClass([
|
|
594
|
-
(0, import_class_validator17.
|
|
596
|
+
(0, import_class_validator17.IsNotEmpty)({ message: "Please enter something about company." }),
|
|
595
597
|
(0, import_class_validator17.IsString)({ message: "About company must be a string." })
|
|
596
598
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
597
599
|
|
package/dist/index.mjs
CHANGED
|
@@ -480,7 +480,6 @@ var CLIENT_PROFILE_PATTERN = {
|
|
|
480
480
|
|
|
481
481
|
// src/modules/user/client-profile/dto/update-client-profile.dto.ts
|
|
482
482
|
import {
|
|
483
|
-
IsOptional as IsOptional4,
|
|
484
483
|
IsString as IsString8,
|
|
485
484
|
IsNotEmpty as IsNotEmpty15,
|
|
486
485
|
IsEmail as IsEmail5,
|
|
@@ -493,7 +492,9 @@ var UpdateCompanyProfileDto = class {
|
|
|
493
492
|
__decorateClass([
|
|
494
493
|
IsNotEmpty15({ message: "Please enter company name." }),
|
|
495
494
|
IsString8({ message: "Company name must be a string." }),
|
|
496
|
-
Length(2, 255, {
|
|
495
|
+
Length(2, 255, {
|
|
496
|
+
message: "Company name must be between 2 and 255 characters"
|
|
497
|
+
})
|
|
497
498
|
], UpdateCompanyProfileDto.prototype, "companyName", 2);
|
|
498
499
|
__decorateClass([
|
|
499
500
|
IsNotEmpty15({ message: "Please enter company website url." }),
|
|
@@ -515,7 +516,7 @@ __decorateClass([
|
|
|
515
516
|
IsEmail5()
|
|
516
517
|
], UpdateCompanyProfileDto.prototype, "email", 2);
|
|
517
518
|
__decorateClass([
|
|
518
|
-
|
|
519
|
+
IsNotEmpty15({ message: "Please enter something about company." }),
|
|
519
520
|
IsString8({ message: "About company must be a string." })
|
|
520
521
|
], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
|
|
521
522
|
|
|
@@ -551,8 +552,8 @@ var QUESTION_PATTERN = {
|
|
|
551
552
|
// src/modules/question/dto/create-question.dto.ts
|
|
552
553
|
import {
|
|
553
554
|
IsNotEmpty as IsNotEmpty17,
|
|
554
|
-
IsOptional as
|
|
555
|
-
IsBoolean as
|
|
555
|
+
IsOptional as IsOptional4,
|
|
556
|
+
IsBoolean as IsBoolean4
|
|
556
557
|
} from "class-validator";
|
|
557
558
|
var CreateQuestionDto = class {
|
|
558
559
|
};
|
|
@@ -569,8 +570,8 @@ __decorateClass([
|
|
|
569
570
|
IsNotEmpty17({ message: "Please enter options." })
|
|
570
571
|
], CreateQuestionDto.prototype, "options", 2);
|
|
571
572
|
__decorateClass([
|
|
572
|
-
|
|
573
|
-
|
|
573
|
+
IsOptional4(),
|
|
574
|
+
IsBoolean4({ message: "Whether the question status active" })
|
|
574
575
|
], CreateQuestionDto.prototype, "isActive", 2);
|
|
575
576
|
|
|
576
577
|
// src/modules/job/pattern/pattern.ts
|
|
@@ -598,11 +599,11 @@ var JOB_PATTERN = {
|
|
|
598
599
|
import {
|
|
599
600
|
IsString as IsString10,
|
|
600
601
|
IsNotEmpty as IsNotEmpty18,
|
|
601
|
-
IsArray
|
|
602
|
+
IsArray,
|
|
602
603
|
ArrayNotEmpty,
|
|
603
|
-
IsNumber
|
|
604
|
-
IsOptional as
|
|
605
|
-
IsEnum as
|
|
604
|
+
IsNumber,
|
|
605
|
+
IsOptional as IsOptional5,
|
|
606
|
+
IsEnum as IsEnum4,
|
|
606
607
|
Min
|
|
607
608
|
} from "class-validator";
|
|
608
609
|
import { Type } from "class-transformer";
|
|
@@ -625,59 +626,59 @@ __decorateClass([
|
|
|
625
626
|
IsString10({ message: "Job role must be a string" })
|
|
626
627
|
], JobBasicInformationDto.prototype, "jobRole", 2);
|
|
627
628
|
__decorateClass([
|
|
628
|
-
|
|
629
|
+
IsOptional5(),
|
|
629
630
|
IsString10({ message: "Note must be a string" })
|
|
630
631
|
], JobBasicInformationDto.prototype, "note", 2);
|
|
631
632
|
__decorateClass([
|
|
632
|
-
|
|
633
|
+
IsArray({ message: "Skills must be an array" }),
|
|
633
634
|
ArrayNotEmpty({ message: "Please select at least one skill" }),
|
|
634
|
-
|
|
635
|
+
IsNumber({}, { each: true, message: "Each skill must be a number" }),
|
|
635
636
|
Type(() => Number)
|
|
636
637
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
637
638
|
__decorateClass([
|
|
638
|
-
|
|
639
|
+
IsNumber({}, { message: "Openings must be a number" }),
|
|
639
640
|
Min(1, { message: "There must be at least 1 opening" }),
|
|
640
641
|
Type(() => Number)
|
|
641
642
|
], JobBasicInformationDto.prototype, "openings", 2);
|
|
642
643
|
__decorateClass([
|
|
643
|
-
|
|
644
|
+
IsEnum4(JobLocation, {
|
|
644
645
|
message: `Location must be one of: ${Object.values(JobLocation).join(
|
|
645
646
|
", "
|
|
646
647
|
)}`
|
|
647
648
|
})
|
|
648
649
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
649
650
|
__decorateClass([
|
|
650
|
-
|
|
651
|
+
IsEnum4(EmploymentType, {
|
|
651
652
|
message: `Type of employment must be one of: ${Object.values(
|
|
652
653
|
EmploymentType
|
|
653
654
|
).join(", ")}`
|
|
654
655
|
})
|
|
655
656
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
656
657
|
__decorateClass([
|
|
657
|
-
|
|
658
|
+
IsNumber({}, { message: "Expected salary (from) must be a number" }),
|
|
658
659
|
Min(0, { message: "Expected salary (from) cannot be negative" }),
|
|
659
660
|
Type(() => Number)
|
|
660
661
|
], JobBasicInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
661
662
|
__decorateClass([
|
|
662
|
-
|
|
663
|
+
IsNumber({}, { message: "Expected salary (to) must be a number" }),
|
|
663
664
|
Min(0, { message: "Expected salary (to) cannot be negative" }),
|
|
664
665
|
Type(() => Number)
|
|
665
666
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
666
667
|
__decorateClass([
|
|
667
668
|
IsString10({ message: "Onboarding TAT must be a string" }),
|
|
668
|
-
|
|
669
|
+
IsOptional5()
|
|
669
670
|
], JobBasicInformationDto.prototype, "onboardingTat", 2);
|
|
670
671
|
__decorateClass([
|
|
671
672
|
IsString10({ message: "Candidate communication skills must be a string" }),
|
|
672
|
-
|
|
673
|
+
IsOptional5()
|
|
673
674
|
], JobBasicInformationDto.prototype, "candidateCommunicationSkills", 2);
|
|
674
675
|
|
|
675
676
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
676
|
-
import { IsOptional as
|
|
677
|
+
import { IsOptional as IsOptional6, IsString as IsString11, MaxLength as MaxLength6 } from "class-validator";
|
|
677
678
|
var JobAdditionalCommentDto = class {
|
|
678
679
|
};
|
|
679
680
|
__decorateClass([
|
|
680
|
-
|
|
681
|
+
IsOptional6(),
|
|
681
682
|
IsString11({ message: "Additional comment must be a string" }),
|
|
682
683
|
MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
|
|
683
684
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
@@ -693,7 +694,7 @@ __decorateClass([
|
|
|
693
694
|
], JobDescriptionDto.prototype, "description", 2);
|
|
694
695
|
|
|
695
696
|
// src/modules/job/dto/job-status.dto.ts
|
|
696
|
-
import { IsEnum as
|
|
697
|
+
import { IsEnum as IsEnum5, IsNotEmpty as IsNotEmpty20 } from "class-validator";
|
|
697
698
|
var JobStatus = /* @__PURE__ */ ((JobStatus2) => {
|
|
698
699
|
JobStatus2["ACTIVE"] = "ACTIVE";
|
|
699
700
|
JobStatus2["OPEN"] = "OPEN";
|
|
@@ -706,7 +707,7 @@ var JobStatusDto = class {
|
|
|
706
707
|
};
|
|
707
708
|
__decorateClass([
|
|
708
709
|
IsNotEmpty20({ message: "Please provide a job status" }),
|
|
709
|
-
|
|
710
|
+
IsEnum5(JobStatus, {
|
|
710
711
|
message: `Status must be one of: ${Object.values(JobStatus).join(", ")}`
|
|
711
712
|
})
|
|
712
713
|
], JobStatusDto.prototype, "status", 2);
|
|
@@ -754,7 +755,7 @@ __decorateClass([
|
|
|
754
755
|
], FreelancerChangePasswordDto.prototype, "newPassword", 2);
|
|
755
756
|
|
|
756
757
|
// src/modules/user/freelancer-profile/dto/update-freelancer-profile.dto.ts
|
|
757
|
-
import { IsOptional as
|
|
758
|
+
import { IsOptional as IsOptional7, IsString as IsString14, IsEmail as IsEmail6, IsNumber as IsNumber2, IsEnum as IsEnum6 } from "class-validator";
|
|
758
759
|
var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
759
760
|
NatureOfWorkDto2["FULLTIME"] = "FULLTIME";
|
|
760
761
|
NatureOfWorkDto2["PARTTIME"] = "PARTTIME";
|
|
@@ -764,65 +765,65 @@ var NatureOfWorkDto = /* @__PURE__ */ ((NatureOfWorkDto2) => {
|
|
|
764
765
|
var UpdateFreelancerProfileDto = class {
|
|
765
766
|
};
|
|
766
767
|
__decorateClass([
|
|
767
|
-
|
|
768
|
+
IsOptional7(),
|
|
768
769
|
IsString14()
|
|
769
770
|
], UpdateFreelancerProfileDto.prototype, "firstName", 2);
|
|
770
771
|
__decorateClass([
|
|
771
|
-
|
|
772
|
+
IsOptional7(),
|
|
772
773
|
IsString14()
|
|
773
774
|
], UpdateFreelancerProfileDto.prototype, "lastName", 2);
|
|
774
775
|
__decorateClass([
|
|
775
|
-
|
|
776
|
+
IsOptional7(),
|
|
776
777
|
IsEmail6()
|
|
777
778
|
], UpdateFreelancerProfileDto.prototype, "email", 2);
|
|
778
779
|
__decorateClass([
|
|
779
|
-
|
|
780
|
+
IsOptional7(),
|
|
780
781
|
IsString14()
|
|
781
782
|
], UpdateFreelancerProfileDto.prototype, "mobile", 2);
|
|
782
783
|
__decorateClass([
|
|
783
|
-
|
|
784
|
-
|
|
784
|
+
IsOptional7(),
|
|
785
|
+
IsNumber2()
|
|
785
786
|
], UpdateFreelancerProfileDto.prototype, "countryId", 2);
|
|
786
787
|
__decorateClass([
|
|
787
|
-
|
|
788
|
+
IsOptional7(),
|
|
788
789
|
IsString14()
|
|
789
790
|
], UpdateFreelancerProfileDto.prototype, "currency", 2);
|
|
790
791
|
__decorateClass([
|
|
791
|
-
|
|
792
|
+
IsOptional7(),
|
|
792
793
|
IsString14()
|
|
793
794
|
], UpdateFreelancerProfileDto.prototype, "expectedHourlyCompensation", 2);
|
|
794
795
|
__decorateClass([
|
|
795
|
-
|
|
796
|
-
|
|
796
|
+
IsOptional7(),
|
|
797
|
+
IsEnum6(NatureOfWorkDto, {
|
|
797
798
|
message: `Engagement Type must be one of: ${Object.values(NatureOfWorkDto).join(", ")}`
|
|
798
799
|
})
|
|
799
800
|
], UpdateFreelancerProfileDto.prototype, "natureOfWork", 2);
|
|
800
801
|
__decorateClass([
|
|
801
|
-
|
|
802
|
+
IsOptional7(),
|
|
802
803
|
IsString14()
|
|
803
804
|
], UpdateFreelancerProfileDto.prototype, "portfolioLink", 2);
|
|
804
805
|
__decorateClass([
|
|
805
|
-
|
|
806
|
+
IsOptional7(),
|
|
806
807
|
IsString14()
|
|
807
808
|
], UpdateFreelancerProfileDto.prototype, "address", 2);
|
|
808
809
|
__decorateClass([
|
|
809
|
-
|
|
810
|
+
IsOptional7(),
|
|
810
811
|
IsString14()
|
|
811
812
|
], UpdateFreelancerProfileDto.prototype, "about", 2);
|
|
812
813
|
__decorateClass([
|
|
813
|
-
|
|
814
|
+
IsOptional7(),
|
|
814
815
|
IsString14()
|
|
815
816
|
], UpdateFreelancerProfileDto.prototype, "linkedinProfileLink", 2);
|
|
816
817
|
__decorateClass([
|
|
817
|
-
|
|
818
|
+
IsOptional7(),
|
|
818
819
|
IsString14()
|
|
819
820
|
], UpdateFreelancerProfileDto.prototype, "kaggleProfileLink", 2);
|
|
820
821
|
__decorateClass([
|
|
821
|
-
|
|
822
|
+
IsOptional7(),
|
|
822
823
|
IsString14()
|
|
823
824
|
], UpdateFreelancerProfileDto.prototype, "githubProfileLink", 2);
|
|
824
825
|
__decorateClass([
|
|
825
|
-
|
|
826
|
+
IsOptional7(),
|
|
826
827
|
IsString14()
|
|
827
828
|
], UpdateFreelancerProfileDto.prototype, "stackOverflowProfileLink", 2);
|
|
828
829
|
|
|
@@ -835,9 +836,9 @@ var BANK_PATTERN = {
|
|
|
835
836
|
|
|
836
837
|
// src/modules/bank/dto/freelancer-bank-details.dto.ts
|
|
837
838
|
import {
|
|
838
|
-
IsEnum as
|
|
839
|
+
IsEnum as IsEnum7,
|
|
839
840
|
IsNotEmpty as IsNotEmpty22,
|
|
840
|
-
IsOptional as
|
|
841
|
+
IsOptional as IsOptional8,
|
|
841
842
|
ValidateIf
|
|
842
843
|
} from "class-validator";
|
|
843
844
|
var BankAccountScope = /* @__PURE__ */ ((BankAccountScope2) => {
|
|
@@ -857,7 +858,7 @@ __decorateClass([
|
|
|
857
858
|
IsNotEmpty22({ message: "Please enter Email." })
|
|
858
859
|
], FreelancerBankDetailsDto.prototype, "email", 2);
|
|
859
860
|
__decorateClass([
|
|
860
|
-
|
|
861
|
+
IsOptional8()
|
|
861
862
|
], FreelancerBankDetailsDto.prototype, "address", 2);
|
|
862
863
|
__decorateClass([
|
|
863
864
|
IsNotEmpty22({ message: "Please enter Account Number." })
|
|
@@ -885,10 +886,10 @@ __decorateClass([
|
|
|
885
886
|
IsNotEmpty22({ message: "IBAN is required for INTERNATIONAL accounts." })
|
|
886
887
|
], FreelancerBankDetailsDto.prototype, "iban", 2);
|
|
887
888
|
__decorateClass([
|
|
888
|
-
|
|
889
|
+
IsOptional8()
|
|
889
890
|
], FreelancerBankDetailsDto.prototype, "accountType", 2);
|
|
890
891
|
__decorateClass([
|
|
891
|
-
|
|
892
|
+
IsEnum7(BankAccountScope, {
|
|
892
893
|
message: `Type of Account Scope must be one of: ${Object.values(
|
|
893
894
|
BankAccountScope
|
|
894
895
|
).join(", ")}`
|
|
@@ -909,8 +910,8 @@ var SYSTEM_PREFERENCES_PATTERN = {
|
|
|
909
910
|
|
|
910
911
|
// src/modules/system-preference/dto/system-preference.dto.ts
|
|
911
912
|
import {
|
|
912
|
-
IsBoolean as
|
|
913
|
-
IsEnum as
|
|
913
|
+
IsBoolean as IsBoolean5,
|
|
914
|
+
IsEnum as IsEnum8
|
|
914
915
|
} from "class-validator";
|
|
915
916
|
var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
|
|
916
917
|
SystemPreferenceKey2["EMAIL_NOTIFICATION"] = "EMAIL_NOTIFICATION";
|
|
@@ -920,10 +921,10 @@ var SystemPreferenceKey = /* @__PURE__ */ ((SystemPreferenceKey2) => {
|
|
|
920
921
|
var SystemPreferenceDto = class {
|
|
921
922
|
};
|
|
922
923
|
__decorateClass([
|
|
923
|
-
|
|
924
|
+
IsBoolean5()
|
|
924
925
|
], SystemPreferenceDto.prototype, "value", 2);
|
|
925
926
|
__decorateClass([
|
|
926
|
-
|
|
927
|
+
IsEnum8(SystemPreferenceKey, {
|
|
927
928
|
message: `key must be one of: ${Object.values(
|
|
928
929
|
SystemPreferenceKey
|
|
929
930
|
).join(", ")}`
|
|
@@ -944,10 +945,10 @@ var RATING_PATTERN = {
|
|
|
944
945
|
|
|
945
946
|
// src/modules/rating/dto/add.rating.dto.ts
|
|
946
947
|
import {
|
|
947
|
-
IsEnum as
|
|
948
|
+
IsEnum as IsEnum9,
|
|
948
949
|
IsInt,
|
|
949
950
|
IsNotEmpty as IsNotEmpty23,
|
|
950
|
-
IsOptional as
|
|
951
|
+
IsOptional as IsOptional9,
|
|
951
952
|
IsString as IsString15,
|
|
952
953
|
Max,
|
|
953
954
|
Min as Min2
|
|
@@ -2106,7 +2107,7 @@ __decorateClass([
|
|
|
2106
2107
|
IsNotEmpty23({ message: "Reviewee ID is required" })
|
|
2107
2108
|
], CreateRatingDto.prototype, "revieweeId", 2);
|
|
2108
2109
|
__decorateClass([
|
|
2109
|
-
|
|
2110
|
+
IsEnum9(RatingTypeEnum, {
|
|
2110
2111
|
message: `Rating type must be one of: ${Object.values(RatingTypeEnum).join(", ")}`
|
|
2111
2112
|
})
|
|
2112
2113
|
], CreateRatingDto.prototype, "ratingType", 2);
|
|
@@ -2116,7 +2117,7 @@ __decorateClass([
|
|
|
2116
2117
|
Max(5, { message: "Rating must be at most 5" })
|
|
2117
2118
|
], CreateRatingDto.prototype, "rating", 2);
|
|
2118
2119
|
__decorateClass([
|
|
2119
|
-
|
|
2120
|
+
IsOptional9(),
|
|
2120
2121
|
IsString15({ message: "Review must be a string" })
|
|
2121
2122
|
], CreateRatingDto.prototype, "review", 2);
|
|
2122
2123
|
|
|
@@ -2133,7 +2134,7 @@ var COMPANY_ROLES_PATTERNS = {
|
|
|
2133
2134
|
};
|
|
2134
2135
|
|
|
2135
2136
|
// src/modules/company-role/dto/create-company-role.dto.ts
|
|
2136
|
-
import { IsBoolean as
|
|
2137
|
+
import { IsBoolean as IsBoolean6, IsNotEmpty as IsNotEmpty24, IsOptional as IsOptional10 } from "class-validator";
|
|
2137
2138
|
var CreateCompanyRoleDto = class {
|
|
2138
2139
|
};
|
|
2139
2140
|
__decorateClass([
|
|
@@ -2146,12 +2147,12 @@ __decorateClass([
|
|
|
2146
2147
|
IsNotEmpty24({ message: "Please enter description" })
|
|
2147
2148
|
], CreateCompanyRoleDto.prototype, "description", 2);
|
|
2148
2149
|
__decorateClass([
|
|
2149
|
-
|
|
2150
|
-
|
|
2150
|
+
IsOptional10(),
|
|
2151
|
+
IsBoolean6({ message: "Is active must be a boolean value" })
|
|
2151
2152
|
], CreateCompanyRoleDto.prototype, "isActive", 2);
|
|
2152
2153
|
|
|
2153
2154
|
// src/modules/company-role/dto/update-company-role.dto.ts
|
|
2154
|
-
import { IsBoolean as
|
|
2155
|
+
import { IsBoolean as IsBoolean7, IsNotEmpty as IsNotEmpty25, IsOptional as IsOptional11 } from "class-validator";
|
|
2155
2156
|
var UpdateCompanyRoleDto = class {
|
|
2156
2157
|
};
|
|
2157
2158
|
__decorateClass([
|
|
@@ -2164,16 +2165,16 @@ __decorateClass([
|
|
|
2164
2165
|
IsNotEmpty25({ message: "Please enter description" })
|
|
2165
2166
|
], UpdateCompanyRoleDto.prototype, "description", 2);
|
|
2166
2167
|
__decorateClass([
|
|
2167
|
-
|
|
2168
|
-
|
|
2168
|
+
IsOptional11(),
|
|
2169
|
+
IsBoolean7({ message: "Is active must be a boolean value" })
|
|
2169
2170
|
], UpdateCompanyRoleDto.prototype, "isActive", 2);
|
|
2170
2171
|
|
|
2171
2172
|
// src/modules/company-role/dto/toggle-company-role-visibility.dto.ts
|
|
2172
|
-
import { IsBoolean as
|
|
2173
|
+
import { IsBoolean as IsBoolean8 } from "class-validator";
|
|
2173
2174
|
var ToggleCompanyRoleVisibilityDto = class {
|
|
2174
2175
|
};
|
|
2175
2176
|
__decorateClass([
|
|
2176
|
-
|
|
2177
|
+
IsBoolean8()
|
|
2177
2178
|
], ToggleCompanyRoleVisibilityDto.prototype, "isActive", 2);
|
|
2178
2179
|
|
|
2179
2180
|
// src/modules/user/freelancer-experience/pattern/pattern.ts
|
|
@@ -2184,7 +2185,7 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
2184
2185
|
};
|
|
2185
2186
|
|
|
2186
2187
|
// src/modules/user/freelancer-experience/dto/create-freelancer-experience.dto.ts
|
|
2187
|
-
import { IsArray as
|
|
2188
|
+
import { IsArray as IsArray2, ValidateNested, IsString as IsString18, IsNotEmpty as IsNotEmpty26 } from "class-validator";
|
|
2188
2189
|
import { Type as Type2 } from "class-transformer";
|
|
2189
2190
|
var CreateExperienceDto = class {
|
|
2190
2191
|
};
|
|
@@ -2206,18 +2207,18 @@ __decorateClass([
|
|
|
2206
2207
|
var CreateFreelancerExperienceDto = class {
|
|
2207
2208
|
};
|
|
2208
2209
|
__decorateClass([
|
|
2209
|
-
|
|
2210
|
+
IsArray2(),
|
|
2210
2211
|
ValidateNested({ each: true }),
|
|
2211
2212
|
Type2(() => CreateExperienceDto)
|
|
2212
2213
|
], CreateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2213
2214
|
|
|
2214
2215
|
// src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
|
|
2215
|
-
import { IsArray as
|
|
2216
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested2, IsString as IsString19, IsNotEmpty as IsNotEmpty27, IsOptional as IsOptional12 } from "class-validator";
|
|
2216
2217
|
import { Type as Type3 } from "class-transformer";
|
|
2217
2218
|
var UpdateExperienceDto = class {
|
|
2218
2219
|
};
|
|
2219
2220
|
__decorateClass([
|
|
2220
|
-
|
|
2221
|
+
IsOptional12()
|
|
2221
2222
|
], UpdateExperienceDto.prototype, "uuid", 2);
|
|
2222
2223
|
__decorateClass([
|
|
2223
2224
|
IsNotEmpty27(),
|
|
@@ -2237,7 +2238,7 @@ __decorateClass([
|
|
|
2237
2238
|
var UpdateFreelancerExperienceDto = class {
|
|
2238
2239
|
};
|
|
2239
2240
|
__decorateClass([
|
|
2240
|
-
|
|
2241
|
+
IsArray3(),
|
|
2241
2242
|
ValidateNested2({ each: true }),
|
|
2242
2243
|
Type3(() => UpdateExperienceDto)
|
|
2243
2244
|
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
@@ -2277,11 +2278,11 @@ __decorateClass([
|
|
|
2277
2278
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2278
2279
|
|
|
2279
2280
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
2280
|
-
import { IsBoolean as
|
|
2281
|
+
import { IsBoolean as IsBoolean11 } from "class-validator";
|
|
2281
2282
|
var ToggleCompanyMemberVisibilityDto = class {
|
|
2282
2283
|
};
|
|
2283
2284
|
__decorateClass([
|
|
2284
|
-
|
|
2285
|
+
IsBoolean11()
|
|
2285
2286
|
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
2286
2287
|
|
|
2287
2288
|
// src/adapters/tcp/user.tcp.adapter.ts
|