@experts_hub/shared 1.0.421 → 1.0.423

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.
package/dist/index.d.mts CHANGED
@@ -489,10 +489,7 @@ declare class JobBasicInformationDto {
489
489
  hideExpectedSalaryFrom: boolean;
490
490
  expectedSalaryTo: number;
491
491
  hideExpectedSalaryTo: boolean;
492
- tentativeStartDate: string;
493
- tentativeEndDate: string;
494
492
  numberOfHours: number;
495
- onboardingTat?: string;
496
493
  candidateCommunicationSkills?: string;
497
494
  academicQualification?: string;
498
495
  yearsOfExperience?: string;
package/dist/index.d.ts CHANGED
@@ -489,10 +489,7 @@ declare class JobBasicInformationDto {
489
489
  hideExpectedSalaryFrom: boolean;
490
490
  expectedSalaryTo: number;
491
491
  hideExpectedSalaryTo: boolean;
492
- tentativeStartDate: string;
493
- tentativeEndDate: string;
494
492
  numberOfHours: number;
495
- onboardingTat?: string;
496
493
  candidateCommunicationSkills?: string;
497
494
  academicQualification?: string;
498
495
  yearsOfExperience?: string;
package/dist/index.js CHANGED
@@ -1275,27 +1275,12 @@ __decorateClass([
1275
1275
  (0, import_class_validator33.IsOptional)()
1276
1276
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1277
1277
  __decorateClass([
1278
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1279
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter start date" }),
1280
- (0, import_class_validator33.IsString)({ message: "Start date must be valid" })
1281
- ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
1282
- __decorateClass([
1283
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1284
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter end date" }),
1285
- (0, import_class_validator33.IsString)({ message: "End date must be valid" })
1286
- ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
1287
- __decorateClass([
1288
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft && o.typeOfEmployment === "HOURLY" /* HOURLY */),
1278
+ (0, import_class_validator33.IsOptional)(),
1289
1279
  (0, import_class_validator33.IsNumber)({}, { message: "Number of hours must be a number" }),
1290
1280
  (0, import_class_validator33.Min)(0, { message: "Number of hours cannot be negative" }),
1291
1281
  (0, import_class_validator33.Max)(40, { message: "Number of hours cannot exceed 40" }),
1292
1282
  (0, import_class_transformer2.Type)(() => Number)
1293
1283
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1294
- __decorateClass([
1295
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1296
- (0, import_class_validator33.IsString)({ message: "Onboarding TAT must be a string" }),
1297
- (0, import_class_validator33.IsOptional)()
1298
- ], JobBasicInformationDto.prototype, "onboardingTat", 2);
1299
1284
  __decorateClass([
1300
1285
  (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1301
1286
  (0, import_class_validator33.IsString)({ message: "Candidate communication skills must be a string" }),
package/dist/index.mjs CHANGED
@@ -1078,27 +1078,12 @@ __decorateClass([
1078
1078
  IsOptional12()
1079
1079
  ], JobBasicInformationDto.prototype, "hideExpectedSalaryTo", 2);
1080
1080
  __decorateClass([
1081
- ValidateIf3((o) => !o.isDraft),
1082
- IsNotEmpty29({ message: "Please enter start date" }),
1083
- IsString12({ message: "Start date must be valid" })
1084
- ], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
1085
- __decorateClass([
1086
- ValidateIf3((o) => !o.isDraft),
1087
- IsNotEmpty29({ message: "Please enter end date" }),
1088
- IsString12({ message: "End date must be valid" })
1089
- ], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
1090
- __decorateClass([
1091
- ValidateIf3((o) => !o.isDraft && o.typeOfEmployment === "HOURLY" /* HOURLY */),
1081
+ IsOptional12(),
1092
1082
  IsNumber({}, { message: "Number of hours must be a number" }),
1093
1083
  Min(0, { message: "Number of hours cannot be negative" }),
1094
1084
  Max(40, { message: "Number of hours cannot exceed 40" }),
1095
1085
  Type(() => Number)
1096
1086
  ], JobBasicInformationDto.prototype, "numberOfHours", 2);
1097
- __decorateClass([
1098
- ValidateIf3((o) => !o.isDraft),
1099
- IsString12({ message: "Onboarding TAT must be a string" }),
1100
- IsOptional12()
1101
- ], JobBasicInformationDto.prototype, "onboardingTat", 2);
1102
1087
  __decorateClass([
1103
1088
  ValidateIf3((o) => !o.isDraft),
1104
1089
  IsString12({ message: "Candidate communication skills must be a string" }),
@@ -27,10 +27,7 @@ export declare class JobBasicInformationDto {
27
27
  hideExpectedSalaryFrom: boolean;
28
28
  expectedSalaryTo: number;
29
29
  hideExpectedSalaryTo: boolean;
30
- tentativeStartDate: string;
31
- tentativeEndDate: string;
32
30
  numberOfHours: number;
33
- onboardingTat?: string;
34
31
  candidateCommunicationSkills?: string;
35
32
  academicQualification?: string;
36
33
  yearsOfExperience?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.421",
3
+ "version": "1.0.423",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",