@experts_hub/shared 1.0.213 → 1.0.214
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.js +8 -8
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3859,7 +3859,7 @@ var JOB_ADMIN_PATTERN = {
|
|
|
3859
3859
|
};
|
|
3860
3860
|
|
|
3861
3861
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
3862
|
-
var
|
|
3862
|
+
var import_class_transformer8 = require("class-transformer");
|
|
3863
3863
|
var import_class_validator54 = require("class-validator");
|
|
3864
3864
|
var JobLocationEnumDto = /* @__PURE__ */ ((JobLocationEnumDto2) => {
|
|
3865
3865
|
JobLocationEnumDto2["ONSITE"] = "ONSITE";
|
|
@@ -3886,7 +3886,7 @@ __decorateClass([
|
|
|
3886
3886
|
__decorateClass([
|
|
3887
3887
|
(0, import_class_validator54.IsArray)({ message: "Skills must be an array of numeric IDs." }),
|
|
3888
3888
|
(0, import_class_validator54.ArrayNotEmpty)({ message: "At least one skill must be selected." }),
|
|
3889
|
-
(0,
|
|
3889
|
+
(0, import_class_transformer8.Type)(() => Number),
|
|
3890
3890
|
(0, import_class_validator54.IsInt)({ each: true, message: "Each skill ID must be a valid integer." })
|
|
3891
3891
|
], AdminCreateJobInformationDto.prototype, "skills", 2);
|
|
3892
3892
|
__decorateClass([
|
|
@@ -3916,11 +3916,11 @@ __decorateClass([
|
|
|
3916
3916
|
(0, import_class_validator54.IsNotEmpty)({ message: "Currency is required." })
|
|
3917
3917
|
], AdminCreateJobInformationDto.prototype, "currency", 2);
|
|
3918
3918
|
__decorateClass([
|
|
3919
|
-
(0,
|
|
3919
|
+
(0, import_class_transformer8.Type)(() => Number),
|
|
3920
3920
|
(0, import_class_validator54.IsNumber)({}, { message: "Expected salary from must be a number." })
|
|
3921
3921
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
3922
3922
|
__decorateClass([
|
|
3923
|
-
(0,
|
|
3923
|
+
(0, import_class_transformer8.Type)(() => Number),
|
|
3924
3924
|
(0, import_class_validator54.IsNumber)({}, { message: "Expected salary to must be a number." })
|
|
3925
3925
|
], AdminCreateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
3926
3926
|
__decorateClass([
|
|
@@ -3944,7 +3944,7 @@ __decorateClass([
|
|
|
3944
3944
|
], AdminCreateJobInformationDto.prototype, "cityId", 2);
|
|
3945
3945
|
|
|
3946
3946
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
3947
|
-
var
|
|
3947
|
+
var import_class_transformer9 = require("class-transformer");
|
|
3948
3948
|
var import_class_validator55 = require("class-validator");
|
|
3949
3949
|
var JobLocationEnums = /* @__PURE__ */ ((JobLocationEnums2) => {
|
|
3950
3950
|
JobLocationEnums2["ONSITE"] = "ONSITE";
|
|
@@ -3971,7 +3971,7 @@ __decorateClass([
|
|
|
3971
3971
|
__decorateClass([
|
|
3972
3972
|
(0, import_class_validator55.IsArray)({ message: "Skills must be an array of numeric IDs." }),
|
|
3973
3973
|
(0, import_class_validator55.ArrayNotEmpty)({ message: "At least one skill must be selected." }),
|
|
3974
|
-
(0,
|
|
3974
|
+
(0, import_class_transformer9.Type)(() => Number),
|
|
3975
3975
|
(0, import_class_validator55.IsInt)({ each: true, message: "Each skill ID must be a valid integer." })
|
|
3976
3976
|
], AdminUpdateJobInformationDto.prototype, "skills", 2);
|
|
3977
3977
|
__decorateClass([
|
|
@@ -4001,11 +4001,11 @@ __decorateClass([
|
|
|
4001
4001
|
(0, import_class_validator55.IsNotEmpty)({ message: "Currency is required." })
|
|
4002
4002
|
], AdminUpdateJobInformationDto.prototype, "currency", 2);
|
|
4003
4003
|
__decorateClass([
|
|
4004
|
-
(0,
|
|
4004
|
+
(0, import_class_transformer9.Type)(() => Number),
|
|
4005
4005
|
(0, import_class_validator55.IsNumber)({}, { message: "Expected salary from must be a number." })
|
|
4006
4006
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryFrom", 2);
|
|
4007
4007
|
__decorateClass([
|
|
4008
|
-
(0,
|
|
4008
|
+
(0, import_class_transformer9.Type)(() => Number),
|
|
4009
4009
|
(0, import_class_validator55.IsNumber)({}, { message: "Expected salary to must be a number." })
|
|
4010
4010
|
], AdminUpdateJobInformationDto.prototype, "expectedSalaryTo", 2);
|
|
4011
4011
|
__decorateClass([
|
package/dist/index.mjs
CHANGED
|
@@ -3989,7 +3989,7 @@ var JOB_ADMIN_PATTERN = {
|
|
|
3989
3989
|
};
|
|
3990
3990
|
|
|
3991
3991
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
3992
|
-
import { Type as Type8 } from "class-transformer
|
|
3992
|
+
import { Type as Type8 } from "class-transformer";
|
|
3993
3993
|
import {
|
|
3994
3994
|
IsString as IsString32,
|
|
3995
3995
|
IsEnum as IsEnum18,
|
|
@@ -4085,7 +4085,7 @@ __decorateClass([
|
|
|
4085
4085
|
], AdminCreateJobInformationDto.prototype, "cityId", 2);
|
|
4086
4086
|
|
|
4087
4087
|
// src/modules/job-admin/dto/admin-update-job-information.dto.ts
|
|
4088
|
-
import { Type as Type9 } from "class-transformer
|
|
4088
|
+
import { Type as Type9 } from "class-transformer";
|
|
4089
4089
|
import {
|
|
4090
4090
|
IsString as IsString33,
|
|
4091
4091
|
IsEnum as IsEnum19,
|