@experts_hub/shared 1.0.485 → 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,6 +480,7 @@ declare class JobBasicInformationDto {
|
|
|
480
480
|
projectName?: string;
|
|
481
481
|
note?: string;
|
|
482
482
|
skills: string[];
|
|
483
|
+
goodToHaveSkills: string[];
|
|
483
484
|
openings: number;
|
|
484
485
|
location: JobLocation;
|
|
485
486
|
countryId: number;
|
|
@@ -2144,6 +2145,7 @@ declare const FREELANCER_SKILL_PATTERN: {
|
|
|
2144
2145
|
|
|
2145
2146
|
declare class FreelancerSkillDto {
|
|
2146
2147
|
coreSkills: string[];
|
|
2148
|
+
secondarySkills: string[];
|
|
2147
2149
|
tools: string[];
|
|
2148
2150
|
frameworks: string[];
|
|
2149
2151
|
}
|
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
|
+
goodToHaveSkills: string[];
|
|
483
484
|
openings: number;
|
|
484
485
|
location: JobLocation;
|
|
485
486
|
countryId: number;
|
|
@@ -2144,6 +2145,7 @@ declare const FREELANCER_SKILL_PATTERN: {
|
|
|
2144
2145
|
|
|
2145
2146
|
declare class FreelancerSkillDto {
|
|
2146
2147
|
coreSkills: string[];
|
|
2148
|
+
secondarySkills: string[];
|
|
2147
2149
|
tools: string[];
|
|
2148
2150
|
frameworks: string[];
|
|
2149
2151
|
}
|
package/dist/index.js
CHANGED
|
@@ -1238,6 +1238,13 @@ __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.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);
|
|
1241
1248
|
__decorateClass([
|
|
1242
1249
|
(0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
|
|
1243
1250
|
(0, import_class_validator33.IsNumber)({}, { message: "Openings must be a number" }),
|
|
@@ -5847,6 +5854,7 @@ var import_class_transformer7 = require("class-transformer");
|
|
|
5847
5854
|
var FreelancerSkillDto = class {
|
|
5848
5855
|
constructor() {
|
|
5849
5856
|
this.coreSkills = [];
|
|
5857
|
+
this.secondarySkills = [];
|
|
5850
5858
|
this.tools = [];
|
|
5851
5859
|
this.frameworks = [];
|
|
5852
5860
|
}
|
|
@@ -5857,6 +5865,12 @@ __decorateClass([
|
|
|
5857
5865
|
(0, import_class_transformer7.Type)(() => String),
|
|
5858
5866
|
(0, import_class_validator52.IsString)({ each: true })
|
|
5859
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);
|
|
5860
5874
|
__decorateClass([
|
|
5861
5875
|
(0, import_class_validator52.IsOptional)(),
|
|
5862
5876
|
(0, import_class_validator52.IsArray)(),
|
package/dist/index.mjs
CHANGED
|
@@ -1020,6 +1020,13 @@ __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
|
+
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);
|
|
1023
1030
|
__decorateClass([
|
|
1024
1031
|
ValidateIf3((o) => !o.isDraft),
|
|
1025
1032
|
IsNumber({}, { message: "Openings must be a number" }),
|
|
@@ -5878,6 +5885,7 @@ import { Type as Type6 } from "class-transformer";
|
|
|
5878
5885
|
var FreelancerSkillDto = class {
|
|
5879
5886
|
constructor() {
|
|
5880
5887
|
this.coreSkills = [];
|
|
5888
|
+
this.secondarySkills = [];
|
|
5881
5889
|
this.tools = [];
|
|
5882
5890
|
this.frameworks = [];
|
|
5883
5891
|
}
|
|
@@ -5888,6 +5896,12 @@ __decorateClass([
|
|
|
5888
5896
|
Type6(() => String),
|
|
5889
5897
|
IsString26({ each: true })
|
|
5890
5898
|
], FreelancerSkillDto.prototype, "coreSkills", 2);
|
|
5899
|
+
__decorateClass([
|
|
5900
|
+
IsOptional25(),
|
|
5901
|
+
IsArray8(),
|
|
5902
|
+
Type6(() => String),
|
|
5903
|
+
IsString26({ each: true })
|
|
5904
|
+
], FreelancerSkillDto.prototype, "secondarySkills", 2);
|
|
5891
5905
|
__decorateClass([
|
|
5892
5906
|
IsOptional25(),
|
|
5893
5907
|
IsArray8(),
|