@experts_hub/shared 1.0.65 → 1.0.67

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.
@@ -6,3 +6,4 @@ export * from './question.entity';
6
6
  export * from './otp.entity';
7
7
  export * from './freelancer-profile.entity';
8
8
  export * from './company-profile.entity';
9
+ export * from './job-role.entity';
@@ -1,6 +1,6 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  export declare class JobRoles extends BaseEntity {
3
3
  slug: string;
4
- jobName: string;
4
+ name: string;
5
5
  isActive: boolean;
6
6
  }
package/dist/index.d.mts CHANGED
@@ -413,4 +413,10 @@ declare class Question extends BaseEntity {
413
413
  isActive: boolean;
414
414
  }
415
415
 
416
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, 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 };
416
+ declare class JobRoles extends BaseEntity {
417
+ slug: string;
418
+ name: string;
419
+ isActive: boolean;
420
+ }
421
+
422
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JobRMQAdapter, JobRoles, 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
@@ -413,4 +413,10 @@ declare class Question extends BaseEntity {
413
413
  isActive: boolean;
414
414
  }
415
415
 
416
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, 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 };
416
+ declare class JobRoles extends BaseEntity {
417
+ slug: string;
418
+ name: string;
419
+ isActive: boolean;
420
+ }
421
+
422
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchJobRoleQuery, type IFetchJobRoleResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JobRMQAdapter, JobRoles, 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
@@ -45,6 +45,7 @@ __export(index_exports, {
45
45
  FromUsOn: () => FromUsOn,
46
46
  JOB_PATTERN: () => JOB_PATTERN,
47
47
  JobRMQAdapter: () => JobRMQAdapter,
48
+ JobRoles: () => JobRoles,
48
49
  JobTCPAdapter: () => JobTCPAdapter,
49
50
  KindOfHire: () => KindOfHire,
50
51
  LoginDto: () => LoginDto,
@@ -1037,6 +1038,23 @@ __decorateClass([
1037
1038
  Question = __decorateClass([
1038
1039
  (0, import_typeorm8.Entity)("questions")
1039
1040
  ], Question);
1041
+
1042
+ // src/entities/job-role.entity.ts
1043
+ var import_typeorm9 = require("typeorm");
1044
+ var JobRoles = class extends BaseEntity {
1045
+ };
1046
+ __decorateClass([
1047
+ (0, import_typeorm9.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
1048
+ ], JobRoles.prototype, "slug", 2);
1049
+ __decorateClass([
1050
+ (0, import_typeorm9.Column)({ name: "name", type: "varchar", nullable: true })
1051
+ ], JobRoles.prototype, "name", 2);
1052
+ __decorateClass([
1053
+ (0, import_typeorm9.Column)({ name: "is_active", type: "boolean", default: true })
1054
+ ], JobRoles.prototype, "isActive", 2);
1055
+ JobRoles = __decorateClass([
1056
+ (0, import_typeorm9.Entity)("job_roles")
1057
+ ], JobRoles);
1040
1058
  // Annotate the CommonJS export names for ESM import in node:
1041
1059
  0 && (module.exports = {
1042
1060
  AUTHENTICATION_PATTERN,
@@ -1057,6 +1075,7 @@ Question = __decorateClass([
1057
1075
  FromUsOn,
1058
1076
  JOB_PATTERN,
1059
1077
  JobRMQAdapter,
1078
+ JobRoles,
1060
1079
  JobTCPAdapter,
1061
1080
  KindOfHire,
1062
1081
  LoginDto,
package/dist/index.mjs CHANGED
@@ -1061,6 +1061,23 @@ __decorateClass([
1061
1061
  Question = __decorateClass([
1062
1062
  Entity7("questions")
1063
1063
  ], Question);
1064
+
1065
+ // src/entities/job-role.entity.ts
1066
+ import { Entity as Entity8, Column as Column9 } from "typeorm";
1067
+ var JobRoles = class extends BaseEntity {
1068
+ };
1069
+ __decorateClass([
1070
+ Column9({ name: "slug", type: "varchar", nullable: true, unique: true })
1071
+ ], JobRoles.prototype, "slug", 2);
1072
+ __decorateClass([
1073
+ Column9({ name: "name", type: "varchar", nullable: true })
1074
+ ], JobRoles.prototype, "name", 2);
1075
+ __decorateClass([
1076
+ Column9({ name: "is_active", type: "boolean", default: true })
1077
+ ], JobRoles.prototype, "isActive", 2);
1078
+ JobRoles = __decorateClass([
1079
+ Entity8("job_roles")
1080
+ ], JobRoles);
1064
1081
  export {
1065
1082
  AUTHENTICATION_PATTERN,
1066
1083
  AccountStatus,
@@ -1080,6 +1097,7 @@ export {
1080
1097
  FromUsOn,
1081
1098
  JOB_PATTERN,
1082
1099
  JobRMQAdapter,
1100
+ JobRoles,
1083
1101
  JobTCPAdapter,
1084
1102
  KindOfHire,
1085
1103
  LoginDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.65",
3
+ "version": "1.0.67",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",