@experts_hub/shared 1.0.92 → 1.0.93

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.
@@ -10,6 +10,12 @@ export declare enum ModeOfWork {
10
10
  REMOTE = "REMOTE",
11
11
  BOTH = "BOTH"
12
12
  }
13
+ export declare enum OnboardingStepEnum {
14
+ UPLOAD_RESUME = "UPLOAD_RESUME",
15
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
16
+ CODING_CHALLENGE = "CODING_CHALLENGE",
17
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
18
+ }
13
19
  export declare class FreelancerProfile extends BaseEntity {
14
20
  userId: number;
15
21
  user: User;
@@ -27,4 +33,5 @@ export declare class FreelancerProfile extends BaseEntity {
27
33
  githubProfileLink: string;
28
34
  stackOverflowProfileLink: string;
29
35
  portfolioLink: string;
36
+ oboardingStepCompleted: OnboardingStepEnum;
30
37
  }
package/dist/index.d.mts CHANGED
@@ -270,6 +270,12 @@ declare enum ModeOfWork {
270
270
  REMOTE = "REMOTE",
271
271
  BOTH = "BOTH"
272
272
  }
273
+ declare enum OnboardingStepEnum {
274
+ UPLOAD_RESUME = "UPLOAD_RESUME",
275
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
276
+ CODING_CHALLENGE = "CODING_CHALLENGE",
277
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
278
+ }
273
279
  declare class FreelancerProfile extends BaseEntity {
274
280
  userId: number;
275
281
  user: User;
@@ -287,6 +293,7 @@ declare class FreelancerProfile extends BaseEntity {
287
293
  githubProfileLink: string;
288
294
  stackOverflowProfileLink: string;
289
295
  portfolioLink: string;
296
+ oboardingStepCompleted: OnboardingStepEnum;
290
297
  }
291
298
 
292
299
  declare class Skill extends BaseEntity {
@@ -673,4 +680,4 @@ declare class JobRoles extends BaseEntity {
673
680
  isActive: boolean;
674
681
  }
675
682
 
676
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, 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 IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, 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, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
683
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, 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 IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.d.ts CHANGED
@@ -270,6 +270,12 @@ declare enum ModeOfWork {
270
270
  REMOTE = "REMOTE",
271
271
  BOTH = "BOTH"
272
272
  }
273
+ declare enum OnboardingStepEnum {
274
+ UPLOAD_RESUME = "UPLOAD_RESUME",
275
+ AI_VIDEO_ASSESMENT = "AI_VIDEO_ASSESMENT",
276
+ CODING_CHALLENGE = "CODING_CHALLENGE",
277
+ PROFILE_COMPLETION = "PROFILE_COMPLETION"
278
+ }
273
279
  declare class FreelancerProfile extends BaseEntity {
274
280
  userId: number;
275
281
  user: User;
@@ -287,6 +293,7 @@ declare class FreelancerProfile extends BaseEntity {
287
293
  githubProfileLink: string;
288
294
  stackOverflowProfileLink: string;
289
295
  portfolioLink: string;
296
+ oboardingStepCompleted: OnboardingStepEnum;
290
297
  }
291
298
 
292
299
  declare class Skill extends BaseEntity {
@@ -673,4 +680,4 @@ declare class JobRoles extends BaseEntity {
673
680
  isActive: boolean;
674
681
  }
675
682
 
676
- export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, 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 IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, 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, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
683
+ export { AUTHENTICATION_PATTERN, AccountStatus, AccountType, BANK_PATTERN, BankAccountScope, BankAccountType, BankDetails, BaseEntity, CLIENT_PROFILE_PATTERN, ClientChangePasswordDto, ClientCreateAccountDto, ClientProfileQuestionDto, CompanyProfile, CreateQuestionDto, CreateSubAdminDto, EmploymentType, FreelancerBankDetailsDto, 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 IUpdateClientPasswordPayload, type IUpdateClientProfilePayload, type IUpdateClientProfileResponse, type IUpdateSubAdminAccountStatusPayload, type IUpdateSubAdminAccountStatusResponse, type IUpdateSubAdminPayload, type IUpdateSubAdminResponse, JOB_PATTERN, JOB_ROLE_PATTERN, Job, JobAdditionalCommentDto, JobBasicInformationDto, JobDescriptionDto, JobIdParamDto, JobLocation, JobLocationEnum, JobRMQAdapter, JobRoles, JobSkill, JobStatus, JobStatusDto, JobStatusEnum, JobTCPAdapter, KindOfHire, LoginDto, LogoutDto, ModeOfHire, ModeOfWork, NatureOfWork, ONBOARDING_PATTERN, OTP_PATTERN, OnboardingStepEnum, Otp, PROFILE_PATTERN, QUESTION_PATTERN, Question, QuestionFor, RESUME_PARSER_PATTERN, RefreshDto, RefreshToken, ResumeParserLog, SUBADMIN_PATTERN, Skill, Step, TypeOfEmploymentEnum, UpdateCompanyProfileDto, UpdateSubAdminAccountStatusDto, UpdateSubAdminDto, User, UserRMQAdapter, UserTCPAdapter };
package/dist/index.js CHANGED
@@ -76,6 +76,7 @@ __export(index_exports, {
76
76
  NatureOfWork: () => NatureOfWork,
77
77
  ONBOARDING_PATTERN: () => ONBOARDING_PATTERN,
78
78
  OTP_PATTERN: () => OTP_PATTERN,
79
+ OnboardingStepEnum: () => OnboardingStepEnum,
79
80
  Otp: () => Otp,
80
81
  PROFILE_PATTERN: () => PROFILE_PATTERN,
81
82
  QUESTION_PATTERN: () => QUESTION_PATTERN,
@@ -635,6 +636,13 @@ var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
635
636
  ModeOfWork2["BOTH"] = "BOTH";
636
637
  return ModeOfWork2;
637
638
  })(ModeOfWork || {});
639
+ var OnboardingStepEnum = /* @__PURE__ */ ((OnboardingStepEnum2) => {
640
+ OnboardingStepEnum2["UPLOAD_RESUME"] = "UPLOAD_RESUME";
641
+ OnboardingStepEnum2["AI_VIDEO_ASSESMENT"] = "AI_VIDEO_ASSESMENT";
642
+ OnboardingStepEnum2["CODING_CHALLENGE"] = "CODING_CHALLENGE";
643
+ OnboardingStepEnum2["PROFILE_COMPLETION"] = "PROFILE_COMPLETION";
644
+ return OnboardingStepEnum2;
645
+ })(OnboardingStepEnum || {});
638
646
  var FreelancerProfile = class extends BaseEntity {
639
647
  };
640
648
  // individual index to find profile by user
@@ -699,11 +707,23 @@ __decorateClass([
699
707
  (0, import_typeorm5.Column)({ name: "github_profile_link", type: "varchar", nullable: true })
700
708
  ], FreelancerProfile.prototype, "githubProfileLink", 2);
701
709
  __decorateClass([
702
- (0, import_typeorm5.Column)({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
710
+ (0, import_typeorm5.Column)({
711
+ name: "stack_overflow_profile_link",
712
+ type: "varchar",
713
+ nullable: true
714
+ })
703
715
  ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
704
716
  __decorateClass([
705
717
  (0, import_typeorm5.Column)({ name: "portfolio_link", type: "varchar", nullable: true })
706
718
  ], FreelancerProfile.prototype, "portfolioLink", 2);
719
+ __decorateClass([
720
+ (0, import_typeorm5.Column)({
721
+ name: "onboarding_step_completed",
722
+ type: "enum",
723
+ enum: OnboardingStepEnum,
724
+ nullable: true
725
+ })
726
+ ], FreelancerProfile.prototype, "oboardingStepCompleted", 2);
707
727
  FreelancerProfile = __decorateClass([
708
728
  (0, import_typeorm5.Entity)("freelancer_profiles")
709
729
  ], FreelancerProfile);
@@ -1705,6 +1725,7 @@ JobRoles = __decorateClass([
1705
1725
  NatureOfWork,
1706
1726
  ONBOARDING_PATTERN,
1707
1727
  OTP_PATTERN,
1728
+ OnboardingStepEnum,
1708
1729
  Otp,
1709
1730
  PROFILE_PATTERN,
1710
1731
  QUESTION_PATTERN,
package/dist/index.mjs CHANGED
@@ -635,6 +635,13 @@ var ModeOfWork = /* @__PURE__ */ ((ModeOfWork2) => {
635
635
  ModeOfWork2["BOTH"] = "BOTH";
636
636
  return ModeOfWork2;
637
637
  })(ModeOfWork || {});
638
+ var OnboardingStepEnum = /* @__PURE__ */ ((OnboardingStepEnum2) => {
639
+ OnboardingStepEnum2["UPLOAD_RESUME"] = "UPLOAD_RESUME";
640
+ OnboardingStepEnum2["AI_VIDEO_ASSESMENT"] = "AI_VIDEO_ASSESMENT";
641
+ OnboardingStepEnum2["CODING_CHALLENGE"] = "CODING_CHALLENGE";
642
+ OnboardingStepEnum2["PROFILE_COMPLETION"] = "PROFILE_COMPLETION";
643
+ return OnboardingStepEnum2;
644
+ })(OnboardingStepEnum || {});
638
645
  var FreelancerProfile = class extends BaseEntity {
639
646
  };
640
647
  // individual index to find profile by user
@@ -699,11 +706,23 @@ __decorateClass([
699
706
  Column5({ name: "github_profile_link", type: "varchar", nullable: true })
700
707
  ], FreelancerProfile.prototype, "githubProfileLink", 2);
701
708
  __decorateClass([
702
- Column5({ name: "stack_overflow_profile_link", type: "varchar", nullable: true })
709
+ Column5({
710
+ name: "stack_overflow_profile_link",
711
+ type: "varchar",
712
+ nullable: true
713
+ })
703
714
  ], FreelancerProfile.prototype, "stackOverflowProfileLink", 2);
704
715
  __decorateClass([
705
716
  Column5({ name: "portfolio_link", type: "varchar", nullable: true })
706
717
  ], FreelancerProfile.prototype, "portfolioLink", 2);
718
+ __decorateClass([
719
+ Column5({
720
+ name: "onboarding_step_completed",
721
+ type: "enum",
722
+ enum: OnboardingStepEnum,
723
+ nullable: true
724
+ })
725
+ ], FreelancerProfile.prototype, "oboardingStepCompleted", 2);
707
726
  FreelancerProfile = __decorateClass([
708
727
  Entity4("freelancer_profiles")
709
728
  ], FreelancerProfile);
@@ -1746,6 +1765,7 @@ export {
1746
1765
  NatureOfWork,
1747
1766
  ONBOARDING_PATTERN,
1748
1767
  OTP_PATTERN,
1768
+ OnboardingStepEnum,
1749
1769
  Otp,
1750
1770
  PROFILE_PATTERN,
1751
1771
  QUESTION_PATTERN,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",