@experts_hub/shared 1.0.57 → 1.0.58
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/company-profile.entity.d.ts +11 -7
- package/dist/index.d.mts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +30 -22
- package/dist/index.mjs +28 -21
- package/package.json +1 -1
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { BaseEntity } from "./base.entity";
|
|
2
2
|
import { User } from './user.entity';
|
|
3
|
-
import { ModeOfWork } from "./freelancer-profile.entity";
|
|
4
3
|
export declare enum KindOfHire {
|
|
5
4
|
FULLTIME = "FULLTIME",
|
|
6
5
|
SHORTTIME = "SHORTTIME",
|
|
7
6
|
BOTH = "BOTH"
|
|
8
7
|
}
|
|
9
|
-
export declare enum
|
|
8
|
+
export declare enum ModeOfHire {
|
|
9
|
+
ONSITE = "ONSITE",
|
|
10
|
+
REMOTE = "REMOTE",
|
|
11
|
+
BOTH = "BOTH"
|
|
12
|
+
}
|
|
13
|
+
export declare enum FromUsOn {
|
|
10
14
|
LINKEDIN = "LINKEDIN",
|
|
11
15
|
GOOGLE = "GOOGLE",
|
|
12
16
|
REFERRAL = "REFERRAL",
|
|
@@ -15,10 +19,10 @@ export declare enum FromWhere {
|
|
|
15
19
|
export declare class CompanyProfile extends BaseEntity {
|
|
16
20
|
userId: number;
|
|
17
21
|
user: User;
|
|
18
|
-
skills: string[];
|
|
19
|
-
howManyFreelancersNeed: string;
|
|
20
|
-
kindOfWork: KindOfHire;
|
|
21
|
-
modeOfWork: ModeOfWork;
|
|
22
|
-
fromWhere: FromWhere;
|
|
23
22
|
companyName: string;
|
|
23
|
+
skills: string[];
|
|
24
|
+
requiredFreelancer: string;
|
|
25
|
+
kindOfHiring: KindOfHire;
|
|
26
|
+
modeOfHire: ModeOfHire;
|
|
27
|
+
foundUsOn: FromUsOn;
|
|
24
28
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -329,7 +329,12 @@ declare enum KindOfHire {
|
|
|
329
329
|
SHORTTIME = "SHORTTIME",
|
|
330
330
|
BOTH = "BOTH"
|
|
331
331
|
}
|
|
332
|
-
declare enum
|
|
332
|
+
declare enum ModeOfHire {
|
|
333
|
+
ONSITE = "ONSITE",
|
|
334
|
+
REMOTE = "REMOTE",
|
|
335
|
+
BOTH = "BOTH"
|
|
336
|
+
}
|
|
337
|
+
declare enum FromUsOn {
|
|
333
338
|
LINKEDIN = "LINKEDIN",
|
|
334
339
|
GOOGLE = "GOOGLE",
|
|
335
340
|
REFERRAL = "REFERRAL",
|
|
@@ -338,12 +343,12 @@ declare enum FromWhere {
|
|
|
338
343
|
declare class CompanyProfile extends BaseEntity {
|
|
339
344
|
userId: number;
|
|
340
345
|
user: User;
|
|
341
|
-
skills: string[];
|
|
342
|
-
howManyFreelancersNeed: string;
|
|
343
|
-
kindOfWork: KindOfHire;
|
|
344
|
-
modeOfWork: ModeOfWork;
|
|
345
|
-
fromWhere: FromWhere;
|
|
346
346
|
companyName: string;
|
|
347
|
+
skills: string[];
|
|
348
|
+
requiredFreelancer: string;
|
|
349
|
+
kindOfHiring: KindOfHire;
|
|
350
|
+
modeOfHire: ModeOfHire;
|
|
351
|
+
foundUsOn: FromUsOn;
|
|
347
352
|
}
|
|
348
353
|
|
|
349
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile,
|
|
354
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.d.ts
CHANGED
|
@@ -329,7 +329,12 @@ declare enum KindOfHire {
|
|
|
329
329
|
SHORTTIME = "SHORTTIME",
|
|
330
330
|
BOTH = "BOTH"
|
|
331
331
|
}
|
|
332
|
-
declare enum
|
|
332
|
+
declare enum ModeOfHire {
|
|
333
|
+
ONSITE = "ONSITE",
|
|
334
|
+
REMOTE = "REMOTE",
|
|
335
|
+
BOTH = "BOTH"
|
|
336
|
+
}
|
|
337
|
+
declare enum FromUsOn {
|
|
333
338
|
LINKEDIN = "LINKEDIN",
|
|
334
339
|
GOOGLE = "GOOGLE",
|
|
335
340
|
REFERRAL = "REFERRAL",
|
|
@@ -338,12 +343,12 @@ declare enum FromWhere {
|
|
|
338
343
|
declare class CompanyProfile extends BaseEntity {
|
|
339
344
|
userId: number;
|
|
340
345
|
user: User;
|
|
341
|
-
skills: string[];
|
|
342
|
-
howManyFreelancersNeed: string;
|
|
343
|
-
kindOfWork: KindOfHire;
|
|
344
|
-
modeOfWork: ModeOfWork;
|
|
345
|
-
fromWhere: FromWhere;
|
|
346
346
|
companyName: string;
|
|
347
|
+
skills: string[];
|
|
348
|
+
requiredFreelancer: string;
|
|
349
|
+
kindOfHiring: KindOfHire;
|
|
350
|
+
modeOfHire: ModeOfHire;
|
|
351
|
+
foundUsOn: FromUsOn;
|
|
347
352
|
}
|
|
348
353
|
|
|
349
|
-
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile,
|
|
354
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JobRMQAdapter, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
|
package/dist/index.js
CHANGED
|
@@ -35,12 +35,13 @@ __export(index_exports, {
|
|
|
35
35
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
36
36
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
37
37
|
FreelancerProfile: () => FreelancerProfile,
|
|
38
|
-
|
|
38
|
+
FromUsOn: () => FromUsOn,
|
|
39
39
|
JobRMQAdapter: () => JobRMQAdapter,
|
|
40
40
|
JobTCPAdapter: () => JobTCPAdapter,
|
|
41
41
|
KindOfHire: () => KindOfHire,
|
|
42
42
|
LoginDto: () => LoginDto,
|
|
43
43
|
LogoutDto: () => LogoutDto,
|
|
44
|
+
ModeOfHire: () => ModeOfHire,
|
|
44
45
|
ModeOfWork: () => ModeOfWork,
|
|
45
46
|
NatureOfWork: () => NatureOfWork,
|
|
46
47
|
ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
|
|
@@ -769,13 +770,19 @@ var KindOfHire = /* @__PURE__ */ ((KindOfHire2) => {
|
|
|
769
770
|
KindOfHire2["BOTH"] = "BOTH";
|
|
770
771
|
return KindOfHire2;
|
|
771
772
|
})(KindOfHire || {});
|
|
772
|
-
var
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
773
|
+
var ModeOfHire = /* @__PURE__ */ ((ModeOfHire2) => {
|
|
774
|
+
ModeOfHire2["ONSITE"] = "ONSITE";
|
|
775
|
+
ModeOfHire2["REMOTE"] = "REMOTE";
|
|
776
|
+
ModeOfHire2["BOTH"] = "BOTH";
|
|
777
|
+
return ModeOfHire2;
|
|
778
|
+
})(ModeOfHire || {});
|
|
779
|
+
var FromUsOn = /* @__PURE__ */ ((FromUsOn2) => {
|
|
780
|
+
FromUsOn2["LINKEDIN"] = "LINKEDIN";
|
|
781
|
+
FromUsOn2["GOOGLE"] = "GOOGLE";
|
|
782
|
+
FromUsOn2["REFERRAL"] = "REFERRAL";
|
|
783
|
+
FromUsOn2["OTHER"] = "OTHER";
|
|
784
|
+
return FromUsOn2;
|
|
785
|
+
})(FromUsOn || {});
|
|
779
786
|
var CompanyProfile = class extends BaseEntity {
|
|
780
787
|
};
|
|
781
788
|
// individual index to find company profile by user
|
|
@@ -787,39 +794,39 @@ __decorateClass([
|
|
|
787
794
|
(0, import_typeorm8.ManyToOne)(() => User, (user) => user.otps),
|
|
788
795
|
(0, import_typeorm8.JoinColumn)({ name: "user_id" })
|
|
789
796
|
], CompanyProfile.prototype, "user", 2);
|
|
797
|
+
__decorateClass([
|
|
798
|
+
(0, import_typeorm8.Column)({ name: "company_name", type: "varchar", nullable: true })
|
|
799
|
+
], CompanyProfile.prototype, "companyName", 2);
|
|
790
800
|
__decorateClass([
|
|
791
801
|
(0, import_typeorm8.Column)({ name: "skills", type: "text", nullable: true })
|
|
792
802
|
], CompanyProfile.prototype, "skills", 2);
|
|
793
803
|
__decorateClass([
|
|
794
|
-
(0, import_typeorm8.Column)({ name: "
|
|
795
|
-
], CompanyProfile.prototype, "
|
|
804
|
+
(0, import_typeorm8.Column)({ name: "required_freelancer", type: "varchar", nullable: true })
|
|
805
|
+
], CompanyProfile.prototype, "requiredFreelancer", 2);
|
|
796
806
|
__decorateClass([
|
|
797
807
|
(0, import_typeorm8.Column)({
|
|
798
|
-
name: "
|
|
808
|
+
name: "kind_of_hiring",
|
|
799
809
|
type: "enum",
|
|
800
810
|
enum: KindOfHire,
|
|
801
811
|
nullable: true
|
|
802
812
|
})
|
|
803
|
-
], CompanyProfile.prototype, "
|
|
813
|
+
], CompanyProfile.prototype, "kindOfHiring", 2);
|
|
804
814
|
__decorateClass([
|
|
805
815
|
(0, import_typeorm8.Column)({
|
|
806
|
-
name: "
|
|
816
|
+
name: "mode_of_hire",
|
|
807
817
|
type: "enum",
|
|
808
|
-
enum:
|
|
818
|
+
enum: ModeOfHire,
|
|
809
819
|
nullable: true
|
|
810
820
|
})
|
|
811
|
-
], CompanyProfile.prototype, "
|
|
821
|
+
], CompanyProfile.prototype, "modeOfHire", 2);
|
|
812
822
|
__decorateClass([
|
|
813
823
|
(0, import_typeorm8.Column)({
|
|
814
|
-
name: "
|
|
824
|
+
name: "found_us_on",
|
|
815
825
|
type: "enum",
|
|
816
|
-
enum:
|
|
826
|
+
enum: FromUsOn,
|
|
817
827
|
nullable: true
|
|
818
828
|
})
|
|
819
|
-
], CompanyProfile.prototype, "
|
|
820
|
-
__decorateClass([
|
|
821
|
-
(0, import_typeorm8.Column)({ name: "company_name", type: "varchar" })
|
|
822
|
-
], CompanyProfile.prototype, "companyName", 2);
|
|
829
|
+
], CompanyProfile.prototype, "foundUsOn", 2);
|
|
823
830
|
CompanyProfile = __decorateClass([
|
|
824
831
|
(0, import_typeorm8.Entity)("company_profiles")
|
|
825
832
|
], CompanyProfile);
|
|
@@ -833,12 +840,13 @@ CompanyProfile = __decorateClass([
|
|
|
833
840
|
CreateQuestionDto,
|
|
834
841
|
CreateSubAdminDto,
|
|
835
842
|
FreelancerProfile,
|
|
836
|
-
|
|
843
|
+
FromUsOn,
|
|
837
844
|
JobRMQAdapter,
|
|
838
845
|
JobTCPAdapter,
|
|
839
846
|
KindOfHire,
|
|
840
847
|
LoginDto,
|
|
841
848
|
LogoutDto,
|
|
849
|
+
ModeOfHire,
|
|
842
850
|
ModeOfWork,
|
|
843
851
|
NatureOfWork,
|
|
844
852
|
ONBOARDING_PATTERN,
|
package/dist/index.mjs
CHANGED
|
@@ -770,13 +770,19 @@ var KindOfHire = /* @__PURE__ */ ((KindOfHire2) => {
|
|
|
770
770
|
KindOfHire2["BOTH"] = "BOTH";
|
|
771
771
|
return KindOfHire2;
|
|
772
772
|
})(KindOfHire || {});
|
|
773
|
-
var
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
773
|
+
var ModeOfHire = /* @__PURE__ */ ((ModeOfHire2) => {
|
|
774
|
+
ModeOfHire2["ONSITE"] = "ONSITE";
|
|
775
|
+
ModeOfHire2["REMOTE"] = "REMOTE";
|
|
776
|
+
ModeOfHire2["BOTH"] = "BOTH";
|
|
777
|
+
return ModeOfHire2;
|
|
778
|
+
})(ModeOfHire || {});
|
|
779
|
+
var FromUsOn = /* @__PURE__ */ ((FromUsOn2) => {
|
|
780
|
+
FromUsOn2["LINKEDIN"] = "LINKEDIN";
|
|
781
|
+
FromUsOn2["GOOGLE"] = "GOOGLE";
|
|
782
|
+
FromUsOn2["REFERRAL"] = "REFERRAL";
|
|
783
|
+
FromUsOn2["OTHER"] = "OTHER";
|
|
784
|
+
return FromUsOn2;
|
|
785
|
+
})(FromUsOn || {});
|
|
780
786
|
var CompanyProfile = class extends BaseEntity {
|
|
781
787
|
};
|
|
782
788
|
// individual index to find company profile by user
|
|
@@ -788,39 +794,39 @@ __decorateClass([
|
|
|
788
794
|
ManyToOne5(() => User, (user) => user.otps),
|
|
789
795
|
JoinColumn5({ name: "user_id" })
|
|
790
796
|
], CompanyProfile.prototype, "user", 2);
|
|
797
|
+
__decorateClass([
|
|
798
|
+
Column8({ name: "company_name", type: "varchar", nullable: true })
|
|
799
|
+
], CompanyProfile.prototype, "companyName", 2);
|
|
791
800
|
__decorateClass([
|
|
792
801
|
Column8({ name: "skills", type: "text", nullable: true })
|
|
793
802
|
], CompanyProfile.prototype, "skills", 2);
|
|
794
803
|
__decorateClass([
|
|
795
|
-
Column8({ name: "
|
|
796
|
-
], CompanyProfile.prototype, "
|
|
804
|
+
Column8({ name: "required_freelancer", type: "varchar", nullable: true })
|
|
805
|
+
], CompanyProfile.prototype, "requiredFreelancer", 2);
|
|
797
806
|
__decorateClass([
|
|
798
807
|
Column8({
|
|
799
|
-
name: "
|
|
808
|
+
name: "kind_of_hiring",
|
|
800
809
|
type: "enum",
|
|
801
810
|
enum: KindOfHire,
|
|
802
811
|
nullable: true
|
|
803
812
|
})
|
|
804
|
-
], CompanyProfile.prototype, "
|
|
813
|
+
], CompanyProfile.prototype, "kindOfHiring", 2);
|
|
805
814
|
__decorateClass([
|
|
806
815
|
Column8({
|
|
807
|
-
name: "
|
|
816
|
+
name: "mode_of_hire",
|
|
808
817
|
type: "enum",
|
|
809
|
-
enum:
|
|
818
|
+
enum: ModeOfHire,
|
|
810
819
|
nullable: true
|
|
811
820
|
})
|
|
812
|
-
], CompanyProfile.prototype, "
|
|
821
|
+
], CompanyProfile.prototype, "modeOfHire", 2);
|
|
813
822
|
__decorateClass([
|
|
814
823
|
Column8({
|
|
815
|
-
name: "
|
|
824
|
+
name: "found_us_on",
|
|
816
825
|
type: "enum",
|
|
817
|
-
enum:
|
|
826
|
+
enum: FromUsOn,
|
|
818
827
|
nullable: true
|
|
819
828
|
})
|
|
820
|
-
], CompanyProfile.prototype, "
|
|
821
|
-
__decorateClass([
|
|
822
|
-
Column8({ name: "company_name", type: "varchar" })
|
|
823
|
-
], CompanyProfile.prototype, "companyName", 2);
|
|
829
|
+
], CompanyProfile.prototype, "foundUsOn", 2);
|
|
824
830
|
CompanyProfile = __decorateClass([
|
|
825
831
|
Entity7("company_profiles")
|
|
826
832
|
], CompanyProfile);
|
|
@@ -833,12 +839,13 @@ export {
|
|
|
833
839
|
CreateQuestionDto,
|
|
834
840
|
CreateSubAdminDto,
|
|
835
841
|
FreelancerProfile,
|
|
836
|
-
|
|
842
|
+
FromUsOn,
|
|
837
843
|
JobRMQAdapter,
|
|
838
844
|
JobTCPAdapter,
|
|
839
845
|
KindOfHire,
|
|
840
846
|
LoginDto,
|
|
841
847
|
LogoutDto,
|
|
848
|
+
ModeOfHire,
|
|
842
849
|
ModeOfWork,
|
|
843
850
|
NatureOfWork,
|
|
844
851
|
ONBOARDING_PATTERN,
|