@experts_hub/shared 1.0.236 → 1.0.237
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +23 -0
- package/dist/index.mjs +23 -0
- package/dist/modules/job/dto/job-basic-information.dto.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -427,9 +427,15 @@ declare class JobBasicInformationDto {
|
|
|
427
427
|
skills: number[];
|
|
428
428
|
openings: number;
|
|
429
429
|
location: JobLocation;
|
|
430
|
+
countryId: number;
|
|
431
|
+
stateId: number;
|
|
432
|
+
cityId: number;
|
|
430
433
|
typeOfEmployment: EmploymentType;
|
|
434
|
+
currency?: string;
|
|
431
435
|
expectedSalaryFrom: number;
|
|
432
436
|
expectedSalaryTo: number;
|
|
437
|
+
tentativeStartDate: string;
|
|
438
|
+
tentativeEndDate: string;
|
|
433
439
|
onboardingTat?: string;
|
|
434
440
|
candidateCommunicationSkills?: string;
|
|
435
441
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -427,9 +427,15 @@ declare class JobBasicInformationDto {
|
|
|
427
427
|
skills: number[];
|
|
428
428
|
openings: number;
|
|
429
429
|
location: JobLocation;
|
|
430
|
+
countryId: number;
|
|
431
|
+
stateId: number;
|
|
432
|
+
cityId: number;
|
|
430
433
|
typeOfEmployment: EmploymentType;
|
|
434
|
+
currency?: string;
|
|
431
435
|
expectedSalaryFrom: number;
|
|
432
436
|
expectedSalaryTo: number;
|
|
437
|
+
tentativeStartDate: string;
|
|
438
|
+
tentativeEndDate: string;
|
|
433
439
|
onboardingTat?: string;
|
|
434
440
|
candidateCommunicationSkills?: string;
|
|
435
441
|
}
|
package/dist/index.js
CHANGED
|
@@ -911,6 +911,18 @@ __decorateClass([
|
|
|
911
911
|
)}`
|
|
912
912
|
})
|
|
913
913
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
914
|
+
__decorateClass([
|
|
915
|
+
(0, import_class_validator28.IsNumber)({}, { message: "Country id must be a number" }),
|
|
916
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
917
|
+
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
918
|
+
__decorateClass([
|
|
919
|
+
(0, import_class_validator28.IsNumber)({}, { message: "State id must be a number" }),
|
|
920
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
921
|
+
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
922
|
+
__decorateClass([
|
|
923
|
+
(0, import_class_validator28.IsNumber)({}, { message: "City id must be a number" }),
|
|
924
|
+
(0, import_class_transformer.Type)(() => Number)
|
|
925
|
+
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
914
926
|
__decorateClass([
|
|
915
927
|
(0, import_class_validator28.IsEnum)(EmploymentType, {
|
|
916
928
|
message: `Type of employment must be one of: ${Object.values(
|
|
@@ -918,6 +930,9 @@ __decorateClass([
|
|
|
918
930
|
).join(", ")}`
|
|
919
931
|
})
|
|
920
932
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
933
|
+
__decorateClass([
|
|
934
|
+
(0, import_class_validator28.IsString)({ message: "Currency must be a string" })
|
|
935
|
+
], JobBasicInformationDto.prototype, "currency", 2);
|
|
921
936
|
__decorateClass([
|
|
922
937
|
(0, import_class_validator28.IsNumber)({}, { message: "Expected salary (from) must be a number" }),
|
|
923
938
|
(0, import_class_validator28.Min)(0, { message: "Expected salary (from) cannot be negative" }),
|
|
@@ -928,6 +943,14 @@ __decorateClass([
|
|
|
928
943
|
(0, import_class_validator28.Min)(0, { message: "Expected salary (to) cannot be negative" }),
|
|
929
944
|
(0, import_class_transformer.Type)(() => Number)
|
|
930
945
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
946
|
+
__decorateClass([
|
|
947
|
+
(0, import_class_validator28.IsNotEmpty)({ message: "Please enter start date" }),
|
|
948
|
+
(0, import_class_validator28.IsString)({ message: "Start date must be valid" })
|
|
949
|
+
], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
|
|
950
|
+
__decorateClass([
|
|
951
|
+
(0, import_class_validator28.IsNotEmpty)({ message: "Please enter end date" }),
|
|
952
|
+
(0, import_class_validator28.IsString)({ message: "End date must be valid" })
|
|
953
|
+
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
931
954
|
__decorateClass([
|
|
932
955
|
(0, import_class_validator28.IsString)({ message: "Onboarding TAT must be a string" }),
|
|
933
956
|
(0, import_class_validator28.IsOptional)()
|
package/dist/index.mjs
CHANGED
|
@@ -777,6 +777,18 @@ __decorateClass([
|
|
|
777
777
|
)}`
|
|
778
778
|
})
|
|
779
779
|
], JobBasicInformationDto.prototype, "location", 2);
|
|
780
|
+
__decorateClass([
|
|
781
|
+
IsNumber({}, { message: "Country id must be a number" }),
|
|
782
|
+
Type(() => Number)
|
|
783
|
+
], JobBasicInformationDto.prototype, "countryId", 2);
|
|
784
|
+
__decorateClass([
|
|
785
|
+
IsNumber({}, { message: "State id must be a number" }),
|
|
786
|
+
Type(() => Number)
|
|
787
|
+
], JobBasicInformationDto.prototype, "stateId", 2);
|
|
788
|
+
__decorateClass([
|
|
789
|
+
IsNumber({}, { message: "City id must be a number" }),
|
|
790
|
+
Type(() => Number)
|
|
791
|
+
], JobBasicInformationDto.prototype, "cityId", 2);
|
|
780
792
|
__decorateClass([
|
|
781
793
|
IsEnum7(EmploymentType, {
|
|
782
794
|
message: `Type of employment must be one of: ${Object.values(
|
|
@@ -784,6 +796,9 @@ __decorateClass([
|
|
|
784
796
|
).join(", ")}`
|
|
785
797
|
})
|
|
786
798
|
], JobBasicInformationDto.prototype, "typeOfEmployment", 2);
|
|
799
|
+
__decorateClass([
|
|
800
|
+
IsString12({ message: "Currency must be a string" })
|
|
801
|
+
], JobBasicInformationDto.prototype, "currency", 2);
|
|
787
802
|
__decorateClass([
|
|
788
803
|
IsNumber({}, { message: "Expected salary (from) must be a number" }),
|
|
789
804
|
Min(0, { message: "Expected salary (from) cannot be negative" }),
|
|
@@ -794,6 +809,14 @@ __decorateClass([
|
|
|
794
809
|
Min(0, { message: "Expected salary (to) cannot be negative" }),
|
|
795
810
|
Type(() => Number)
|
|
796
811
|
], JobBasicInformationDto.prototype, "expectedSalaryTo", 2);
|
|
812
|
+
__decorateClass([
|
|
813
|
+
IsNotEmpty26({ message: "Please enter start date" }),
|
|
814
|
+
IsString12({ message: "Start date must be valid" })
|
|
815
|
+
], JobBasicInformationDto.prototype, "tentativeStartDate", 2);
|
|
816
|
+
__decorateClass([
|
|
817
|
+
IsNotEmpty26({ message: "Please enter end date" }),
|
|
818
|
+
IsString12({ message: "End date must be valid" })
|
|
819
|
+
], JobBasicInformationDto.prototype, "tentativeEndDate", 2);
|
|
797
820
|
__decorateClass([
|
|
798
821
|
IsString12({ message: "Onboarding TAT must be a string" }),
|
|
799
822
|
IsOptional6()
|
|
@@ -14,9 +14,15 @@ export declare class JobBasicInformationDto {
|
|
|
14
14
|
skills: number[];
|
|
15
15
|
openings: number;
|
|
16
16
|
location: JobLocation;
|
|
17
|
+
countryId: number;
|
|
18
|
+
stateId: number;
|
|
19
|
+
cityId: number;
|
|
17
20
|
typeOfEmployment: EmploymentType;
|
|
21
|
+
currency?: string;
|
|
18
22
|
expectedSalaryFrom: number;
|
|
19
23
|
expectedSalaryTo: number;
|
|
24
|
+
tentativeStartDate: string;
|
|
25
|
+
tentativeEndDate: string;
|
|
20
26
|
onboardingTat?: string;
|
|
21
27
|
candidateCommunicationSkills?: string;
|
|
22
28
|
}
|