@experts_hub/shared 1.0.51 → 1.0.53
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/index.d.mts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +19 -0
- package/dist/index.mjs +22 -0
- package/package.json +1 -1
package/dist/entities/index.d.ts
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -311,4 +311,9 @@ declare class Question extends BaseEntity {
|
|
|
311
311
|
isActive: boolean;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
|
|
314
|
+
declare class CompanyProfile extends BaseEntity {
|
|
315
|
+
userId: number;
|
|
316
|
+
companyName: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile, 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, LoginDto, LogoutDto, ModeOfWork, 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
|
@@ -311,4 +311,9 @@ declare class Question extends BaseEntity {
|
|
|
311
311
|
isActive: boolean;
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
-
|
|
314
|
+
declare class CompanyProfile extends BaseEntity {
|
|
315
|
+
userId: number;
|
|
316
|
+
companyName: string;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerProfile, 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, LoginDto, LogoutDto, ModeOfWork, 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
|
@@ -31,6 +31,7 @@ __export(index_exports, {
|
|
|
31
31
|
AccountStatus: () => AccountStatus,
|
|
32
32
|
AccountType: () => AccountType,
|
|
33
33
|
BaseEntity: () => BaseEntity,
|
|
34
|
+
CompanyProfile: () => CompanyProfile,
|
|
34
35
|
CreateQuestionDto: () => CreateQuestionDto,
|
|
35
36
|
CreateSubAdminDto: () => CreateSubAdminDto,
|
|
36
37
|
FreelancerProfile: () => FreelancerProfile,
|
|
@@ -562,6 +563,7 @@ __decorateClass([
|
|
|
562
563
|
], FreelancerProfile.prototype, "currency", 2);
|
|
563
564
|
__decorateClass([
|
|
564
565
|
(0, import_typeorm5.Column)({
|
|
566
|
+
name: "expected_hourly_compensation",
|
|
565
567
|
type: "numeric",
|
|
566
568
|
precision: 10,
|
|
567
569
|
scale: 2,
|
|
@@ -734,12 +736,29 @@ __decorateClass([
|
|
|
734
736
|
Question = __decorateClass([
|
|
735
737
|
(0, import_typeorm7.Entity)("questions")
|
|
736
738
|
], Question);
|
|
739
|
+
|
|
740
|
+
// src/entities/company-profile.entity.ts
|
|
741
|
+
var import_typeorm8 = require("typeorm");
|
|
742
|
+
var CompanyProfile = class extends BaseEntity {
|
|
743
|
+
};
|
|
744
|
+
// individual index to find company profile by user
|
|
745
|
+
__decorateClass([
|
|
746
|
+
(0, import_typeorm8.Column)({ name: "user_id", type: "integer", nullable: true }),
|
|
747
|
+
(0, import_typeorm8.Index)()
|
|
748
|
+
], CompanyProfile.prototype, "userId", 2);
|
|
749
|
+
__decorateClass([
|
|
750
|
+
(0, import_typeorm8.Column)({ name: "company_name", type: "varchar" })
|
|
751
|
+
], CompanyProfile.prototype, "companyName", 2);
|
|
752
|
+
CompanyProfile = __decorateClass([
|
|
753
|
+
(0, import_typeorm8.Entity)("company_profiles")
|
|
754
|
+
], CompanyProfile);
|
|
737
755
|
// Annotate the CommonJS export names for ESM import in node:
|
|
738
756
|
0 && (module.exports = {
|
|
739
757
|
AUTHENTICATION_PATTERN,
|
|
740
758
|
AccountStatus,
|
|
741
759
|
AccountType,
|
|
742
760
|
BaseEntity,
|
|
761
|
+
CompanyProfile,
|
|
743
762
|
CreateQuestionDto,
|
|
744
763
|
CreateSubAdminDto,
|
|
745
764
|
FreelancerProfile,
|
package/dist/index.mjs
CHANGED
|
@@ -561,6 +561,7 @@ __decorateClass([
|
|
|
561
561
|
], FreelancerProfile.prototype, "currency", 2);
|
|
562
562
|
__decorateClass([
|
|
563
563
|
Column5({
|
|
564
|
+
name: "expected_hourly_compensation",
|
|
564
565
|
type: "numeric",
|
|
565
566
|
precision: 10,
|
|
566
567
|
scale: 2,
|
|
@@ -733,11 +734,32 @@ __decorateClass([
|
|
|
733
734
|
Question = __decorateClass([
|
|
734
735
|
Entity6("questions")
|
|
735
736
|
], Question);
|
|
737
|
+
|
|
738
|
+
// src/entities/company-profile.entity.ts
|
|
739
|
+
import {
|
|
740
|
+
Entity as Entity7,
|
|
741
|
+
Column as Column8,
|
|
742
|
+
Index as Index3
|
|
743
|
+
} from "typeorm";
|
|
744
|
+
var CompanyProfile = class extends BaseEntity {
|
|
745
|
+
};
|
|
746
|
+
// individual index to find company profile by user
|
|
747
|
+
__decorateClass([
|
|
748
|
+
Column8({ name: "user_id", type: "integer", nullable: true }),
|
|
749
|
+
Index3()
|
|
750
|
+
], CompanyProfile.prototype, "userId", 2);
|
|
751
|
+
__decorateClass([
|
|
752
|
+
Column8({ name: "company_name", type: "varchar" })
|
|
753
|
+
], CompanyProfile.prototype, "companyName", 2);
|
|
754
|
+
CompanyProfile = __decorateClass([
|
|
755
|
+
Entity7("company_profiles")
|
|
756
|
+
], CompanyProfile);
|
|
736
757
|
export {
|
|
737
758
|
AUTHENTICATION_PATTERN,
|
|
738
759
|
AccountStatus,
|
|
739
760
|
AccountType,
|
|
740
761
|
BaseEntity,
|
|
762
|
+
CompanyProfile,
|
|
741
763
|
CreateQuestionDto,
|
|
742
764
|
CreateSubAdminDto,
|
|
743
765
|
FreelancerProfile,
|