@experts_hub/shared 1.0.148 → 1.0.150
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.d.mts +6 -15
- package/dist/index.d.ts +6 -15
- package/dist/index.js +85 -115
- package/dist/index.mjs +79 -101
- package/dist/modules/otp/pattern/pattern.d.ts +2 -1
- package/dist/modules/user/freelancer-experience/dto/freelancer-experience.dto.d.ts +10 -0
- package/dist/modules/user/freelancer-experience/dto/index.d.ts +1 -2
- package/package.json +1 -1
- package/dist/modules/user/freelancer-experience/dto/create-freelancer-experience.dto.d.ts +0 -9
- package/dist/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.d.ts +0 -10
package/dist/index.d.mts
CHANGED
|
@@ -59,8 +59,9 @@ declare class SetPasswordDto {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const OTP_PATTERN: {
|
|
62
|
-
|
|
62
|
+
handleSendGuestOtp: string;
|
|
63
63
|
handleSendOtp: string;
|
|
64
|
+
handleVerifyGuestOtp: string;
|
|
64
65
|
handleVerifyOtp: string;
|
|
65
66
|
};
|
|
66
67
|
|
|
@@ -1045,25 +1046,15 @@ declare const FREELANCER_EXPERIENCE_PATTERN: {
|
|
|
1045
1046
|
updateFreelancerExperience: string;
|
|
1046
1047
|
};
|
|
1047
1048
|
|
|
1048
|
-
declare class
|
|
1049
|
-
companyName: string;
|
|
1050
|
-
designation: string;
|
|
1051
|
-
jobDuration: string;
|
|
1052
|
-
description: string;
|
|
1053
|
-
}
|
|
1054
|
-
declare class CreateFreelancerExperienceDto {
|
|
1055
|
-
experience: CreateExperienceDto[];
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
declare class UpdateExperienceDto {
|
|
1049
|
+
declare class ExperienceDto {
|
|
1059
1050
|
uuid?: string;
|
|
1060
1051
|
companyName: string;
|
|
1061
1052
|
designation: string;
|
|
1062
1053
|
jobDuration: string;
|
|
1063
1054
|
description: string;
|
|
1064
1055
|
}
|
|
1065
|
-
declare class
|
|
1066
|
-
|
|
1056
|
+
declare class FreelancerExperienceDto {
|
|
1057
|
+
experiences: ExperienceDto[];
|
|
1067
1058
|
}
|
|
1068
1059
|
|
|
1069
1060
|
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
@@ -1253,4 +1244,4 @@ declare class Plan extends BaseEntity {
|
|
|
1253
1244
|
features: Feature[];
|
|
1254
1245
|
}
|
|
1255
1246
|
|
|
1256
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCaseStudyDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto,
|
|
1247
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCaseStudyDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto, CreateFreelancerEducationDto, CreateFreelancerProjectDto, CreateProjectDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateEducationDto, UpdateFreelancerEducationDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -59,8 +59,9 @@ declare class SetPasswordDto {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare const OTP_PATTERN: {
|
|
62
|
-
|
|
62
|
+
handleSendGuestOtp: string;
|
|
63
63
|
handleSendOtp: string;
|
|
64
|
+
handleVerifyGuestOtp: string;
|
|
64
65
|
handleVerifyOtp: string;
|
|
65
66
|
};
|
|
66
67
|
|
|
@@ -1045,25 +1046,15 @@ declare const FREELANCER_EXPERIENCE_PATTERN: {
|
|
|
1045
1046
|
updateFreelancerExperience: string;
|
|
1046
1047
|
};
|
|
1047
1048
|
|
|
1048
|
-
declare class
|
|
1049
|
-
companyName: string;
|
|
1050
|
-
designation: string;
|
|
1051
|
-
jobDuration: string;
|
|
1052
|
-
description: string;
|
|
1053
|
-
}
|
|
1054
|
-
declare class CreateFreelancerExperienceDto {
|
|
1055
|
-
experience: CreateExperienceDto[];
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
declare class UpdateExperienceDto {
|
|
1049
|
+
declare class ExperienceDto {
|
|
1059
1050
|
uuid?: string;
|
|
1060
1051
|
companyName: string;
|
|
1061
1052
|
designation: string;
|
|
1062
1053
|
jobDuration: string;
|
|
1063
1054
|
description: string;
|
|
1064
1055
|
}
|
|
1065
|
-
declare class
|
|
1066
|
-
|
|
1056
|
+
declare class FreelancerExperienceDto {
|
|
1057
|
+
experiences: ExperienceDto[];
|
|
1067
1058
|
}
|
|
1068
1059
|
|
|
1069
1060
|
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
@@ -1253,4 +1244,4 @@ declare class Plan extends BaseEntity {
|
|
|
1253
1244
|
features: Feature[];
|
|
1254
1245
|
}
|
|
1255
1246
|
|
|
1256
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCaseStudyDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto,
|
|
1247
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCaseStudyDto, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto, CreateFreelancerEducationDto, CreateFreelancerProjectDto, CreateProjectDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyMemberResponse, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyMemberPayload, type ICreateCompanyMemberResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyMemberResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchCompanyMemberByIdQuery, type IFetchCompanyMemberByIdResponse, type IFetchCompanyMemberQuery, type IFetchCompanyMembersResponse, type IFetchCompanyRoleByIdQuery, type IFetchCompanyRoleByIdResponse, type IFetchCompanyRoleQuery, type IFetchCompanyRolesResponse, type IFetchPlanResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchRatingResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IToggleCompanyMemberVisibilityPayload, type IToggleCompanyMemberVisibilityResponse, type IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyMemberPayload, type IUpdateCompanyMemberResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, Interview, InterviewSkill, InterviewStatusEnum, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobApplication, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NOTIFICATION_PATTERN, NatureOfWork, NatureOfWorkDto, NotificationRMQAdapter, NotificationTCPAdapter, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PLAN_PATTERN, PROFILE_PATTERN, Plan, Provider, QUESTION_PATTERN, Question, QuestionFor, RATING_PATTERN, RESUME_PARSER_PATTERN, Rating, RatingTypeEnum, RefreshDto, RefreshToken, ResetPasswordDto, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, SenseloafLog, SetPasswordDto, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateEducationDto, UpdateFreelancerEducationDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -49,9 +49,7 @@ __export(index_exports, {
|
|
|
49
49
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
50
50
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
51
51
|
CreateEducationDto: () => CreateEducationDto,
|
|
52
|
-
CreateExperienceDto: () => CreateExperienceDto,
|
|
53
52
|
CreateFreelancerEducationDto: () => CreateFreelancerEducationDto,
|
|
54
|
-
CreateFreelancerExperienceDto: () => CreateFreelancerExperienceDto,
|
|
55
53
|
CreateFreelancerProjectDto: () => CreateFreelancerProjectDto,
|
|
56
54
|
CreateProjectDto: () => CreateProjectDto,
|
|
57
55
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
@@ -59,6 +57,7 @@ __export(index_exports, {
|
|
|
59
57
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
60
58
|
DurationTypeEnum: () => DurationTypeEnum,
|
|
61
59
|
EmploymentType: () => EmploymentType,
|
|
60
|
+
ExperienceDto: () => ExperienceDto,
|
|
62
61
|
FREELANCER_EDUCATION_PATTERN: () => FREELANCER_EDUCATION_PATTERN,
|
|
63
62
|
FREELANCER_EXPERIENCE_PATTERN: () => FREELANCER_EXPERIENCE_PATTERN,
|
|
64
63
|
FREELANCER_PROJECT_PATTERN: () => FREELANCER_PROJECT_PATTERN,
|
|
@@ -71,6 +70,7 @@ __export(index_exports, {
|
|
|
71
70
|
FreelancerDevelopmentPreferenceDto: () => FreelancerDevelopmentPreferenceDto,
|
|
72
71
|
FreelancerEducation: () => FreelancerEducation,
|
|
73
72
|
FreelancerExperience: () => FreelancerExperience,
|
|
73
|
+
FreelancerExperienceDto: () => FreelancerExperienceDto,
|
|
74
74
|
FreelancerProfile: () => FreelancerProfile,
|
|
75
75
|
FreelancerProfileQuestionDto: () => FreelancerProfileQuestionDto,
|
|
76
76
|
FreelancerProject: () => FreelancerProject,
|
|
@@ -142,9 +142,7 @@ __export(index_exports, {
|
|
|
142
142
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
143
143
|
UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
|
|
144
144
|
UpdateEducationDto: () => UpdateEducationDto,
|
|
145
|
-
UpdateExperienceDto: () => UpdateExperienceDto,
|
|
146
145
|
UpdateFreelancerEducationDto: () => UpdateFreelancerEducationDto,
|
|
147
|
-
UpdateFreelancerExperienceDto: () => UpdateFreelancerExperienceDto,
|
|
148
146
|
UpdateFreelancerProfileDto: () => UpdateFreelancerProfileDto,
|
|
149
147
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
150
148
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
@@ -271,8 +269,9 @@ __decorateClass([
|
|
|
271
269
|
|
|
272
270
|
// src/modules/otp/pattern/pattern.ts
|
|
273
271
|
var OTP_PATTERN = {
|
|
274
|
-
|
|
272
|
+
handleSendGuestOtp: "handle.send.guest.otp",
|
|
275
273
|
handleSendOtp: "handle.send.otp",
|
|
274
|
+
handleVerifyGuestOtp: "handle.verify.guest.otp",
|
|
276
275
|
handleVerifyOtp: "handle.verify.otp"
|
|
277
276
|
};
|
|
278
277
|
|
|
@@ -2387,64 +2386,37 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
2387
2386
|
updateFreelancerExperience: "update.freelancer.experience"
|
|
2388
2387
|
};
|
|
2389
2388
|
|
|
2390
|
-
// src/modules/user/freelancer-experience/dto/
|
|
2389
|
+
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
2391
2390
|
var import_class_validator34 = require("class-validator");
|
|
2392
2391
|
var import_class_transformer2 = require("class-transformer");
|
|
2393
|
-
var
|
|
2392
|
+
var ExperienceDto = class {
|
|
2394
2393
|
};
|
|
2395
2394
|
__decorateClass([
|
|
2396
|
-
(0, import_class_validator34.
|
|
2397
|
-
|
|
2398
|
-
], CreateExperienceDto.prototype, "companyName", 2);
|
|
2399
|
-
__decorateClass([
|
|
2400
|
-
(0, import_class_validator34.IsString)(),
|
|
2401
|
-
(0, import_class_validator34.IsNotEmpty)()
|
|
2402
|
-
], CreateExperienceDto.prototype, "designation", 2);
|
|
2403
|
-
__decorateClass([
|
|
2404
|
-
(0, import_class_validator34.IsString)(),
|
|
2405
|
-
(0, import_class_validator34.IsNotEmpty)()
|
|
2406
|
-
], CreateExperienceDto.prototype, "jobDuration", 2);
|
|
2395
|
+
(0, import_class_validator34.IsOptional)()
|
|
2396
|
+
], ExperienceDto.prototype, "uuid", 2);
|
|
2407
2397
|
__decorateClass([
|
|
2398
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2408
2399
|
(0, import_class_validator34.IsString)()
|
|
2409
|
-
],
|
|
2410
|
-
var CreateFreelancerExperienceDto = class {
|
|
2411
|
-
};
|
|
2412
|
-
__decorateClass([
|
|
2413
|
-
(0, import_class_validator34.IsArray)(),
|
|
2414
|
-
(0, import_class_validator34.ValidateNested)({ each: true }),
|
|
2415
|
-
(0, import_class_transformer2.Type)(() => CreateExperienceDto)
|
|
2416
|
-
], CreateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2417
|
-
|
|
2418
|
-
// src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
|
|
2419
|
-
var import_class_validator35 = require("class-validator");
|
|
2420
|
-
var import_class_transformer3 = require("class-transformer");
|
|
2421
|
-
var UpdateExperienceDto = class {
|
|
2422
|
-
};
|
|
2423
|
-
__decorateClass([
|
|
2424
|
-
(0, import_class_validator35.IsOptional)()
|
|
2425
|
-
], UpdateExperienceDto.prototype, "uuid", 2);
|
|
2400
|
+
], ExperienceDto.prototype, "companyName", 2);
|
|
2426
2401
|
__decorateClass([
|
|
2427
|
-
(0,
|
|
2428
|
-
(0,
|
|
2429
|
-
],
|
|
2430
|
-
__decorateClass([
|
|
2431
|
-
(0, import_class_validator35.IsNotEmpty)(),
|
|
2432
|
-
(0, import_class_validator35.IsString)()
|
|
2433
|
-
], UpdateExperienceDto.prototype, "designation", 2);
|
|
2402
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2403
|
+
(0, import_class_validator34.IsString)()
|
|
2404
|
+
], ExperienceDto.prototype, "designation", 2);
|
|
2434
2405
|
__decorateClass([
|
|
2435
|
-
(0,
|
|
2436
|
-
(0,
|
|
2437
|
-
],
|
|
2406
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2407
|
+
(0, import_class_validator34.IsString)()
|
|
2408
|
+
], ExperienceDto.prototype, "jobDuration", 2);
|
|
2438
2409
|
__decorateClass([
|
|
2439
|
-
(0,
|
|
2440
|
-
|
|
2441
|
-
|
|
2410
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2411
|
+
(0, import_class_validator34.IsString)(),
|
|
2412
|
+
(0, import_class_validator34.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
2413
|
+
], ExperienceDto.prototype, "description", 2);
|
|
2414
|
+
var FreelancerExperienceDto = class {
|
|
2442
2415
|
};
|
|
2443
2416
|
__decorateClass([
|
|
2444
|
-
(0,
|
|
2445
|
-
(0,
|
|
2446
|
-
|
|
2447
|
-
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2417
|
+
(0, import_class_validator34.ValidateNested)({ each: true }),
|
|
2418
|
+
(0, import_class_transformer2.Type)(() => ExperienceDto)
|
|
2419
|
+
], FreelancerExperienceDto.prototype, "experiences", 2);
|
|
2448
2420
|
|
|
2449
2421
|
// src/modules/company-member/pattern/pattern.ts
|
|
2450
2422
|
var COMPANY_MEMBERS_PATTERNS = {
|
|
@@ -2459,35 +2431,35 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
2459
2431
|
};
|
|
2460
2432
|
|
|
2461
2433
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2462
|
-
var
|
|
2434
|
+
var import_class_validator35 = require("class-validator");
|
|
2463
2435
|
var CreateCompanyMemberDto = class {
|
|
2464
2436
|
// @IsNotEmpty({ message: 'Please enter company role id' })
|
|
2465
2437
|
// companyRoleId: number;
|
|
2466
2438
|
};
|
|
2467
2439
|
__decorateClass([
|
|
2468
|
-
(0,
|
|
2440
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter name." })
|
|
2469
2441
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2470
2442
|
__decorateClass([
|
|
2471
|
-
(0,
|
|
2443
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter email" })
|
|
2472
2444
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2473
2445
|
|
|
2474
2446
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2475
|
-
var
|
|
2447
|
+
var import_class_validator36 = require("class-validator");
|
|
2476
2448
|
var UpdateCompanyMemberDto = class {
|
|
2477
2449
|
};
|
|
2478
2450
|
__decorateClass([
|
|
2479
|
-
(0,
|
|
2451
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter name." })
|
|
2480
2452
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2481
2453
|
__decorateClass([
|
|
2482
|
-
(0,
|
|
2454
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter email" })
|
|
2483
2455
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2484
2456
|
|
|
2485
2457
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
2486
|
-
var
|
|
2458
|
+
var import_class_validator37 = require("class-validator");
|
|
2487
2459
|
var ToggleCompanyMemberVisibilityDto = class {
|
|
2488
2460
|
};
|
|
2489
2461
|
__decorateClass([
|
|
2490
|
-
(0,
|
|
2462
|
+
(0, import_class_validator37.IsBoolean)()
|
|
2491
2463
|
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
2492
2464
|
|
|
2493
2465
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
@@ -2498,56 +2470,56 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
2498
2470
|
};
|
|
2499
2471
|
|
|
2500
2472
|
// src/modules/user/freelancer-education/dto/create-freelancer-education.dto.ts
|
|
2501
|
-
var
|
|
2502
|
-
var
|
|
2473
|
+
var import_class_validator38 = require("class-validator");
|
|
2474
|
+
var import_class_transformer3 = require("class-transformer");
|
|
2503
2475
|
var CreateEducationDto = class {
|
|
2504
2476
|
};
|
|
2505
2477
|
__decorateClass([
|
|
2506
|
-
(0,
|
|
2507
|
-
(0,
|
|
2478
|
+
(0, import_class_validator38.IsString)(),
|
|
2479
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2508
2480
|
], CreateEducationDto.prototype, "degree", 2);
|
|
2509
2481
|
__decorateClass([
|
|
2510
|
-
(0,
|
|
2511
|
-
(0,
|
|
2482
|
+
(0, import_class_validator38.IsString)(),
|
|
2483
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2512
2484
|
], CreateEducationDto.prototype, "university", 2);
|
|
2513
2485
|
__decorateClass([
|
|
2514
|
-
(0,
|
|
2515
|
-
(0,
|
|
2486
|
+
(0, import_class_validator38.IsString)(),
|
|
2487
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2516
2488
|
], CreateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2517
2489
|
var CreateFreelancerEducationDto = class {
|
|
2518
2490
|
};
|
|
2519
2491
|
__decorateClass([
|
|
2520
|
-
(0,
|
|
2521
|
-
(0,
|
|
2522
|
-
(0,
|
|
2492
|
+
(0, import_class_validator38.IsArray)(),
|
|
2493
|
+
(0, import_class_validator38.ValidateNested)({ each: true }),
|
|
2494
|
+
(0, import_class_transformer3.Type)(() => CreateEducationDto)
|
|
2523
2495
|
], CreateFreelancerEducationDto.prototype, "education", 2);
|
|
2524
2496
|
|
|
2525
2497
|
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
2526
|
-
var
|
|
2527
|
-
var
|
|
2498
|
+
var import_class_validator39 = require("class-validator");
|
|
2499
|
+
var import_class_transformer4 = require("class-transformer");
|
|
2528
2500
|
var UpdateEducationDto = class {
|
|
2529
2501
|
};
|
|
2530
2502
|
__decorateClass([
|
|
2531
|
-
(0,
|
|
2503
|
+
(0, import_class_validator39.IsOptional)()
|
|
2532
2504
|
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2533
2505
|
__decorateClass([
|
|
2534
|
-
(0,
|
|
2535
|
-
(0,
|
|
2506
|
+
(0, import_class_validator39.IsString)(),
|
|
2507
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2536
2508
|
], UpdateEducationDto.prototype, "degree", 2);
|
|
2537
2509
|
__decorateClass([
|
|
2538
|
-
(0,
|
|
2539
|
-
(0,
|
|
2510
|
+
(0, import_class_validator39.IsString)(),
|
|
2511
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2540
2512
|
], UpdateEducationDto.prototype, "university", 2);
|
|
2541
2513
|
__decorateClass([
|
|
2542
|
-
(0,
|
|
2543
|
-
(0,
|
|
2514
|
+
(0, import_class_validator39.IsString)(),
|
|
2515
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2544
2516
|
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2545
2517
|
var UpdateFreelancerEducationDto = class {
|
|
2546
2518
|
};
|
|
2547
2519
|
__decorateClass([
|
|
2548
|
-
(0,
|
|
2549
|
-
(0,
|
|
2550
|
-
(0,
|
|
2520
|
+
(0, import_class_validator39.IsArray)(),
|
|
2521
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2522
|
+
(0, import_class_transformer4.Type)(() => UpdateEducationDto)
|
|
2551
2523
|
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2552
2524
|
|
|
2553
2525
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
@@ -2557,65 +2529,65 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2557
2529
|
};
|
|
2558
2530
|
|
|
2559
2531
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2560
|
-
var
|
|
2561
|
-
var
|
|
2532
|
+
var import_class_validator40 = require("class-validator");
|
|
2533
|
+
var import_class_transformer5 = require("class-transformer");
|
|
2562
2534
|
var CreateProjectDto = class {
|
|
2563
2535
|
};
|
|
2564
2536
|
__decorateClass([
|
|
2565
|
-
(0,
|
|
2537
|
+
(0, import_class_validator40.IsOptional)()
|
|
2566
2538
|
], CreateProjectDto.prototype, "uuid", 2);
|
|
2567
2539
|
__decorateClass([
|
|
2568
|
-
(0,
|
|
2569
|
-
(0,
|
|
2540
|
+
(0, import_class_validator40.IsString)(),
|
|
2541
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2570
2542
|
], CreateProjectDto.prototype, "projectName", 2);
|
|
2571
2543
|
__decorateClass([
|
|
2572
|
-
(0,
|
|
2573
|
-
(0,
|
|
2544
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2545
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2574
2546
|
], CreateProjectDto.prototype, "startDate", 2);
|
|
2575
2547
|
__decorateClass([
|
|
2576
|
-
(0,
|
|
2577
|
-
(0,
|
|
2548
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2549
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2578
2550
|
], CreateProjectDto.prototype, "endDate", 2);
|
|
2579
2551
|
__decorateClass([
|
|
2580
|
-
(0,
|
|
2581
|
-
(0,
|
|
2552
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2553
|
+
(0, import_class_validator40.IsString)()
|
|
2582
2554
|
], CreateProjectDto.prototype, "clientName", 2);
|
|
2583
2555
|
__decorateClass([
|
|
2584
|
-
(0,
|
|
2585
|
-
(0,
|
|
2556
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2557
|
+
(0, import_class_validator40.IsString)()
|
|
2586
2558
|
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2587
2559
|
__decorateClass([
|
|
2588
|
-
(0,
|
|
2589
|
-
(0,
|
|
2560
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2561
|
+
(0, import_class_validator40.IsString)()
|
|
2590
2562
|
], CreateProjectDto.prototype, "description", 2);
|
|
2591
2563
|
var CreateCaseStudyDto = class {
|
|
2592
2564
|
};
|
|
2593
2565
|
__decorateClass([
|
|
2594
|
-
(0,
|
|
2566
|
+
(0, import_class_validator40.IsOptional)()
|
|
2595
2567
|
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2596
2568
|
__decorateClass([
|
|
2597
|
-
(0,
|
|
2598
|
-
(0,
|
|
2569
|
+
(0, import_class_validator40.IsString)(),
|
|
2570
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2599
2571
|
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2600
2572
|
__decorateClass([
|
|
2601
|
-
(0,
|
|
2602
|
-
(0,
|
|
2573
|
+
(0, import_class_validator40.IsString)(),
|
|
2574
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2603
2575
|
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2604
2576
|
__decorateClass([
|
|
2605
|
-
(0,
|
|
2606
|
-
(0,
|
|
2577
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2578
|
+
(0, import_class_validator40.IsString)()
|
|
2607
2579
|
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2608
2580
|
var CreateFreelancerProjectDto = class {
|
|
2609
2581
|
};
|
|
2610
2582
|
__decorateClass([
|
|
2611
|
-
(0,
|
|
2612
|
-
(0,
|
|
2613
|
-
(0,
|
|
2583
|
+
(0, import_class_validator40.IsArray)(),
|
|
2584
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2585
|
+
(0, import_class_transformer5.Type)(() => CreateProjectDto)
|
|
2614
2586
|
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2615
2587
|
__decorateClass([
|
|
2616
|
-
(0,
|
|
2617
|
-
(0,
|
|
2618
|
-
(0,
|
|
2588
|
+
(0, import_class_validator40.IsArray)(),
|
|
2589
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2590
|
+
(0, import_class_transformer5.Type)(() => CreateCaseStudyDto)
|
|
2619
2591
|
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2620
2592
|
|
|
2621
2593
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -2956,9 +2928,7 @@ Plan = __decorateClass([
|
|
|
2956
2928
|
CreateCompanyMemberDto,
|
|
2957
2929
|
CreateCompanyRoleDto,
|
|
2958
2930
|
CreateEducationDto,
|
|
2959
|
-
CreateExperienceDto,
|
|
2960
2931
|
CreateFreelancerEducationDto,
|
|
2961
|
-
CreateFreelancerExperienceDto,
|
|
2962
2932
|
CreateFreelancerProjectDto,
|
|
2963
2933
|
CreateProjectDto,
|
|
2964
2934
|
CreateQuestionDto,
|
|
@@ -2966,6 +2936,7 @@ Plan = __decorateClass([
|
|
|
2966
2936
|
CreateSubAdminDto,
|
|
2967
2937
|
DurationTypeEnum,
|
|
2968
2938
|
EmploymentType,
|
|
2939
|
+
ExperienceDto,
|
|
2969
2940
|
FREELANCER_EDUCATION_PATTERN,
|
|
2970
2941
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
2971
2942
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -2978,6 +2949,7 @@ Plan = __decorateClass([
|
|
|
2978
2949
|
FreelancerDevelopmentPreferenceDto,
|
|
2979
2950
|
FreelancerEducation,
|
|
2980
2951
|
FreelancerExperience,
|
|
2952
|
+
FreelancerExperienceDto,
|
|
2981
2953
|
FreelancerProfile,
|
|
2982
2954
|
FreelancerProfileQuestionDto,
|
|
2983
2955
|
FreelancerProject,
|
|
@@ -3049,9 +3021,7 @@ Plan = __decorateClass([
|
|
|
3049
3021
|
UpdateCompanyProfileDto,
|
|
3050
3022
|
UpdateCompanyRoleDto,
|
|
3051
3023
|
UpdateEducationDto,
|
|
3052
|
-
UpdateExperienceDto,
|
|
3053
3024
|
UpdateFreelancerEducationDto,
|
|
3054
|
-
UpdateFreelancerExperienceDto,
|
|
3055
3025
|
UpdateFreelancerProfileDto,
|
|
3056
3026
|
UpdateSubAdminAccountStatusDto,
|
|
3057
3027
|
UpdateSubAdminDto,
|
package/dist/index.mjs
CHANGED
|
@@ -141,8 +141,9 @@ __decorateClass([
|
|
|
141
141
|
|
|
142
142
|
// src/modules/otp/pattern/pattern.ts
|
|
143
143
|
var OTP_PATTERN = {
|
|
144
|
-
|
|
144
|
+
handleSendGuestOtp: "handle.send.guest.otp",
|
|
145
145
|
handleSendOtp: "handle.send.otp",
|
|
146
|
+
handleVerifyGuestOtp: "handle.verify.guest.otp",
|
|
146
147
|
handleVerifyOtp: "handle.verify.otp"
|
|
147
148
|
};
|
|
148
149
|
|
|
@@ -2438,64 +2439,43 @@ var FREELANCER_EXPERIENCE_PATTERN = {
|
|
|
2438
2439
|
updateFreelancerExperience: "update.freelancer.experience"
|
|
2439
2440
|
};
|
|
2440
2441
|
|
|
2441
|
-
// src/modules/user/freelancer-experience/dto/
|
|
2442
|
-
import {
|
|
2442
|
+
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
2443
|
+
import {
|
|
2444
|
+
IsNotEmpty as IsNotEmpty27,
|
|
2445
|
+
IsOptional as IsOptional12,
|
|
2446
|
+
IsString as IsString18,
|
|
2447
|
+
MaxLength as MaxLength11,
|
|
2448
|
+
ValidateNested
|
|
2449
|
+
} from "class-validator";
|
|
2443
2450
|
import { Type as Type2 } from "class-transformer";
|
|
2444
|
-
var
|
|
2445
|
-
};
|
|
2446
|
-
__decorateClass([
|
|
2447
|
-
IsString18(),
|
|
2448
|
-
IsNotEmpty27()
|
|
2449
|
-
], CreateExperienceDto.prototype, "companyName", 2);
|
|
2450
|
-
__decorateClass([
|
|
2451
|
-
IsString18(),
|
|
2452
|
-
IsNotEmpty27()
|
|
2453
|
-
], CreateExperienceDto.prototype, "designation", 2);
|
|
2454
|
-
__decorateClass([
|
|
2455
|
-
IsString18(),
|
|
2456
|
-
IsNotEmpty27()
|
|
2457
|
-
], CreateExperienceDto.prototype, "jobDuration", 2);
|
|
2458
|
-
__decorateClass([
|
|
2459
|
-
IsString18()
|
|
2460
|
-
], CreateExperienceDto.prototype, "description", 2);
|
|
2461
|
-
var CreateFreelancerExperienceDto = class {
|
|
2462
|
-
};
|
|
2463
|
-
__decorateClass([
|
|
2464
|
-
IsArray2(),
|
|
2465
|
-
ValidateNested({ each: true }),
|
|
2466
|
-
Type2(() => CreateExperienceDto)
|
|
2467
|
-
], CreateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2468
|
-
|
|
2469
|
-
// src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
|
|
2470
|
-
import { IsArray as IsArray3, ValidateNested as ValidateNested2, IsString as IsString19, IsNotEmpty as IsNotEmpty28, IsOptional as IsOptional12 } from "class-validator";
|
|
2471
|
-
import { Type as Type3 } from "class-transformer";
|
|
2472
|
-
var UpdateExperienceDto = class {
|
|
2451
|
+
var ExperienceDto = class {
|
|
2473
2452
|
};
|
|
2474
2453
|
__decorateClass([
|
|
2475
2454
|
IsOptional12()
|
|
2476
|
-
],
|
|
2455
|
+
], ExperienceDto.prototype, "uuid", 2);
|
|
2477
2456
|
__decorateClass([
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
],
|
|
2457
|
+
IsNotEmpty27(),
|
|
2458
|
+
IsString18()
|
|
2459
|
+
], ExperienceDto.prototype, "companyName", 2);
|
|
2481
2460
|
__decorateClass([
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
],
|
|
2461
|
+
IsNotEmpty27(),
|
|
2462
|
+
IsString18()
|
|
2463
|
+
], ExperienceDto.prototype, "designation", 2);
|
|
2485
2464
|
__decorateClass([
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
],
|
|
2465
|
+
IsNotEmpty27(),
|
|
2466
|
+
IsString18()
|
|
2467
|
+
], ExperienceDto.prototype, "jobDuration", 2);
|
|
2489
2468
|
__decorateClass([
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2469
|
+
IsNotEmpty27(),
|
|
2470
|
+
IsString18(),
|
|
2471
|
+
MaxLength11(500, { message: "Description must not exceed 500 characters" })
|
|
2472
|
+
], ExperienceDto.prototype, "description", 2);
|
|
2473
|
+
var FreelancerExperienceDto = class {
|
|
2493
2474
|
};
|
|
2494
2475
|
__decorateClass([
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2476
|
+
ValidateNested({ each: true }),
|
|
2477
|
+
Type2(() => ExperienceDto)
|
|
2478
|
+
], FreelancerExperienceDto.prototype, "experiences", 2);
|
|
2499
2479
|
|
|
2500
2480
|
// src/modules/company-member/pattern/pattern.ts
|
|
2501
2481
|
var COMPANY_MEMBERS_PATTERNS = {
|
|
@@ -2510,27 +2490,27 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
2510
2490
|
};
|
|
2511
2491
|
|
|
2512
2492
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2513
|
-
import { IsNotEmpty as
|
|
2493
|
+
import { IsNotEmpty as IsNotEmpty28 } from "class-validator";
|
|
2514
2494
|
var CreateCompanyMemberDto = class {
|
|
2515
2495
|
// @IsNotEmpty({ message: 'Please enter company role id' })
|
|
2516
2496
|
// companyRoleId: number;
|
|
2517
2497
|
};
|
|
2518
2498
|
__decorateClass([
|
|
2519
|
-
|
|
2499
|
+
IsNotEmpty28({ message: "Please enter name." })
|
|
2520
2500
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2521
2501
|
__decorateClass([
|
|
2522
|
-
|
|
2502
|
+
IsNotEmpty28({ message: "Please enter email" })
|
|
2523
2503
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2524
2504
|
|
|
2525
2505
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2526
|
-
import { IsNotEmpty as
|
|
2506
|
+
import { IsNotEmpty as IsNotEmpty29 } from "class-validator";
|
|
2527
2507
|
var UpdateCompanyMemberDto = class {
|
|
2528
2508
|
};
|
|
2529
2509
|
__decorateClass([
|
|
2530
|
-
|
|
2510
|
+
IsNotEmpty29({ message: "Please enter name." })
|
|
2531
2511
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2532
2512
|
__decorateClass([
|
|
2533
|
-
|
|
2513
|
+
IsNotEmpty29({ message: "Please enter email" })
|
|
2534
2514
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2535
2515
|
|
|
2536
2516
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
@@ -2549,56 +2529,56 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
2549
2529
|
};
|
|
2550
2530
|
|
|
2551
2531
|
// src/modules/user/freelancer-education/dto/create-freelancer-education.dto.ts
|
|
2552
|
-
import { IsArray as
|
|
2553
|
-
import { Type as
|
|
2532
|
+
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString21, IsNotEmpty as IsNotEmpty30 } from "class-validator";
|
|
2533
|
+
import { Type as Type3 } from "class-transformer";
|
|
2554
2534
|
var CreateEducationDto = class {
|
|
2555
2535
|
};
|
|
2556
2536
|
__decorateClass([
|
|
2557
|
-
|
|
2558
|
-
|
|
2537
|
+
IsString21(),
|
|
2538
|
+
IsNotEmpty30()
|
|
2559
2539
|
], CreateEducationDto.prototype, "degree", 2);
|
|
2560
2540
|
__decorateClass([
|
|
2561
|
-
|
|
2562
|
-
|
|
2541
|
+
IsString21(),
|
|
2542
|
+
IsNotEmpty30()
|
|
2563
2543
|
], CreateEducationDto.prototype, "university", 2);
|
|
2564
2544
|
__decorateClass([
|
|
2565
|
-
|
|
2566
|
-
|
|
2545
|
+
IsString21(),
|
|
2546
|
+
IsNotEmpty30()
|
|
2567
2547
|
], CreateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2568
2548
|
var CreateFreelancerEducationDto = class {
|
|
2569
2549
|
};
|
|
2570
2550
|
__decorateClass([
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2551
|
+
IsArray2(),
|
|
2552
|
+
ValidateNested2({ each: true }),
|
|
2553
|
+
Type3(() => CreateEducationDto)
|
|
2574
2554
|
], CreateFreelancerEducationDto.prototype, "education", 2);
|
|
2575
2555
|
|
|
2576
2556
|
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
2577
|
-
import { IsArray as
|
|
2578
|
-
import { Type as
|
|
2557
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional15 } from "class-validator";
|
|
2558
|
+
import { Type as Type4 } from "class-transformer";
|
|
2579
2559
|
var UpdateEducationDto = class {
|
|
2580
2560
|
};
|
|
2581
2561
|
__decorateClass([
|
|
2582
2562
|
IsOptional15()
|
|
2583
2563
|
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2584
2564
|
__decorateClass([
|
|
2585
|
-
|
|
2586
|
-
|
|
2565
|
+
IsString22(),
|
|
2566
|
+
IsNotEmpty31()
|
|
2587
2567
|
], UpdateEducationDto.prototype, "degree", 2);
|
|
2588
2568
|
__decorateClass([
|
|
2589
|
-
|
|
2590
|
-
|
|
2569
|
+
IsString22(),
|
|
2570
|
+
IsNotEmpty31()
|
|
2591
2571
|
], UpdateEducationDto.prototype, "university", 2);
|
|
2592
2572
|
__decorateClass([
|
|
2593
|
-
|
|
2594
|
-
|
|
2573
|
+
IsString22(),
|
|
2574
|
+
IsNotEmpty31()
|
|
2595
2575
|
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2596
2576
|
var UpdateFreelancerEducationDto = class {
|
|
2597
2577
|
};
|
|
2598
2578
|
__decorateClass([
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2579
|
+
IsArray3(),
|
|
2580
|
+
ValidateNested3({ each: true }),
|
|
2581
|
+
Type4(() => UpdateEducationDto)
|
|
2602
2582
|
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2603
2583
|
|
|
2604
2584
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
@@ -2608,36 +2588,36 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2608
2588
|
};
|
|
2609
2589
|
|
|
2610
2590
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2611
|
-
import { IsArray as
|
|
2612
|
-
import { Type as
|
|
2591
|
+
import { IsArray as IsArray4, ValidateNested as ValidateNested4, IsString as IsString23, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional16, IsDateString } from "class-validator";
|
|
2592
|
+
import { Type as Type5 } from "class-transformer";
|
|
2613
2593
|
var CreateProjectDto = class {
|
|
2614
2594
|
};
|
|
2615
2595
|
__decorateClass([
|
|
2616
2596
|
IsOptional16()
|
|
2617
2597
|
], CreateProjectDto.prototype, "uuid", 2);
|
|
2618
2598
|
__decorateClass([
|
|
2619
|
-
|
|
2620
|
-
|
|
2599
|
+
IsString23(),
|
|
2600
|
+
IsNotEmpty32()
|
|
2621
2601
|
], CreateProjectDto.prototype, "projectName", 2);
|
|
2622
2602
|
__decorateClass([
|
|
2623
2603
|
IsDateString(),
|
|
2624
|
-
|
|
2604
|
+
IsNotEmpty32()
|
|
2625
2605
|
], CreateProjectDto.prototype, "startDate", 2);
|
|
2626
2606
|
__decorateClass([
|
|
2627
2607
|
IsDateString(),
|
|
2628
|
-
|
|
2608
|
+
IsNotEmpty32()
|
|
2629
2609
|
], CreateProjectDto.prototype, "endDate", 2);
|
|
2630
2610
|
__decorateClass([
|
|
2631
2611
|
IsOptional16(),
|
|
2632
|
-
|
|
2612
|
+
IsString23()
|
|
2633
2613
|
], CreateProjectDto.prototype, "clientName", 2);
|
|
2634
2614
|
__decorateClass([
|
|
2635
2615
|
IsOptional16(),
|
|
2636
|
-
|
|
2616
|
+
IsString23()
|
|
2637
2617
|
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2638
2618
|
__decorateClass([
|
|
2639
2619
|
IsOptional16(),
|
|
2640
|
-
|
|
2620
|
+
IsString23()
|
|
2641
2621
|
], CreateProjectDto.prototype, "description", 2);
|
|
2642
2622
|
var CreateCaseStudyDto = class {
|
|
2643
2623
|
};
|
|
@@ -2645,28 +2625,28 @@ __decorateClass([
|
|
|
2645
2625
|
IsOptional16()
|
|
2646
2626
|
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2647
2627
|
__decorateClass([
|
|
2648
|
-
|
|
2649
|
-
|
|
2628
|
+
IsString23(),
|
|
2629
|
+
IsNotEmpty32()
|
|
2650
2630
|
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2651
2631
|
__decorateClass([
|
|
2652
|
-
|
|
2653
|
-
|
|
2632
|
+
IsString23(),
|
|
2633
|
+
IsNotEmpty32()
|
|
2654
2634
|
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2655
2635
|
__decorateClass([
|
|
2656
2636
|
IsOptional16(),
|
|
2657
|
-
|
|
2637
|
+
IsString23()
|
|
2658
2638
|
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2659
2639
|
var CreateFreelancerProjectDto = class {
|
|
2660
2640
|
};
|
|
2661
2641
|
__decorateClass([
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2642
|
+
IsArray4(),
|
|
2643
|
+
ValidateNested4({ each: true }),
|
|
2644
|
+
Type5(() => CreateProjectDto)
|
|
2665
2645
|
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2666
2646
|
__decorateClass([
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2647
|
+
IsArray4(),
|
|
2648
|
+
ValidateNested4({ each: true }),
|
|
2649
|
+
Type5(() => CreateCaseStudyDto)
|
|
2670
2650
|
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2671
2651
|
|
|
2672
2652
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3006,9 +2986,7 @@ export {
|
|
|
3006
2986
|
CreateCompanyMemberDto,
|
|
3007
2987
|
CreateCompanyRoleDto,
|
|
3008
2988
|
CreateEducationDto,
|
|
3009
|
-
CreateExperienceDto,
|
|
3010
2989
|
CreateFreelancerEducationDto,
|
|
3011
|
-
CreateFreelancerExperienceDto,
|
|
3012
2990
|
CreateFreelancerProjectDto,
|
|
3013
2991
|
CreateProjectDto,
|
|
3014
2992
|
CreateQuestionDto,
|
|
@@ -3016,6 +2994,7 @@ export {
|
|
|
3016
2994
|
CreateSubAdminDto,
|
|
3017
2995
|
DurationTypeEnum,
|
|
3018
2996
|
EmploymentType,
|
|
2997
|
+
ExperienceDto,
|
|
3019
2998
|
FREELANCER_EDUCATION_PATTERN,
|
|
3020
2999
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
3021
3000
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -3028,6 +3007,7 @@ export {
|
|
|
3028
3007
|
FreelancerDevelopmentPreferenceDto,
|
|
3029
3008
|
FreelancerEducation,
|
|
3030
3009
|
FreelancerExperience,
|
|
3010
|
+
FreelancerExperienceDto,
|
|
3031
3011
|
FreelancerProfile,
|
|
3032
3012
|
FreelancerProfileQuestionDto,
|
|
3033
3013
|
FreelancerProject,
|
|
@@ -3099,9 +3079,7 @@ export {
|
|
|
3099
3079
|
UpdateCompanyProfileDto,
|
|
3100
3080
|
UpdateCompanyRoleDto,
|
|
3101
3081
|
UpdateEducationDto,
|
|
3102
|
-
UpdateExperienceDto,
|
|
3103
3082
|
UpdateFreelancerEducationDto,
|
|
3104
|
-
UpdateFreelancerExperienceDto,
|
|
3105
3083
|
UpdateFreelancerProfileDto,
|
|
3106
3084
|
UpdateSubAdminAccountStatusDto,
|
|
3107
3085
|
UpdateSubAdminDto,
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './update-freelancer-experience.dto';
|
|
1
|
+
export * from './freelancer-experience.dto';
|
package/package.json
CHANGED