@experts_hub/shared 1.0.55 → 1.0.56

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,5 +1,10 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  import { User } from "./user.entity";
3
+ export declare enum NatureOfWork {
4
+ FULLTIME = "FULLTIME",
5
+ PARTTIME = "PARTTIME",
6
+ BOTH = "BOTH"
7
+ }
3
8
  export declare enum ModeOfWork {
4
9
  ONSITE = "ONSITE",
5
10
  REMOTE = "REMOTE",
@@ -11,6 +16,7 @@ export declare class FreelancerProfile extends BaseEntity {
11
16
  resumeUrl: string;
12
17
  resumeData: string;
13
18
  isDeveloper: boolean;
19
+ natureOfWork: NatureOfWork;
14
20
  currency: string;
15
21
  expectedHourlyCompensation: number;
16
22
  modeOfWork: ModeOfWork;
package/dist/index.d.mts CHANGED
@@ -240,6 +240,11 @@ declare class Otp {
240
240
  user: User;
241
241
  }
242
242
 
243
+ declare enum NatureOfWork {
244
+ FULLTIME = "FULLTIME",
245
+ PARTTIME = "PARTTIME",
246
+ BOTH = "BOTH"
247
+ }
243
248
  declare enum ModeOfWork {
244
249
  ONSITE = "ONSITE",
245
250
  REMOTE = "REMOTE",
@@ -251,6 +256,7 @@ declare class FreelancerProfile extends BaseEntity {
251
256
  resumeUrl: string;
252
257
  resumeData: string;
253
258
  isDeveloper: boolean;
259
+ natureOfWork: NatureOfWork;
254
260
  currency: string;
255
261
  expectedHourlyCompensation: number;
256
262
  modeOfWork: ModeOfWork;
@@ -322,4 +328,4 @@ declare class CompanyProfile extends BaseEntity {
322
328
  companyName: string;
323
329
  }
324
330
 
325
- 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 };
331
+ 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, 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
@@ -240,6 +240,11 @@ declare class Otp {
240
240
  user: User;
241
241
  }
242
242
 
243
+ declare enum NatureOfWork {
244
+ FULLTIME = "FULLTIME",
245
+ PARTTIME = "PARTTIME",
246
+ BOTH = "BOTH"
247
+ }
243
248
  declare enum ModeOfWork {
244
249
  ONSITE = "ONSITE",
245
250
  REMOTE = "REMOTE",
@@ -251,6 +256,7 @@ declare class FreelancerProfile extends BaseEntity {
251
256
  resumeUrl: string;
252
257
  resumeData: string;
253
258
  isDeveloper: boolean;
259
+ natureOfWork: NatureOfWork;
254
260
  currency: string;
255
261
  expectedHourlyCompensation: number;
256
262
  modeOfWork: ModeOfWork;
@@ -322,4 +328,4 @@ declare class CompanyProfile extends BaseEntity {
322
328
  companyName: string;
323
329
  }
324
330
 
325
- 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 };
331
+ 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, 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
@@ -40,6 +40,7 @@ __export(index_exports, {
40
40
  LoginDto: () => LoginDto,
41
41
  LogoutDto: () => LogoutDto,
42
42
  ModeOfWork: () => ModeOfWork,
43
+ NatureOfWork: () => NatureOfWork,
43
44
  ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
44
45
  OTP_PATTERN: () => OTP_PATTERN,
45
46
  Otp: () => Otp,
@@ -532,6 +533,12 @@ Otp = __decorateClass([
532
533
 
533
534
  // src/entities/freelancer-profile.entity.ts
534
535
  var import_typeorm5 = require("typeorm");
536
+ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
537
+ NatureOfWork2["FULLTIME"] = "FULLTIME";
538
+ NatureOfWork2["PARTTIME"] = "PARTTIME";
539
+ NatureOfWork2["BOTH"] = "BOTH";
540
+ return NatureOfWork2;
541
+ })(NatureOfWork || {});
535
542
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
536
543
  ModeOfWork2["ONSITE"] = "ONSITE";
537
544
  ModeOfWork2["REMOTE"] = "REMOTE";
@@ -558,6 +565,14 @@ __decorateClass([
558
565
  __decorateClass([
559
566
  (0, import_typeorm5.Column)({ name: "is_developer", type: "boolean", default: false })
560
567
  ], FreelancerProfile.prototype, "isDeveloper", 2);
568
+ __decorateClass([
569
+ (0, import_typeorm5.Column)({
570
+ name: "nature_of_work",
571
+ type: "enum",
572
+ enum: NatureOfWork,
573
+ nullable: true
574
+ })
575
+ ], FreelancerProfile.prototype, "natureOfWork", 2);
561
576
  __decorateClass([
562
577
  (0, import_typeorm5.Column)({ name: "currency", type: "varchar", default: "USD" })
563
578
  ], FreelancerProfile.prototype, "currency", 2);
@@ -773,6 +788,7 @@ CompanyProfile = __decorateClass([
773
788
  LoginDto,
774
789
  LogoutDto,
775
790
  ModeOfWork,
791
+ NatureOfWork,
776
792
  ONBOARDING_PATTERN,
777
793
  OTP_PATTERN,
778
794
  Otp,
package/dist/index.mjs CHANGED
@@ -530,6 +530,12 @@ import {
530
530
  ManyToOne as ManyToOne4,
531
531
  JoinColumn as JoinColumn4
532
532
  } from "typeorm";
533
+ var NatureOfWork = /* @__PURE__ */ ((NatureOfWork2) => {
534
+ NatureOfWork2["FULLTIME"] = "FULLTIME";
535
+ NatureOfWork2["PARTTIME"] = "PARTTIME";
536
+ NatureOfWork2["BOTH"] = "BOTH";
537
+ return NatureOfWork2;
538
+ })(NatureOfWork || {});
533
539
  var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
534
540
  ModeOfWork2["ONSITE"] = "ONSITE";
535
541
  ModeOfWork2["REMOTE"] = "REMOTE";
@@ -556,6 +562,14 @@ __decorateClass([
556
562
  __decorateClass([
557
563
  Column5({ name: "is_developer", type: "boolean", default: false })
558
564
  ], FreelancerProfile.prototype, "isDeveloper", 2);
565
+ __decorateClass([
566
+ Column5({
567
+ name: "nature_of_work",
568
+ type: "enum",
569
+ enum: NatureOfWork,
570
+ nullable: true
571
+ })
572
+ ], FreelancerProfile.prototype, "natureOfWork", 2);
559
573
  __decorateClass([
560
574
  Column5({ name: "currency", type: "varchar", default: "USD" })
561
575
  ], FreelancerProfile.prototype, "currency", 2);
@@ -774,6 +788,7 @@ export {
774
788
  LoginDto,
775
789
  LogoutDto,
776
790
  ModeOfWork,
791
+ NatureOfWork,
777
792
  ONBOARDING_PATTERN,
778
793
  OTP_PATTERN,
779
794
  Otp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.55",
3
+ "version": "1.0.56",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",