@experts_hub/shared 1.0.50 → 1.0.51

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,9 +1,24 @@
1
1
  import { BaseEntity } from "./base.entity";
2
2
  import { User } from "./user.entity";
3
+ export declare enum ModeOfWork {
4
+ ONSITE = "ONSITE",
5
+ REMOTE = "REMOTE",
6
+ BOTH = "BOTH"
7
+ }
3
8
  export declare class FreelancerProfile extends BaseEntity {
4
9
  userId: number;
5
10
  user: User;
6
11
  resumeUrl: string;
7
12
  resumeData: string;
8
13
  isDeveloper: boolean;
14
+ currency: string;
15
+ expectedHourlyCompensation: number;
16
+ modeOfWork: ModeOfWork;
17
+ availabilityToJoin: string;
18
+ isImmediateJoiner: boolean;
19
+ linkedinProfileLink: string;
20
+ kaggleProfileLink: string;
21
+ githubProfileLink: string;
22
+ stackOverflowProfileLink: string;
23
+ portfolioLink: string;
9
24
  }
package/dist/index.d.mts CHANGED
@@ -240,12 +240,27 @@ declare class Otp {
240
240
  user: User;
241
241
  }
242
242
 
243
+ declare enum ModeOfWork {
244
+ ONSITE = "ONSITE",
245
+ REMOTE = "REMOTE",
246
+ BOTH = "BOTH"
247
+ }
243
248
  declare class FreelancerProfile extends BaseEntity {
244
249
  userId: number;
245
250
  user: User;
246
251
  resumeUrl: string;
247
252
  resumeData: string;
248
253
  isDeveloper: boolean;
254
+ currency: string;
255
+ expectedHourlyCompensation: number;
256
+ modeOfWork: ModeOfWork;
257
+ availabilityToJoin: string;
258
+ isImmediateJoiner: boolean;
259
+ linkedinProfileLink: string;
260
+ kaggleProfileLink: string;
261
+ githubProfileLink: string;
262
+ stackOverflowProfileLink: string;
263
+ portfolioLink: string;
249
264
  }
250
265
 
251
266
  declare enum AccountType {
@@ -296,4 +311,4 @@ declare class Question extends BaseEntity {
296
311
  isActive: boolean;
297
312
  }
298
313
 
299
- 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, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
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 };
package/dist/index.d.ts CHANGED
@@ -240,12 +240,27 @@ declare class Otp {
240
240
  user: User;
241
241
  }
242
242
 
243
+ declare enum ModeOfWork {
244
+ ONSITE = "ONSITE",
245
+ REMOTE = "REMOTE",
246
+ BOTH = "BOTH"
247
+ }
243
248
  declare class FreelancerProfile extends BaseEntity {
244
249
  userId: number;
245
250
  user: User;
246
251
  resumeUrl: string;
247
252
  resumeData: string;
248
253
  isDeveloper: boolean;
254
+ currency: string;
255
+ expectedHourlyCompensation: number;
256
+ modeOfWork: ModeOfWork;
257
+ availabilityToJoin: string;
258
+ isImmediateJoiner: boolean;
259
+ linkedinProfileLink: string;
260
+ kaggleProfileLink: string;
261
+ githubProfileLink: string;
262
+ stackOverflowProfileLink: string;
263
+ portfolioLink: string;
249
264
  }
250
265
 
251
266
  declare enum AccountType {
@@ -296,4 +311,4 @@ declare class Question extends BaseEntity {
296
311
  isActive: boolean;
297
312
  }
298
313
 
299
- 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, ONBOARDING_PATTERN, OTP_PATTERN, Otp, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
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 };
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ __export(index_exports, {
38
38
  JobTCPAdapter: () => JobTCPAdapter,
39
39
  LoginDto: () => LoginDto,
40
40
  LogoutDto: () => LogoutDto,
41
+ ModeOfWork: () => ModeOfWork,
41
42
  ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
42
43
  OTP_PATTERN: () => OTP_PATTERN,
43
44
  Otp: () => Otp,
@@ -530,6 +531,12 @@ Otp = __decorateClass([
530
531
 
531
532
  // src/entities/freelancer-profile.entity.ts
532
533
  var import_typeorm5 = require("typeorm");
534
+ var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
535
+ ModeOfWork2["ONSITE"] = "ONSITE";
536
+ ModeOfWork2["REMOTE"] = "REMOTE";
537
+ ModeOfWork2["BOTH"] = "BOTH";
538
+ return ModeOfWork2;
539
+ })(ModeOfWork || {});
533
540
  var FreelancerProfile = class extends BaseEntity {
534
541
  };
535
542
  // individual index to find profile by user
@@ -550,6 +557,46 @@ __decorateClass([
550
557
  __decorateClass([
551
558
  (0, import_typeorm5.Column)({ name: "is_developer", type: "boolean", default: false })
552
559
  ], FreelancerProfile.prototype, "isDeveloper", 2);
560
+ __decorateClass([
561
+ (0, import_typeorm5.Column)({ name: "currency", type: "varchar", default: "USD" })
562
+ ], FreelancerProfile.prototype, "currency", 2);
563
+ __decorateClass([
564
+ (0, import_typeorm5.Column)({
565
+ type: "numeric",
566
+ precision: 10,
567
+ scale: 2,
568
+ nullable: true
569
+ })
570
+ ], FreelancerProfile.prototype, "expectedHourlyCompensation", 2);
571
+ __decorateClass([
572
+ (0, import_typeorm5.Column)({
573
+ name: "mode_of_work",
574
+ type: "enum",
575
+ enum: ModeOfWork,
576
+ nullable: true
577
+ })
578
+ ], FreelancerProfile.prototype, "modeOfWork", 2);
579
+ __decorateClass([
580
+ (0, import_typeorm5.Column)({ name: "availability_to_join", type: "varchar", nullable: true })
581
+ ], FreelancerProfile.prototype, "availabilityToJoin", 2);
582
+ __decorateClass([
583
+ (0, import_typeorm5.Column)({ name: "is_immediate_joiner", type: "boolean", nullable: true })
584
+ ], FreelancerProfile.prototype, "isImmediateJoiner", 2);
585
+ __decorateClass([
586
+ (0, import_typeorm5.Column)({ name: "linkedin_profile_link", type: "varchar", nullable: true })
587
+ ], FreelancerProfile.prototype, "linkedinProfileLink", 2);
588
+ __decorateClass([
589
+ (0, import_typeorm5.Column)({ name: "kaggle_profile_link", type: "varchar", nullable: true })
590
+ ], FreelancerProfile.prototype, "kaggleProfileLink", 2);
591
+ __decorateClass([
592
+ (0, import_typeorm5.Column)({ name: "github_profile_link", type: "varchar", nullable: true })
593
+ ], FreelancerProfile.prototype, "githubProfileLink", 2);
594
+ __decorateClass([
595
+ (0, import_typeorm5.Column)({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
596
+ ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
597
+ __decorateClass([
598
+ (0, import_typeorm5.Column)({ name: "portfolio_link", type: "varchar", nullable: true })
599
+ ], FreelancerProfile.prototype, "portfolioLink", 2);
553
600
  FreelancerProfile = __decorateClass([
554
601
  (0, import_typeorm5.Entity)("freelancer_profiles")
555
602
  ], FreelancerProfile);
@@ -700,6 +747,7 @@ Question = __decorateClass([
700
747
  JobTCPAdapter,
701
748
  LoginDto,
702
749
  LogoutDto,
750
+ ModeOfWork,
703
751
  ONBOARDING_PATTERN,
704
752
  OTP_PATTERN,
705
753
  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 ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
534
+ ModeOfWork2["ONSITE"] = "ONSITE";
535
+ ModeOfWork2["REMOTE"] = "REMOTE";
536
+ ModeOfWork2["BOTH"] = "BOTH";
537
+ return ModeOfWork2;
538
+ })(ModeOfWork || {});
533
539
  var FreelancerProfile = class extends BaseEntity {
534
540
  };
535
541
  // individual index to find profile by user
@@ -550,6 +556,46 @@ __decorateClass([
550
556
  __decorateClass([
551
557
  Column5({ name: "is_developer", type: "boolean", default: false })
552
558
  ], FreelancerProfile.prototype, "isDeveloper", 2);
559
+ __decorateClass([
560
+ Column5({ name: "currency", type: "varchar", default: "USD" })
561
+ ], FreelancerProfile.prototype, "currency", 2);
562
+ __decorateClass([
563
+ Column5({
564
+ type: "numeric",
565
+ precision: 10,
566
+ scale: 2,
567
+ nullable: true
568
+ })
569
+ ], FreelancerProfile.prototype, "expectedHourlyCompensation", 2);
570
+ __decorateClass([
571
+ Column5({
572
+ name: "mode_of_work",
573
+ type: "enum",
574
+ enum: ModeOfWork,
575
+ nullable: true
576
+ })
577
+ ], FreelancerProfile.prototype, "modeOfWork", 2);
578
+ __decorateClass([
579
+ Column5({ name: "availability_to_join", type: "varchar", nullable: true })
580
+ ], FreelancerProfile.prototype, "availabilityToJoin", 2);
581
+ __decorateClass([
582
+ Column5({ name: "is_immediate_joiner", type: "boolean", nullable: true })
583
+ ], FreelancerProfile.prototype, "isImmediateJoiner", 2);
584
+ __decorateClass([
585
+ Column5({ name: "linkedin_profile_link", type: "varchar", nullable: true })
586
+ ], FreelancerProfile.prototype, "linkedinProfileLink", 2);
587
+ __decorateClass([
588
+ Column5({ name: "kaggle_profile_link", type: "varchar", nullable: true })
589
+ ], FreelancerProfile.prototype, "kaggleProfileLink", 2);
590
+ __decorateClass([
591
+ Column5({ name: "github_profile_link", type: "varchar", nullable: true })
592
+ ], FreelancerProfile.prototype, "githubProfileLink", 2);
593
+ __decorateClass([
594
+ Column5({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
595
+ ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
596
+ __decorateClass([
597
+ Column5({ name: "portfolio_link", type: "varchar", nullable: true })
598
+ ], FreelancerProfile.prototype, "portfolioLink", 2);
553
599
  FreelancerProfile = __decorateClass([
554
600
  Entity4("freelancer_profiles")
555
601
  ], FreelancerProfile);
@@ -699,6 +745,7 @@ export {
699
745
  JobTCPAdapter,
700
746
  LoginDto,
701
747
  LogoutDto,
748
+ ModeOfWork,
702
749
  ONBOARDING_PATTERN,
703
750
  OTP_PATTERN,
704
751
  Otp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.50",
3
+ "version": "1.0.51",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",