@experts_hub/shared 1.0.150 → 1.0.152
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 +12 -23
- package/dist/index.d.ts +12 -23
- package/dist/index.js +69 -99
- package/dist/index.mjs +59 -87
- package/dist/modules/user/freelancer-education/dto/freelancer-education.dto.d.ts +9 -0
- package/dist/modules/user/freelancer-education/dto/index.d.ts +1 -2
- package/dist/modules/user/freelancer-education/pattern/pattern.d.ts +1 -2
- package/dist/modules/user/freelancer-experience/pattern/pattern.d.ts +1 -2
- package/dist/modules/user/freelancer-project/dto/{update-freelancer-project.dto.d.ts → freelancer-project.dto.d.ts} +5 -5
- package/dist/modules/user/freelancer-project/dto/index.d.ts +1 -1
- package/dist/modules/user/freelancer-project/pattern/pattern.d.ts +1 -1
- package/package.json +1 -1
- package/dist/modules/user/freelancer-education/dto/create-freelancer-education.dto.d.ts +0 -8
- package/dist/modules/user/freelancer-education/dto/update-freelancer-education.dto.d.ts +0 -9
package/dist/index.d.mts
CHANGED
|
@@ -1042,8 +1042,7 @@ 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
1048
|
declare class ExperienceDto {
|
|
@@ -1146,35 +1145,25 @@ interface IAttachPermissionsToCompanyMemberResponse {
|
|
|
1146
1145
|
|
|
1147
1146
|
declare const FREELANCER_EDUCATION_PATTERN: {
|
|
1148
1147
|
fetchFreelancerEducation: string;
|
|
1149
|
-
|
|
1150
|
-
updateFreelancerEducation: string;
|
|
1148
|
+
saveFreelancerEducation: string;
|
|
1151
1149
|
};
|
|
1152
1150
|
|
|
1153
|
-
declare class
|
|
1154
|
-
degree: string;
|
|
1155
|
-
university: string;
|
|
1156
|
-
yearOfGraduation: string;
|
|
1157
|
-
}
|
|
1158
|
-
declare class CreateFreelancerEducationDto {
|
|
1159
|
-
education: CreateEducationDto[];
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
declare class UpdateEducationDto {
|
|
1151
|
+
declare class EducationDto {
|
|
1163
1152
|
uuid?: string;
|
|
1164
1153
|
degree: string;
|
|
1165
1154
|
university: string;
|
|
1166
1155
|
yearOfGraduation: string;
|
|
1167
1156
|
}
|
|
1168
|
-
declare class
|
|
1169
|
-
education:
|
|
1157
|
+
declare class FreelancerEducationDto {
|
|
1158
|
+
education: EducationDto[];
|
|
1170
1159
|
}
|
|
1171
1160
|
|
|
1172
1161
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1173
1162
|
fetchFreelancerProject: string;
|
|
1174
|
-
|
|
1163
|
+
saveFreelancerProject: string;
|
|
1175
1164
|
};
|
|
1176
1165
|
|
|
1177
|
-
declare class
|
|
1166
|
+
declare class ProjectDto {
|
|
1178
1167
|
uuid?: string;
|
|
1179
1168
|
projectName: string;
|
|
1180
1169
|
startDate: string;
|
|
@@ -1183,15 +1172,15 @@ declare class CreateProjectDto {
|
|
|
1183
1172
|
gitLink?: string;
|
|
1184
1173
|
description?: string;
|
|
1185
1174
|
}
|
|
1186
|
-
declare class
|
|
1175
|
+
declare class CaseStudyDto {
|
|
1187
1176
|
uuid?: string;
|
|
1188
1177
|
projectName: string;
|
|
1189
1178
|
caseStudyLink: string;
|
|
1190
1179
|
description?: string;
|
|
1191
1180
|
}
|
|
1192
|
-
declare class
|
|
1193
|
-
project:
|
|
1194
|
-
casestudy:
|
|
1181
|
+
declare class FreelancerProjectDto {
|
|
1182
|
+
project: ProjectDto[];
|
|
1183
|
+
casestudy: CaseStudyDto[];
|
|
1195
1184
|
}
|
|
1196
1185
|
|
|
1197
1186
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1244,4 +1233,4 @@ declare class Plan extends BaseEntity {
|
|
|
1244
1233
|
features: Feature[];
|
|
1245
1234
|
}
|
|
1246
1235
|
|
|
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,
|
|
1236
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, ProjectDto, 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, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -1042,8 +1042,7 @@ 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
1048
|
declare class ExperienceDto {
|
|
@@ -1146,35 +1145,25 @@ interface IAttachPermissionsToCompanyMemberResponse {
|
|
|
1146
1145
|
|
|
1147
1146
|
declare const FREELANCER_EDUCATION_PATTERN: {
|
|
1148
1147
|
fetchFreelancerEducation: string;
|
|
1149
|
-
|
|
1150
|
-
updateFreelancerEducation: string;
|
|
1148
|
+
saveFreelancerEducation: string;
|
|
1151
1149
|
};
|
|
1152
1150
|
|
|
1153
|
-
declare class
|
|
1154
|
-
degree: string;
|
|
1155
|
-
university: string;
|
|
1156
|
-
yearOfGraduation: string;
|
|
1157
|
-
}
|
|
1158
|
-
declare class CreateFreelancerEducationDto {
|
|
1159
|
-
education: CreateEducationDto[];
|
|
1160
|
-
}
|
|
1161
|
-
|
|
1162
|
-
declare class UpdateEducationDto {
|
|
1151
|
+
declare class EducationDto {
|
|
1163
1152
|
uuid?: string;
|
|
1164
1153
|
degree: string;
|
|
1165
1154
|
university: string;
|
|
1166
1155
|
yearOfGraduation: string;
|
|
1167
1156
|
}
|
|
1168
|
-
declare class
|
|
1169
|
-
education:
|
|
1157
|
+
declare class FreelancerEducationDto {
|
|
1158
|
+
education: EducationDto[];
|
|
1170
1159
|
}
|
|
1171
1160
|
|
|
1172
1161
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1173
1162
|
fetchFreelancerProject: string;
|
|
1174
|
-
|
|
1163
|
+
saveFreelancerProject: string;
|
|
1175
1164
|
};
|
|
1176
1165
|
|
|
1177
|
-
declare class
|
|
1166
|
+
declare class ProjectDto {
|
|
1178
1167
|
uuid?: string;
|
|
1179
1168
|
projectName: string;
|
|
1180
1169
|
startDate: string;
|
|
@@ -1183,15 +1172,15 @@ declare class CreateProjectDto {
|
|
|
1183
1172
|
gitLink?: string;
|
|
1184
1173
|
description?: string;
|
|
1185
1174
|
}
|
|
1186
|
-
declare class
|
|
1175
|
+
declare class CaseStudyDto {
|
|
1187
1176
|
uuid?: string;
|
|
1188
1177
|
projectName: string;
|
|
1189
1178
|
caseStudyLink: string;
|
|
1190
1179
|
description?: string;
|
|
1191
1180
|
}
|
|
1192
|
-
declare class
|
|
1193
|
-
project:
|
|
1194
|
-
casestudy:
|
|
1181
|
+
declare class FreelancerProjectDto {
|
|
1182
|
+
project: ProjectDto[];
|
|
1183
|
+
casestudy: CaseStudyDto[];
|
|
1195
1184
|
}
|
|
1196
1185
|
|
|
1197
1186
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1244,4 +1233,4 @@ declare class Plan extends BaseEntity {
|
|
|
1244
1233
|
features: Feature[];
|
|
1245
1234
|
}
|
|
1246
1235
|
|
|
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,
|
|
1236
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_MEMBERS_PATTERNS, COMPANY_ROLES_PATTERNS, CaseStudyDto, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EducationDto, EmploymentType, ExperienceDto, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerEducationDto, FreelancerExperience, FreelancerExperienceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerProject, FreelancerProjectDto, 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, ProjectDto, 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, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -40,22 +40,19 @@ __export(index_exports, {
|
|
|
40
40
|
CLIENT_PROFILE_PATTERN: () => CLIENT_PROFILE_PATTERN,
|
|
41
41
|
COMPANY_MEMBERS_PATTERNS: () => COMPANY_MEMBERS_PATTERNS,
|
|
42
42
|
COMPANY_ROLES_PATTERNS: () => COMPANY_ROLES_PATTERNS,
|
|
43
|
+
CaseStudyDto: () => CaseStudyDto,
|
|
43
44
|
ClientChangePasswordDto: () => ClientChangePasswordDto,
|
|
44
45
|
ClientCreateAccountDto: () => ClientCreateAccountDto,
|
|
45
46
|
ClientProfileQuestionDto: () => ClientProfileQuestionDto,
|
|
46
47
|
CompanyProfile: () => CompanyProfile,
|
|
47
48
|
CompanyRole: () => CompanyRole,
|
|
48
|
-
CreateCaseStudyDto: () => CreateCaseStudyDto,
|
|
49
49
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
50
50
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
51
|
-
CreateEducationDto: () => CreateEducationDto,
|
|
52
|
-
CreateFreelancerEducationDto: () => CreateFreelancerEducationDto,
|
|
53
|
-
CreateFreelancerProjectDto: () => CreateFreelancerProjectDto,
|
|
54
|
-
CreateProjectDto: () => CreateProjectDto,
|
|
55
51
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
56
52
|
CreateRatingDto: () => CreateRatingDto,
|
|
57
53
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
58
54
|
DurationTypeEnum: () => DurationTypeEnum,
|
|
55
|
+
EducationDto: () => EducationDto,
|
|
59
56
|
EmploymentType: () => EmploymentType,
|
|
60
57
|
ExperienceDto: () => ExperienceDto,
|
|
61
58
|
FREELANCER_EDUCATION_PATTERN: () => FREELANCER_EDUCATION_PATTERN,
|
|
@@ -69,11 +66,13 @@ __export(index_exports, {
|
|
|
69
66
|
FreelancerCreateAccountDto: () => FreelancerCreateAccountDto,
|
|
70
67
|
FreelancerDevelopmentPreferenceDto: () => FreelancerDevelopmentPreferenceDto,
|
|
71
68
|
FreelancerEducation: () => FreelancerEducation,
|
|
69
|
+
FreelancerEducationDto: () => FreelancerEducationDto,
|
|
72
70
|
FreelancerExperience: () => FreelancerExperience,
|
|
73
71
|
FreelancerExperienceDto: () => FreelancerExperienceDto,
|
|
74
72
|
FreelancerProfile: () => FreelancerProfile,
|
|
75
73
|
FreelancerProfileQuestionDto: () => FreelancerProfileQuestionDto,
|
|
76
74
|
FreelancerProject: () => FreelancerProject,
|
|
75
|
+
FreelancerProjectDto: () => FreelancerProjectDto,
|
|
77
76
|
FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
|
|
78
77
|
FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
|
|
79
78
|
FromUsOn: () => FromUsOn,
|
|
@@ -114,6 +113,7 @@ __export(index_exports, {
|
|
|
114
113
|
PLAN_PATTERN: () => PLAN_PATTERN,
|
|
115
114
|
PROFILE_PATTERN: () => PROFILE_PATTERN,
|
|
116
115
|
Plan: () => Plan,
|
|
116
|
+
ProjectDto: () => ProjectDto,
|
|
117
117
|
Provider: () => Provider,
|
|
118
118
|
QUESTION_PATTERN: () => QUESTION_PATTERN,
|
|
119
119
|
Question: () => Question,
|
|
@@ -141,8 +141,6 @@ __export(index_exports, {
|
|
|
141
141
|
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
142
142
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
143
143
|
UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
|
|
144
|
-
UpdateEducationDto: () => UpdateEducationDto,
|
|
145
|
-
UpdateFreelancerEducationDto: () => UpdateFreelancerEducationDto,
|
|
146
144
|
UpdateFreelancerProfileDto: () => UpdateFreelancerProfileDto,
|
|
147
145
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
148
146
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
@@ -1909,7 +1907,7 @@ __decorateClass([
|
|
|
1909
1907
|
(0, import_typeorm14.JoinColumn)({ name: "user_id" })
|
|
1910
1908
|
], SystemPreference.prototype, "user", 2);
|
|
1911
1909
|
__decorateClass([
|
|
1912
|
-
(0, import_typeorm14.Column)({ name: "key", type: "varchar",
|
|
1910
|
+
(0, import_typeorm14.Column)({ name: "key", type: "varchar", nullable: false })
|
|
1913
1911
|
], SystemPreference.prototype, "key", 2);
|
|
1914
1912
|
__decorateClass([
|
|
1915
1913
|
(0, import_typeorm14.Column)({ name: "value", type: "boolean", default: false })
|
|
@@ -2382,8 +2380,7 @@ __decorateClass([
|
|
|
2382
2380
|
// src/modules/user/freelancer-experience/pattern/pattern.ts
|
|
2383
2381
|
var FREELANCER_EXPERIENCE_PATTERN = {
|
|
2384
2382
|
fetchFreelancerExperience: "fetch.freelancer.experience",
|
|
2385
|
-
|
|
2386
|
-
updateFreelancerExperience: "update.freelancer.experience"
|
|
2383
|
+
saveFreelancerExperience: "save.freelancer.experience"
|
|
2387
2384
|
};
|
|
2388
2385
|
|
|
2389
2386
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
@@ -2465,130 +2462,105 @@ __decorateClass([
|
|
|
2465
2462
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
2466
2463
|
var FREELANCER_EDUCATION_PATTERN = {
|
|
2467
2464
|
fetchFreelancerEducation: "fetch.freelancer.education",
|
|
2468
|
-
|
|
2469
|
-
updateFreelancerEducation: "update.freelancer.education"
|
|
2465
|
+
saveFreelancerEducation: "save.freelancer.education"
|
|
2470
2466
|
};
|
|
2471
2467
|
|
|
2472
|
-
// src/modules/user/freelancer-education/dto/
|
|
2468
|
+
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
2473
2469
|
var import_class_validator38 = require("class-validator");
|
|
2474
2470
|
var import_class_transformer3 = require("class-transformer");
|
|
2475
|
-
var
|
|
2471
|
+
var EducationDto = class {
|
|
2476
2472
|
};
|
|
2473
|
+
__decorateClass([
|
|
2474
|
+
(0, import_class_validator38.IsOptional)()
|
|
2475
|
+
], EducationDto.prototype, "uuid", 2);
|
|
2477
2476
|
__decorateClass([
|
|
2478
2477
|
(0, import_class_validator38.IsString)(),
|
|
2479
2478
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2480
|
-
],
|
|
2479
|
+
], EducationDto.prototype, "degree", 2);
|
|
2481
2480
|
__decorateClass([
|
|
2482
2481
|
(0, import_class_validator38.IsString)(),
|
|
2483
2482
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2484
|
-
],
|
|
2483
|
+
], EducationDto.prototype, "university", 2);
|
|
2485
2484
|
__decorateClass([
|
|
2486
2485
|
(0, import_class_validator38.IsString)(),
|
|
2487
2486
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2488
|
-
],
|
|
2489
|
-
var
|
|
2487
|
+
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
2488
|
+
var FreelancerEducationDto = class {
|
|
2490
2489
|
};
|
|
2491
2490
|
__decorateClass([
|
|
2492
2491
|
(0, import_class_validator38.IsArray)(),
|
|
2493
2492
|
(0, import_class_validator38.ValidateNested)({ each: true }),
|
|
2494
|
-
(0, import_class_transformer3.Type)(() =>
|
|
2495
|
-
],
|
|
2493
|
+
(0, import_class_transformer3.Type)(() => EducationDto)
|
|
2494
|
+
], FreelancerEducationDto.prototype, "education", 2);
|
|
2496
2495
|
|
|
2497
|
-
// src/modules/user/freelancer-
|
|
2496
|
+
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2497
|
+
var FREELANCER_PROJECT_PATTERN = {
|
|
2498
|
+
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2499
|
+
saveFreelancerProject: "save.freelancer.project"
|
|
2500
|
+
};
|
|
2501
|
+
|
|
2502
|
+
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
2498
2503
|
var import_class_validator39 = require("class-validator");
|
|
2499
2504
|
var import_class_transformer4 = require("class-transformer");
|
|
2500
|
-
var
|
|
2505
|
+
var ProjectDto = class {
|
|
2501
2506
|
};
|
|
2502
2507
|
__decorateClass([
|
|
2503
2508
|
(0, import_class_validator39.IsOptional)()
|
|
2504
|
-
],
|
|
2509
|
+
], ProjectDto.prototype, "uuid", 2);
|
|
2505
2510
|
__decorateClass([
|
|
2506
2511
|
(0, import_class_validator39.IsString)(),
|
|
2507
2512
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2508
|
-
],
|
|
2513
|
+
], ProjectDto.prototype, "projectName", 2);
|
|
2509
2514
|
__decorateClass([
|
|
2510
|
-
(0, import_class_validator39.
|
|
2515
|
+
(0, import_class_validator39.IsDateString)(),
|
|
2511
2516
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2512
|
-
],
|
|
2517
|
+
], ProjectDto.prototype, "startDate", 2);
|
|
2513
2518
|
__decorateClass([
|
|
2514
|
-
(0, import_class_validator39.
|
|
2519
|
+
(0, import_class_validator39.IsDateString)(),
|
|
2515
2520
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2516
|
-
],
|
|
2517
|
-
var UpdateFreelancerEducationDto = class {
|
|
2518
|
-
};
|
|
2521
|
+
], ProjectDto.prototype, "endDate", 2);
|
|
2519
2522
|
__decorateClass([
|
|
2520
|
-
(0, import_class_validator39.
|
|
2521
|
-
(0, import_class_validator39.
|
|
2522
|
-
|
|
2523
|
-
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2524
|
-
|
|
2525
|
-
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2526
|
-
var FREELANCER_PROJECT_PATTERN = {
|
|
2527
|
-
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2528
|
-
createFreelancerProject: "create.freelancer.project"
|
|
2529
|
-
};
|
|
2530
|
-
|
|
2531
|
-
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2532
|
-
var import_class_validator40 = require("class-validator");
|
|
2533
|
-
var import_class_transformer5 = require("class-transformer");
|
|
2534
|
-
var CreateProjectDto = class {
|
|
2535
|
-
};
|
|
2536
|
-
__decorateClass([
|
|
2537
|
-
(0, import_class_validator40.IsOptional)()
|
|
2538
|
-
], CreateProjectDto.prototype, "uuid", 2);
|
|
2539
|
-
__decorateClass([
|
|
2540
|
-
(0, import_class_validator40.IsString)(),
|
|
2541
|
-
(0, import_class_validator40.IsNotEmpty)()
|
|
2542
|
-
], CreateProjectDto.prototype, "projectName", 2);
|
|
2543
|
-
__decorateClass([
|
|
2544
|
-
(0, import_class_validator40.IsDateString)(),
|
|
2545
|
-
(0, import_class_validator40.IsNotEmpty)()
|
|
2546
|
-
], CreateProjectDto.prototype, "startDate", 2);
|
|
2523
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2524
|
+
(0, import_class_validator39.IsString)()
|
|
2525
|
+
], ProjectDto.prototype, "clientName", 2);
|
|
2547
2526
|
__decorateClass([
|
|
2548
|
-
(0,
|
|
2549
|
-
(0,
|
|
2550
|
-
],
|
|
2527
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2528
|
+
(0, import_class_validator39.IsString)()
|
|
2529
|
+
], ProjectDto.prototype, "gitLink", 2);
|
|
2551
2530
|
__decorateClass([
|
|
2552
|
-
(0,
|
|
2553
|
-
(0,
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
(0, import_class_validator40.IsString)()
|
|
2558
|
-
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2559
|
-
__decorateClass([
|
|
2560
|
-
(0, import_class_validator40.IsOptional)(),
|
|
2561
|
-
(0, import_class_validator40.IsString)()
|
|
2562
|
-
], CreateProjectDto.prototype, "description", 2);
|
|
2563
|
-
var CreateCaseStudyDto = class {
|
|
2531
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2532
|
+
(0, import_class_validator39.IsString)(),
|
|
2533
|
+
(0, import_class_validator39.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
2534
|
+
], ProjectDto.prototype, "description", 2);
|
|
2535
|
+
var CaseStudyDto = class {
|
|
2564
2536
|
};
|
|
2565
2537
|
__decorateClass([
|
|
2566
|
-
(0,
|
|
2567
|
-
],
|
|
2538
|
+
(0, import_class_validator39.IsOptional)()
|
|
2539
|
+
], CaseStudyDto.prototype, "uuid", 2);
|
|
2568
2540
|
__decorateClass([
|
|
2569
|
-
(0,
|
|
2570
|
-
(0,
|
|
2571
|
-
],
|
|
2541
|
+
(0, import_class_validator39.IsString)(),
|
|
2542
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2543
|
+
], CaseStudyDto.prototype, "projectName", 2);
|
|
2572
2544
|
__decorateClass([
|
|
2573
|
-
(0,
|
|
2574
|
-
(0,
|
|
2575
|
-
],
|
|
2545
|
+
(0, import_class_validator39.IsString)(),
|
|
2546
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2547
|
+
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2576
2548
|
__decorateClass([
|
|
2577
|
-
(0,
|
|
2578
|
-
(0,
|
|
2579
|
-
],
|
|
2580
|
-
var
|
|
2549
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2550
|
+
(0, import_class_validator39.IsString)()
|
|
2551
|
+
], CaseStudyDto.prototype, "description", 2);
|
|
2552
|
+
var FreelancerProjectDto = class {
|
|
2581
2553
|
};
|
|
2582
2554
|
__decorateClass([
|
|
2583
|
-
(0,
|
|
2584
|
-
(0,
|
|
2585
|
-
(0,
|
|
2586
|
-
],
|
|
2555
|
+
(0, import_class_validator39.IsArray)(),
|
|
2556
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2557
|
+
(0, import_class_transformer4.Type)(() => ProjectDto)
|
|
2558
|
+
], FreelancerProjectDto.prototype, "project", 2);
|
|
2587
2559
|
__decorateClass([
|
|
2588
|
-
(0,
|
|
2589
|
-
(0,
|
|
2590
|
-
(0,
|
|
2591
|
-
],
|
|
2560
|
+
(0, import_class_validator39.IsArray)(),
|
|
2561
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2562
|
+
(0, import_class_transformer4.Type)(() => CaseStudyDto)
|
|
2563
|
+
], FreelancerProjectDto.prototype, "casestudy", 2);
|
|
2592
2564
|
|
|
2593
2565
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2594
2566
|
var import_dotenv = require("dotenv");
|
|
@@ -2919,22 +2891,19 @@ Plan = __decorateClass([
|
|
|
2919
2891
|
CLIENT_PROFILE_PATTERN,
|
|
2920
2892
|
COMPANY_MEMBERS_PATTERNS,
|
|
2921
2893
|
COMPANY_ROLES_PATTERNS,
|
|
2894
|
+
CaseStudyDto,
|
|
2922
2895
|
ClientChangePasswordDto,
|
|
2923
2896
|
ClientCreateAccountDto,
|
|
2924
2897
|
ClientProfileQuestionDto,
|
|
2925
2898
|
CompanyProfile,
|
|
2926
2899
|
CompanyRole,
|
|
2927
|
-
CreateCaseStudyDto,
|
|
2928
2900
|
CreateCompanyMemberDto,
|
|
2929
2901
|
CreateCompanyRoleDto,
|
|
2930
|
-
CreateEducationDto,
|
|
2931
|
-
CreateFreelancerEducationDto,
|
|
2932
|
-
CreateFreelancerProjectDto,
|
|
2933
|
-
CreateProjectDto,
|
|
2934
2902
|
CreateQuestionDto,
|
|
2935
2903
|
CreateRatingDto,
|
|
2936
2904
|
CreateSubAdminDto,
|
|
2937
2905
|
DurationTypeEnum,
|
|
2906
|
+
EducationDto,
|
|
2938
2907
|
EmploymentType,
|
|
2939
2908
|
ExperienceDto,
|
|
2940
2909
|
FREELANCER_EDUCATION_PATTERN,
|
|
@@ -2948,11 +2917,13 @@ Plan = __decorateClass([
|
|
|
2948
2917
|
FreelancerCreateAccountDto,
|
|
2949
2918
|
FreelancerDevelopmentPreferenceDto,
|
|
2950
2919
|
FreelancerEducation,
|
|
2920
|
+
FreelancerEducationDto,
|
|
2951
2921
|
FreelancerExperience,
|
|
2952
2922
|
FreelancerExperienceDto,
|
|
2953
2923
|
FreelancerProfile,
|
|
2954
2924
|
FreelancerProfileQuestionDto,
|
|
2955
2925
|
FreelancerProject,
|
|
2926
|
+
FreelancerProjectDto,
|
|
2956
2927
|
FreelancerUploadResumeDto,
|
|
2957
2928
|
FreelancerWorkShowcaseDto,
|
|
2958
2929
|
FromUsOn,
|
|
@@ -2993,6 +2964,7 @@ Plan = __decorateClass([
|
|
|
2993
2964
|
PLAN_PATTERN,
|
|
2994
2965
|
PROFILE_PATTERN,
|
|
2995
2966
|
Plan,
|
|
2967
|
+
ProjectDto,
|
|
2996
2968
|
Provider,
|
|
2997
2969
|
QUESTION_PATTERN,
|
|
2998
2970
|
Question,
|
|
@@ -3020,8 +2992,6 @@ Plan = __decorateClass([
|
|
|
3020
2992
|
UpdateCompanyMemberDto,
|
|
3021
2993
|
UpdateCompanyProfileDto,
|
|
3022
2994
|
UpdateCompanyRoleDto,
|
|
3023
|
-
UpdateEducationDto,
|
|
3024
|
-
UpdateFreelancerEducationDto,
|
|
3025
2995
|
UpdateFreelancerProfileDto,
|
|
3026
2996
|
UpdateSubAdminAccountStatusDto,
|
|
3027
2997
|
UpdateSubAdminDto,
|
package/dist/index.mjs
CHANGED
|
@@ -1938,7 +1938,7 @@ __decorateClass([
|
|
|
1938
1938
|
JoinColumn12({ name: "user_id" })
|
|
1939
1939
|
], SystemPreference.prototype, "user", 2);
|
|
1940
1940
|
__decorateClass([
|
|
1941
|
-
Column14({ name: "key", type: "varchar",
|
|
1941
|
+
Column14({ name: "key", type: "varchar", nullable: false })
|
|
1942
1942
|
], SystemPreference.prototype, "key", 2);
|
|
1943
1943
|
__decorateClass([
|
|
1944
1944
|
Column14({ name: "value", type: "boolean", default: false })
|
|
@@ -2435,8 +2435,7 @@ __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
2441
|
// src/modules/user/freelancer-experience/dto/freelancer-experience.dto.ts
|
|
@@ -2524,130 +2523,105 @@ __decorateClass([
|
|
|
2524
2523
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
2525
2524
|
var FREELANCER_EDUCATION_PATTERN = {
|
|
2526
2525
|
fetchFreelancerEducation: "fetch.freelancer.education",
|
|
2527
|
-
|
|
2528
|
-
updateFreelancerEducation: "update.freelancer.education"
|
|
2526
|
+
saveFreelancerEducation: "save.freelancer.education"
|
|
2529
2527
|
};
|
|
2530
2528
|
|
|
2531
|
-
// src/modules/user/freelancer-education/dto/
|
|
2532
|
-
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString21, IsNotEmpty as IsNotEmpty30 } from "class-validator";
|
|
2529
|
+
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
2530
|
+
import { IsArray as IsArray2, ValidateNested as ValidateNested2, IsString as IsString21, IsNotEmpty as IsNotEmpty30, IsOptional as IsOptional15 } from "class-validator";
|
|
2533
2531
|
import { Type as Type3 } from "class-transformer";
|
|
2534
|
-
var
|
|
2532
|
+
var EducationDto = class {
|
|
2535
2533
|
};
|
|
2534
|
+
__decorateClass([
|
|
2535
|
+
IsOptional15()
|
|
2536
|
+
], EducationDto.prototype, "uuid", 2);
|
|
2536
2537
|
__decorateClass([
|
|
2537
2538
|
IsString21(),
|
|
2538
2539
|
IsNotEmpty30()
|
|
2539
|
-
],
|
|
2540
|
+
], EducationDto.prototype, "degree", 2);
|
|
2540
2541
|
__decorateClass([
|
|
2541
2542
|
IsString21(),
|
|
2542
2543
|
IsNotEmpty30()
|
|
2543
|
-
],
|
|
2544
|
+
], EducationDto.prototype, "university", 2);
|
|
2544
2545
|
__decorateClass([
|
|
2545
2546
|
IsString21(),
|
|
2546
2547
|
IsNotEmpty30()
|
|
2547
|
-
],
|
|
2548
|
-
var
|
|
2548
|
+
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
2549
|
+
var FreelancerEducationDto = class {
|
|
2549
2550
|
};
|
|
2550
2551
|
__decorateClass([
|
|
2551
2552
|
IsArray2(),
|
|
2552
2553
|
ValidateNested2({ each: true }),
|
|
2553
|
-
Type3(() =>
|
|
2554
|
-
],
|
|
2555
|
-
|
|
2556
|
-
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
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";
|
|
2559
|
-
var UpdateEducationDto = class {
|
|
2560
|
-
};
|
|
2561
|
-
__decorateClass([
|
|
2562
|
-
IsOptional15()
|
|
2563
|
-
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2564
|
-
__decorateClass([
|
|
2565
|
-
IsString22(),
|
|
2566
|
-
IsNotEmpty31()
|
|
2567
|
-
], UpdateEducationDto.prototype, "degree", 2);
|
|
2568
|
-
__decorateClass([
|
|
2569
|
-
IsString22(),
|
|
2570
|
-
IsNotEmpty31()
|
|
2571
|
-
], UpdateEducationDto.prototype, "university", 2);
|
|
2572
|
-
__decorateClass([
|
|
2573
|
-
IsString22(),
|
|
2574
|
-
IsNotEmpty31()
|
|
2575
|
-
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2576
|
-
var UpdateFreelancerEducationDto = class {
|
|
2577
|
-
};
|
|
2578
|
-
__decorateClass([
|
|
2579
|
-
IsArray3(),
|
|
2580
|
-
ValidateNested3({ each: true }),
|
|
2581
|
-
Type4(() => UpdateEducationDto)
|
|
2582
|
-
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2554
|
+
Type3(() => EducationDto)
|
|
2555
|
+
], FreelancerEducationDto.prototype, "education", 2);
|
|
2583
2556
|
|
|
2584
2557
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2585
2558
|
var FREELANCER_PROJECT_PATTERN = {
|
|
2586
2559
|
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2587
|
-
|
|
2560
|
+
saveFreelancerProject: "save.freelancer.project"
|
|
2588
2561
|
};
|
|
2589
2562
|
|
|
2590
|
-
// src/modules/user/freelancer-project/dto/
|
|
2591
|
-
import { IsArray as
|
|
2592
|
-
import { Type as
|
|
2593
|
-
var
|
|
2563
|
+
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
2564
|
+
import { IsArray as IsArray3, ValidateNested as ValidateNested3, IsString as IsString22, IsNotEmpty as IsNotEmpty31, IsOptional as IsOptional16, IsDateString, MaxLength as MaxLength13 } from "class-validator";
|
|
2565
|
+
import { Type as Type4 } from "class-transformer";
|
|
2566
|
+
var ProjectDto = class {
|
|
2594
2567
|
};
|
|
2595
2568
|
__decorateClass([
|
|
2596
2569
|
IsOptional16()
|
|
2597
|
-
],
|
|
2570
|
+
], ProjectDto.prototype, "uuid", 2);
|
|
2598
2571
|
__decorateClass([
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
],
|
|
2572
|
+
IsString22(),
|
|
2573
|
+
IsNotEmpty31()
|
|
2574
|
+
], ProjectDto.prototype, "projectName", 2);
|
|
2602
2575
|
__decorateClass([
|
|
2603
2576
|
IsDateString(),
|
|
2604
|
-
|
|
2605
|
-
],
|
|
2577
|
+
IsNotEmpty31()
|
|
2578
|
+
], ProjectDto.prototype, "startDate", 2);
|
|
2606
2579
|
__decorateClass([
|
|
2607
2580
|
IsDateString(),
|
|
2608
|
-
|
|
2609
|
-
],
|
|
2581
|
+
IsNotEmpty31()
|
|
2582
|
+
], ProjectDto.prototype, "endDate", 2);
|
|
2610
2583
|
__decorateClass([
|
|
2611
2584
|
IsOptional16(),
|
|
2612
|
-
|
|
2613
|
-
],
|
|
2585
|
+
IsString22()
|
|
2586
|
+
], ProjectDto.prototype, "clientName", 2);
|
|
2614
2587
|
__decorateClass([
|
|
2615
2588
|
IsOptional16(),
|
|
2616
|
-
|
|
2617
|
-
],
|
|
2589
|
+
IsString22()
|
|
2590
|
+
], ProjectDto.prototype, "gitLink", 2);
|
|
2618
2591
|
__decorateClass([
|
|
2619
2592
|
IsOptional16(),
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2593
|
+
IsString22(),
|
|
2594
|
+
MaxLength13(500, { message: "Description must not exceed 500 characters" })
|
|
2595
|
+
], ProjectDto.prototype, "description", 2);
|
|
2596
|
+
var CaseStudyDto = class {
|
|
2623
2597
|
};
|
|
2624
2598
|
__decorateClass([
|
|
2625
2599
|
IsOptional16()
|
|
2626
|
-
],
|
|
2600
|
+
], CaseStudyDto.prototype, "uuid", 2);
|
|
2627
2601
|
__decorateClass([
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
],
|
|
2602
|
+
IsString22(),
|
|
2603
|
+
IsNotEmpty31()
|
|
2604
|
+
], CaseStudyDto.prototype, "projectName", 2);
|
|
2631
2605
|
__decorateClass([
|
|
2632
|
-
|
|
2633
|
-
|
|
2634
|
-
],
|
|
2606
|
+
IsString22(),
|
|
2607
|
+
IsNotEmpty31()
|
|
2608
|
+
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2635
2609
|
__decorateClass([
|
|
2636
2610
|
IsOptional16(),
|
|
2637
|
-
|
|
2638
|
-
],
|
|
2639
|
-
var
|
|
2611
|
+
IsString22()
|
|
2612
|
+
], CaseStudyDto.prototype, "description", 2);
|
|
2613
|
+
var FreelancerProjectDto = class {
|
|
2640
2614
|
};
|
|
2641
2615
|
__decorateClass([
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
],
|
|
2616
|
+
IsArray3(),
|
|
2617
|
+
ValidateNested3({ each: true }),
|
|
2618
|
+
Type4(() => ProjectDto)
|
|
2619
|
+
], FreelancerProjectDto.prototype, "project", 2);
|
|
2646
2620
|
__decorateClass([
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
],
|
|
2621
|
+
IsArray3(),
|
|
2622
|
+
ValidateNested3({ each: true }),
|
|
2623
|
+
Type4(() => CaseStudyDto)
|
|
2624
|
+
], FreelancerProjectDto.prototype, "casestudy", 2);
|
|
2651
2625
|
|
|
2652
2626
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2653
2627
|
import { config } from "dotenv";
|
|
@@ -2977,22 +2951,19 @@ export {
|
|
|
2977
2951
|
CLIENT_PROFILE_PATTERN,
|
|
2978
2952
|
COMPANY_MEMBERS_PATTERNS,
|
|
2979
2953
|
COMPANY_ROLES_PATTERNS,
|
|
2954
|
+
CaseStudyDto,
|
|
2980
2955
|
ClientChangePasswordDto,
|
|
2981
2956
|
ClientCreateAccountDto,
|
|
2982
2957
|
ClientProfileQuestionDto,
|
|
2983
2958
|
CompanyProfile,
|
|
2984
2959
|
CompanyRole,
|
|
2985
|
-
CreateCaseStudyDto,
|
|
2986
2960
|
CreateCompanyMemberDto,
|
|
2987
2961
|
CreateCompanyRoleDto,
|
|
2988
|
-
CreateEducationDto,
|
|
2989
|
-
CreateFreelancerEducationDto,
|
|
2990
|
-
CreateFreelancerProjectDto,
|
|
2991
|
-
CreateProjectDto,
|
|
2992
2962
|
CreateQuestionDto,
|
|
2993
2963
|
CreateRatingDto,
|
|
2994
2964
|
CreateSubAdminDto,
|
|
2995
2965
|
DurationTypeEnum,
|
|
2966
|
+
EducationDto,
|
|
2996
2967
|
EmploymentType,
|
|
2997
2968
|
ExperienceDto,
|
|
2998
2969
|
FREELANCER_EDUCATION_PATTERN,
|
|
@@ -3006,11 +2977,13 @@ export {
|
|
|
3006
2977
|
FreelancerCreateAccountDto,
|
|
3007
2978
|
FreelancerDevelopmentPreferenceDto,
|
|
3008
2979
|
FreelancerEducation,
|
|
2980
|
+
FreelancerEducationDto,
|
|
3009
2981
|
FreelancerExperience,
|
|
3010
2982
|
FreelancerExperienceDto,
|
|
3011
2983
|
FreelancerProfile,
|
|
3012
2984
|
FreelancerProfileQuestionDto,
|
|
3013
2985
|
FreelancerProject,
|
|
2986
|
+
FreelancerProjectDto,
|
|
3014
2987
|
FreelancerUploadResumeDto,
|
|
3015
2988
|
FreelancerWorkShowcaseDto,
|
|
3016
2989
|
FromUsOn,
|
|
@@ -3051,6 +3024,7 @@ export {
|
|
|
3051
3024
|
PLAN_PATTERN,
|
|
3052
3025
|
PROFILE_PATTERN,
|
|
3053
3026
|
Plan,
|
|
3027
|
+
ProjectDto,
|
|
3054
3028
|
Provider,
|
|
3055
3029
|
QUESTION_PATTERN,
|
|
3056
3030
|
Question,
|
|
@@ -3078,8 +3052,6 @@ export {
|
|
|
3078
3052
|
UpdateCompanyMemberDto,
|
|
3079
3053
|
UpdateCompanyProfileDto,
|
|
3080
3054
|
UpdateCompanyRoleDto,
|
|
3081
|
-
UpdateEducationDto,
|
|
3082
|
-
UpdateFreelancerEducationDto,
|
|
3083
3055
|
UpdateFreelancerProfileDto,
|
|
3084
3056
|
UpdateSubAdminAccountStatusDto,
|
|
3085
3057
|
UpdateSubAdminDto,
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './update-freelancer-education.dto';
|
|
1
|
+
export * from './freelancer-education.dto';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class ProjectDto {
|
|
2
2
|
uuid?: string;
|
|
3
3
|
projectName: string;
|
|
4
4
|
startDate: string;
|
|
@@ -7,13 +7,13 @@ export declare class CreateProjectDto {
|
|
|
7
7
|
gitLink?: string;
|
|
8
8
|
description?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class CaseStudyDto {
|
|
11
11
|
uuid?: string;
|
|
12
12
|
projectName: string;
|
|
13
13
|
caseStudyLink: string;
|
|
14
14
|
description?: string;
|
|
15
15
|
}
|
|
16
|
-
export declare class
|
|
17
|
-
project:
|
|
18
|
-
casestudy:
|
|
16
|
+
export declare class FreelancerProjectDto {
|
|
17
|
+
project: ProjectDto[];
|
|
18
|
+
casestudy: CaseStudyDto[];
|
|
19
19
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './freelancer-project.dto';
|
package/package.json
CHANGED