@experts_hub/shared 1.0.151 → 1.0.153
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/index.d.ts +1 -0
- package/dist/entities/permission.entity.d.ts +7 -0
- package/dist/index.d.mts +18 -21
- package/dist/index.d.ts +18 -21
- package/dist/index.js +91 -97
- package/dist/index.mjs +80 -85
- 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-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/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1145,35 +1145,25 @@ interface IAttachPermissionsToCompanyMemberResponse {
|
|
|
1145
1145
|
|
|
1146
1146
|
declare const FREELANCER_EDUCATION_PATTERN: {
|
|
1147
1147
|
fetchFreelancerEducation: string;
|
|
1148
|
-
|
|
1149
|
-
updateFreelancerEducation: string;
|
|
1148
|
+
saveFreelancerEducation: string;
|
|
1150
1149
|
};
|
|
1151
1150
|
|
|
1152
|
-
declare class
|
|
1153
|
-
degree: string;
|
|
1154
|
-
university: string;
|
|
1155
|
-
yearOfGraduation: string;
|
|
1156
|
-
}
|
|
1157
|
-
declare class CreateFreelancerEducationDto {
|
|
1158
|
-
education: CreateEducationDto[];
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
declare class UpdateEducationDto {
|
|
1151
|
+
declare class EducationDto {
|
|
1162
1152
|
uuid?: string;
|
|
1163
1153
|
degree: string;
|
|
1164
1154
|
university: string;
|
|
1165
1155
|
yearOfGraduation: string;
|
|
1166
1156
|
}
|
|
1167
|
-
declare class
|
|
1168
|
-
education:
|
|
1157
|
+
declare class FreelancerEducationDto {
|
|
1158
|
+
education: EducationDto[];
|
|
1169
1159
|
}
|
|
1170
1160
|
|
|
1171
1161
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1172
1162
|
fetchFreelancerProject: string;
|
|
1173
|
-
|
|
1163
|
+
saveFreelancerProject: string;
|
|
1174
1164
|
};
|
|
1175
1165
|
|
|
1176
|
-
declare class
|
|
1166
|
+
declare class ProjectDto {
|
|
1177
1167
|
uuid?: string;
|
|
1178
1168
|
projectName: string;
|
|
1179
1169
|
startDate: string;
|
|
@@ -1182,15 +1172,15 @@ declare class CreateProjectDto {
|
|
|
1182
1172
|
gitLink?: string;
|
|
1183
1173
|
description?: string;
|
|
1184
1174
|
}
|
|
1185
|
-
declare class
|
|
1175
|
+
declare class CaseStudyDto {
|
|
1186
1176
|
uuid?: string;
|
|
1187
1177
|
projectName: string;
|
|
1188
1178
|
caseStudyLink: string;
|
|
1189
1179
|
description?: string;
|
|
1190
1180
|
}
|
|
1191
|
-
declare class
|
|
1192
|
-
project:
|
|
1193
|
-
casestudy:
|
|
1181
|
+
declare class FreelancerProjectDto {
|
|
1182
|
+
project: ProjectDto[];
|
|
1183
|
+
casestudy: CaseStudyDto[];
|
|
1194
1184
|
}
|
|
1195
1185
|
|
|
1196
1186
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1243,4 +1233,11 @@ declare class Plan extends BaseEntity {
|
|
|
1243
1233
|
features: Feature[];
|
|
1244
1234
|
}
|
|
1245
1235
|
|
|
1246
|
-
|
|
1236
|
+
declare class Permission extends BaseEntity {
|
|
1237
|
+
name: string;
|
|
1238
|
+
slug: string;
|
|
1239
|
+
description: string;
|
|
1240
|
+
isActive: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
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, Permission, 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
|
@@ -1145,35 +1145,25 @@ interface IAttachPermissionsToCompanyMemberResponse {
|
|
|
1145
1145
|
|
|
1146
1146
|
declare const FREELANCER_EDUCATION_PATTERN: {
|
|
1147
1147
|
fetchFreelancerEducation: string;
|
|
1148
|
-
|
|
1149
|
-
updateFreelancerEducation: string;
|
|
1148
|
+
saveFreelancerEducation: string;
|
|
1150
1149
|
};
|
|
1151
1150
|
|
|
1152
|
-
declare class
|
|
1153
|
-
degree: string;
|
|
1154
|
-
university: string;
|
|
1155
|
-
yearOfGraduation: string;
|
|
1156
|
-
}
|
|
1157
|
-
declare class CreateFreelancerEducationDto {
|
|
1158
|
-
education: CreateEducationDto[];
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
|
-
declare class UpdateEducationDto {
|
|
1151
|
+
declare class EducationDto {
|
|
1162
1152
|
uuid?: string;
|
|
1163
1153
|
degree: string;
|
|
1164
1154
|
university: string;
|
|
1165
1155
|
yearOfGraduation: string;
|
|
1166
1156
|
}
|
|
1167
|
-
declare class
|
|
1168
|
-
education:
|
|
1157
|
+
declare class FreelancerEducationDto {
|
|
1158
|
+
education: EducationDto[];
|
|
1169
1159
|
}
|
|
1170
1160
|
|
|
1171
1161
|
declare const FREELANCER_PROJECT_PATTERN: {
|
|
1172
1162
|
fetchFreelancerProject: string;
|
|
1173
|
-
|
|
1163
|
+
saveFreelancerProject: string;
|
|
1174
1164
|
};
|
|
1175
1165
|
|
|
1176
|
-
declare class
|
|
1166
|
+
declare class ProjectDto {
|
|
1177
1167
|
uuid?: string;
|
|
1178
1168
|
projectName: string;
|
|
1179
1169
|
startDate: string;
|
|
@@ -1182,15 +1172,15 @@ declare class CreateProjectDto {
|
|
|
1182
1172
|
gitLink?: string;
|
|
1183
1173
|
description?: string;
|
|
1184
1174
|
}
|
|
1185
|
-
declare class
|
|
1175
|
+
declare class CaseStudyDto {
|
|
1186
1176
|
uuid?: string;
|
|
1187
1177
|
projectName: string;
|
|
1188
1178
|
caseStudyLink: string;
|
|
1189
1179
|
description?: string;
|
|
1190
1180
|
}
|
|
1191
|
-
declare class
|
|
1192
|
-
project:
|
|
1193
|
-
casestudy:
|
|
1181
|
+
declare class FreelancerProjectDto {
|
|
1182
|
+
project: ProjectDto[];
|
|
1183
|
+
casestudy: CaseStudyDto[];
|
|
1194
1184
|
}
|
|
1195
1185
|
|
|
1196
1186
|
declare const UserTCPAdapter: () => MicroserviceOptions;
|
|
@@ -1243,4 +1233,11 @@ declare class Plan extends BaseEntity {
|
|
|
1243
1233
|
features: Feature[];
|
|
1244
1234
|
}
|
|
1245
1235
|
|
|
1246
|
-
|
|
1236
|
+
declare class Permission extends BaseEntity {
|
|
1237
|
+
name: string;
|
|
1238
|
+
slug: string;
|
|
1239
|
+
description: string;
|
|
1240
|
+
isActive: boolean;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
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, Permission, 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,
|
|
@@ -113,7 +112,9 @@ __export(index_exports, {
|
|
|
113
112
|
Otp: () => Otp,
|
|
114
113
|
PLAN_PATTERN: () => PLAN_PATTERN,
|
|
115
114
|
PROFILE_PATTERN: () => PROFILE_PATTERN,
|
|
115
|
+
Permission: () => Permission,
|
|
116
116
|
Plan: () => Plan,
|
|
117
|
+
ProjectDto: () => ProjectDto,
|
|
117
118
|
Provider: () => Provider,
|
|
118
119
|
QUESTION_PATTERN: () => QUESTION_PATTERN,
|
|
119
120
|
Question: () => Question,
|
|
@@ -141,8 +142,6 @@ __export(index_exports, {
|
|
|
141
142
|
UpdateCompanyMemberDto: () => UpdateCompanyMemberDto,
|
|
142
143
|
UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
|
|
143
144
|
UpdateCompanyRoleDto: () => UpdateCompanyRoleDto,
|
|
144
|
-
UpdateEducationDto: () => UpdateEducationDto,
|
|
145
|
-
UpdateFreelancerEducationDto: () => UpdateFreelancerEducationDto,
|
|
146
145
|
UpdateFreelancerProfileDto: () => UpdateFreelancerProfileDto,
|
|
147
146
|
UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
|
|
148
147
|
UpdateSubAdminDto: () => UpdateSubAdminDto,
|
|
@@ -1909,7 +1908,7 @@ __decorateClass([
|
|
|
1909
1908
|
(0, import_typeorm14.JoinColumn)({ name: "user_id" })
|
|
1910
1909
|
], SystemPreference.prototype, "user", 2);
|
|
1911
1910
|
__decorateClass([
|
|
1912
|
-
(0, import_typeorm14.Column)({ name: "key", type: "varchar",
|
|
1911
|
+
(0, import_typeorm14.Column)({ name: "key", type: "varchar", nullable: false })
|
|
1913
1912
|
], SystemPreference.prototype, "key", 2);
|
|
1914
1913
|
__decorateClass([
|
|
1915
1914
|
(0, import_typeorm14.Column)({ name: "value", type: "boolean", default: false })
|
|
@@ -2464,130 +2463,105 @@ __decorateClass([
|
|
|
2464
2463
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
2465
2464
|
var FREELANCER_EDUCATION_PATTERN = {
|
|
2466
2465
|
fetchFreelancerEducation: "fetch.freelancer.education",
|
|
2467
|
-
|
|
2468
|
-
updateFreelancerEducation: "update.freelancer.education"
|
|
2466
|
+
saveFreelancerEducation: "save.freelancer.education"
|
|
2469
2467
|
};
|
|
2470
2468
|
|
|
2471
|
-
// src/modules/user/freelancer-education/dto/
|
|
2469
|
+
// src/modules/user/freelancer-education/dto/freelancer-education.dto.ts
|
|
2472
2470
|
var import_class_validator38 = require("class-validator");
|
|
2473
2471
|
var import_class_transformer3 = require("class-transformer");
|
|
2474
|
-
var
|
|
2472
|
+
var EducationDto = class {
|
|
2475
2473
|
};
|
|
2474
|
+
__decorateClass([
|
|
2475
|
+
(0, import_class_validator38.IsOptional)()
|
|
2476
|
+
], EducationDto.prototype, "uuid", 2);
|
|
2476
2477
|
__decorateClass([
|
|
2477
2478
|
(0, import_class_validator38.IsString)(),
|
|
2478
2479
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2479
|
-
],
|
|
2480
|
+
], EducationDto.prototype, "degree", 2);
|
|
2480
2481
|
__decorateClass([
|
|
2481
2482
|
(0, import_class_validator38.IsString)(),
|
|
2482
2483
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2483
|
-
],
|
|
2484
|
+
], EducationDto.prototype, "university", 2);
|
|
2484
2485
|
__decorateClass([
|
|
2485
2486
|
(0, import_class_validator38.IsString)(),
|
|
2486
2487
|
(0, import_class_validator38.IsNotEmpty)()
|
|
2487
|
-
],
|
|
2488
|
-
var
|
|
2488
|
+
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
2489
|
+
var FreelancerEducationDto = class {
|
|
2489
2490
|
};
|
|
2490
2491
|
__decorateClass([
|
|
2491
2492
|
(0, import_class_validator38.IsArray)(),
|
|
2492
2493
|
(0, import_class_validator38.ValidateNested)({ each: true }),
|
|
2493
|
-
(0, import_class_transformer3.Type)(() =>
|
|
2494
|
-
],
|
|
2494
|
+
(0, import_class_transformer3.Type)(() => EducationDto)
|
|
2495
|
+
], FreelancerEducationDto.prototype, "education", 2);
|
|
2496
|
+
|
|
2497
|
+
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2498
|
+
var FREELANCER_PROJECT_PATTERN = {
|
|
2499
|
+
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2500
|
+
saveFreelancerProject: "save.freelancer.project"
|
|
2501
|
+
};
|
|
2495
2502
|
|
|
2496
|
-
// src/modules/user/freelancer-
|
|
2503
|
+
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
2497
2504
|
var import_class_validator39 = require("class-validator");
|
|
2498
2505
|
var import_class_transformer4 = require("class-transformer");
|
|
2499
|
-
var
|
|
2506
|
+
var ProjectDto = class {
|
|
2500
2507
|
};
|
|
2501
2508
|
__decorateClass([
|
|
2502
2509
|
(0, import_class_validator39.IsOptional)()
|
|
2503
|
-
],
|
|
2510
|
+
], ProjectDto.prototype, "uuid", 2);
|
|
2504
2511
|
__decorateClass([
|
|
2505
2512
|
(0, import_class_validator39.IsString)(),
|
|
2506
2513
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2507
|
-
],
|
|
2514
|
+
], ProjectDto.prototype, "projectName", 2);
|
|
2508
2515
|
__decorateClass([
|
|
2509
|
-
(0, import_class_validator39.
|
|
2516
|
+
(0, import_class_validator39.IsDateString)(),
|
|
2510
2517
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2511
|
-
],
|
|
2518
|
+
], ProjectDto.prototype, "startDate", 2);
|
|
2512
2519
|
__decorateClass([
|
|
2513
|
-
(0, import_class_validator39.
|
|
2520
|
+
(0, import_class_validator39.IsDateString)(),
|
|
2514
2521
|
(0, import_class_validator39.IsNotEmpty)()
|
|
2515
|
-
],
|
|
2516
|
-
var UpdateFreelancerEducationDto = class {
|
|
2517
|
-
};
|
|
2518
|
-
__decorateClass([
|
|
2519
|
-
(0, import_class_validator39.IsArray)(),
|
|
2520
|
-
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2521
|
-
(0, import_class_transformer4.Type)(() => UpdateEducationDto)
|
|
2522
|
-
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2523
|
-
|
|
2524
|
-
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2525
|
-
var FREELANCER_PROJECT_PATTERN = {
|
|
2526
|
-
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2527
|
-
createFreelancerProject: "create.freelancer.project"
|
|
2528
|
-
};
|
|
2529
|
-
|
|
2530
|
-
// src/modules/user/freelancer-project/dto/update-freelancer-project.dto.ts
|
|
2531
|
-
var import_class_validator40 = require("class-validator");
|
|
2532
|
-
var import_class_transformer5 = require("class-transformer");
|
|
2533
|
-
var CreateProjectDto = class {
|
|
2534
|
-
};
|
|
2535
|
-
__decorateClass([
|
|
2536
|
-
(0, import_class_validator40.IsOptional)()
|
|
2537
|
-
], CreateProjectDto.prototype, "uuid", 2);
|
|
2522
|
+
], ProjectDto.prototype, "endDate", 2);
|
|
2538
2523
|
__decorateClass([
|
|
2539
|
-
(0,
|
|
2540
|
-
(0,
|
|
2541
|
-
],
|
|
2524
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2525
|
+
(0, import_class_validator39.IsString)()
|
|
2526
|
+
], ProjectDto.prototype, "clientName", 2);
|
|
2542
2527
|
__decorateClass([
|
|
2543
|
-
(0,
|
|
2544
|
-
(0,
|
|
2545
|
-
],
|
|
2528
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2529
|
+
(0, import_class_validator39.IsString)()
|
|
2530
|
+
], ProjectDto.prototype, "gitLink", 2);
|
|
2546
2531
|
__decorateClass([
|
|
2547
|
-
(0,
|
|
2548
|
-
(0,
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
(0, import_class_validator40.IsString)()
|
|
2553
|
-
], CreateProjectDto.prototype, "clientName", 2);
|
|
2554
|
-
__decorateClass([
|
|
2555
|
-
(0, import_class_validator40.IsOptional)(),
|
|
2556
|
-
(0, import_class_validator40.IsString)()
|
|
2557
|
-
], CreateProjectDto.prototype, "gitLink", 2);
|
|
2558
|
-
__decorateClass([
|
|
2559
|
-
(0, import_class_validator40.IsOptional)(),
|
|
2560
|
-
(0, import_class_validator40.IsString)()
|
|
2561
|
-
], CreateProjectDto.prototype, "description", 2);
|
|
2562
|
-
var CreateCaseStudyDto = class {
|
|
2532
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2533
|
+
(0, import_class_validator39.IsString)(),
|
|
2534
|
+
(0, import_class_validator39.MaxLength)(500, { message: "Description must not exceed 500 characters" })
|
|
2535
|
+
], ProjectDto.prototype, "description", 2);
|
|
2536
|
+
var CaseStudyDto = class {
|
|
2563
2537
|
};
|
|
2564
2538
|
__decorateClass([
|
|
2565
|
-
(0,
|
|
2566
|
-
],
|
|
2539
|
+
(0, import_class_validator39.IsOptional)()
|
|
2540
|
+
], CaseStudyDto.prototype, "uuid", 2);
|
|
2567
2541
|
__decorateClass([
|
|
2568
|
-
(0,
|
|
2569
|
-
(0,
|
|
2570
|
-
],
|
|
2542
|
+
(0, import_class_validator39.IsString)(),
|
|
2543
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2544
|
+
], CaseStudyDto.prototype, "projectName", 2);
|
|
2571
2545
|
__decorateClass([
|
|
2572
|
-
(0,
|
|
2573
|
-
(0,
|
|
2574
|
-
],
|
|
2546
|
+
(0, import_class_validator39.IsString)(),
|
|
2547
|
+
(0, import_class_validator39.IsNotEmpty)()
|
|
2548
|
+
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2575
2549
|
__decorateClass([
|
|
2576
|
-
(0,
|
|
2577
|
-
(0,
|
|
2578
|
-
],
|
|
2579
|
-
var
|
|
2550
|
+
(0, import_class_validator39.IsOptional)(),
|
|
2551
|
+
(0, import_class_validator39.IsString)()
|
|
2552
|
+
], CaseStudyDto.prototype, "description", 2);
|
|
2553
|
+
var FreelancerProjectDto = class {
|
|
2580
2554
|
};
|
|
2581
2555
|
__decorateClass([
|
|
2582
|
-
(0,
|
|
2583
|
-
(0,
|
|
2584
|
-
(0,
|
|
2585
|
-
],
|
|
2556
|
+
(0, import_class_validator39.IsArray)(),
|
|
2557
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2558
|
+
(0, import_class_transformer4.Type)(() => ProjectDto)
|
|
2559
|
+
], FreelancerProjectDto.prototype, "project", 2);
|
|
2586
2560
|
__decorateClass([
|
|
2587
|
-
(0,
|
|
2588
|
-
(0,
|
|
2589
|
-
(0,
|
|
2590
|
-
],
|
|
2561
|
+
(0, import_class_validator39.IsArray)(),
|
|
2562
|
+
(0, import_class_validator39.ValidateNested)({ each: true }),
|
|
2563
|
+
(0, import_class_transformer4.Type)(() => CaseStudyDto)
|
|
2564
|
+
], FreelancerProjectDto.prototype, "casestudy", 2);
|
|
2591
2565
|
|
|
2592
2566
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2593
2567
|
var import_dotenv = require("dotenv");
|
|
@@ -2903,6 +2877,27 @@ __decorateClass([
|
|
|
2903
2877
|
Plan = __decorateClass([
|
|
2904
2878
|
(0, import_typeorm25.Entity)("plans")
|
|
2905
2879
|
], Plan);
|
|
2880
|
+
|
|
2881
|
+
// src/entities/permission.entity.ts
|
|
2882
|
+
var import_typeorm26 = require("typeorm");
|
|
2883
|
+
var Permission = class extends BaseEntity {
|
|
2884
|
+
};
|
|
2885
|
+
__decorateClass([
|
|
2886
|
+
(0, import_typeorm26.Column)({ name: "name", type: "varchar", nullable: true })
|
|
2887
|
+
], Permission.prototype, "name", 2);
|
|
2888
|
+
__decorateClass([
|
|
2889
|
+
(0, import_typeorm26.Column)({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
2890
|
+
(0, import_typeorm26.Index)()
|
|
2891
|
+
], Permission.prototype, "slug", 2);
|
|
2892
|
+
__decorateClass([
|
|
2893
|
+
(0, import_typeorm26.Column)({ name: "description", type: "text", nullable: true })
|
|
2894
|
+
], Permission.prototype, "description", 2);
|
|
2895
|
+
__decorateClass([
|
|
2896
|
+
(0, import_typeorm26.Column)({ name: "is_active", type: "boolean", default: true })
|
|
2897
|
+
], Permission.prototype, "isActive", 2);
|
|
2898
|
+
Permission = __decorateClass([
|
|
2899
|
+
(0, import_typeorm26.Entity)("permissions")
|
|
2900
|
+
], Permission);
|
|
2906
2901
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2907
2902
|
0 && (module.exports = {
|
|
2908
2903
|
AUTHENTICATION_PATTERN,
|
|
@@ -2918,22 +2913,19 @@ Plan = __decorateClass([
|
|
|
2918
2913
|
CLIENT_PROFILE_PATTERN,
|
|
2919
2914
|
COMPANY_MEMBERS_PATTERNS,
|
|
2920
2915
|
COMPANY_ROLES_PATTERNS,
|
|
2916
|
+
CaseStudyDto,
|
|
2921
2917
|
ClientChangePasswordDto,
|
|
2922
2918
|
ClientCreateAccountDto,
|
|
2923
2919
|
ClientProfileQuestionDto,
|
|
2924
2920
|
CompanyProfile,
|
|
2925
2921
|
CompanyRole,
|
|
2926
|
-
CreateCaseStudyDto,
|
|
2927
2922
|
CreateCompanyMemberDto,
|
|
2928
2923
|
CreateCompanyRoleDto,
|
|
2929
|
-
CreateEducationDto,
|
|
2930
|
-
CreateFreelancerEducationDto,
|
|
2931
|
-
CreateFreelancerProjectDto,
|
|
2932
|
-
CreateProjectDto,
|
|
2933
2924
|
CreateQuestionDto,
|
|
2934
2925
|
CreateRatingDto,
|
|
2935
2926
|
CreateSubAdminDto,
|
|
2936
2927
|
DurationTypeEnum,
|
|
2928
|
+
EducationDto,
|
|
2937
2929
|
EmploymentType,
|
|
2938
2930
|
ExperienceDto,
|
|
2939
2931
|
FREELANCER_EDUCATION_PATTERN,
|
|
@@ -2947,11 +2939,13 @@ Plan = __decorateClass([
|
|
|
2947
2939
|
FreelancerCreateAccountDto,
|
|
2948
2940
|
FreelancerDevelopmentPreferenceDto,
|
|
2949
2941
|
FreelancerEducation,
|
|
2942
|
+
FreelancerEducationDto,
|
|
2950
2943
|
FreelancerExperience,
|
|
2951
2944
|
FreelancerExperienceDto,
|
|
2952
2945
|
FreelancerProfile,
|
|
2953
2946
|
FreelancerProfileQuestionDto,
|
|
2954
2947
|
FreelancerProject,
|
|
2948
|
+
FreelancerProjectDto,
|
|
2955
2949
|
FreelancerUploadResumeDto,
|
|
2956
2950
|
FreelancerWorkShowcaseDto,
|
|
2957
2951
|
FromUsOn,
|
|
@@ -2991,7 +2985,9 @@ Plan = __decorateClass([
|
|
|
2991
2985
|
Otp,
|
|
2992
2986
|
PLAN_PATTERN,
|
|
2993
2987
|
PROFILE_PATTERN,
|
|
2988
|
+
Permission,
|
|
2994
2989
|
Plan,
|
|
2990
|
+
ProjectDto,
|
|
2995
2991
|
Provider,
|
|
2996
2992
|
QUESTION_PATTERN,
|
|
2997
2993
|
Question,
|
|
@@ -3019,8 +3015,6 @@ Plan = __decorateClass([
|
|
|
3019
3015
|
UpdateCompanyMemberDto,
|
|
3020
3016
|
UpdateCompanyProfileDto,
|
|
3021
3017
|
UpdateCompanyRoleDto,
|
|
3022
|
-
UpdateEducationDto,
|
|
3023
|
-
UpdateFreelancerEducationDto,
|
|
3024
3018
|
UpdateFreelancerProfileDto,
|
|
3025
3019
|
UpdateSubAdminAccountStatusDto,
|
|
3026
3020
|
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 })
|
|
@@ -2523,130 +2523,105 @@ __decorateClass([
|
|
|
2523
2523
|
// src/modules/user/freelancer-education/pattern/pattern.ts
|
|
2524
2524
|
var FREELANCER_EDUCATION_PATTERN = {
|
|
2525
2525
|
fetchFreelancerEducation: "fetch.freelancer.education",
|
|
2526
|
-
|
|
2527
|
-
updateFreelancerEducation: "update.freelancer.education"
|
|
2526
|
+
saveFreelancerEducation: "save.freelancer.education"
|
|
2528
2527
|
};
|
|
2529
2528
|
|
|
2530
|
-
// src/modules/user/freelancer-education/dto/
|
|
2531
|
-
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";
|
|
2532
2531
|
import { Type as Type3 } from "class-transformer";
|
|
2533
|
-
var
|
|
2532
|
+
var EducationDto = class {
|
|
2534
2533
|
};
|
|
2534
|
+
__decorateClass([
|
|
2535
|
+
IsOptional15()
|
|
2536
|
+
], EducationDto.prototype, "uuid", 2);
|
|
2535
2537
|
__decorateClass([
|
|
2536
2538
|
IsString21(),
|
|
2537
2539
|
IsNotEmpty30()
|
|
2538
|
-
],
|
|
2540
|
+
], EducationDto.prototype, "degree", 2);
|
|
2539
2541
|
__decorateClass([
|
|
2540
2542
|
IsString21(),
|
|
2541
2543
|
IsNotEmpty30()
|
|
2542
|
-
],
|
|
2544
|
+
], EducationDto.prototype, "university", 2);
|
|
2543
2545
|
__decorateClass([
|
|
2544
2546
|
IsString21(),
|
|
2545
2547
|
IsNotEmpty30()
|
|
2546
|
-
],
|
|
2547
|
-
var
|
|
2548
|
+
], EducationDto.prototype, "yearOfGraduation", 2);
|
|
2549
|
+
var FreelancerEducationDto = class {
|
|
2548
2550
|
};
|
|
2549
2551
|
__decorateClass([
|
|
2550
2552
|
IsArray2(),
|
|
2551
2553
|
ValidateNested2({ each: true }),
|
|
2552
|
-
Type3(() =>
|
|
2553
|
-
],
|
|
2554
|
-
|
|
2555
|
-
// src/modules/user/freelancer-education/dto/update-freelancer-education.dto.ts
|
|
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";
|
|
2558
|
-
var UpdateEducationDto = class {
|
|
2559
|
-
};
|
|
2560
|
-
__decorateClass([
|
|
2561
|
-
IsOptional15()
|
|
2562
|
-
], UpdateEducationDto.prototype, "uuid", 2);
|
|
2563
|
-
__decorateClass([
|
|
2564
|
-
IsString22(),
|
|
2565
|
-
IsNotEmpty31()
|
|
2566
|
-
], UpdateEducationDto.prototype, "degree", 2);
|
|
2567
|
-
__decorateClass([
|
|
2568
|
-
IsString22(),
|
|
2569
|
-
IsNotEmpty31()
|
|
2570
|
-
], UpdateEducationDto.prototype, "university", 2);
|
|
2571
|
-
__decorateClass([
|
|
2572
|
-
IsString22(),
|
|
2573
|
-
IsNotEmpty31()
|
|
2574
|
-
], UpdateEducationDto.prototype, "yearOfGraduation", 2);
|
|
2575
|
-
var UpdateFreelancerEducationDto = class {
|
|
2576
|
-
};
|
|
2577
|
-
__decorateClass([
|
|
2578
|
-
IsArray3(),
|
|
2579
|
-
ValidateNested3({ each: true }),
|
|
2580
|
-
Type4(() => UpdateEducationDto)
|
|
2581
|
-
], UpdateFreelancerEducationDto.prototype, "education", 2);
|
|
2554
|
+
Type3(() => EducationDto)
|
|
2555
|
+
], FreelancerEducationDto.prototype, "education", 2);
|
|
2582
2556
|
|
|
2583
2557
|
// src/modules/user/freelancer-project/pattern/pattern.ts
|
|
2584
2558
|
var FREELANCER_PROJECT_PATTERN = {
|
|
2585
2559
|
fetchFreelancerProject: "fetch.freelancer.project",
|
|
2586
|
-
|
|
2560
|
+
saveFreelancerProject: "save.freelancer.project"
|
|
2587
2561
|
};
|
|
2588
2562
|
|
|
2589
|
-
// src/modules/user/freelancer-project/dto/
|
|
2590
|
-
import { IsArray as
|
|
2591
|
-
import { Type as
|
|
2592
|
-
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 {
|
|
2593
2567
|
};
|
|
2594
2568
|
__decorateClass([
|
|
2595
2569
|
IsOptional16()
|
|
2596
|
-
],
|
|
2570
|
+
], ProjectDto.prototype, "uuid", 2);
|
|
2597
2571
|
__decorateClass([
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
],
|
|
2572
|
+
IsString22(),
|
|
2573
|
+
IsNotEmpty31()
|
|
2574
|
+
], ProjectDto.prototype, "projectName", 2);
|
|
2601
2575
|
__decorateClass([
|
|
2602
2576
|
IsDateString(),
|
|
2603
|
-
|
|
2604
|
-
],
|
|
2577
|
+
IsNotEmpty31()
|
|
2578
|
+
], ProjectDto.prototype, "startDate", 2);
|
|
2605
2579
|
__decorateClass([
|
|
2606
2580
|
IsDateString(),
|
|
2607
|
-
|
|
2608
|
-
],
|
|
2581
|
+
IsNotEmpty31()
|
|
2582
|
+
], ProjectDto.prototype, "endDate", 2);
|
|
2609
2583
|
__decorateClass([
|
|
2610
2584
|
IsOptional16(),
|
|
2611
|
-
|
|
2612
|
-
],
|
|
2585
|
+
IsString22()
|
|
2586
|
+
], ProjectDto.prototype, "clientName", 2);
|
|
2613
2587
|
__decorateClass([
|
|
2614
2588
|
IsOptional16(),
|
|
2615
|
-
|
|
2616
|
-
],
|
|
2589
|
+
IsString22()
|
|
2590
|
+
], ProjectDto.prototype, "gitLink", 2);
|
|
2617
2591
|
__decorateClass([
|
|
2618
2592
|
IsOptional16(),
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2593
|
+
IsString22(),
|
|
2594
|
+
MaxLength13(500, { message: "Description must not exceed 500 characters" })
|
|
2595
|
+
], ProjectDto.prototype, "description", 2);
|
|
2596
|
+
var CaseStudyDto = class {
|
|
2622
2597
|
};
|
|
2623
2598
|
__decorateClass([
|
|
2624
2599
|
IsOptional16()
|
|
2625
|
-
],
|
|
2600
|
+
], CaseStudyDto.prototype, "uuid", 2);
|
|
2626
2601
|
__decorateClass([
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
],
|
|
2602
|
+
IsString22(),
|
|
2603
|
+
IsNotEmpty31()
|
|
2604
|
+
], CaseStudyDto.prototype, "projectName", 2);
|
|
2630
2605
|
__decorateClass([
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
],
|
|
2606
|
+
IsString22(),
|
|
2607
|
+
IsNotEmpty31()
|
|
2608
|
+
], CaseStudyDto.prototype, "caseStudyLink", 2);
|
|
2634
2609
|
__decorateClass([
|
|
2635
2610
|
IsOptional16(),
|
|
2636
|
-
|
|
2637
|
-
],
|
|
2638
|
-
var
|
|
2611
|
+
IsString22()
|
|
2612
|
+
], CaseStudyDto.prototype, "description", 2);
|
|
2613
|
+
var FreelancerProjectDto = class {
|
|
2639
2614
|
};
|
|
2640
2615
|
__decorateClass([
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
],
|
|
2616
|
+
IsArray3(),
|
|
2617
|
+
ValidateNested3({ each: true }),
|
|
2618
|
+
Type4(() => ProjectDto)
|
|
2619
|
+
], FreelancerProjectDto.prototype, "project", 2);
|
|
2645
2620
|
__decorateClass([
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
],
|
|
2621
|
+
IsArray3(),
|
|
2622
|
+
ValidateNested3({ each: true }),
|
|
2623
|
+
Type4(() => CaseStudyDto)
|
|
2624
|
+
], FreelancerProjectDto.prototype, "casestudy", 2);
|
|
2650
2625
|
|
|
2651
2626
|
// src/adapters/tcp/user.tcp.adapter.ts
|
|
2652
2627
|
import { config } from "dotenv";
|
|
@@ -2962,6 +2937,27 @@ __decorateClass([
|
|
|
2962
2937
|
Plan = __decorateClass([
|
|
2963
2938
|
Entity24("plans")
|
|
2964
2939
|
], Plan);
|
|
2940
|
+
|
|
2941
|
+
// src/entities/permission.entity.ts
|
|
2942
|
+
import { Column as Column26, Entity as Entity25, Index as Index18 } from "typeorm";
|
|
2943
|
+
var Permission = class extends BaseEntity {
|
|
2944
|
+
};
|
|
2945
|
+
__decorateClass([
|
|
2946
|
+
Column26({ name: "name", type: "varchar", nullable: true })
|
|
2947
|
+
], Permission.prototype, "name", 2);
|
|
2948
|
+
__decorateClass([
|
|
2949
|
+
Column26({ name: "slug", type: "varchar", nullable: true, unique: true }),
|
|
2950
|
+
Index18()
|
|
2951
|
+
], Permission.prototype, "slug", 2);
|
|
2952
|
+
__decorateClass([
|
|
2953
|
+
Column26({ name: "description", type: "text", nullable: true })
|
|
2954
|
+
], Permission.prototype, "description", 2);
|
|
2955
|
+
__decorateClass([
|
|
2956
|
+
Column26({ name: "is_active", type: "boolean", default: true })
|
|
2957
|
+
], Permission.prototype, "isActive", 2);
|
|
2958
|
+
Permission = __decorateClass([
|
|
2959
|
+
Entity25("permissions")
|
|
2960
|
+
], Permission);
|
|
2965
2961
|
export {
|
|
2966
2962
|
AUTHENTICATION_PATTERN,
|
|
2967
2963
|
AccountStatus,
|
|
@@ -2976,22 +2972,19 @@ export {
|
|
|
2976
2972
|
CLIENT_PROFILE_PATTERN,
|
|
2977
2973
|
COMPANY_MEMBERS_PATTERNS,
|
|
2978
2974
|
COMPANY_ROLES_PATTERNS,
|
|
2975
|
+
CaseStudyDto,
|
|
2979
2976
|
ClientChangePasswordDto,
|
|
2980
2977
|
ClientCreateAccountDto,
|
|
2981
2978
|
ClientProfileQuestionDto,
|
|
2982
2979
|
CompanyProfile,
|
|
2983
2980
|
CompanyRole,
|
|
2984
|
-
CreateCaseStudyDto,
|
|
2985
2981
|
CreateCompanyMemberDto,
|
|
2986
2982
|
CreateCompanyRoleDto,
|
|
2987
|
-
CreateEducationDto,
|
|
2988
|
-
CreateFreelancerEducationDto,
|
|
2989
|
-
CreateFreelancerProjectDto,
|
|
2990
|
-
CreateProjectDto,
|
|
2991
2983
|
CreateQuestionDto,
|
|
2992
2984
|
CreateRatingDto,
|
|
2993
2985
|
CreateSubAdminDto,
|
|
2994
2986
|
DurationTypeEnum,
|
|
2987
|
+
EducationDto,
|
|
2995
2988
|
EmploymentType,
|
|
2996
2989
|
ExperienceDto,
|
|
2997
2990
|
FREELANCER_EDUCATION_PATTERN,
|
|
@@ -3005,11 +2998,13 @@ export {
|
|
|
3005
2998
|
FreelancerCreateAccountDto,
|
|
3006
2999
|
FreelancerDevelopmentPreferenceDto,
|
|
3007
3000
|
FreelancerEducation,
|
|
3001
|
+
FreelancerEducationDto,
|
|
3008
3002
|
FreelancerExperience,
|
|
3009
3003
|
FreelancerExperienceDto,
|
|
3010
3004
|
FreelancerProfile,
|
|
3011
3005
|
FreelancerProfileQuestionDto,
|
|
3012
3006
|
FreelancerProject,
|
|
3007
|
+
FreelancerProjectDto,
|
|
3013
3008
|
FreelancerUploadResumeDto,
|
|
3014
3009
|
FreelancerWorkShowcaseDto,
|
|
3015
3010
|
FromUsOn,
|
|
@@ -3049,7 +3044,9 @@ export {
|
|
|
3049
3044
|
Otp,
|
|
3050
3045
|
PLAN_PATTERN,
|
|
3051
3046
|
PROFILE_PATTERN,
|
|
3047
|
+
Permission,
|
|
3052
3048
|
Plan,
|
|
3049
|
+
ProjectDto,
|
|
3053
3050
|
Provider,
|
|
3054
3051
|
QUESTION_PATTERN,
|
|
3055
3052
|
Question,
|
|
@@ -3077,8 +3074,6 @@ export {
|
|
|
3077
3074
|
UpdateCompanyMemberDto,
|
|
3078
3075
|
UpdateCompanyProfileDto,
|
|
3079
3076
|
UpdateCompanyRoleDto,
|
|
3080
|
-
UpdateEducationDto,
|
|
3081
|
-
UpdateFreelancerEducationDto,
|
|
3082
3077
|
UpdateFreelancerProfileDto,
|
|
3083
3078
|
UpdateSubAdminAccountStatusDto,
|
|
3084
3079
|
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