@experts_hub/shared 1.0.79 → 1.0.80

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,5 +6,6 @@ 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 './skill.entity';
9
10
  export * from './job-role.entity';
10
11
  export * from './job-entity';
@@ -0,0 +1,6 @@
1
+ import { BaseEntity } from "./base.entity";
2
+ export declare class Skill extends BaseEntity {
3
+ name: string;
4
+ slug: string;
5
+ isActive: boolean;
6
+ }
package/dist/index.d.mts CHANGED
@@ -518,10 +518,16 @@ declare class Question extends BaseEntity {
518
518
  isActive: boolean;
519
519
  }
520
520
 
521
+ declare class Skill extends BaseEntity {
522
+ name: string;
523
+ slug: string;
524
+ isActive: boolean;
525
+ }
526
+
521
527
  declare class JobRoles extends BaseEntity {
522
528
  slug: string;
523
529
  name: string;
524
530
  isActive: boolean;
525
531
  }
526
532
 
527
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
533
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -518,10 +518,16 @@ declare class Question extends BaseEntity {
518
518
  isActive: boolean;
519
519
  }
520
520
 
521
+ declare class Skill extends BaseEntity {
522
+ name: string;
523
+ slug: string;
524
+ isActive: boolean;
525
+ }
526
+
521
527
  declare class JobRoles extends BaseEntity {
522
528
  slug: string;
523
529
  name: string;
524
530
  isActive: boolean;
525
531
  }
526
532
 
527
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
533
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BaseEntity, CLIENT_PROFILE_PATTERN, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, FreelancerChangePasswordDto, FreelancerCreateAccountDto, FreelancerDevelopmentPreferenceDto, FreelancerProfile, FreelancerProfileQuestionDto, FreelancerUploadResumeDto, FreelancerWorkShowcaseDto, FromUsOn, type IAttachPermissionsToSubAdminResponse, type ICreateSubAdminPayload, type ICreateSubAdminResponse, type IDeleteSubAdminResponse, type IFetchClientProfileQuery, type IFetchClientProfileResponse, type IFetchQuestionQuery, type IFetchQuestionResponse, type IFetchSubAdminByIdQuery, type IFetchSubAdminByIdResponse, type IFetchSubAdminQuery, type IFetchSubAdminResponse, type IUpdateClientLogoPayload, type IUpdateClientLogoResponse, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_ROLE_PATTERN, Job, JobLocation, JobRMQAdapter, JobRoles, JobStatus, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, TypeOfEmployment, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -70,6 +70,7 @@ __export(index_exports, {
70
70
  RefreshToken: () => RefreshToken,
71
71
  ResumeParserLog: () => ResumeParserLog,
72
72
  SUBADMIN_PATTERN: () => SUBADMIN_PATTERN,
73
+ Skill: () => Skill,
73
74
  TypeOfEmployment: () => TypeOfEmployment,
74
75
  UpdateCompanyProfileDto: () => UpdateCompanyProfileDto,
75
76
  UpdateSubAdminAccountStatusDto: () => UpdateSubAdminAccountStatusDto,
@@ -1238,21 +1239,38 @@ Question = __decorateClass([
1238
1239
  (0, import_typeorm9.Entity)("questions")
1239
1240
  ], Question);
1240
1241
 
1241
- // src/entities/job-role.entity.ts
1242
+ // src/entities/skill.entity.ts
1242
1243
  var import_typeorm10 = require("typeorm");
1243
- var JobRoles = class extends BaseEntity {
1244
+ var Skill = class extends BaseEntity {
1244
1245
  };
1246
+ __decorateClass([
1247
+ (0, import_typeorm10.Column)({ name: "name", type: "varchar", nullable: true })
1248
+ ], Skill.prototype, "name", 2);
1245
1249
  __decorateClass([
1246
1250
  (0, import_typeorm10.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
1251
+ ], Skill.prototype, "slug", 2);
1252
+ __decorateClass([
1253
+ (0, import_typeorm10.Column)({ name: "is_active", type: "boolean", default: false })
1254
+ ], Skill.prototype, "isActive", 2);
1255
+ Skill = __decorateClass([
1256
+ (0, import_typeorm10.Entity)("skills")
1257
+ ], Skill);
1258
+
1259
+ // src/entities/job-role.entity.ts
1260
+ var import_typeorm11 = require("typeorm");
1261
+ var JobRoles = class extends BaseEntity {
1262
+ };
1263
+ __decorateClass([
1264
+ (0, import_typeorm11.Column)({ name: "slug", type: "varchar", nullable: true, unique: true })
1247
1265
  ], JobRoles.prototype, "slug", 2);
1248
1266
  __decorateClass([
1249
- (0, import_typeorm10.Column)({ name: "name", type: "varchar", nullable: true })
1267
+ (0, import_typeorm11.Column)({ name: "name", type: "varchar", nullable: true })
1250
1268
  ], JobRoles.prototype, "name", 2);
1251
1269
  __decorateClass([
1252
- (0, import_typeorm10.Column)({ name: "is_active", type: "boolean", default: true })
1270
+ (0, import_typeorm11.Column)({ name: "is_active", type: "boolean", default: true })
1253
1271
  ], JobRoles.prototype, "isActive", 2);
1254
1272
  JobRoles = __decorateClass([
1255
- (0, import_typeorm10.Entity)("job_roles")
1273
+ (0, import_typeorm11.Entity)("job_roles")
1256
1274
  ], JobRoles);
1257
1275
  // Annotate the CommonJS export names for ESM import in node:
1258
1276
  0 && (module.exports = {
@@ -1299,6 +1317,7 @@ JobRoles = __decorateClass([
1299
1317
  RefreshToken,
1300
1318
  ResumeParserLog,
1301
1319
  SUBADMIN_PATTERN,
1320
+ Skill,
1302
1321
  TypeOfEmployment,
1303
1322
  UpdateCompanyProfileDto,
1304
1323
  UpdateSubAdminAccountStatusDto,
package/dist/index.mjs CHANGED
@@ -1265,21 +1265,38 @@ Question = __decorateClass([
1265
1265
  Entity8("questions")
1266
1266
  ], Question);
1267
1267
 
1268
- // src/entities/job-role.entity.ts
1268
+ // src/entities/skill.entity.ts
1269
1269
  import { Entity as Entity9, Column as Column10 } from "typeorm";
1270
- var JobRoles = class extends BaseEntity {
1270
+ var Skill = class extends BaseEntity {
1271
1271
  };
1272
+ __decorateClass([
1273
+ Column10({ name: "name", type: "varchar", nullable: true })
1274
+ ], Skill.prototype, "name", 2);
1272
1275
  __decorateClass([
1273
1276
  Column10({ name: "slug", type: "varchar", nullable: true, unique: true })
1277
+ ], Skill.prototype, "slug", 2);
1278
+ __decorateClass([
1279
+ Column10({ name: "is_active", type: "boolean", default: false })
1280
+ ], Skill.prototype, "isActive", 2);
1281
+ Skill = __decorateClass([
1282
+ Entity9("skills")
1283
+ ], Skill);
1284
+
1285
+ // src/entities/job-role.entity.ts
1286
+ import { Entity as Entity10, Column as Column11 } from "typeorm";
1287
+ var JobRoles = class extends BaseEntity {
1288
+ };
1289
+ __decorateClass([
1290
+ Column11({ name: "slug", type: "varchar", nullable: true, unique: true })
1274
1291
  ], JobRoles.prototype, "slug", 2);
1275
1292
  __decorateClass([
1276
- Column10({ name: "name", type: "varchar", nullable: true })
1293
+ Column11({ name: "name", type: "varchar", nullable: true })
1277
1294
  ], JobRoles.prototype, "name", 2);
1278
1295
  __decorateClass([
1279
- Column10({ name: "is_active", type: "boolean", default: true })
1296
+ Column11({ name: "is_active", type: "boolean", default: true })
1280
1297
  ], JobRoles.prototype, "isActive", 2);
1281
1298
  JobRoles = __decorateClass([
1282
- Entity9("job_roles")
1299
+ Entity10("job_roles")
1283
1300
  ], JobRoles);
1284
1301
  export {
1285
1302
  AUTHENTICATION_PATTERN,
@@ -1325,6 +1342,7 @@ export {
1325
1342
  RefreshToken,
1326
1343
  ResumeParserLog,
1327
1344
  SUBADMIN_PATTERN,
1345
+ Skill,
1328
1346
  TypeOfEmployment,
1329
1347
  UpdateCompanyProfileDto,
1330
1348
  UpdateSubAdminAccountStatusDto,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",