@experts_hub/shared 1.0.66 → 1.0.68

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.
@@ -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
@@ -232,19 +232,10 @@ interface IFetchQuestionResponse {
232
232
  data: any;
233
233
  }
234
234
 
235
- declare const JOB_PATTERN: {
236
- fetchJobRoles: string;
235
+ declare const JOB_ROLE_PATTERN: {
236
+ fetchJobRolesForDropdown: string;
237
237
  };
238
238
 
239
- interface IFetchJobRoleQuery {
240
- }
241
- interface IFetchJobRoleResponse {
242
- statusCode: number;
243
- status: boolean;
244
- message: string;
245
- data: any;
246
- }
247
-
248
239
  declare const UserTCPAdapter: () => MicroserviceOptions;
249
240
 
250
241
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -415,8 +406,8 @@ declare class Question extends BaseEntity {
415
406
 
416
407
  declare class JobRoles extends BaseEntity {
417
408
  slug: string;
418
- jobName: string;
409
+ name: string;
419
410
  isActive: boolean;
420
411
  }
421
412
 
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 };
413
+ 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 IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_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
@@ -232,19 +232,10 @@ interface IFetchQuestionResponse {
232
232
  data: any;
233
233
  }
234
234
 
235
- declare const JOB_PATTERN: {
236
- fetchJobRoles: string;
235
+ declare const JOB_ROLE_PATTERN: {
236
+ fetchJobRolesForDropdown: string;
237
237
  };
238
238
 
239
- interface IFetchJobRoleQuery {
240
- }
241
- interface IFetchJobRoleResponse {
242
- statusCode: number;
243
- status: boolean;
244
- message: string;
245
- data: any;
246
- }
247
-
248
239
  declare const UserTCPAdapter: () => MicroserviceOptions;
249
240
 
250
241
  declare const JobTCPAdapter: () => MicroserviceOptions;
@@ -415,8 +406,8 @@ declare class Question extends BaseEntity {
415
406
 
416
407
  declare class JobRoles extends BaseEntity {
417
408
  slug: string;
418
- jobName: string;
409
+ name: string;
419
410
  isActive: boolean;
420
411
  }
421
412
 
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 };
413
+ 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 IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_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
@@ -43,7 +43,7 @@ __export(index_exports, {
43
43
  FreelancerUploadResumeDto: () => FreelancerUploadResumeDto,
44
44
  FreelancerWorkShowcaseDto: () => FreelancerWorkShowcaseDto,
45
45
  FromUsOn: () => FromUsOn,
46
- JOB_PATTERN: () => JOB_PATTERN,
46
+ JOB_ROLE_PATTERN: () => JOB_ROLE_PATTERN,
47
47
  JobRMQAdapter: () => JobRMQAdapter,
48
48
  JobRoles: () => JobRoles,
49
49
  JobTCPAdapter: () => JobTCPAdapter,
@@ -430,8 +430,8 @@ __decorateClass([
430
430
  ], CreateQuestionDto.prototype, "isActive", 2);
431
431
 
432
432
  // src/modules/job/pattern/pattern.ts
433
- var JOB_PATTERN = {
434
- fetchJobRoles: "fetch.jobs.roles"
433
+ var JOB_ROLE_PATTERN = {
434
+ fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
435
435
  };
436
436
 
437
437
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -1047,8 +1047,8 @@ __decorateClass([
1047
1047
  (0, import_typeorm9.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
1048
1048
  ], JobRoles.prototype, "slug", 2);
1049
1049
  __decorateClass([
1050
- (0, import_typeorm9.Column)({ name: "job_name", type: "varchar" })
1051
- ], JobRoles.prototype, "jobName", 2);
1050
+ (0, import_typeorm9.Column)({ name: "name", type: "varchar", nullable: true })
1051
+ ], JobRoles.prototype, "name", 2);
1052
1052
  __decorateClass([
1053
1053
  (0, import_typeorm9.Column)({ name: "is_active", type: "boolean", default: true })
1054
1054
  ], JobRoles.prototype, "isActive", 2);
@@ -1073,7 +1073,7 @@ JobRoles = __decorateClass([
1073
1073
  FreelancerUploadResumeDto,
1074
1074
  FreelancerWorkShowcaseDto,
1075
1075
  FromUsOn,
1076
- JOB_PATTERN,
1076
+ JOB_ROLE_PATTERN,
1077
1077
  JobRMQAdapter,
1078
1078
  JobRoles,
1079
1079
  JobTCPAdapter,
package/dist/index.mjs CHANGED
@@ -411,8 +411,8 @@ __decorateClass([
411
411
  ], CreateQuestionDto.prototype, "isActive", 2);
412
412
 
413
413
  // src/modules/job/pattern/pattern.ts
414
- var JOB_PATTERN = {
415
- fetchJobRoles: "fetch.jobs.roles"
414
+ var JOB_ROLE_PATTERN = {
415
+ fetchJobRolesForDropdown: "fetch.job.roles.for.dropdown"
416
416
  };
417
417
 
418
418
  // src/adapters/tcp/user.tcp.adapter.ts
@@ -1070,8 +1070,8 @@ __decorateClass([
1070
1070
  Column9({ name: "slug", type: "varchar", nullable: true, unique: true })
1071
1071
  ], JobRoles.prototype, "slug", 2);
1072
1072
  __decorateClass([
1073
- Column9({ name: "job_name", type: "varchar" })
1074
- ], JobRoles.prototype, "jobName", 2);
1073
+ Column9({ name: "name", type: "varchar", nullable: true })
1074
+ ], JobRoles.prototype, "name", 2);
1075
1075
  __decorateClass([
1076
1076
  Column9({ name: "is_active", type: "boolean", default: true })
1077
1077
  ], JobRoles.prototype, "isActive", 2);
@@ -1095,7 +1095,7 @@ export {
1095
1095
  FreelancerUploadResumeDto,
1096
1096
  FreelancerWorkShowcaseDto,
1097
1097
  FromUsOn,
1098
- JOB_PATTERN,
1098
+ JOB_ROLE_PATTERN,
1099
1099
  JobRMQAdapter,
1100
1100
  JobRoles,
1101
1101
  JobTCPAdapter,
@@ -1,2 +1 @@
1
1
  export * from './pattern/pattern';
2
- export * from './job.interface';
@@ -1,3 +1,3 @@
1
- export declare const JOB_PATTERN: {
2
- fetchJobRoles: string;
1
+ export declare const JOB_ROLE_PATTERN: {
2
+ fetchJobRolesForDropdown: string;
3
3
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.66",
3
+ "version": "1.0.68",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -1,8 +0,0 @@
1
- export interface IFetchJobRoleQuery {
2
- }
3
- export interface IFetchJobRoleResponse {
4
- statusCode: number;
5
- status: boolean;
6
- message: string;
7
- data: any;
8
- }