@experts_hub/shared 1.0.485 → 1.0.486

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
@@ -480,6 +480,7 @@ declare class JobBasicInformationDto {
480
480
  projectName?: string;
481
481
  note?: string;
482
482
  skills: string[];
483
+ skillCategory: Number;
483
484
  openings: number;
484
485
  location: JobLocation;
485
486
  countryId: number;
package/dist/index.d.ts CHANGED
@@ -480,6 +480,7 @@ declare class JobBasicInformationDto {
480
480
  projectName?: string;
481
481
  note?: string;
482
482
  skills: string[];
483
+ skillCategory: Number;
483
484
  openings: number;
484
485
  location: JobLocation;
485
486
  countryId: number;
package/dist/index.js CHANGED
@@ -1238,6 +1238,11 @@ __decorateClass([
1238
1238
  (0, import_class_validator33.IsString)({ each: true, message: "Each skill must be a string" }),
1239
1239
  (0, import_class_transformer2.Type)(() => String)
1240
1240
  ], JobBasicInformationDto.prototype, "skills", 2);
1241
+ __decorateClass([
1242
+ (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1243
+ (0, import_class_validator33.IsNumber)({}, { message: "Skill category must be a number" }),
1244
+ (0, import_class_transformer2.Type)(() => Number)
1245
+ ], JobBasicInformationDto.prototype, "skillCategory", 2);
1241
1246
  __decorateClass([
1242
1247
  (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1243
1248
  (0, import_class_validator33.IsNumber)({}, { message: "Openings must be a number" }),
package/dist/index.mjs CHANGED
@@ -1020,6 +1020,11 @@ __decorateClass([
1020
1020
  IsString12({ each: true, message: "Each skill must be a string" }),
1021
1021
  Type(() => String)
1022
1022
  ], JobBasicInformationDto.prototype, "skills", 2);
1023
+ __decorateClass([
1024
+ ValidateIf3((o) => !o.isDraft),
1025
+ IsNumber({}, { message: "Skill category must be a number" }),
1026
+ Type(() => Number)
1027
+ ], JobBasicInformationDto.prototype, "skillCategory", 2);
1023
1028
  __decorateClass([
1024
1029
  ValidateIf3((o) => !o.isDraft),
1025
1030
  IsNumber({}, { message: "Openings must be a number" }),
@@ -17,6 +17,7 @@ export declare class JobBasicInformationDto {
17
17
  projectName?: string;
18
18
  note?: string;
19
19
  skills: string[];
20
+ skillCategory: Number;
20
21
  openings: number;
21
22
  location: JobLocation;
22
23
  countryId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.485",
3
+ "version": "1.0.486",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",