@experts_hub/shared 1.0.146 → 1.0.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/freelancer-casestudy.entity.d.ts +1 -1
- package/dist/index.d.mts +14 -20
- package/dist/index.d.ts +14 -20
- package/dist/index.js +42 -55
- package/dist/index.mjs +40 -51
- package/dist/modules/authentication/pattern/pattern.d.ts +1 -0
- package/dist/modules/user/freelancer-project/dto/index.d.ts +0 -1
- package/dist/modules/user/freelancer-project/dto/update-freelancer-project.dto.d.ts +13 -6
- package/dist/modules/user/freelancer-project/pattern/pattern.d.ts +1 -5
- package/package.json +1 -1
- package/dist/modules/user/freelancer-project/dto/update-freelancer-casestudy.dto.d.ts +0 -9
package/dist/index.d.mts
CHANGED
|
@@ -10,6 +10,7 @@ declare const AUTHENTICATION_PATTERN: {
|
|
|
10
10
|
revokeSession: string;
|
|
11
11
|
handleForgotPassword: string;
|
|
12
12
|
handleResetPassword: string;
|
|
13
|
+
handleSetPassword: string;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
16
|
declare enum ScopeEnum$2 {
|
|
@@ -828,7 +829,7 @@ declare class FreelancerCaseStudy extends BaseEntity {
|
|
|
828
829
|
userId: number;
|
|
829
830
|
user: User;
|
|
830
831
|
projectName: string;
|
|
831
|
-
|
|
832
|
+
caseStudyLink: string;
|
|
832
833
|
description: string;
|
|
833
834
|
}
|
|
834
835
|
|
|
@@ -1172,34 +1173,27 @@ declare class UpdateFreelancerEducationDto {
|
|
|
1172
1173
|
|
|
1173
1174
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1174
1175
|
fetchFreelancerProject: string;
|
|
1175
|
-
|
|
1176
|
-
};
|
|
1177
|
-
declare const FREELANCER_CASESTUDY_PATTERN: {
|
|
1178
|
-
fetchFreelancerCaseStudy: string;
|
|
1179
|
-
updateFreelancerCaseStudy: string;
|
|
1176
|
+
createFreelancerProject: string;
|
|
1180
1177
|
};
|
|
1181
1178
|
|
|
1182
|
-
declare class
|
|
1179
|
+
declare class CreateProjectDto {
|
|
1183
1180
|
uuid?: string;
|
|
1184
1181
|
projectName: string;
|
|
1185
1182
|
startDate: string;
|
|
1186
1183
|
endDate: string;
|
|
1187
|
-
clientName
|
|
1188
|
-
gitLink
|
|
1189
|
-
description
|
|
1184
|
+
clientName?: string;
|
|
1185
|
+
gitLink?: string;
|
|
1186
|
+
description?: string;
|
|
1190
1187
|
}
|
|
1191
|
-
declare class
|
|
1192
|
-
project: UpdateProjectDto[];
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
declare class UpdateCaseStudyDto {
|
|
1188
|
+
declare class CreateCaseStudyDto {
|
|
1196
1189
|
uuid?: string;
|
|
1197
1190
|
projectName: string;
|
|
1198
|
-
|
|
1199
|
-
description
|
|
1191
|
+
caseStudyLink: string;
|
|
1192
|
+
description?: string;
|
|
1200
1193
|
}
|
|
1201
|
-
declare class
|
|
1202
|
-
|
|
1194
|
+
declare class CreateFreelancerProjectDto {
|
|
1195
|
+
project: CreateProjectDto[];
|
|
1196
|
+
casestudy: CreateCaseStudyDto[];
|
|
1203
1197
|
}
|
|
1204
1198
|
|
|
1205
1199
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1252,4 +1246,4 @@ declare class Plan extends BaseEntity {
|
|
|
1252
1246
|
features: Feature[];
|
|
1253
1247
|
}
|
|
1254
1248
|
|
|
1255
|
-
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, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto, CreateExperienceDto, CreateFreelancerEducationDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType,
|
|
1249
|
+
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, CreateExperienceDto, CreateFreelancerEducationDto, CreateFreelancerExperienceDto, CreateFreelancerProjectDto, CreateProjectDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerExperience, 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, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateEducationDto, UpdateExperienceDto, UpdateFreelancerEducationDto, UpdateFreelancerExperienceDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const AUTHENTICATION_PATTERN: {
|
|
|
10
10
|
revokeSession: string;
|
|
11
11
|
handleForgotPassword: string;
|
|
12
12
|
handleResetPassword: string;
|
|
13
|
+
handleSetPassword: string;
|
|
13
14
|
};
|
|
14
15
|
|
|
15
16
|
declare enum ScopeEnum$2 {
|
|
@@ -828,7 +829,7 @@ declare class FreelancerCaseStudy extends BaseEntity {
|
|
|
828
829
|
userId: number;
|
|
829
830
|
user: User;
|
|
830
831
|
projectName: string;
|
|
831
|
-
|
|
832
|
+
caseStudyLink: string;
|
|
832
833
|
description: string;
|
|
833
834
|
}
|
|
834
835
|
|
|
@@ -1172,34 +1173,27 @@ declare class UpdateFreelancerEducationDto {
|
|
|
1172
1173
|
|
|
1173
1174
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1174
1175
|
fetchFreelancerProject: string;
|
|
1175
|
-
|
|
1176
|
-
};
|
|
1177
|
-
declare const FREELANCER_CASESTUDY_PATTERN: {
|
|
1178
|
-
fetchFreelancerCaseStudy: string;
|
|
1179
|
-
updateFreelancerCaseStudy: string;
|
|
1176
|
+
createFreelancerProject: string;
|
|
1180
1177
|
};
|
|
1181
1178
|
|
|
1182
|
-
declare class
|
|
1179
|
+
declare class CreateProjectDto {
|
|
1183
1180
|
uuid?: string;
|
|
1184
1181
|
projectName: string;
|
|
1185
1182
|
startDate: string;
|
|
1186
1183
|
endDate: string;
|
|
1187
|
-
clientName
|
|
1188
|
-
gitLink
|
|
1189
|
-
description
|
|
1184
|
+
clientName?: string;
|
|
1185
|
+
gitLink?: string;
|
|
1186
|
+
description?: string;
|
|
1190
1187
|
}
|
|
1191
|
-
declare class
|
|
1192
|
-
project: UpdateProjectDto[];
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
declare class UpdateCaseStudyDto {
|
|
1188
|
+
declare class CreateCaseStudyDto {
|
|
1196
1189
|
uuid?: string;
|
|
1197
1190
|
projectName: string;
|
|
1198
|
-
|
|
1199
|
-
description
|
|
1191
|
+
caseStudyLink: string;
|
|
1192
|
+
description?: string;
|
|
1200
1193
|
}
|
|
1201
|
-
declare class
|
|
1202
|
-
|
|
1194
|
+
declare class CreateFreelancerProjectDto {
|
|
1195
|
+
project: CreateProjectDto[];
|
|
1196
|
+
casestudy: CreateCaseStudyDto[];
|
|
1203
1197
|
}
|
|
1204
1198
|
|
|
1205
1199
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1252,4 +1246,4 @@ declare class Plan extends BaseEntity {
|
|
|
1252
1246
|
features: Feature[];
|
|
1253
1247
|
}
|
|
1254
1248
|
|
|
1255
|
-
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, CreateCompanyMemberDto, CreateCompanyRoleDto, CreateEducationDto, CreateExperienceDto, CreateFreelancerEducationDto, CreateFreelancerExperienceDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType,
|
|
1249
|
+
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, CreateExperienceDto, CreateFreelancerEducationDto, CreateFreelancerExperienceDto, CreateFreelancerProjectDto, CreateProjectDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, FREELANCER_EDUCATION_PATTERN, FREELANCER_EXPERIENCE_PATTERN, FREELANCER_PROJECT_PATTERN, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerCaseStudy, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerEducation, FreelancerExperience, 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, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyMemberVisibilityDto, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyMemberDto, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateEducationDto, UpdateExperienceDto, UpdateFreelancerEducationDto, UpdateFreelancerExperienceDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -45,18 +45,20 @@ __export(index_exports, {
|
|
|
45
45
|
ClientProfileQuestionDto: () => ClientProfileQuestionDto,
|
|
46
46
|
CompanyProfile: () => CompanyProfile,
|
|
47
47
|
CompanyRole: () => CompanyRole,
|
|
48
|
+
CreateCaseStudyDto: () => CreateCaseStudyDto,
|
|
48
49
|
CreateCompanyMemberDto: () => CreateCompanyMemberDto,
|
|
49
50
|
CreateCompanyRoleDto: () => CreateCompanyRoleDto,
|
|
50
51
|
CreateEducationDto: () => CreateEducationDto,
|
|
51
52
|
CreateExperienceDto: () => CreateExperienceDto,
|
|
52
53
|
CreateFreelancerEducationDto: () => CreateFreelancerEducationDto,
|
|
53
54
|
CreateFreelancerExperienceDto: () => CreateFreelancerExperienceDto,
|
|
55
|
+
CreateFreelancerProjectDto: () => CreateFreelancerProjectDto,
|
|
56
|
+
CreateProjectDto: () => CreateProjectDto,
|
|
54
57
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
55
58
|
CreateRatingDto: () => CreateRatingDto,
|
|
56
59
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
57
60
|
DurationTypeEnum: () => DurationTypeEnum,
|
|
58
61
|
EmploymentType: () => EmploymentType,
|
|
59
|
-
FREELANCER_CASESTUDY_PATTERN: () => FREELANCER_CASESTUDY_PATTERN,
|
|
60
62
|
FREELANCER_EDUCATION_PATTERN: () => FREELANCER_EDUCATION_PATTERN,
|
|
61
63
|
FREELANCER_EXPERIENCE_PATTERN: () => FREELANCER_EXPERIENCE_PATTERN,
|
|
62
64
|
FREELANCER_PROJECT_PATTERN: () => FREELANCER_PROJECT_PATTERN,
|
|
@@ -135,18 +137,14 @@ __export(index_exports, {
|
|
|
135
137
|
ToggleCompanyMemberVisibilityDto: () => ToggleCompanyMemberVisibilityDto,
|
|
136
138
|
ToggleCompanyRoleVisibilityDto: () => ToggleCompanyRoleVisibilityDto,
|
|
137
139
|
TypeOfEmploymentEnum: () => TypeOfEmploymentEnum,
|
|
138
|
-
UpdateCaseStudyDto: () => UpdateCaseStudyDto,
|
|
139
140
|
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
140
141
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
141
142
|
UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
|
|
142
143
|
UpdateEducationDto: () => UpdateEducationDto,
|
|
143
144
|
UpdateExperienceDto: () => UpdateExperienceDto,
|
|
144
|
-
UpdateFreelancerCaseStudyDto: () => UpdateFreelancerCaseStudyDto,
|
|
145
145
|
UpdateFreelancerEducationDto: () => UpdateFreelancerEducationDto,
|
|
146
146
|
UpdateFreelancerExperienceDto: () => UpdateFreelancerExperienceDto,
|
|
147
147
|
UpdateFreelancerProfileDto: () => UpdateFreelancerProfileDto,
|
|
148
|
-
UpdateFreelancerProjectDto: () => UpdateFreelancerProjectDto,
|
|
149
|
-
UpdateProjectDto: () => UpdateProjectDto,
|
|
150
148
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
151
149
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
152
150
|
User: () => User,
|
|
@@ -165,7 +163,8 @@ var AUTHENTICATION_PATTERN = {
|
|
|
165
163
|
fetchSessions: "fetch.sessions",
|
|
166
164
|
revokeSession: "revoke.session",
|
|
167
165
|
handleForgotPassword: "handle.forgot.password",
|
|
168
|
-
handleResetPassword: "handle.reset.password"
|
|
166
|
+
handleResetPassword: "handle.reset.password",
|
|
167
|
+
handleSetPassword: "handle.set.password"
|
|
169
168
|
};
|
|
170
169
|
|
|
171
170
|
// src/modules/authentication/dto/login.dto.ts
|
|
@@ -2040,7 +2039,7 @@ __decorateClass([
|
|
|
2040
2039
|
], FreelancerCaseStudy.prototype, "projectName", 2);
|
|
2041
2040
|
__decorateClass([
|
|
2042
2041
|
(0, import_typeorm19.Column)({ name: "case_study_link", type: "varchar", nullable: true })
|
|
2043
|
-
], FreelancerCaseStudy.prototype, "
|
|
2042
|
+
], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
|
|
2044
2043
|
__decorateClass([
|
|
2045
2044
|
(0, import_typeorm19.Column)({ name: "description", type: "varchar", nullable: true })
|
|
2046
2045
|
], FreelancerCaseStudy.prototype, "description", 2);
|
|
@@ -2534,80 +2533,70 @@ __decorateClass([
|
|
|
2534
2533
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2535
2534
|
var FREELANCER_PROJECT_PATTERN = {
|
|
2536
2535
|
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2537
|
-
|
|
2538
|
-
};
|
|
2539
|
-
var FREELANCER_CASESTUDY_PATTERN = {
|
|
2540
|
-
fetchFreelancerCaseStudy: "fetch.freelancer.casestudy",
|
|
2541
|
-
updateFreelancerCaseStudy: "update.freelancer.casestudy"
|
|
2536
|
+
createFreelancerProject: "create.freelancer.project"
|
|
2542
2537
|
};
|
|
2543
2538
|
|
|
2544
2539
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2545
2540
|
var import_class_validator40 = require("class-validator");
|
|
2546
2541
|
var import_class_transformer6 = require("class-transformer");
|
|
2547
|
-
var
|
|
2542
|
+
var CreateProjectDto = class {
|
|
2548
2543
|
};
|
|
2549
2544
|
__decorateClass([
|
|
2550
2545
|
(0, import_class_validator40.IsOptional)()
|
|
2551
|
-
],
|
|
2546
|
+
], CreateProjectDto.prototype, "uuid", 2);
|
|
2552
2547
|
__decorateClass([
|
|
2553
2548
|
(0, import_class_validator40.IsString)(),
|
|
2554
2549
|
(0, import_class_validator40.IsNotEmpty)()
|
|
2555
|
-
],
|
|
2550
|
+
], CreateProjectDto.prototype, "projectName", 2);
|
|
2556
2551
|
__decorateClass([
|
|
2557
|
-
(0, import_class_validator40.
|
|
2552
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2558
2553
|
(0, import_class_validator40.IsNotEmpty)()
|
|
2559
|
-
],
|
|
2554
|
+
], CreateProjectDto.prototype, "startDate", 2);
|
|
2560
2555
|
__decorateClass([
|
|
2561
|
-
(0, import_class_validator40.
|
|
2556
|
+
(0, import_class_validator40.IsDateString)(),
|
|
2562
2557
|
(0, import_class_validator40.IsNotEmpty)()
|
|
2563
|
-
],
|
|
2558
|
+
], CreateProjectDto.prototype, "endDate", 2);
|
|
2564
2559
|
__decorateClass([
|
|
2565
2560
|
(0, import_class_validator40.IsOptional)(),
|
|
2566
2561
|
(0, import_class_validator40.IsString)()
|
|
2567
|
-
],
|
|
2562
|
+
], CreateProjectDto.prototype, "clientName", 2);
|
|
2568
2563
|
__decorateClass([
|
|
2569
2564
|
(0, import_class_validator40.IsOptional)(),
|
|
2570
2565
|
(0, import_class_validator40.IsString)()
|
|
2571
|
-
],
|
|
2566
|
+
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2572
2567
|
__decorateClass([
|
|
2573
2568
|
(0, import_class_validator40.IsOptional)(),
|
|
2574
2569
|
(0, import_class_validator40.IsString)()
|
|
2575
|
-
],
|
|
2576
|
-
var
|
|
2577
|
-
};
|
|
2578
|
-
__decorateClass([
|
|
2579
|
-
(0, import_class_validator40.IsArray)(),
|
|
2580
|
-
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2581
|
-
(0, import_class_transformer6.Type)(() => UpdateProjectDto)
|
|
2582
|
-
], UpdateFreelancerProjectDto.prototype, "project", 2);
|
|
2583
|
-
|
|
2584
|
-
// src/modules/user/freelancer-project/dto/update-freelancer-casestudy.dto.ts
|
|
2585
|
-
var import_class_validator41 = require("class-validator");
|
|
2586
|
-
var import_class_transformer7 = require("class-transformer");
|
|
2587
|
-
var UpdateCaseStudyDto = class {
|
|
2570
|
+
], CreateProjectDto.prototype, "description", 2);
|
|
2571
|
+
var CreateCaseStudyDto = class {
|
|
2588
2572
|
};
|
|
2589
2573
|
__decorateClass([
|
|
2590
|
-
(0,
|
|
2591
|
-
],
|
|
2574
|
+
(0, import_class_validator40.IsOptional)()
|
|
2575
|
+
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2592
2576
|
__decorateClass([
|
|
2593
|
-
(0,
|
|
2594
|
-
(0,
|
|
2595
|
-
],
|
|
2577
|
+
(0, import_class_validator40.IsString)(),
|
|
2578
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2579
|
+
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2596
2580
|
__decorateClass([
|
|
2597
|
-
(0,
|
|
2598
|
-
(0,
|
|
2599
|
-
],
|
|
2581
|
+
(0, import_class_validator40.IsString)(),
|
|
2582
|
+
(0, import_class_validator40.IsNotEmpty)()
|
|
2583
|
+
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2600
2584
|
__decorateClass([
|
|
2601
|
-
(0,
|
|
2602
|
-
(0,
|
|
2603
|
-
],
|
|
2604
|
-
var
|
|
2585
|
+
(0, import_class_validator40.IsOptional)(),
|
|
2586
|
+
(0, import_class_validator40.IsString)()
|
|
2587
|
+
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2588
|
+
var CreateFreelancerProjectDto = class {
|
|
2605
2589
|
};
|
|
2606
2590
|
__decorateClass([
|
|
2607
|
-
(0,
|
|
2608
|
-
(0,
|
|
2609
|
-
(0,
|
|
2610
|
-
],
|
|
2591
|
+
(0, import_class_validator40.IsArray)(),
|
|
2592
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2593
|
+
(0, import_class_transformer6.Type)(() => CreateProjectDto)
|
|
2594
|
+
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2595
|
+
__decorateClass([
|
|
2596
|
+
(0, import_class_validator40.IsArray)(),
|
|
2597
|
+
(0, import_class_validator40.ValidateNested)({ each: true }),
|
|
2598
|
+
(0, import_class_transformer6.Type)(() => CreateCaseStudyDto)
|
|
2599
|
+
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2611
2600
|
|
|
2612
2601
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2613
2602
|
var import_dotenv = require("dotenv");
|
|
@@ -2943,18 +2932,20 @@ Plan = __decorateClass([
|
|
|
2943
2932
|
ClientProfileQuestionDto,
|
|
2944
2933
|
CompanyProfile,
|
|
2945
2934
|
CompanyRole,
|
|
2935
|
+
CreateCaseStudyDto,
|
|
2946
2936
|
CreateCompanyMemberDto,
|
|
2947
2937
|
CreateCompanyRoleDto,
|
|
2948
2938
|
CreateEducationDto,
|
|
2949
2939
|
CreateExperienceDto,
|
|
2950
2940
|
CreateFreelancerEducationDto,
|
|
2951
2941
|
CreateFreelancerExperienceDto,
|
|
2942
|
+
CreateFreelancerProjectDto,
|
|
2943
|
+
CreateProjectDto,
|
|
2952
2944
|
CreateQuestionDto,
|
|
2953
2945
|
CreateRatingDto,
|
|
2954
2946
|
CreateSubAdminDto,
|
|
2955
2947
|
DurationTypeEnum,
|
|
2956
2948
|
EmploymentType,
|
|
2957
|
-
FREELANCER_CASESTUDY_PATTERN,
|
|
2958
2949
|
FREELANCER_EDUCATION_PATTERN,
|
|
2959
2950
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
2960
2951
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -3033,18 +3024,14 @@ Plan = __decorateClass([
|
|
|
3033
3024
|
ToggleCompanyMemberVisibilityDto,
|
|
3034
3025
|
ToggleCompanyRoleVisibilityDto,
|
|
3035
3026
|
TypeOfEmploymentEnum,
|
|
3036
|
-
UpdateCaseStudyDto,
|
|
3037
3027
|
UpdateCompanyMemberDto,
|
|
3038
3028
|
UpdateCompanyProfileDto,
|
|
3039
3029
|
UpdateCompanyRoleDto,
|
|
3040
3030
|
UpdateEducationDto,
|
|
3041
3031
|
UpdateExperienceDto,
|
|
3042
|
-
UpdateFreelancerCaseStudyDto,
|
|
3043
3032
|
UpdateFreelancerEducationDto,
|
|
3044
3033
|
UpdateFreelancerExperienceDto,
|
|
3045
3034
|
UpdateFreelancerProfileDto,
|
|
3046
|
-
UpdateFreelancerProjectDto,
|
|
3047
|
-
UpdateProjectDto,
|
|
3048
3035
|
UpdateSubAdminAccountStatusDto,
|
|
3049
3036
|
UpdateSubAdminDto,
|
|
3050
3037
|
User,
|
package/dist/index.mjs
CHANGED
|
@@ -19,7 +19,8 @@ var AUTHENTICATION_PATTERN = {
|
|
|
19
19
|
fetchSessions: "fetch.sessions",
|
|
20
20
|
revokeSession: "revoke.session",
|
|
21
21
|
handleForgotPassword: "handle.forgot.password",
|
|
22
|
-
handleResetPassword: "handle.reset.password"
|
|
22
|
+
handleResetPassword: "handle.reset.password",
|
|
23
|
+
handleSetPassword: "handle.set.password"
|
|
23
24
|
};
|
|
24
25
|
|
|
25
26
|
// src/modules/authentication/dto/login.dto.ts
|
|
@@ -2085,7 +2086,7 @@ __decorateClass([
|
|
|
2085
2086
|
], FreelancerCaseStudy.prototype, "projectName", 2);
|
|
2086
2087
|
__decorateClass([
|
|
2087
2088
|
Column19({ name: "case_study_link", type: "varchar", nullable: true })
|
|
2088
|
-
], FreelancerCaseStudy.prototype, "
|
|
2089
|
+
], FreelancerCaseStudy.prototype, "caseStudyLink", 2);
|
|
2089
2090
|
__decorateClass([
|
|
2090
2091
|
Column19({ name: "description", type: "varchar", nullable: true })
|
|
2091
2092
|
], FreelancerCaseStudy.prototype, "description", 2);
|
|
@@ -2579,80 +2580,70 @@ __decorateClass([
|
|
|
2579
2580
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2580
2581
|
var FREELANCER_PROJECT_PATTERN = {
|
|
2581
2582
|
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2582
|
-
|
|
2583
|
-
};
|
|
2584
|
-
var FREELANCER_CASESTUDY_PATTERN = {
|
|
2585
|
-
fetchFreelancerCaseStudy: "fetch.freelancer.casestudy",
|
|
2586
|
-
updateFreelancerCaseStudy: "update.freelancer.casestudy"
|
|
2583
|
+
createFreelancerProject: "create.freelancer.project"
|
|
2587
2584
|
};
|
|
2588
2585
|
|
|
2589
2586
|
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2590
|
-
import { IsArray as IsArray6, ValidateNested as ValidateNested5, IsString as IsString24, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional16 } from "class-validator";
|
|
2587
|
+
import { IsArray as IsArray6, ValidateNested as ValidateNested5, IsString as IsString24, IsNotEmpty as IsNotEmpty32, IsOptional as IsOptional16, IsDateString } from "class-validator";
|
|
2591
2588
|
import { Type as Type6 } from "class-transformer";
|
|
2592
|
-
var
|
|
2589
|
+
var CreateProjectDto = class {
|
|
2593
2590
|
};
|
|
2594
2591
|
__decorateClass([
|
|
2595
2592
|
IsOptional16()
|
|
2596
|
-
],
|
|
2593
|
+
], CreateProjectDto.prototype, "uuid", 2);
|
|
2597
2594
|
__decorateClass([
|
|
2598
2595
|
IsString24(),
|
|
2599
2596
|
IsNotEmpty32()
|
|
2600
|
-
],
|
|
2597
|
+
], CreateProjectDto.prototype, "projectName", 2);
|
|
2601
2598
|
__decorateClass([
|
|
2602
|
-
|
|
2599
|
+
IsDateString(),
|
|
2603
2600
|
IsNotEmpty32()
|
|
2604
|
-
],
|
|
2601
|
+
], CreateProjectDto.prototype, "startDate", 2);
|
|
2605
2602
|
__decorateClass([
|
|
2606
|
-
|
|
2603
|
+
IsDateString(),
|
|
2607
2604
|
IsNotEmpty32()
|
|
2608
|
-
],
|
|
2605
|
+
], CreateProjectDto.prototype, "endDate", 2);
|
|
2609
2606
|
__decorateClass([
|
|
2610
2607
|
IsOptional16(),
|
|
2611
2608
|
IsString24()
|
|
2612
|
-
],
|
|
2609
|
+
], CreateProjectDto.prototype, "clientName", 2);
|
|
2613
2610
|
__decorateClass([
|
|
2614
2611
|
IsOptional16(),
|
|
2615
2612
|
IsString24()
|
|
2616
|
-
],
|
|
2613
|
+
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2617
2614
|
__decorateClass([
|
|
2618
2615
|
IsOptional16(),
|
|
2619
2616
|
IsString24()
|
|
2620
|
-
],
|
|
2621
|
-
var
|
|
2622
|
-
};
|
|
2623
|
-
__decorateClass([
|
|
2624
|
-
IsArray6(),
|
|
2625
|
-
ValidateNested5({ each: true }),
|
|
2626
|
-
Type6(() => UpdateProjectDto)
|
|
2627
|
-
], UpdateFreelancerProjectDto.prototype, "project", 2);
|
|
2628
|
-
|
|
2629
|
-
// src/modules/user/freelancer-project/dto/update-freelancer-casestudy.dto.ts
|
|
2630
|
-
import { IsArray as IsArray7, ValidateNested as ValidateNested6, IsString as IsString25, IsNotEmpty as IsNotEmpty33, IsOptional as IsOptional17 } from "class-validator";
|
|
2631
|
-
import { Type as Type7 } from "class-transformer";
|
|
2632
|
-
var UpdateCaseStudyDto = class {
|
|
2617
|
+
], CreateProjectDto.prototype, "description", 2);
|
|
2618
|
+
var CreateCaseStudyDto = class {
|
|
2633
2619
|
};
|
|
2634
2620
|
__decorateClass([
|
|
2635
|
-
|
|
2636
|
-
],
|
|
2621
|
+
IsOptional16()
|
|
2622
|
+
], CreateCaseStudyDto.prototype, "uuid", 2);
|
|
2637
2623
|
__decorateClass([
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
],
|
|
2624
|
+
IsString24(),
|
|
2625
|
+
IsNotEmpty32()
|
|
2626
|
+
], CreateCaseStudyDto.prototype, "projectName", 2);
|
|
2641
2627
|
__decorateClass([
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
],
|
|
2628
|
+
IsString24(),
|
|
2629
|
+
IsNotEmpty32()
|
|
2630
|
+
], CreateCaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2645
2631
|
__decorateClass([
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
],
|
|
2649
|
-
var
|
|
2632
|
+
IsOptional16(),
|
|
2633
|
+
IsString24()
|
|
2634
|
+
], CreateCaseStudyDto.prototype, "description", 2);
|
|
2635
|
+
var CreateFreelancerProjectDto = class {
|
|
2650
2636
|
};
|
|
2651
2637
|
__decorateClass([
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
],
|
|
2638
|
+
IsArray6(),
|
|
2639
|
+
ValidateNested5({ each: true }),
|
|
2640
|
+
Type6(() => CreateProjectDto)
|
|
2641
|
+
], CreateFreelancerProjectDto.prototype, "project", 2);
|
|
2642
|
+
__decorateClass([
|
|
2643
|
+
IsArray6(),
|
|
2644
|
+
ValidateNested5({ each: true }),
|
|
2645
|
+
Type6(() => CreateCaseStudyDto)
|
|
2646
|
+
], CreateFreelancerProjectDto.prototype, "casestudy", 2);
|
|
2656
2647
|
|
|
2657
2648
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2658
2649
|
import { config } from "dotenv";
|
|
@@ -2987,18 +2978,20 @@ export {
|
|
|
2987
2978
|
ClientProfileQuestionDto,
|
|
2988
2979
|
CompanyProfile,
|
|
2989
2980
|
CompanyRole,
|
|
2981
|
+
CreateCaseStudyDto,
|
|
2990
2982
|
CreateCompanyMemberDto,
|
|
2991
2983
|
CreateCompanyRoleDto,
|
|
2992
2984
|
CreateEducationDto,
|
|
2993
2985
|
CreateExperienceDto,
|
|
2994
2986
|
CreateFreelancerEducationDto,
|
|
2995
2987
|
CreateFreelancerExperienceDto,
|
|
2988
|
+
CreateFreelancerProjectDto,
|
|
2989
|
+
CreateProjectDto,
|
|
2996
2990
|
CreateQuestionDto,
|
|
2997
2991
|
CreateRatingDto,
|
|
2998
2992
|
CreateSubAdminDto,
|
|
2999
2993
|
DurationTypeEnum,
|
|
3000
2994
|
EmploymentType,
|
|
3001
|
-
FREELANCER_CASESTUDY_PATTERN,
|
|
3002
2995
|
FREELANCER_EDUCATION_PATTERN,
|
|
3003
2996
|
FREELANCER_EXPERIENCE_PATTERN,
|
|
3004
2997
|
FREELANCER_PROJECT_PATTERN,
|
|
@@ -3077,18 +3070,14 @@ export {
|
|
|
3077
3070
|
ToggleCompanyMemberVisibilityDto,
|
|
3078
3071
|
ToggleCompanyRoleVisibilityDto,
|
|
3079
3072
|
TypeOfEmploymentEnum,
|
|
3080
|
-
UpdateCaseStudyDto,
|
|
3081
3073
|
UpdateCompanyMemberDto,
|
|
3082
3074
|
UpdateCompanyProfileDto,
|
|
3083
3075
|
UpdateCompanyRoleDto,
|
|
3084
3076
|
UpdateEducationDto,
|
|
3085
3077
|
UpdateExperienceDto,
|
|
3086
|
-
UpdateFreelancerCaseStudyDto,
|
|
3087
3078
|
UpdateFreelancerEducationDto,
|
|
3088
3079
|
UpdateFreelancerExperienceDto,
|
|
3089
3080
|
UpdateFreelancerProfileDto,
|
|
3090
|
-
UpdateFreelancerProjectDto,
|
|
3091
|
-
UpdateProjectDto,
|
|
3092
3081
|
UpdateSubAdminAccountStatusDto,
|
|
3093
3082
|
UpdateSubAdminDto,
|
|
3094
3083
|
User,
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class CreateProjectDto {
|
|
2
2
|
uuid?: string;
|
|
3
3
|
projectName: string;
|
|
4
4
|
startDate: string;
|
|
5
5
|
endDate: string;
|
|
6
|
-
clientName
|
|
7
|
-
gitLink
|
|
8
|
-
description
|
|
6
|
+
clientName?: string;
|
|
7
|
+
gitLink?: string;
|
|
8
|
+
description?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
11
|
-
|
|
10
|
+
export declare class CreateCaseStudyDto {
|
|
11
|
+
uuid?: string;
|
|
12
|
+
projectName: string;
|
|
13
|
+
caseStudyLink: string;
|
|
14
|
+
description?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare class CreateFreelancerProjectDto {
|
|
17
|
+
project: CreateProjectDto[];
|
|
18
|
+
casestudy: CreateCaseStudyDto[];
|
|
12
19
|
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
export declare const FREELANCER_PROJECT_PATTERN: {
|
|
2
2
|
fetchFreelancerProject: string;
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
export declare const FREELANCER_CASESTUDY_PATTERN: {
|
|
6
|
-
fetchFreelancerCaseStudy: string;
|
|
7
|
-
updateFreelancerCaseStudy: string;
|
|
3
|
+
createFreelancerProject: string;
|
|
8
4
|
};
|
package/package.json
CHANGED