@experts_hub/shared 1.0.149 → 1.0.151
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 +5 -16
- package/dist/index.d.ts +5 -16
- package/dist/index.js +84 -116
- package/dist/index.mjs +78 -102
- 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/dist/modules/user/freelancer-experience/pattern/pattern.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
|
@@ -1042,29 +1042,18 @@ interface IAttachPermissionsToCompanyRoleResponse {
|
|
|
1042
1042
|
|
|
1043
1043
|
declare const FREELANCER_EXPERIENCE_PATTERN: {
|
|
1044
1044
|
fetchFreelancerExperience: string;
|
|
1045
|
-
|
|
1046
|
-
updateFreelancerExperience: string;
|
|
1045
|
+
saveFreelancerExperience: string;
|
|
1047
1046
|
};
|
|
1048
1047
|
|
|
1049
|
-
declare class
|
|
1050
|
-
companyName: string;
|
|
1051
|
-
designation: string;
|
|
1052
|
-
jobDuration: string;
|
|
1053
|
-
description: string;
|
|
1054
|
-
}
|
|
1055
|
-
declare class CreateFreelancerExperienceDto {
|
|
1056
|
-
experience: CreateExperienceDto[];
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
declare class UpdateExperienceDto {
|
|
1048
|
+
declare class ExperienceDto {
|
|
1060
1049
|
uuid?: string;
|
|
1061
1050
|
companyName: string;
|
|
1062
1051
|
designation: string;
|
|
1063
1052
|
jobDuration: string;
|
|
1064
1053
|
description: string;
|
|
1065
1054
|
}
|
|
1066
|
-
declare class
|
|
1067
|
-
|
|
1055
|
+
declare class FreelancerExperienceDto {
|
|
1056
|
+
experiences: ExperienceDto[];
|
|
1068
1057
|
}
|
|
1069
1058
|
|
|
1070
1059
|
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
@@ -1254,4 +1243,4 @@ declare class Plan extends BaseEntity {
|
|
|
1254
1243
|
features: Feature[];
|
|
1255
1244
|
}
|
|
1256
1245
|
|
|
1257
|
-
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,
|
|
1246
|
+
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
|
@@ -1042,29 +1042,18 @@ interface IAttachPermissionsToCompanyRoleResponse {
|
|
|
1042
1042
|
|
|
1043
1043
|
declare const FREELANCER_EXPERIENCE_PATTERN: {
|
|
1044
1044
|
fetchFreelancerExperience: string;
|
|
1045
|
-
|
|
1046
|
-
updateFreelancerExperience: string;
|
|
1045
|
+
saveFreelancerExperience: string;
|
|
1047
1046
|
};
|
|
1048
1047
|
|
|
1049
|
-
declare class
|
|
1050
|
-
companyName: string;
|
|
1051
|
-
designation: string;
|
|
1052
|
-
jobDuration: string;
|
|
1053
|
-
description: string;
|
|
1054
|
-
}
|
|
1055
|
-
declare class CreateFreelancerExperienceDto {
|
|
1056
|
-
experience: CreateExperienceDto[];
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
declare class UpdateExperienceDto {
|
|
1048
|
+
declare class ExperienceDto {
|
|
1060
1049
|
uuid?: string;
|
|
1061
1050
|
companyName: string;
|
|
1062
1051
|
designation: string;
|
|
1063
1052
|
jobDuration: string;
|
|
1064
1053
|
description: string;
|
|
1065
1054
|
}
|
|
1066
|
-
declare class
|
|
1067
|
-
|
|
1055
|
+
declare class FreelancerExperienceDto {
|
|
1056
|
+
experiences: ExperienceDto[];
|
|
1068
1057
|
}
|
|
1069
1058
|
|
|
1070
1059
|
declare const COMPANY_MEMBERS_PATTERNS: {
|
|
@@ -1254,4 +1243,4 @@ declare class Plan extends BaseEntity {
|
|
|
1254
1243
|
features: Feature[];
|
|
1255
1244
|
}
|
|
1256
1245
|
|
|
1257
|
-
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,
|
|
1246
|
+
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,
|
|
@@ -2384,68 +2382,40 @@ __decorateClass([
|
|
|
2384
2382
|
// src/modules/user/freelancer-experience/pattern/pattern.ts
|
|
2385
2383
|
var FREELANCER_EXPERIENCE_PATTERN = {
|
|
2386
2384
|
fetchFreelancerExperience: "fetch.freelancer.experience",
|
|
2387
|
-
|
|
2388
|
-
updateFreelancerExperience: "update.freelancer.experience"
|
|
2385
|
+
saveFreelancerExperience: "save.freelancer.experience"
|
|
2389
2386
|
};
|
|
2390
2387
|
|
|
2391
|
-
// src/modules/user/freelancer-experience/dto/
|
|
2388
|
+
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
2392
2389
|
var import_class_validator34 = require("class-validator");
|
|
2393
2390
|
var import_class_transformer2 = require("class-transformer");
|
|
2394
|
-
var
|
|
2391
|
+
var ExperienceDto = class {
|
|
2395
2392
|
};
|
|
2396
2393
|
__decorateClass([
|
|
2397
|
-
(0, import_class_validator34.
|
|
2398
|
-
|
|
2399
|
-
], CreateExperienceDto.prototype, "companyName", 2);
|
|
2400
|
-
__decorateClass([
|
|
2401
|
-
(0, import_class_validator34.IsString)(),
|
|
2402
|
-
(0, import_class_validator34.IsNotEmpty)()
|
|
2403
|
-
], CreateExperienceDto.prototype, "designation", 2);
|
|
2404
|
-
__decorateClass([
|
|
2405
|
-
(0, import_class_validator34.IsString)(),
|
|
2406
|
-
(0, import_class_validator34.IsNotEmpty)()
|
|
2407
|
-
], CreateExperienceDto.prototype, "jobDuration", 2);
|
|
2394
|
+
(0, import_class_validator34.IsOptional)()
|
|
2395
|
+
], ExperienceDto.prototype, "uuid", 2);
|
|
2408
2396
|
__decorateClass([
|
|
2397
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2409
2398
|
(0, import_class_validator34.IsString)()
|
|
2410
|
-
],
|
|
2411
|
-
var CreateFreelancerExperienceDto = class {
|
|
2412
|
-
};
|
|
2413
|
-
__decorateClass([
|
|
2414
|
-
(0, import_class_validator34.IsArray)(),
|
|
2415
|
-
(0, import_class_validator34.ValidateNested)({ each: true }),
|
|
2416
|
-
(0, import_class_transformer2.Type)(() => CreateExperienceDto)
|
|
2417
|
-
], CreateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2418
|
-
|
|
2419
|
-
// src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
|
|
2420
|
-
var import_class_validator35 = require("class-validator");
|
|
2421
|
-
var import_class_transformer3 = require("class-transformer");
|
|
2422
|
-
var UpdateExperienceDto = class {
|
|
2423
|
-
};
|
|
2424
|
-
__decorateClass([
|
|
2425
|
-
(0, import_class_validator35.IsOptional)()
|
|
2426
|
-
], UpdateExperienceDto.prototype, "uuid", 2);
|
|
2399
|
+
], ExperienceDto.prototype, "companyName", 2);
|
|
2427
2400
|
__decorateClass([
|
|
2428
|
-
(0,
|
|
2429
|
-
(0,
|
|
2430
|
-
],
|
|
2431
|
-
__decorateClass([
|
|
2432
|
-
(0, import_class_validator35.IsNotEmpty)(),
|
|
2433
|
-
(0, import_class_validator35.IsString)()
|
|
2434
|
-
], UpdateExperienceDto.prototype, "designation", 2);
|
|
2401
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2402
|
+
(0, import_class_validator34.IsString)()
|
|
2403
|
+
], ExperienceDto.prototype, "designation", 2);
|
|
2435
2404
|
__decorateClass([
|
|
2436
|
-
(0,
|
|
2437
|
-
(0,
|
|
2438
|
-
],
|
|
2405
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2406
|
+
(0, import_class_validator34.IsString)()
|
|
2407
|
+
], ExperienceDto.prototype, "jobDuration", 2);
|
|
2439
2408
|
__decorateClass([
|
|
2440
|
-
(0,
|
|
2441
|
-
|
|
2442
|
-
|
|
2409
|
+
(0, import_class_validator34.IsNotEmpty)(),
|
|
2410
|
+
(0, import_class_validator34.IsString)(),
|
|
2411
|
+
(0, import_class_validator34.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
2412
|
+
], ExperienceDto.prototype, "description", 2);
|
|
2413
|
+
var FreelancerExperienceDto = class {
|
|
2443
2414
|
};
|
|
2444
2415
|
__decorateClass([
|
|
2445
|
-
(0,
|
|
2446
|
-
(0,
|
|
2447
|
-
|
|
2448
|
-
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2416
|
+
(0, import_class_validator34.ValidateNested)({ each: true }),
|
|
2417
|
+
(0, import_class_transformer2.Type)(() => ExperienceDto)
|
|
2418
|
+
], FreelancerExperienceDto.prototype, "experiences", 2);
|
|
2449
2419
|
|
|
2450
2420
|
// src/modules/company-member/pattern/pattern.ts
|
|
2451
2421
|
var COMPANY_MEMBERS_PATTERNS = {
|
|
@@ -2460,35 +2430,35 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
2460
2430
|
};
|
|
2461
2431
|
|
|
2462
2432
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2463
|
-
var
|
|
2433
|
+
var import_class_validator35 = require("class-validator");
|
|
2464
2434
|
var CreateCompanyMemberDto = class {
|
|
2465
2435
|
// @IsNotEmpty({ message: 'Please enter company role id' })
|
|
2466
2436
|
// companyRoleId: number;
|
|
2467
2437
|
};
|
|
2468
2438
|
__decorateClass([
|
|
2469
|
-
(0,
|
|
2439
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter name." })
|
|
2470
2440
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2471
2441
|
__decorateClass([
|
|
2472
|
-
(0,
|
|
2442
|
+
(0, import_class_validator35.IsNotEmpty)({ message: "Please enter email" })
|
|
2473
2443
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2474
2444
|
|
|
2475
2445
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2476
|
-
var
|
|
2446
|
+
var import_class_validator36 = require("class-validator");
|
|
2477
2447
|
var UpdateCompanyMemberDto = class {
|
|
2478
2448
|
};
|
|
2479
2449
|
__decorateClass([
|
|
2480
|
-
(0,
|
|
2450
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter name." })
|
|
2481
2451
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2482
2452
|
__decorateClass([
|
|
2483
|
-
(0,
|
|
2453
|
+
(0, import_class_validator36.IsNotEmpty)({ message: "Please enter email" })
|
|
2484
2454
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2485
2455
|
|
|
2486
2456
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
2487
|
-
var
|
|
2457
|
+
var import_class_validator37 = require("class-validator");
|
|
2488
2458
|
var ToggleCompanyMemberVisibilityDto = class {
|
|
2489
2459
|
};
|
|
2490
2460
|
__decorateClass([
|
|
2491
|
-
(0,
|
|
2461
|
+
(0, import_class_validator37.IsBoolean)()
|
|
2492
2462
|
], ToggleCompanyMemberVisibilityDto.prototype, "isActive", 2);
|
|
2493
2463
|
|
|
2494
2464
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
@@ -2499,56 +2469,56 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
2499
2469
|
};
|
|
2500
2470
|
|
|
2501
2471
|
// src/modules/user/freelancer-education/dto/create-freelancer-education.dto.ts
|
|
2502
|
-
var
|
|
2503
|
-
var
|
|
2472
|
+
var import_class_validator38 = require("class-validator");
|
|
2473
|
+
var import_class_transformer3 = require("class-transformer");
|
|
2504
2474
|
var CreateEducationDto = class {
|
|
2505
2475
|
};
|
|
2506
2476
|
__decorateClass([
|
|
2507
|
-
(0,
|
|
2508
|
-
(0,
|
|
2477
|
+
(0, import_class_validator38.IsString)(),
|
|
2478
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2509
2479
|
], CreateEducationDto.prototype, "degree", 2);
|
|
2510
2480
|
__decorateClass([
|
|
2511
|
-
(0,
|
|
2512
|
-
(0,
|
|
2481
|
+
(0, import_class_validator38.IsString)(),
|
|
2482
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2513
2483
|
], CreateEducationDto.prototype, "university", 2);
|
|
2514
2484
|
__decorateClass([
|
|
2515
|
-
(0,
|
|
2516
|
-
(0,
|
|
2485
|
+
(0, import_class_validator38.IsString)(),
|
|
2486
|
+
(0, import_class_validator38.IsNotEmpty)()
|
|
2517
2487
|
], CreateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2518
2488
|
var CreateFreelancerEducationDto = class {
|
|
2519
2489
|
};
|
|
2520
2490
|
__decorateClass([
|
|
2521
|
-
(0,
|
|
2522
|
-
(0,
|
|
2523
|
-
(0,
|
|
2491
|
+
(0, import_class_validator38.IsArray)(),
|
|
2492
|
+
(0, import_class_validator38.ValidateNested)({ each: true }),
|
|
2493
|
+
(0, import_class_transformer3.Type)(() => CreateEducationDto)
|
|
2524
2494
|
], CreateFreelancerEducationDto.prototype, "education", 2);
|
|
2525
2495
|
|
|
2526
2496
|
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
2527
|
-
var
|
|
2528
|
-
var
|
|
2497
|
+
var import_class_validator39 = require("class-validator");
|
|
2498
|
+
var import_class_transformer4 = require("class-transformer");
|
|
2529
2499
|
var UpdateEducationDto = class {
|
|
2530
2500
|
};
|
|
2531
2501
|
__decorateClass([
|
|
2532
|
-
(0,
|
|
2502
|
+
(0, import_class_validator39.IsOptional)()
|
|
2533
2503
|
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2534
2504
|
__decorateClass([
|
|
2535
|
-
(0,
|
|
2536
|
-
(0,
|
|
2505
|
+
(0, import_class_validator39.IsString)(),
|
|
2506
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2537
2507
|
], UpdateEducationDto.prototype, "degree", 2);
|
|
2538
2508
|
__decorateClass([
|
|
2539
|
-
(0,
|
|
2540
|
-
(0,
|
|
2509
|
+
(0, import_class_validator39.IsString)(),
|
|
2510
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2541
2511
|
], UpdateEducationDto.prototype, "university", 2);
|
|
2542
2512
|
__decorateClass([
|
|
2543
|
-
(0,
|
|
2544
|
-
(0,
|
|
2513
|
+
(0, import_class_validator39.IsString)(),
|
|
2514
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2545
2515
|
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2546
2516
|
var UpdateFreelancerEducationDto = class {
|
|
2547
2517
|
};
|
|
2548
2518
|
__decorateClass([
|
|
2549
|
-
(0,
|
|
2550
|
-
(0,
|
|
2551
|
-
(0,
|
|
2519
|
+
(0, import_class_validator39.IsArray)(),
|
|
2520
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2521
|
+
(0, import_class_transformer4.Type)(() => UpdateEducationDto)
|
|
2552
2522
|
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2553
2523
|
|
|
2554
2524
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
@@ -2558,65 +2528,65 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2558
2528
|
};
|
|
2559
2529
|
|
|
2560
2530
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2561
|
-
var
|
|
2562
|
-
var
|
|
2531
|
+
var import_class_validator40 = require("class-validator");
|
|
2532
|
+
var import_class_transformer5 = require("class-transformer");
|
|
2563
2533
|
var CreateProjectDto = class {
|
|
2564
2534
|
};
|
|
2565
2535
|
__decorateClass([
|
|
2566
|
-
(0,
|
|
2536
|
+
(0, import_class_validator40.IsOptional)()
|
|
2567
2537
|
], CreateProjectDto.prototype, "uuid", 2);
|
|
2568
2538
|
__decorateClass([
|
|
2569
|
-
(0,
|
|
2570
|
-
(0,
|
|
2539
|
+
(0, import_class_validator40.IsString)(),
|
|
2540
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2571
2541
|
], CreateProjectDto.prototype, "projectName", 2);
|
|
2572
2542
|
__decorateClass([
|
|
2573
|
-
(0,
|
|
2574
|
-
(0,
|
|
2543
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2544
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2575
2545
|
], CreateProjectDto.prototype, "startDate", 2);
|
|
2576
2546
|
__decorateClass([
|
|
2577
|
-
(0,
|
|
2578
|
-
(0,
|
|
2547
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2548
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2579
2549
|
], CreateProjectDto.prototype, "endDate", 2);
|
|
2580
2550
|
__decorateClass([
|
|
2581
|
-
(0,
|
|
2582
|
-
(0,
|
|
2551
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2552
|
+
(0, import_class_validator40.IsString)()
|
|
2583
2553
|
], CreateProjectDto.prototype, "clientName", 2);
|
|
2584
2554
|
__decorateClass([
|
|
2585
|
-
(0,
|
|
2586
|
-
(0,
|
|
2555
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2556
|
+
(0, import_class_validator40.IsString)()
|
|
2587
2557
|
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2588
2558
|
__decorateClass([
|
|
2589
|
-
(0,
|
|
2590
|
-
(0,
|
|
2559
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2560
|
+
(0, import_class_validator40.IsString)()
|
|
2591
2561
|
], CreateProjectDto.prototype, "description", 2);
|
|
2592
2562
|
var CreateCaseStudyDto = class {
|
|
2593
2563
|
};
|
|
2594
2564
|
__decorateClass([
|
|
2595
|
-
(0,
|
|
2565
|
+
(0, import_class_validator40.IsOptional)()
|
|
2596
2566
|
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2597
2567
|
__decorateClass([
|
|
2598
|
-
(0,
|
|
2599
|
-
(0,
|
|
2568
|
+
(0, import_class_validator40.IsString)(),
|
|
2569
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2600
2570
|
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2601
2571
|
__decorateClass([
|
|
2602
|
-
(0,
|
|
2603
|
-
(0,
|
|
2572
|
+
(0, import_class_validator40.IsString)(),
|
|
2573
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2604
2574
|
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2605
2575
|
__decorateClass([
|
|
2606
|
-
(0,
|
|
2607
|
-
(0,
|
|
2576
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2577
|
+
(0, import_class_validator40.IsString)()
|
|
2608
2578
|
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2609
2579
|
var CreateFreelancerProjectDto = class {
|
|
2610
2580
|
};
|
|
2611
2581
|
__decorateClass([
|
|
2612
|
-
(0,
|
|
2613
|
-
(0,
|
|
2614
|
-
(0,
|
|
2582
|
+
(0, import_class_validator40.IsArray)(),
|
|
2583
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2584
|
+
(0, import_class_transformer5.Type)(() => CreateProjectDto)
|
|
2615
2585
|
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2616
2586
|
__decorateClass([
|
|
2617
|
-
(0,
|
|
2618
|
-
(0,
|
|
2619
|
-
(0,
|
|
2587
|
+
(0, import_class_validator40.IsArray)(),
|
|
2588
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2589
|
+
(0, import_class_transformer5.Type)(() => CreateCaseStudyDto)
|
|
2620
2590
|
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2621
2591
|
|
|
2622
2592
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -2957,9 +2927,7 @@ Plan = __decorateClass([
|
|
|
2957
2927
|
CreateCompanyMemberDto,
|
|
2958
2928
|
CreateCompanyRoleDto,
|
|
2959
2929
|
CreateEducationDto,
|
|
2960
|
-
CreateExperienceDto,
|
|
2961
2930
|
CreateFreelancerEducationDto,
|
|
2962
|
-
CreateFreelancerExperienceDto,
|
|
2963
2931
|
CreateFreelancerProjectDto,
|
|
2964
2932
|
CreateProjectDto,
|
|
2965
2933
|
CreateQuestionDto,
|
|
@@ -2967,6 +2935,7 @@ Plan = __decorateClass([
|
|
|
2967
2935
|
CreateSubAdminDto,
|
|
2968
2936
|
DurationTypeEnum,
|
|
2969
2937
|
EmploymentType,
|
|
2938
|
+
ExperienceDto,
|
|
2970
2939
|
FREELANCER_EDUCATION_PATTERN,
|
|
2971
2940
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
2972
2941
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -2979,6 +2948,7 @@ Plan = __decorateClass([
|
|
|
2979
2948
|
FreelancerDevelopmentPreferenceDto,
|
|
2980
2949
|
FreelancerEducation,
|
|
2981
2950
|
FreelancerExperience,
|
|
2951
|
+
FreelancerExperienceDto,
|
|
2982
2952
|
FreelancerProfile,
|
|
2983
2953
|
FreelancerProfileQuestionDto,
|
|
2984
2954
|
FreelancerProject,
|
|
@@ -3050,9 +3020,7 @@ Plan = __decorateClass([
|
|
|
3050
3020
|
UpdateCompanyProfileDto,
|
|
3051
3021
|
UpdateCompanyRoleDto,
|
|
3052
3022
|
UpdateEducationDto,
|
|
3053
|
-
UpdateExperienceDto,
|
|
3054
3023
|
UpdateFreelancerEducationDto,
|
|
3055
|
-
UpdateFreelancerExperienceDto,
|
|
3056
3024
|
UpdateFreelancerProfileDto,
|
|
3057
3025
|
UpdateSubAdminAccountStatusDto,
|
|
3058
3026
|
UpdateSubAdminDto,
|
package/dist/index.mjs
CHANGED
|
@@ -2435,68 +2435,46 @@ __decorateClass([
|
|
|
2435
2435
|
// src/modules/user/freelancer-experience/pattern/pattern.ts
|
|
2436
2436
|
var FREELANCER_EXPERIENCE_PATTERN = {
|
|
2437
2437
|
fetchFreelancerExperience: "fetch.freelancer.experience",
|
|
2438
|
-
|
|
2439
|
-
updateFreelancerExperience: "update.freelancer.experience"
|
|
2438
|
+
saveFreelancerExperience: "save.freelancer.experience"
|
|
2440
2439
|
};
|
|
2441
2440
|
|
|
2442
|
-
// src/modules/user/freelancer-experience/dto/
|
|
2443
|
-
import {
|
|
2441
|
+
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
2442
|
+
import {
|
|
2443
|
+
IsNotEmpty as IsNotEmpty27,
|
|
2444
|
+
IsOptional as IsOptional12,
|
|
2445
|
+
IsString as IsString18,
|
|
2446
|
+
MaxLength as MaxLength11,
|
|
2447
|
+
ValidateNested
|
|
2448
|
+
} from "class-validator";
|
|
2444
2449
|
import { Type as Type2 } from "class-transformer";
|
|
2445
|
-
var
|
|
2446
|
-
};
|
|
2447
|
-
__decorateClass([
|
|
2448
|
-
IsString18(),
|
|
2449
|
-
IsNotEmpty27()
|
|
2450
|
-
], CreateExperienceDto.prototype, "companyName", 2);
|
|
2451
|
-
__decorateClass([
|
|
2452
|
-
IsString18(),
|
|
2453
|
-
IsNotEmpty27()
|
|
2454
|
-
], CreateExperienceDto.prototype, "designation", 2);
|
|
2455
|
-
__decorateClass([
|
|
2456
|
-
IsString18(),
|
|
2457
|
-
IsNotEmpty27()
|
|
2458
|
-
], CreateExperienceDto.prototype, "jobDuration", 2);
|
|
2459
|
-
__decorateClass([
|
|
2460
|
-
IsString18()
|
|
2461
|
-
], CreateExperienceDto.prototype, "description", 2);
|
|
2462
|
-
var CreateFreelancerExperienceDto = class {
|
|
2463
|
-
};
|
|
2464
|
-
__decorateClass([
|
|
2465
|
-
IsArray2(),
|
|
2466
|
-
ValidateNested({ each: true }),
|
|
2467
|
-
Type2(() => CreateExperienceDto)
|
|
2468
|
-
], CreateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2469
|
-
|
|
2470
|
-
// src/modules/user/freelancer-experience/dto/update-freelancer-experience.dto.ts
|
|
2471
|
-
import { IsArray as IsArray3, ValidateNested as ValidateNested2, IsString as IsString19, IsNotEmpty as IsNotEmpty28, IsOptional as IsOptional12 } from "class-validator";
|
|
2472
|
-
import { Type as Type3 } from "class-transformer";
|
|
2473
|
-
var UpdateExperienceDto = class {
|
|
2450
|
+
var ExperienceDto = class {
|
|
2474
2451
|
};
|
|
2475
2452
|
__decorateClass([
|
|
2476
2453
|
IsOptional12()
|
|
2477
|
-
],
|
|
2454
|
+
], ExperienceDto.prototype, "uuid", 2);
|
|
2478
2455
|
__decorateClass([
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
],
|
|
2456
|
+
IsNotEmpty27(),
|
|
2457
|
+
IsString18()
|
|
2458
|
+
], ExperienceDto.prototype, "companyName", 2);
|
|
2482
2459
|
__decorateClass([
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
],
|
|
2460
|
+
IsNotEmpty27(),
|
|
2461
|
+
IsString18()
|
|
2462
|
+
], ExperienceDto.prototype, "designation", 2);
|
|
2486
2463
|
__decorateClass([
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
],
|
|
2464
|
+
IsNotEmpty27(),
|
|
2465
|
+
IsString18()
|
|
2466
|
+
], ExperienceDto.prototype, "jobDuration", 2);
|
|
2490
2467
|
__decorateClass([
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2468
|
+
IsNotEmpty27(),
|
|
2469
|
+
IsString18(),
|
|
2470
|
+
MaxLength11(500, { message: "Description must not exceed 500 characters" })
|
|
2471
|
+
], ExperienceDto.prototype, "description", 2);
|
|
2472
|
+
var FreelancerExperienceDto = class {
|
|
2494
2473
|
};
|
|
2495
2474
|
__decorateClass([
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
], UpdateFreelancerExperienceDto.prototype, "experience", 2);
|
|
2475
|
+
ValidateNested({ each: true }),
|
|
2476
|
+
Type2(() => ExperienceDto)
|
|
2477
|
+
], FreelancerExperienceDto.prototype, "experiences", 2);
|
|
2500
2478
|
|
|
2501
2479
|
// src/modules/company-member/pattern/pattern.ts
|
|
2502
2480
|
var COMPANY_MEMBERS_PATTERNS = {
|
|
@@ -2511,27 +2489,27 @@ var COMPANY_MEMBERS_PATTERNS = {
|
|
|
2511
2489
|
};
|
|
2512
2490
|
|
|
2513
2491
|
// src/modules/company-member/dto/create-company-member.dto.ts
|
|
2514
|
-
import { IsNotEmpty as
|
|
2492
|
+
import { IsNotEmpty as IsNotEmpty28 } from "class-validator";
|
|
2515
2493
|
var CreateCompanyMemberDto = class {
|
|
2516
2494
|
// @IsNotEmpty({ message: 'Please enter company role id' })
|
|
2517
2495
|
// companyRoleId: number;
|
|
2518
2496
|
};
|
|
2519
2497
|
__decorateClass([
|
|
2520
|
-
|
|
2498
|
+
IsNotEmpty28({ message: "Please enter name." })
|
|
2521
2499
|
], CreateCompanyMemberDto.prototype, "name", 2);
|
|
2522
2500
|
__decorateClass([
|
|
2523
|
-
|
|
2501
|
+
IsNotEmpty28({ message: "Please enter email" })
|
|
2524
2502
|
], CreateCompanyMemberDto.prototype, "email", 2);
|
|
2525
2503
|
|
|
2526
2504
|
// src/modules/company-member/dto/update-company-member.dto.ts
|
|
2527
|
-
import { IsNotEmpty as
|
|
2505
|
+
import { IsNotEmpty as IsNotEmpty29 } from "class-validator";
|
|
2528
2506
|
var UpdateCompanyMemberDto = class {
|
|
2529
2507
|
};
|
|
2530
2508
|
__decorateClass([
|
|
2531
|
-
|
|
2509
|
+
IsNotEmpty29({ message: "Please enter name." })
|
|
2532
2510
|
], UpdateCompanyMemberDto.prototype, "name", 2);
|
|
2533
2511
|
__decorateClass([
|
|
2534
|
-
|
|
2512
|
+
IsNotEmpty29({ message: "Please enter email" })
|
|
2535
2513
|
], UpdateCompanyMemberDto.prototype, "email", 2);
|
|
2536
2514
|
|
|
2537
2515
|
// src/modules/company-member/dto/toggle-company-member-visibility.dto.ts
|
|
@@ -2550,56 +2528,56 @@ var FREELANCER_EDUCATION_PATTERN = {
|
|
|
2550
2528
|
};
|
|
2551
2529
|
|
|
2552
2530
|
// src/modules/user/freelancer-education/dto/create-freelancer-education.dto.ts
|
|
2553
|
-
import { IsArray as
|
|
2554
|
-
import { Type as
|
|
2531
|
+
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString21, IsNotEmpty as IsNotEmpty30 } from "class-validator";
|
|
2532
|
+
import { Type as Type3 } from "class-transformer";
|
|
2555
2533
|
var CreateEducationDto = class {
|
|
2556
2534
|
};
|
|
2557
2535
|
__decorateClass([
|
|
2558
|
-
|
|
2559
|
-
|
|
2536
|
+
IsString21(),
|
|
2537
|
+
IsNotEmpty30()
|
|
2560
2538
|
], CreateEducationDto.prototype, "degree", 2);
|
|
2561
2539
|
__decorateClass([
|
|
2562
|
-
|
|
2563
|
-
|
|
2540
|
+
IsString21(),
|
|
2541
|
+
IsNotEmpty30()
|
|
2564
2542
|
], CreateEducationDto.prototype, "university", 2);
|
|
2565
2543
|
__decorateClass([
|
|
2566
|
-
|
|
2567
|
-
|
|
2544
|
+
IsString21(),
|
|
2545
|
+
IsNotEmpty30()
|
|
2568
2546
|
], CreateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2569
2547
|
var CreateFreelancerEducationDto = class {
|
|
2570
2548
|
};
|
|
2571
2549
|
__decorateClass([
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2550
|
+
IsArray2(),
|
|
2551
|
+
ValidateNested2({ each: true }),
|
|
2552
|
+
Type3(() => CreateEducationDto)
|
|
2575
2553
|
], CreateFreelancerEducationDto.prototype, "education", 2);
|
|
2576
2554
|
|
|
2577
2555
|
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
2578
|
-
import { IsArray as
|
|
2579
|
-
import { Type as
|
|
2556
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional15 } from "class-validator";
|
|
2557
|
+
import { Type as Type4 } from "class-transformer";
|
|
2580
2558
|
var UpdateEducationDto = class {
|
|
2581
2559
|
};
|
|
2582
2560
|
__decorateClass([
|
|
2583
2561
|
IsOptional15()
|
|
2584
2562
|
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2585
2563
|
__decorateClass([
|
|
2586
|
-
|
|
2587
|
-
|
|
2564
|
+
IsString22(),
|
|
2565
|
+
IsNotEmpty31()
|
|
2588
2566
|
], UpdateEducationDto.prototype, "degree", 2);
|
|
2589
2567
|
__decorateClass([
|
|
2590
|
-
|
|
2591
|
-
|
|
2568
|
+
IsString22(),
|
|
2569
|
+
IsNotEmpty31()
|
|
2592
2570
|
], UpdateEducationDto.prototype, "university", 2);
|
|
2593
2571
|
__decorateClass([
|
|
2594
|
-
|
|
2595
|
-
|
|
2572
|
+
IsString22(),
|
|
2573
|
+
IsNotEmpty31()
|
|
2596
2574
|
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2597
2575
|
var UpdateFreelancerEducationDto = class {
|
|
2598
2576
|
};
|
|
2599
2577
|
__decorateClass([
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2578
|
+
IsArray3(),
|
|
2579
|
+
ValidateNested3({ each: true }),
|
|
2580
|
+
Type4(() => UpdateEducationDto)
|
|
2603
2581
|
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2604
2582
|
|
|
2605
2583
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
@@ -2609,36 +2587,36 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
2609
2587
|
};
|
|
2610
2588
|
|
|
2611
2589
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2612
|
-
import { IsArray as
|
|
2613
|
-
import { Type as
|
|
2590
|
+
import { IsArray as IsArray4, ValidateNested as ValidateNested4, IsString as IsString23, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional16, IsDateString } from "class-validator";
|
|
2591
|
+
import { Type as Type5 } from "class-transformer";
|
|
2614
2592
|
var CreateProjectDto = class {
|
|
2615
2593
|
};
|
|
2616
2594
|
__decorateClass([
|
|
2617
2595
|
IsOptional16()
|
|
2618
2596
|
], CreateProjectDto.prototype, "uuid", 2);
|
|
2619
2597
|
__decorateClass([
|
|
2620
|
-
|
|
2621
|
-
|
|
2598
|
+
IsString23(),
|
|
2599
|
+
IsNotEmpty32()
|
|
2622
2600
|
], CreateProjectDto.prototype, "projectName", 2);
|
|
2623
2601
|
__decorateClass([
|
|
2624
2602
|
IsDateString(),
|
|
2625
|
-
|
|
2603
|
+
IsNotEmpty32()
|
|
2626
2604
|
], CreateProjectDto.prototype, "startDate", 2);
|
|
2627
2605
|
__decorateClass([
|
|
2628
2606
|
IsDateString(),
|
|
2629
|
-
|
|
2607
|
+
IsNotEmpty32()
|
|
2630
2608
|
], CreateProjectDto.prototype, "endDate", 2);
|
|
2631
2609
|
__decorateClass([
|
|
2632
2610
|
IsOptional16(),
|
|
2633
|
-
|
|
2611
|
+
IsString23()
|
|
2634
2612
|
], CreateProjectDto.prototype, "clientName", 2);
|
|
2635
2613
|
__decorateClass([
|
|
2636
2614
|
IsOptional16(),
|
|
2637
|
-
|
|
2615
|
+
IsString23()
|
|
2638
2616
|
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2639
2617
|
__decorateClass([
|
|
2640
2618
|
IsOptional16(),
|
|
2641
|
-
|
|
2619
|
+
IsString23()
|
|
2642
2620
|
], CreateProjectDto.prototype, "description", 2);
|
|
2643
2621
|
var CreateCaseStudyDto = class {
|
|
2644
2622
|
};
|
|
@@ -2646,28 +2624,28 @@ __decorateClass([
|
|
|
2646
2624
|
IsOptional16()
|
|
2647
2625
|
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2648
2626
|
__decorateClass([
|
|
2649
|
-
|
|
2650
|
-
|
|
2627
|
+
IsString23(),
|
|
2628
|
+
IsNotEmpty32()
|
|
2651
2629
|
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2652
2630
|
__decorateClass([
|
|
2653
|
-
|
|
2654
|
-
|
|
2631
|
+
IsString23(),
|
|
2632
|
+
IsNotEmpty32()
|
|
2655
2633
|
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2656
2634
|
__decorateClass([
|
|
2657
2635
|
IsOptional16(),
|
|
2658
|
-
|
|
2636
|
+
IsString23()
|
|
2659
2637
|
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2660
2638
|
var CreateFreelancerProjectDto = class {
|
|
2661
2639
|
};
|
|
2662
2640
|
__decorateClass([
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2641
|
+
IsArray4(),
|
|
2642
|
+
ValidateNested4({ each: true }),
|
|
2643
|
+
Type5(() => CreateProjectDto)
|
|
2666
2644
|
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2667
2645
|
__decorateClass([
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2646
|
+
IsArray4(),
|
|
2647
|
+
ValidateNested4({ each: true }),
|
|
2648
|
+
Type5(() => CreateCaseStudyDto)
|
|
2671
2649
|
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2672
2650
|
|
|
2673
2651
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
@@ -3007,9 +2985,7 @@ export {
|
|
|
3007
2985
|
CreateCompanyMemberDto,
|
|
3008
2986
|
CreateCompanyRoleDto,
|
|
3009
2987
|
CreateEducationDto,
|
|
3010
|
-
CreateExperienceDto,
|
|
3011
2988
|
CreateFreelancerEducationDto,
|
|
3012
|
-
CreateFreelancerExperienceDto,
|
|
3013
2989
|
CreateFreelancerProjectDto,
|
|
3014
2990
|
CreateProjectDto,
|
|
3015
2991
|
CreateQuestionDto,
|
|
@@ -3017,6 +2993,7 @@ export {
|
|
|
3017
2993
|
CreateSubAdminDto,
|
|
3018
2994
|
DurationTypeEnum,
|
|
3019
2995
|
EmploymentType,
|
|
2996
|
+
ExperienceDto,
|
|
3020
2997
|
FREELANCER_EDUCATION_PATTERN,
|
|
3021
2998
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
3022
2999
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -3029,6 +3006,7 @@ export {
|
|
|
3029
3006
|
FreelancerDevelopmentPreferenceDto,
|
|
3030
3007
|
FreelancerEducation,
|
|
3031
3008
|
FreelancerExperience,
|
|
3009
|
+
FreelancerExperienceDto,
|
|
3032
3010
|
FreelancerProfile,
|
|
3033
3011
|
FreelancerProfileQuestionDto,
|
|
3034
3012
|
FreelancerProject,
|
|
@@ -3100,9 +3078,7 @@ export {
|
|
|
3100
3078
|
UpdateCompanyProfileDto,
|
|
3101
3079
|
UpdateCompanyRoleDto,
|
|
3102
3080
|
UpdateEducationDto,
|
|
3103
|
-
UpdateExperienceDto,
|
|
3104
3081
|
UpdateFreelancerEducationDto,
|
|
3105
|
-
UpdateFreelancerExperienceDto,
|
|
3106
3082
|
UpdateFreelancerProfileDto,
|
|
3107
3083
|
UpdateSubAdminAccountStatusDto,
|
|
3108
3084
|
UpdateSubAdminDto,
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './update-freelancer-experience.dto';
|
|
1
|
+
export * from './freelancer-experience.dto';
|
package/package.json
CHANGED