@experts_hub/shared 1.0.311 → 1.0.312

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
@@ -448,7 +448,7 @@ declare class JobBasicInformationDto {
448
448
  isDraft?: boolean;
449
449
  jobRole: string;
450
450
  note?: string;
451
- skills: number[];
451
+ skills: string[];
452
452
  openings: number;
453
453
  location: JobLocation;
454
454
  countryId: number;
package/dist/index.d.ts CHANGED
@@ -448,7 +448,7 @@ declare class JobBasicInformationDto {
448
448
  isDraft?: boolean;
449
449
  jobRole: string;
450
450
  note?: string;
451
- skills: number[];
451
+ skills: string[];
452
452
  openings: number;
453
453
  location: JobLocation;
454
454
  countryId: number;
package/dist/index.js CHANGED
@@ -1109,8 +1109,8 @@ __decorateClass([
1109
1109
  (0, import_class_validator31.ValidateIf)((o) => !o.isDraft),
1110
1110
  (0, import_class_validator31.IsArray)({ message: "Skills must be an array" }),
1111
1111
  (0, import_class_validator31.ArrayNotEmpty)({ message: "Please select at least one skill" }),
1112
- (0, import_class_validator31.IsNumber)({}, { each: true, message: "Each skill must be a number" }),
1113
- (0, import_class_transformer.Type)(() => Number)
1112
+ (0, import_class_validator31.IsString)({ each: true, message: "Each skill must be a string" }),
1113
+ (0, import_class_transformer.Type)(() => String)
1114
1114
  ], JobBasicInformationDto.prototype, "skills", 2);
1115
1115
  __decorateClass([
1116
1116
  (0, import_class_validator31.ValidateIf)((o) => !o.isDraft),
package/dist/index.mjs CHANGED
@@ -967,8 +967,8 @@ __decorateClass([
967
967
  ValidateIf3((o) => !o.isDraft),
968
968
  IsArray({ message: "Skills must be an array" }),
969
969
  ArrayNotEmpty({ message: "Please select at least one skill" }),
970
- IsNumber({}, { each: true, message: "Each skill must be a number" }),
971
- Type(() => Number)
970
+ IsString11({ each: true, message: "Each skill must be a string" }),
971
+ Type(() => String)
972
972
  ], JobBasicInformationDto.prototype, "skills", 2);
973
973
  __decorateClass([
974
974
  ValidateIf3((o) => !o.isDraft),
@@ -12,7 +12,7 @@ export declare class JobBasicInformationDto {
12
12
  isDraft?: boolean;
13
13
  jobRole: string;
14
14
  note?: string;
15
- skills: number[];
15
+ skills: string[];
16
16
  openings: number;
17
17
  location: JobLocation;
18
18
  countryId: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.311",
3
+ "version": "1.0.312",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",