@experts_hub/shared 1.0.486 → 1.0.487
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,7 +480,7 @@ declare class JobBasicInformationDto {
|
|
|
480
480
|
projectName?: string;
|
|
481
481
|
note?: string;
|
|
482
482
|
skills: string[];
|
|
483
|
-
|
|
483
|
+
goodToHaveSkills: string[];
|
|
484
484
|
openings: number;
|
|
485
485
|
location: JobLocation;
|
|
486
486
|
countryId: number;
|
|
@@ -2145,6 +2145,7 @@ declare const FREELANCER_SKILL_PATTERN: {
|
|
|
2145
2145
|
|
|
2146
2146
|
declare class FreelancerSkillDto {
|
|
2147
2147
|
coreSkills: string[];
|
|
2148
|
+
secondarySkills: string[];
|
|
2148
2149
|
tools: string[];
|
|
2149
2150
|
frameworks: string[];
|
|
2150
2151
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -480,7 +480,7 @@ declare class JobBasicInformationDto {
|
|
|
480
480
|
projectName?: string;
|
|
481
481
|
note?: string;
|
|
482
482
|
skills: string[];
|
|
483
|
-
|
|
483
|
+
goodToHaveSkills: string[];
|
|
484
484
|
openings: number;
|
|
485
485
|
location: JobLocation;
|
|
486
486
|
countryId: number;
|
|
@@ -2145,6 +2145,7 @@ declare const FREELANCER_SKILL_PATTERN: {
|
|
|
2145
2145
|
|
|
2146
2146
|
declare class FreelancerSkillDto {
|
|
2147
2147
|
coreSkills: string[];
|
|
2148
|
+
secondarySkills: string[];
|
|
2148
2149
|
tools: string[];
|
|
2149
2150
|
frameworks: string[];
|
|
2150
2151
|
}
|
package/dist/index.js
CHANGED
|
@@ -1240,9 +1240,11 @@ __decorateClass([
|
|
|
1240
1240
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1241
1241
|
__decorateClass([
|
|
1242
1242
|
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1243
|
-
(0, import_class_validator33.
|
|
1244
|
-
(0,
|
|
1245
|
-
|
|
1243
|
+
(0, import_class_validator33.IsArray)({ message: "Good to have skills must be an array" }),
|
|
1244
|
+
(0, import_class_validator33.ArrayNotEmpty)({ message: "Please select at least one skill" }),
|
|
1245
|
+
(0, import_class_validator33.IsString)({ each: true, message: "Each skill must be a string" }),
|
|
1246
|
+
(0, import_class_transformer2.Type)(() => String)
|
|
1247
|
+
], JobBasicInformationDto.prototype, "goodToHaveSkills", 2);
|
|
1246
1248
|
__decorateClass([
|
|
1247
1249
|
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1248
1250
|
(0, import_class_validator33.IsNumber)({}, { message: "Openings must be a number" }),
|
|
@@ -5852,6 +5854,7 @@ var import_class_transformer7 = require("class-transformer");
|
|
|
5852
5854
|
var FreelancerSkillDto = class {
|
|
5853
5855
|
constructor() {
|
|
5854
5856
|
this.coreSkills = [];
|
|
5857
|
+
this.secondarySkills = [];
|
|
5855
5858
|
this.tools = [];
|
|
5856
5859
|
this.frameworks = [];
|
|
5857
5860
|
}
|
|
@@ -5862,6 +5865,12 @@ __decorateClass([
|
|
|
5862
5865
|
(0, import_class_transformer7.Type)(() => String),
|
|
5863
5866
|
(0, import_class_validator52.IsString)({ each: true })
|
|
5864
5867
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
5868
|
+
__decorateClass([
|
|
5869
|
+
(0, import_class_validator52.IsOptional)(),
|
|
5870
|
+
(0, import_class_validator52.IsArray)(),
|
|
5871
|
+
(0, import_class_transformer7.Type)(() => String),
|
|
5872
|
+
(0, import_class_validator52.IsString)({ each: true })
|
|
5873
|
+
], FreelancerSkillDto.prototype, "secondarySkills", 2);
|
|
5865
5874
|
__decorateClass([
|
|
5866
5875
|
(0, import_class_validator52.IsOptional)(),
|
|
5867
5876
|
(0, import_class_validator52.IsArray)(),
|
package/dist/index.mjs
CHANGED
|
@@ -1022,9 +1022,11 @@ __decorateClass([
|
|
|
1022
1022
|
], JobBasicInformationDto.prototype, "skills", 2);
|
|
1023
1023
|
__decorateClass([
|
|
1024
1024
|
ValidateIf3((o) => !o.isDraft),
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1025
|
+
IsArray({ message: "Good to have skills must be an array" }),
|
|
1026
|
+
ArrayNotEmpty({ message: "Please select at least one skill" }),
|
|
1027
|
+
IsString12({ each: true, message: "Each skill must be a string" }),
|
|
1028
|
+
Type(() => String)
|
|
1029
|
+
], JobBasicInformationDto.prototype, "goodToHaveSkills", 2);
|
|
1028
1030
|
__decorateClass([
|
|
1029
1031
|
ValidateIf3((o) => !o.isDraft),
|
|
1030
1032
|
IsNumber({}, { message: "Openings must be a number" }),
|
|
@@ -5883,6 +5885,7 @@ import { Type as Type6 } from "class-transformer";
|
|
|
5883
5885
|
var FreelancerSkillDto = class {
|
|
5884
5886
|
constructor() {
|
|
5885
5887
|
this.coreSkills = [];
|
|
5888
|
+
this.secondarySkills = [];
|
|
5886
5889
|
this.tools = [];
|
|
5887
5890
|
this.frameworks = [];
|
|
5888
5891
|
}
|
|
@@ -5893,6 +5896,12 @@ __decorateClass([
|
|
|
5893
5896
|
Type6(() => String),
|
|
5894
5897
|
IsString26({ each: true })
|
|
5895
5898
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
5899
|
+
__decorateClass([
|
|
5900
|
+
IsOptional25(),
|
|
5901
|
+
IsArray8(),
|
|
5902
|
+
Type6(() => String),
|
|
5903
|
+
IsString26({ each: true })
|
|
5904
|
+
], FreelancerSkillDto.prototype, "secondarySkills", 2);
|
|
5896
5905
|
__decorateClass([
|
|
5897
5906
|
IsOptional25(),
|
|
5898
5907
|
IsArray8(),
|