@experts_hub/shared 1.0.279 → 1.0.281

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.
@@ -49,6 +49,9 @@ export declare class Job extends BaseEntity {
49
49
  openings: number;
50
50
  location: JobLocationEnum;
51
51
  typeOfEmployment: TypeOfEmploymentEnum;
52
+ academicQualification: string;
53
+ yearsOfExperience: string;
54
+ businessIndustry: string;
52
55
  currency: string;
53
56
  expectedSalaryFrom: number;
54
57
  expectedSalaryTo: number;
package/dist/index.d.mts CHANGED
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
195
195
  mobileCode: string;
196
196
  mobile: string;
197
197
  password: string;
198
+ roleIds: string;
198
199
  }
199
200
 
200
201
  declare class UpdateSubAdminAccountStatusDto {
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
209
210
  mobileCode: string;
210
211
  mobile: string;
211
212
  password: string;
213
+ roleIds: string;
212
214
  }
213
215
 
214
216
  interface IFetchSubAdminQuery {
@@ -897,6 +899,9 @@ declare class Job extends BaseEntity {
897
899
  openings: number;
898
900
  location: JobLocationEnum;
899
901
  typeOfEmployment: TypeOfEmploymentEnum;
902
+ academicQualification: string;
903
+ yearsOfExperience: string;
904
+ businessIndustry: string;
900
905
  currency: string;
901
906
  expectedSalaryFrom: number;
902
907
  expectedSalaryTo: number;
package/dist/index.d.ts CHANGED
@@ -195,6 +195,7 @@ declare class CreateSubAdminDto {
195
195
  mobileCode: string;
196
196
  mobile: string;
197
197
  password: string;
198
+ roleIds: string;
198
199
  }
199
200
 
200
201
  declare class UpdateSubAdminAccountStatusDto {
@@ -209,6 +210,7 @@ declare class UpdateSubAdminDto {
209
210
  mobileCode: string;
210
211
  mobile: string;
211
212
  password: string;
213
+ roleIds: string;
212
214
  }
213
215
 
214
216
  interface IFetchSubAdminQuery {
@@ -897,6 +899,9 @@ declare class Job extends BaseEntity {
897
899
  openings: number;
898
900
  location: JobLocationEnum;
899
901
  typeOfEmployment: TypeOfEmploymentEnum;
902
+ academicQualification: string;
903
+ yearsOfExperience: string;
904
+ businessIndustry: string;
900
905
  currency: string;
901
906
  expectedSalaryFrom: number;
902
907
  expectedSalaryTo: number;
package/dist/index.js CHANGED
@@ -772,6 +772,9 @@ __decorateClass([
772
772
  __decorateClass([
773
773
  (0, import_class_validator23.IsNotEmpty)({ message: "Please enter the password." })
774
774
  ], CreateSubAdminDto.prototype, "password", 2);
775
+ __decorateClass([
776
+ (0, import_class_validator23.IsNotEmpty)({ message: "Please Select Roles." })
777
+ ], CreateSubAdminDto.prototype, "roleIds", 2);
775
778
 
776
779
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
777
780
  var import_class_validator24 = require("class-validator");
@@ -806,6 +809,9 @@ __decorateClass([
806
809
  __decorateClass([
807
810
  (0, import_class_validator25.IsNotEmpty)({ message: "Please enter the password." })
808
811
  ], UpdateSubAdminDto.prototype, "password", 2);
812
+ __decorateClass([
813
+ (0, import_class_validator25.IsNotEmpty)({ message: "Please Select Roles." })
814
+ ], UpdateSubAdminDto.prototype, "roleIds", 2);
809
815
 
810
816
  // src/modules/user/client-profile/pattern/pattern.ts
811
817
  var CLIENT_PROFILE_PATTERN = {
@@ -2342,6 +2348,15 @@ __decorateClass([
2342
2348
  nullable: true
2343
2349
  })
2344
2350
  ], Job.prototype, "typeOfEmployment", 2);
2351
+ __decorateClass([
2352
+ (0, import_typeorm16.Column)({ name: "academic_qualifictaion", type: "varchar", nullable: true })
2353
+ ], Job.prototype, "academicQualification", 2);
2354
+ __decorateClass([
2355
+ (0, import_typeorm16.Column)({ name: "years_of_experience", type: "varchar", nullable: true })
2356
+ ], Job.prototype, "yearsOfExperience", 2);
2357
+ __decorateClass([
2358
+ (0, import_typeorm16.Column)({ name: "business_industry", type: "varchar", nullable: true })
2359
+ ], Job.prototype, "businessIndustry", 2);
2345
2360
  __decorateClass([
2346
2361
  (0, import_typeorm16.Column)({ name: "currency", type: "varchar", default: "USD" })
2347
2362
  ], Job.prototype, "currency", 2);
package/dist/index.mjs CHANGED
@@ -602,6 +602,9 @@ __decorateClass([
602
602
  __decorateClass([
603
603
  IsNotEmpty21({ message: "Please enter the password." })
604
604
  ], CreateSubAdminDto.prototype, "password", 2);
605
+ __decorateClass([
606
+ IsNotEmpty21({ message: "Please Select Roles." })
607
+ ], CreateSubAdminDto.prototype, "roleIds", 2);
605
608
 
606
609
  // src/modules/user/subadmin/dto/update-subadmin-status.dto.ts
607
610
  import { IsString as IsString8 } from "class-validator";
@@ -636,6 +639,9 @@ __decorateClass([
636
639
  __decorateClass([
637
640
  IsNotEmpty22({ message: "Please enter the password." })
638
641
  ], UpdateSubAdminDto.prototype, "password", 2);
642
+ __decorateClass([
643
+ IsNotEmpty22({ message: "Please Select Roles." })
644
+ ], UpdateSubAdminDto.prototype, "roleIds", 2);
639
645
 
640
646
  // src/modules/user/client-profile/pattern/pattern.ts
641
647
  var CLIENT_PROFILE_PATTERN = {
@@ -2305,6 +2311,15 @@ __decorateClass([
2305
2311
  nullable: true
2306
2312
  })
2307
2313
  ], Job.prototype, "typeOfEmployment", 2);
2314
+ __decorateClass([
2315
+ Column16({ name: "academic_qualifictaion", type: "varchar", nullable: true })
2316
+ ], Job.prototype, "academicQualification", 2);
2317
+ __decorateClass([
2318
+ Column16({ name: "years_of_experience", type: "varchar", nullable: true })
2319
+ ], Job.prototype, "yearsOfExperience", 2);
2320
+ __decorateClass([
2321
+ Column16({ name: "business_industry", type: "varchar", nullable: true })
2322
+ ], Job.prototype, "businessIndustry", 2);
2308
2323
  __decorateClass([
2309
2324
  Column16({ name: "currency", type: "varchar", default: "USD" })
2310
2325
  ], Job.prototype, "currency", 2);
@@ -6,4 +6,5 @@ export declare class CreateSubAdminDto {
6
6
  mobileCode: string;
7
7
  mobile: string;
8
8
  password: string;
9
+ roleIds: string;
9
10
  }
@@ -6,4 +6,5 @@ export declare class UpdateSubAdminDto {
6
6
  mobileCode: string;
7
7
  mobile: string;
8
8
  password: string;
9
+ roleIds: string;
9
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.279",
3
+ "version": "1.0.281",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",