@experts_hub/shared 1.0.526 → 1.0.527
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
|
@@ -2801,12 +2801,7 @@ declare class AdminJobBasicInformationV2Dto {
|
|
|
2801
2801
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
2802
2802
|
expectedSalaryFrom: number;
|
|
2803
2803
|
expectedSalaryTo: number;
|
|
2804
|
-
currency?: string;
|
|
2805
2804
|
locations: JobLocationAdminDto[];
|
|
2806
|
-
onboardingTat: string;
|
|
2807
|
-
candidateCommunicationSkills?: string;
|
|
2808
|
-
tentativeStartDate: string;
|
|
2809
|
-
tentativeEndDate: string;
|
|
2810
2805
|
academicQualification?: string;
|
|
2811
2806
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
2812
2807
|
yearsOfExperienceFrom?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2801,12 +2801,7 @@ declare class AdminJobBasicInformationV2Dto {
|
|
|
2801
2801
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
2802
2802
|
expectedSalaryFrom: number;
|
|
2803
2803
|
expectedSalaryTo: number;
|
|
2804
|
-
currency?: string;
|
|
2805
2804
|
locations: JobLocationAdminDto[];
|
|
2806
|
-
onboardingTat: string;
|
|
2807
|
-
candidateCommunicationSkills?: string;
|
|
2808
|
-
tentativeStartDate: string;
|
|
2809
|
-
tentativeEndDate: string;
|
|
2810
2805
|
academicQualification?: string;
|
|
2811
2806
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
2812
2807
|
yearsOfExperienceFrom?: string;
|
package/dist/index.js
CHANGED
|
@@ -7408,10 +7408,6 @@ __decorateClass([
|
|
|
7408
7408
|
(0, import_class_validator64.Min)(0, { message: "Expected salary (to) cannot be negative" }),
|
|
7409
7409
|
(0, import_class_transformer14.Type)(() => Number)
|
|
7410
7410
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7411
|
-
__decorateClass([
|
|
7412
|
-
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7413
|
-
(0, import_class_validator64.IsString)({ message: "Currency must be a string" })
|
|
7414
|
-
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7415
7411
|
__decorateClass([
|
|
7416
7412
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7417
7413
|
(0, import_class_validator64.IsArray)({ message: "locations must be an array" }),
|
|
@@ -7420,27 +7416,6 @@ __decorateClass([
|
|
|
7420
7416
|
(0, import_class_transformer14.Type)(() => JobLocationAdminDto),
|
|
7421
7417
|
(0, import_class_validator64.IsOptional)()
|
|
7422
7418
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7423
|
-
__decorateClass([
|
|
7424
|
-
(0, import_class_validator64.IsString)({ message: "Onboarding Days must be a string." }),
|
|
7425
|
-
(0, import_class_validator64.IsNotEmpty)({ message: "Onboarding Days is required." })
|
|
7426
|
-
], AdminJobBasicInformationV2Dto.prototype, "onboardingTat", 2);
|
|
7427
|
-
__decorateClass([
|
|
7428
|
-
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7429
|
-
(0, import_class_validator64.IsString)({ message: "Candidate communication skills must be a string" }),
|
|
7430
|
-
(0, import_class_validator64.IsOptional)()
|
|
7431
|
-
], AdminJobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
|
|
7432
|
-
__decorateClass([
|
|
7433
|
-
(0, import_class_validator64.IsDateString)(
|
|
7434
|
-
{ strict: true },
|
|
7435
|
-
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
7436
|
-
)
|
|
7437
|
-
], AdminJobBasicInformationV2Dto.prototype, "tentativeStartDate", 2);
|
|
7438
|
-
__decorateClass([
|
|
7439
|
-
(0, import_class_validator64.IsDateString)(
|
|
7440
|
-
{ strict: true },
|
|
7441
|
-
{ message: "End date must be in YYYY-MM-DD format." }
|
|
7442
|
-
)
|
|
7443
|
-
], AdminJobBasicInformationV2Dto.prototype, "tentativeEndDate", 2);
|
|
7444
7419
|
__decorateClass([
|
|
7445
7420
|
(0, import_class_validator64.ValidateIf)((o) => !o.isDraft),
|
|
7446
7421
|
(0, import_class_validator64.IsNotEmpty)({ message: "Please enter the academic qualification" }),
|
package/dist/index.mjs
CHANGED
|
@@ -7430,8 +7430,7 @@ import {
|
|
|
7430
7430
|
MaxLength as MaxLength20,
|
|
7431
7431
|
Max as Max4,
|
|
7432
7432
|
ValidateNested as ValidateNested6,
|
|
7433
|
-
IsInt as IsInt9
|
|
7434
|
-
IsDateString as IsDateString6
|
|
7433
|
+
IsInt as IsInt9
|
|
7435
7434
|
} from "class-validator";
|
|
7436
7435
|
import { Type as Type12 } from "class-transformer";
|
|
7437
7436
|
var JobLocationAdminEnumDto = /* @__PURE__ */ ((JobLocationAdminEnumDto2) => {
|
|
@@ -7530,10 +7529,6 @@ __decorateClass([
|
|
|
7530
7529
|
Min8(0, { message: "Expected salary (to) cannot be negative" }),
|
|
7531
7530
|
Type12(() => Number)
|
|
7532
7531
|
], AdminJobBasicInformationV2Dto.prototype, "expectedSalaryTo", 2);
|
|
7533
|
-
__decorateClass([
|
|
7534
|
-
ValidateIf9((o) => !o.isDraft),
|
|
7535
|
-
IsString36({ message: "Currency must be a string" })
|
|
7536
|
-
], AdminJobBasicInformationV2Dto.prototype, "currency", 2);
|
|
7537
7532
|
__decorateClass([
|
|
7538
7533
|
ValidateIf9((o) => !o.isDraft && (o.location === "ONSITE" /* ONSITE */ || o.location === "HYBRID" /* HYBRID */)),
|
|
7539
7534
|
IsArray14({ message: "locations must be an array" }),
|
|
@@ -7542,27 +7537,6 @@ __decorateClass([
|
|
|
7542
7537
|
Type12(() => JobLocationAdminDto),
|
|
7543
7538
|
IsOptional36()
|
|
7544
7539
|
], AdminJobBasicInformationV2Dto.prototype, "locations", 2);
|
|
7545
|
-
__decorateClass([
|
|
7546
|
-
IsString36({ message: "Onboarding Days must be a string." }),
|
|
7547
|
-
IsNotEmpty55({ message: "Onboarding Days is required." })
|
|
7548
|
-
], AdminJobBasicInformationV2Dto.prototype, "onboardingTat", 2);
|
|
7549
|
-
__decorateClass([
|
|
7550
|
-
ValidateIf9((o) => !o.isDraft),
|
|
7551
|
-
IsString36({ message: "Candidate communication skills must be a string" }),
|
|
7552
|
-
IsOptional36()
|
|
7553
|
-
], AdminJobBasicInformationV2Dto.prototype, "candidateCommunicationSkills", 2);
|
|
7554
|
-
__decorateClass([
|
|
7555
|
-
IsDateString6(
|
|
7556
|
-
{ strict: true },
|
|
7557
|
-
{ message: "Start date must be in YYYY-MM-DD format." }
|
|
7558
|
-
)
|
|
7559
|
-
], AdminJobBasicInformationV2Dto.prototype, "tentativeStartDate", 2);
|
|
7560
|
-
__decorateClass([
|
|
7561
|
-
IsDateString6(
|
|
7562
|
-
{ strict: true },
|
|
7563
|
-
{ message: "End date must be in YYYY-MM-DD format." }
|
|
7564
|
-
)
|
|
7565
|
-
], AdminJobBasicInformationV2Dto.prototype, "tentativeEndDate", 2);
|
|
7566
7540
|
__decorateClass([
|
|
7567
7541
|
ValidateIf9((o) => !o.isDraft),
|
|
7568
7542
|
IsNotEmpty55({ message: "Please enter the academic qualification" }),
|
|
@@ -31,12 +31,7 @@ export declare class AdminJobBasicInformationV2Dto {
|
|
|
31
31
|
typeOfEmployment: EmploymentTypeAdminEnumDto;
|
|
32
32
|
expectedSalaryFrom: number;
|
|
33
33
|
expectedSalaryTo: number;
|
|
34
|
-
currency?: string;
|
|
35
34
|
locations: JobLocationAdminDto[];
|
|
36
|
-
onboardingTat: string;
|
|
37
|
-
candidateCommunicationSkills?: string;
|
|
38
|
-
tentativeStartDate: string;
|
|
39
|
-
tentativeEndDate: string;
|
|
40
35
|
academicQualification?: string;
|
|
41
36
|
yearsOfExperienceType: typeOfExperienceAdminEnumDto;
|
|
42
37
|
yearsOfExperienceFrom?: string;
|