@experts_hub/shared 1.0.52 → 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.
@@ -5,3 +5,4 @@ export * from './resume-parser-log.entity';
5
5
  export * from './question.entity';
6
6
  export * from './otp.entity';
7
7
  export * from './freelancer-profile.entity';
8
+ export * from './company-profile.entity';
package/dist/index.d.mts CHANGED
@@ -311,4 +311,9 @@ declare class Question extends BaseEntity {
311
311
  isActive: boolean;
312
312
  }
313
313
 
314
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, 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 };
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
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, 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 };
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,
@@ -735,12 +736,29 @@ __decorateClass([
735
736
  Question = __decorateClass([
736
737
  (0, import_typeorm7.Entity)("questions")
737
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);
738
755
  // Annotate the CommonJS export names for ESM import in node:
739
756
  0 && (module.exports = {
740
757
  AUTHENTICATION_PATTERN,
741
758
  AccountStatus,
742
759
  AccountType,
743
760
  BaseEntity,
761
+ CompanyProfile,
744
762
  CreateQuestionDto,
745
763
  CreateSubAdminDto,
746
764
  FreelancerProfile,
package/dist/index.mjs CHANGED
@@ -734,11 +734,32 @@ __decorateClass([
734
734
  Question = __decorateClass([
735
735
  Entity6("questions")
736
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);
737
757
  export {
738
758
  AUTHENTICATION_PATTERN,
739
759
  AccountStatus,
740
760
  AccountType,
741
761
  BaseEntity,
762
+ CompanyProfile,
742
763
  CreateQuestionDto,
743
764
  CreateSubAdminDto,
744
765
  FreelancerProfile,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",