@experts_hub/shared 1.0.125 → 1.0.126
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 -1
- package/dist/entities/job-application.entity.d.ts +1 -1
- package/dist/entities/job-skill.entity.d.ts +1 -1
- package/dist/entities/{job-entity.d.ts → job.entity.d.ts} +9 -0
- package/dist/entities/user.entity.d.ts +1 -1
- package/dist/index.d.mts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +53 -7
- package/dist/index.mjs +52 -7
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export * from './company-profile.entity';
|
|
|
9
9
|
export * from './company-role.entity';
|
|
10
10
|
export * from './skill.entity';
|
|
11
11
|
export * from './job-role.entity';
|
|
12
|
-
export * from './job
|
|
12
|
+
export * from './job.entity';
|
|
13
13
|
export * from './job-skill.entity';
|
|
14
14
|
export * from './job-application.entity';
|
|
15
15
|
export * from './bank-details.entity';
|
|
@@ -24,6 +24,12 @@ export declare enum JobStatusEnum {
|
|
|
24
24
|
ONHOLD = "ONHOLD",
|
|
25
25
|
CLOSED = "CLOSED"
|
|
26
26
|
}
|
|
27
|
+
export declare enum DurationTypeEnum {
|
|
28
|
+
DAY = "DAY",
|
|
29
|
+
WEEK = "WEEK",
|
|
30
|
+
MONTH = "MONTH",
|
|
31
|
+
YEAR = "YEAR"
|
|
32
|
+
}
|
|
27
33
|
export declare class Job extends BaseEntity {
|
|
28
34
|
jobId: string;
|
|
29
35
|
userId: number;
|
|
@@ -36,6 +42,9 @@ export declare class Job extends BaseEntity {
|
|
|
36
42
|
currency: string;
|
|
37
43
|
expectedSalaryFrom: number;
|
|
38
44
|
expectedSalaryTo: number;
|
|
45
|
+
tentativeStartDate: Date;
|
|
46
|
+
duration: string;
|
|
47
|
+
durationType: DurationTypeEnum;
|
|
39
48
|
description: string;
|
|
40
49
|
additionalComment: string;
|
|
41
50
|
onboardingTat: string;
|
|
@@ -4,7 +4,7 @@ import { ResumeParserLog } from "./resume-parser-log.entity";
|
|
|
4
4
|
import { Otp } from "./otp.entity";
|
|
5
5
|
import { FreelancerProfile } from "./freelancer-profile.entity";
|
|
6
6
|
import { CompanyProfile } from "./company-profile.entity";
|
|
7
|
-
import { Job } from "./job
|
|
7
|
+
import { Job } from "./job.entity";
|
|
8
8
|
import { BankDetail } from "./bank-details.entity";
|
|
9
9
|
import { SystemPreference } from "./system-preference.entity";
|
|
10
10
|
import { Rating } from "./rating.entity";
|
package/dist/index.d.mts
CHANGED
|
@@ -399,6 +399,12 @@ declare enum JobStatusEnum {
|
|
|
399
399
|
ONHOLD = "ONHOLD",
|
|
400
400
|
CLOSED = "CLOSED"
|
|
401
401
|
}
|
|
402
|
+
declare enum DurationTypeEnum {
|
|
403
|
+
DAY = "DAY",
|
|
404
|
+
WEEK = "WEEK",
|
|
405
|
+
MONTH = "MONTH",
|
|
406
|
+
YEAR = "YEAR"
|
|
407
|
+
}
|
|
402
408
|
declare class Job extends BaseEntity {
|
|
403
409
|
jobId: string;
|
|
404
410
|
userId: number;
|
|
@@ -411,6 +417,9 @@ declare class Job extends BaseEntity {
|
|
|
411
417
|
currency: string;
|
|
412
418
|
expectedSalaryFrom: number;
|
|
413
419
|
expectedSalaryTo: number;
|
|
420
|
+
tentativeStartDate: Date;
|
|
421
|
+
duration: string;
|
|
422
|
+
durationType: DurationTypeEnum;
|
|
414
423
|
description: string;
|
|
415
424
|
additionalComment: string;
|
|
416
425
|
onboardingTat: string;
|
|
@@ -1000,4 +1009,4 @@ declare class Plan extends BaseEntity {
|
|
|
1000
1009
|
features: Feature[];
|
|
1001
1010
|
}
|
|
1002
1011
|
|
|
1003
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
1012
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -399,6 +399,12 @@ declare enum JobStatusEnum {
|
|
|
399
399
|
ONHOLD = "ONHOLD",
|
|
400
400
|
CLOSED = "CLOSED"
|
|
401
401
|
}
|
|
402
|
+
declare enum DurationTypeEnum {
|
|
403
|
+
DAY = "DAY",
|
|
404
|
+
WEEK = "WEEK",
|
|
405
|
+
MONTH = "MONTH",
|
|
406
|
+
YEAR = "YEAR"
|
|
407
|
+
}
|
|
402
408
|
declare class Job extends BaseEntity {
|
|
403
409
|
jobId: string;
|
|
404
410
|
userId: number;
|
|
@@ -411,6 +417,9 @@ declare class Job extends BaseEntity {
|
|
|
411
417
|
currency: string;
|
|
412
418
|
expectedSalaryFrom: number;
|
|
413
419
|
expectedSalaryTo: number;
|
|
420
|
+
tentativeStartDate: Date;
|
|
421
|
+
duration: string;
|
|
422
|
+
durationType: DurationTypeEnum;
|
|
414
423
|
description: string;
|
|
415
424
|
additionalComment: string;
|
|
416
425
|
onboardingTat: string;
|
|
@@ -1000,4 +1009,4 @@ declare class Plan extends BaseEntity {
|
|
|
1000
1009
|
features: Feature[];
|
|
1001
1010
|
}
|
|
1002
1011
|
|
|
1003
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
|
1012
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, ApplicationStatusEnum, BANK_PATTERN, BankAccountScope, BankAccountScopeEnum, BankAccountTypeEnum, BankDetail, BaseEntity, CLIENT_PROFILE_PATTERN, COMPANY_ROLES_PATTERNS, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CompanyRole, CreateCompanyRoleDto, CreateQuestionDto, CreateRatingDto, CreateSubAdminDto, DurationTypeEnum, EmploymentType, Feature, ForgotPasswordDto, FreelancerBankDetailsDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAddRatingPayload, type IAttachPermissionsToCompanyRoleResponse, type IAttachPermissionsToSubAdminResponse, type ICreateCompanyRolePayload, type ICreateCompanyRoleResponse, type ICreateRatingResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteCompanyRoleResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, 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 IToggleCompanyRoleVisibilityPayload, type IToggleCompanyRoleVisibilityResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateCompanyRolePayload, type IUpdateCompanyRoleResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, 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, ResumeParserLog, SUBADMIN_PATTERN, SYSTEM_PREFERENCES_PATTERN, ScopeEnum$2 as ScopeEnum, Skill, Step, SystemPreference, SystemPreferenceDto, SystemPreferenceKey, ToggleCompanyRoleVisibilityDto, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateCompanyRoleDto, UpdateFreelancerProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -48,6 +48,7 @@ __export(index_exports, {
|
|
|
48
48
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
49
49
|
CreateRatingDto: () => CreateRatingDto,
|
|
50
50
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
51
|
+
DurationTypeEnum: () => DurationTypeEnum,
|
|
51
52
|
EmploymentType: () => EmploymentType,
|
|
52
53
|
Feature: () => Feature,
|
|
53
54
|
ForgotPasswordDto: () => ForgotPasswordDto,
|
|
@@ -833,7 +834,7 @@ FreelancerProfile = __decorateClass([
|
|
|
833
834
|
(0, import_typeorm5.Entity)("freelancer_profiles")
|
|
834
835
|
], FreelancerProfile);
|
|
835
836
|
|
|
836
|
-
// src/entities/job
|
|
837
|
+
// src/entities/job.entity.ts
|
|
837
838
|
var import_typeorm9 = require("typeorm");
|
|
838
839
|
|
|
839
840
|
// src/entities/job-skill.entity.ts
|
|
@@ -998,7 +999,7 @@ JobApplication = __decorateClass([
|
|
|
998
999
|
(0, import_typeorm8.Entity)("job_applications")
|
|
999
1000
|
], JobApplication);
|
|
1000
1001
|
|
|
1001
|
-
// src/entities/job
|
|
1002
|
+
// src/entities/job.entity.ts
|
|
1002
1003
|
var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
|
|
1003
1004
|
JobLocationEnum2["ONSITE"] = "ONSITE";
|
|
1004
1005
|
JobLocationEnum2["REMOTE"] = "REMOTE";
|
|
@@ -1025,6 +1026,13 @@ var JobStatusEnum = /* @__PURE__ */ ((JobStatusEnum2) => {
|
|
|
1025
1026
|
JobStatusEnum2["CLOSED"] = "CLOSED";
|
|
1026
1027
|
return JobStatusEnum2;
|
|
1027
1028
|
})(JobStatusEnum || {});
|
|
1029
|
+
var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
|
|
1030
|
+
DurationTypeEnum2["DAY"] = "DAY";
|
|
1031
|
+
DurationTypeEnum2["WEEK"] = "WEEK";
|
|
1032
|
+
DurationTypeEnum2["MONTH"] = "MONTH";
|
|
1033
|
+
DurationTypeEnum2["YEAR"] = "YEAR";
|
|
1034
|
+
return DurationTypeEnum2;
|
|
1035
|
+
})(DurationTypeEnum || {});
|
|
1028
1036
|
var Job = class extends BaseEntity {
|
|
1029
1037
|
};
|
|
1030
1038
|
__decorateClass([
|
|
@@ -1068,11 +1076,37 @@ __decorateClass([
|
|
|
1068
1076
|
(0, import_typeorm9.Column)({ name: "currency", type: "varchar", default: "USD" })
|
|
1069
1077
|
], Job.prototype, "currency", 2);
|
|
1070
1078
|
__decorateClass([
|
|
1071
|
-
(0, import_typeorm9.Column)({
|
|
1079
|
+
(0, import_typeorm9.Column)({
|
|
1080
|
+
name: "expected_salary_from",
|
|
1081
|
+
type: "decimal",
|
|
1082
|
+
precision: 10,
|
|
1083
|
+
scale: 2,
|
|
1084
|
+
default: 0
|
|
1085
|
+
})
|
|
1072
1086
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
1073
1087
|
__decorateClass([
|
|
1074
|
-
(0, import_typeorm9.Column)({
|
|
1088
|
+
(0, import_typeorm9.Column)({
|
|
1089
|
+
name: "expected_salary_to",
|
|
1090
|
+
type: "decimal",
|
|
1091
|
+
precision: 10,
|
|
1092
|
+
scale: 2,
|
|
1093
|
+
default: 0
|
|
1094
|
+
})
|
|
1075
1095
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
1096
|
+
__decorateClass([
|
|
1097
|
+
(0, import_typeorm9.Column)({ name: "tentative_start_date", type: "date", nullable: true })
|
|
1098
|
+
], Job.prototype, "tentativeStartDate", 2);
|
|
1099
|
+
__decorateClass([
|
|
1100
|
+
(0, import_typeorm9.Column)({ name: "duration", type: "varchar", nullable: true })
|
|
1101
|
+
], Job.prototype, "duration", 2);
|
|
1102
|
+
__decorateClass([
|
|
1103
|
+
(0, import_typeorm9.Column)({
|
|
1104
|
+
name: "duration_type",
|
|
1105
|
+
type: "enum",
|
|
1106
|
+
enum: DurationTypeEnum,
|
|
1107
|
+
nullable: true
|
|
1108
|
+
})
|
|
1109
|
+
], Job.prototype, "durationType", 2);
|
|
1076
1110
|
__decorateClass([
|
|
1077
1111
|
(0, import_typeorm9.Column)({ name: "description", type: "varchar", nullable: true })
|
|
1078
1112
|
], Job.prototype, "description", 2);
|
|
@@ -1080,10 +1114,19 @@ __decorateClass([
|
|
|
1080
1114
|
(0, import_typeorm9.Column)({ name: "additional_comment", type: "varchar", nullable: true })
|
|
1081
1115
|
], Job.prototype, "additionalComment", 2);
|
|
1082
1116
|
__decorateClass([
|
|
1083
|
-
(0, import_typeorm9.Column)({
|
|
1117
|
+
(0, import_typeorm9.Column)({
|
|
1118
|
+
name: "onboarding_tat",
|
|
1119
|
+
type: "varchar",
|
|
1120
|
+
length: 50,
|
|
1121
|
+
nullable: true
|
|
1122
|
+
})
|
|
1084
1123
|
], Job.prototype, "onboardingTat", 2);
|
|
1085
1124
|
__decorateClass([
|
|
1086
|
-
(0, import_typeorm9.Column)({
|
|
1125
|
+
(0, import_typeorm9.Column)({
|
|
1126
|
+
name: "candidate_communication_skills",
|
|
1127
|
+
type: "varchar",
|
|
1128
|
+
nullable: true
|
|
1129
|
+
})
|
|
1087
1130
|
], Job.prototype, "candidateCommunicationSkills", 2);
|
|
1088
1131
|
__decorateClass([
|
|
1089
1132
|
(0, import_typeorm9.Column)({
|
|
@@ -1105,7 +1148,9 @@ __decorateClass([
|
|
|
1105
1148
|
(0, import_typeorm9.OneToMany)(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
1106
1149
|
], Job.prototype, "jobSkills", 2);
|
|
1107
1150
|
__decorateClass([
|
|
1108
|
-
(0, import_typeorm9.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
1151
|
+
(0, import_typeorm9.OneToMany)(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
1152
|
+
cascade: true
|
|
1153
|
+
})
|
|
1109
1154
|
], Job.prototype, "jobApplications", 2);
|
|
1110
1155
|
Job = __decorateClass([
|
|
1111
1156
|
(0, import_typeorm9.Entity)("jobs")
|
|
@@ -2395,6 +2440,7 @@ Plan = __decorateClass([
|
|
|
2395
2440
|
CreateQuestionDto,
|
|
2396
2441
|
CreateRatingDto,
|
|
2397
2442
|
CreateSubAdminDto,
|
|
2443
|
+
DurationTypeEnum,
|
|
2398
2444
|
EmploymentType,
|
|
2399
2445
|
Feature,
|
|
2400
2446
|
ForgotPasswordDto,
|
package/dist/index.mjs
CHANGED
|
@@ -808,7 +808,7 @@ FreelancerProfile = __decorateClass([
|
|
|
808
808
|
Entity4("freelancer_profiles")
|
|
809
809
|
], FreelancerProfile);
|
|
810
810
|
|
|
811
|
-
// src/entities/job
|
|
811
|
+
// src/entities/job.entity.ts
|
|
812
812
|
import {
|
|
813
813
|
Entity as Entity8,
|
|
814
814
|
Column as Column9,
|
|
@@ -986,7 +986,7 @@ JobApplication = __decorateClass([
|
|
|
986
986
|
Entity7("job_applications")
|
|
987
987
|
], JobApplication);
|
|
988
988
|
|
|
989
|
-
// src/entities/job
|
|
989
|
+
// src/entities/job.entity.ts
|
|
990
990
|
var JobLocationEnum = /* @__PURE__ */ ((JobLocationEnum2) => {
|
|
991
991
|
JobLocationEnum2["ONSITE"] = "ONSITE";
|
|
992
992
|
JobLocationEnum2["REMOTE"] = "REMOTE";
|
|
@@ -1013,6 +1013,13 @@ var JobStatusEnum = /* @__PURE__ */ ((JobStatusEnum2) => {
|
|
|
1013
1013
|
JobStatusEnum2["CLOSED"] = "CLOSED";
|
|
1014
1014
|
return JobStatusEnum2;
|
|
1015
1015
|
})(JobStatusEnum || {});
|
|
1016
|
+
var DurationTypeEnum = /* @__PURE__ */ ((DurationTypeEnum2) => {
|
|
1017
|
+
DurationTypeEnum2["DAY"] = "DAY";
|
|
1018
|
+
DurationTypeEnum2["WEEK"] = "WEEK";
|
|
1019
|
+
DurationTypeEnum2["MONTH"] = "MONTH";
|
|
1020
|
+
DurationTypeEnum2["YEAR"] = "YEAR";
|
|
1021
|
+
return DurationTypeEnum2;
|
|
1022
|
+
})(DurationTypeEnum || {});
|
|
1016
1023
|
var Job = class extends BaseEntity {
|
|
1017
1024
|
};
|
|
1018
1025
|
__decorateClass([
|
|
@@ -1056,11 +1063,37 @@ __decorateClass([
|
|
|
1056
1063
|
Column9({ name: "currency", type: "varchar", default: "USD" })
|
|
1057
1064
|
], Job.prototype, "currency", 2);
|
|
1058
1065
|
__decorateClass([
|
|
1059
|
-
Column9({
|
|
1066
|
+
Column9({
|
|
1067
|
+
name: "expected_salary_from",
|
|
1068
|
+
type: "decimal",
|
|
1069
|
+
precision: 10,
|
|
1070
|
+
scale: 2,
|
|
1071
|
+
default: 0
|
|
1072
|
+
})
|
|
1060
1073
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
1061
1074
|
__decorateClass([
|
|
1062
|
-
Column9({
|
|
1075
|
+
Column9({
|
|
1076
|
+
name: "expected_salary_to",
|
|
1077
|
+
type: "decimal",
|
|
1078
|
+
precision: 10,
|
|
1079
|
+
scale: 2,
|
|
1080
|
+
default: 0
|
|
1081
|
+
})
|
|
1063
1082
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
1083
|
+
__decorateClass([
|
|
1084
|
+
Column9({ name: "tentative_start_date", type: "date", nullable: true })
|
|
1085
|
+
], Job.prototype, "tentativeStartDate", 2);
|
|
1086
|
+
__decorateClass([
|
|
1087
|
+
Column9({ name: "duration", type: "varchar", nullable: true })
|
|
1088
|
+
], Job.prototype, "duration", 2);
|
|
1089
|
+
__decorateClass([
|
|
1090
|
+
Column9({
|
|
1091
|
+
name: "duration_type",
|
|
1092
|
+
type: "enum",
|
|
1093
|
+
enum: DurationTypeEnum,
|
|
1094
|
+
nullable: true
|
|
1095
|
+
})
|
|
1096
|
+
], Job.prototype, "durationType", 2);
|
|
1064
1097
|
__decorateClass([
|
|
1065
1098
|
Column9({ name: "description", type: "varchar", nullable: true })
|
|
1066
1099
|
], Job.prototype, "description", 2);
|
|
@@ -1068,10 +1101,19 @@ __decorateClass([
|
|
|
1068
1101
|
Column9({ name: "additional_comment", type: "varchar", nullable: true })
|
|
1069
1102
|
], Job.prototype, "additionalComment", 2);
|
|
1070
1103
|
__decorateClass([
|
|
1071
|
-
Column9({
|
|
1104
|
+
Column9({
|
|
1105
|
+
name: "onboarding_tat",
|
|
1106
|
+
type: "varchar",
|
|
1107
|
+
length: 50,
|
|
1108
|
+
nullable: true
|
|
1109
|
+
})
|
|
1072
1110
|
], Job.prototype, "onboardingTat", 2);
|
|
1073
1111
|
__decorateClass([
|
|
1074
|
-
Column9({
|
|
1112
|
+
Column9({
|
|
1113
|
+
name: "candidate_communication_skills",
|
|
1114
|
+
type: "varchar",
|
|
1115
|
+
nullable: true
|
|
1116
|
+
})
|
|
1075
1117
|
], Job.prototype, "candidateCommunicationSkills", 2);
|
|
1076
1118
|
__decorateClass([
|
|
1077
1119
|
Column9({
|
|
@@ -1093,7 +1135,9 @@ __decorateClass([
|
|
|
1093
1135
|
OneToMany4(() => JobSkill, (jobSkill) => jobSkill.job, { cascade: true })
|
|
1094
1136
|
], Job.prototype, "jobSkills", 2);
|
|
1095
1137
|
__decorateClass([
|
|
1096
|
-
OneToMany4(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
1138
|
+
OneToMany4(() => JobApplication, (jobApplication) => jobApplication.job, {
|
|
1139
|
+
cascade: true
|
|
1140
|
+
})
|
|
1097
1141
|
], Job.prototype, "jobApplications", 2);
|
|
1098
1142
|
Job = __decorateClass([
|
|
1099
1143
|
Entity8("jobs")
|
|
@@ -2435,6 +2479,7 @@ export {
|
|
|
2435
2479
|
CreateQuestionDto,
|
|
2436
2480
|
CreateRatingDto,
|
|
2437
2481
|
CreateSubAdminDto,
|
|
2482
|
+
DurationTypeEnum,
|
|
2438
2483
|
EmploymentType,
|
|
2439
2484
|
Feature,
|
|
2440
2485
|
ForgotPasswordDto,
|