@experts_hub/shared 1.0.311 → 1.0.313

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
@@ -999,7 +999,7 @@ __decorateClass([
999
999
  (0, import_class_validator28.IsEmail)()
1000
1000
  ], UpdateCompanyProfileDto.prototype, "email", 2);
1001
1001
  __decorateClass([
1002
- (0, import_class_validator28.IsNotEmpty)({ message: "Please enter something about company." }),
1002
+ (0, import_class_validator28.IsOptional)(),
1003
1003
  (0, import_class_validator28.IsString)({ message: "About company must be a string." })
1004
1004
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
1005
1005
 
@@ -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
@@ -838,7 +838,7 @@ __decorateClass([
838
838
  IsEmail4()
839
839
  ], UpdateCompanyProfileDto.prototype, "email", 2);
840
840
  __decorateClass([
841
- IsNotEmpty24({ message: "Please enter something about company." }),
841
+ IsOptional5(),
842
842
  IsString9({ message: "About company must be a string." })
843
843
  ], UpdateCompanyProfileDto.prototype, "aboutCompany", 2);
844
844
 
@@ -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.313",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",