@experts_hub/shared 1.0.401 → 1.0.403
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.
|
@@ -59,11 +59,14 @@ export declare class Job extends BaseEntity {
|
|
|
59
59
|
businessIndustry: string;
|
|
60
60
|
currency: string;
|
|
61
61
|
expectedSalaryFrom: number;
|
|
62
|
+
hideExpectedSalaryFrom: boolean;
|
|
62
63
|
expectedSalaryTo: number;
|
|
64
|
+
hideExpectedSalaryTo: boolean;
|
|
63
65
|
tentativeStartDate: Date;
|
|
64
66
|
tentativeEndDate: Date;
|
|
65
|
-
duration: string;
|
|
66
67
|
durationType: DurationTypeEnum;
|
|
68
|
+
duration: string;
|
|
69
|
+
numberOfHours: number;
|
|
67
70
|
description: string;
|
|
68
71
|
additionalComment: string;
|
|
69
72
|
onboardingTat: string;
|
package/dist/index.d.mts
CHANGED
|
@@ -490,6 +490,7 @@ declare class JobBasicInformationDto {
|
|
|
490
490
|
academicQualification?: string;
|
|
491
491
|
yearsOfExperience?: string;
|
|
492
492
|
businessIndustry?: string;
|
|
493
|
+
additionalComment?: string;
|
|
493
494
|
}
|
|
494
495
|
|
|
495
496
|
declare class JobAdditionalCommentDto {
|
|
@@ -1226,11 +1227,14 @@ declare class Job extends BaseEntity {
|
|
|
1226
1227
|
businessIndustry: string;
|
|
1227
1228
|
currency: string;
|
|
1228
1229
|
expectedSalaryFrom: number;
|
|
1230
|
+
hideExpectedSalaryFrom: boolean;
|
|
1229
1231
|
expectedSalaryTo: number;
|
|
1232
|
+
hideExpectedSalaryTo: boolean;
|
|
1230
1233
|
tentativeStartDate: Date;
|
|
1231
1234
|
tentativeEndDate: Date;
|
|
1232
|
-
duration: string;
|
|
1233
1235
|
durationType: DurationTypeEnum;
|
|
1236
|
+
duration: string;
|
|
1237
|
+
numberOfHours: number;
|
|
1234
1238
|
description: string;
|
|
1235
1239
|
additionalComment: string;
|
|
1236
1240
|
onboardingTat: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -490,6 +490,7 @@ declare class JobBasicInformationDto {
|
|
|
490
490
|
academicQualification?: string;
|
|
491
491
|
yearsOfExperience?: string;
|
|
492
492
|
businessIndustry?: string;
|
|
493
|
+
additionalComment?: string;
|
|
493
494
|
}
|
|
494
495
|
|
|
495
496
|
declare class JobAdditionalCommentDto {
|
|
@@ -1226,11 +1227,14 @@ declare class Job extends BaseEntity {
|
|
|
1226
1227
|
businessIndustry: string;
|
|
1227
1228
|
currency: string;
|
|
1228
1229
|
expectedSalaryFrom: number;
|
|
1230
|
+
hideExpectedSalaryFrom: boolean;
|
|
1229
1231
|
expectedSalaryTo: number;
|
|
1232
|
+
hideExpectedSalaryTo: boolean;
|
|
1230
1233
|
tentativeStartDate: Date;
|
|
1231
1234
|
tentativeEndDate: Date;
|
|
1232
|
-
duration: string;
|
|
1233
1235
|
durationType: DurationTypeEnum;
|
|
1236
|
+
duration: string;
|
|
1237
|
+
numberOfHours: number;
|
|
1234
1238
|
description: string;
|
|
1235
1239
|
additionalComment: string;
|
|
1236
1240
|
onboardingTat: string;
|
package/dist/index.js
CHANGED
|
@@ -1294,6 +1294,11 @@ __decorateClass([
|
|
|
1294
1294
|
(0, import_class_validator33.IsOptional)(),
|
|
1295
1295
|
(0, import_class_validator33.IsString)({ message: "Business industry must be a string" })
|
|
1296
1296
|
], JobBasicInformationDto.prototype, "businessIndustry", 2);
|
|
1297
|
+
__decorateClass([
|
|
1298
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1299
|
+
(0, import_class_validator33.IsString)({ message: "Additional comment must be a string" }),
|
|
1300
|
+
(0, import_class_validator33.MaxLength)(500, { message: "Additional comment must not exceed 500 characters" })
|
|
1301
|
+
], JobBasicInformationDto.prototype, "additionalComment", 2);
|
|
1297
1302
|
|
|
1298
1303
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
1299
1304
|
var import_class_validator34 = require("class-validator");
|
|
@@ -3519,6 +3524,13 @@ __decorateClass([
|
|
|
3519
3524
|
default: 0
|
|
3520
3525
|
})
|
|
3521
3526
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
3527
|
+
__decorateClass([
|
|
3528
|
+
(0, import_typeorm26.Column)({
|
|
3529
|
+
name: "hide_expected_salary_from",
|
|
3530
|
+
type: "boolean",
|
|
3531
|
+
default: false
|
|
3532
|
+
})
|
|
3533
|
+
], Job.prototype, "hideExpectedSalaryFrom", 2);
|
|
3522
3534
|
__decorateClass([
|
|
3523
3535
|
(0, import_typeorm26.Column)({
|
|
3524
3536
|
name: "expected_salary_to",
|
|
@@ -3528,15 +3540,19 @@ __decorateClass([
|
|
|
3528
3540
|
default: 0
|
|
3529
3541
|
})
|
|
3530
3542
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
3543
|
+
__decorateClass([
|
|
3544
|
+
(0, import_typeorm26.Column)({
|
|
3545
|
+
name: "hide_expected_salary_to",
|
|
3546
|
+
type: "boolean",
|
|
3547
|
+
default: false
|
|
3548
|
+
})
|
|
3549
|
+
], Job.prototype, "hideExpectedSalaryTo", 2);
|
|
3531
3550
|
__decorateClass([
|
|
3532
3551
|
(0, import_typeorm26.Column)({ name: "tentative_start_date", type: "date", nullable: true })
|
|
3533
3552
|
], Job.prototype, "tentativeStartDate", 2);
|
|
3534
3553
|
__decorateClass([
|
|
3535
3554
|
(0, import_typeorm26.Column)({ name: "tentative_end_date", type: "date", nullable: true })
|
|
3536
3555
|
], Job.prototype, "tentativeEndDate", 2);
|
|
3537
|
-
__decorateClass([
|
|
3538
|
-
(0, import_typeorm26.Column)({ name: "duration", type: "varchar", nullable: true })
|
|
3539
|
-
], Job.prototype, "duration", 2);
|
|
3540
3556
|
__decorateClass([
|
|
3541
3557
|
(0, import_typeorm26.Column)({
|
|
3542
3558
|
name: "duration_type",
|
|
@@ -3545,6 +3561,18 @@ __decorateClass([
|
|
|
3545
3561
|
nullable: true
|
|
3546
3562
|
})
|
|
3547
3563
|
], Job.prototype, "durationType", 2);
|
|
3564
|
+
__decorateClass([
|
|
3565
|
+
(0, import_typeorm26.Column)({ name: "duration", type: "varchar", nullable: true })
|
|
3566
|
+
], Job.prototype, "duration", 2);
|
|
3567
|
+
__decorateClass([
|
|
3568
|
+
(0, import_typeorm26.Column)({
|
|
3569
|
+
name: "number_of_hours",
|
|
3570
|
+
type: "decimal",
|
|
3571
|
+
precision: 4,
|
|
3572
|
+
scale: 2,
|
|
3573
|
+
default: 0
|
|
3574
|
+
})
|
|
3575
|
+
], Job.prototype, "numberOfHours", 2);
|
|
3548
3576
|
__decorateClass([
|
|
3549
3577
|
(0, import_typeorm26.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3550
3578
|
], Job.prototype, "description", 2);
|
package/dist/index.mjs
CHANGED
|
@@ -964,7 +964,8 @@ import {
|
|
|
964
964
|
IsOptional as IsOptional11,
|
|
965
965
|
IsEnum as IsEnum10,
|
|
966
966
|
Min,
|
|
967
|
-
ValidateIf as ValidateIf3
|
|
967
|
+
ValidateIf as ValidateIf3,
|
|
968
|
+
MaxLength as MaxLength6
|
|
968
969
|
} from "class-validator";
|
|
969
970
|
import { Type } from "class-transformer";
|
|
970
971
|
var JobLocation = /* @__PURE__ */ ((JobLocation2) => {
|
|
@@ -1094,25 +1095,30 @@ __decorateClass([
|
|
|
1094
1095
|
IsOptional11(),
|
|
1095
1096
|
IsString12({ message: "Business industry must be a string" })
|
|
1096
1097
|
], JobBasicInformationDto.prototype, "businessIndustry", 2);
|
|
1098
|
+
__decorateClass([
|
|
1099
|
+
IsOptional11(),
|
|
1100
|
+
IsString12({ message: "Additional comment must be a string" }),
|
|
1101
|
+
MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
|
|
1102
|
+
], JobBasicInformationDto.prototype, "additionalComment", 2);
|
|
1097
1103
|
|
|
1098
1104
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
1099
|
-
import { IsOptional as IsOptional12, IsString as IsString13, MaxLength as
|
|
1105
|
+
import { IsOptional as IsOptional12, IsString as IsString13, MaxLength as MaxLength7 } from "class-validator";
|
|
1100
1106
|
var JobAdditionalCommentDto = class {
|
|
1101
1107
|
};
|
|
1102
1108
|
__decorateClass([
|
|
1103
1109
|
IsOptional12(),
|
|
1104
1110
|
IsString13({ message: "Additional comment must be a string" }),
|
|
1105
|
-
|
|
1111
|
+
MaxLength7(500, { message: "Additional comment must not exceed 500 characters" })
|
|
1106
1112
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
1107
1113
|
|
|
1108
1114
|
// src/modules/job/dto/job-description.dto.ts
|
|
1109
|
-
import { IsString as IsString14, IsNotEmpty as IsNotEmpty30, MaxLength as
|
|
1115
|
+
import { IsString as IsString14, IsNotEmpty as IsNotEmpty30, MaxLength as MaxLength8 } from "class-validator";
|
|
1110
1116
|
var JobDescriptionDto = class {
|
|
1111
1117
|
};
|
|
1112
1118
|
__decorateClass([
|
|
1113
1119
|
IsNotEmpty30({ message: "Please enter job description" }),
|
|
1114
1120
|
IsString14({ message: "Description must be a string" }),
|
|
1115
|
-
|
|
1121
|
+
MaxLength8(5e3, { message: "Description must not exceed 5000 characters" })
|
|
1116
1122
|
], JobDescriptionDto.prototype, "description", 2);
|
|
1117
1123
|
|
|
1118
1124
|
// src/modules/job/dto/job-status.dto.ts
|
|
@@ -1160,7 +1166,7 @@ var PROFILE_PATTERN = {
|
|
|
1160
1166
|
import {
|
|
1161
1167
|
IsString as IsString15,
|
|
1162
1168
|
IsNotEmpty as IsNotEmpty32,
|
|
1163
|
-
MaxLength as
|
|
1169
|
+
MaxLength as MaxLength9,
|
|
1164
1170
|
MinLength as MinLength7,
|
|
1165
1171
|
Matches as Matches8
|
|
1166
1172
|
} from "class-validator";
|
|
@@ -1174,7 +1180,7 @@ __decorateClass([
|
|
|
1174
1180
|
IsNotEmpty32({ message: "Please enter New Password." }),
|
|
1175
1181
|
IsString15(),
|
|
1176
1182
|
MinLength7(6),
|
|
1177
|
-
|
|
1183
|
+
MaxLength9(32),
|
|
1178
1184
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
1179
1185
|
message: "New Password must include letters, numbers and symbols."
|
|
1180
1186
|
})
|
|
@@ -3446,6 +3452,13 @@ __decorateClass([
|
|
|
3446
3452
|
default: 0
|
|
3447
3453
|
})
|
|
3448
3454
|
], Job.prototype, "expectedSalaryFrom", 2);
|
|
3455
|
+
__decorateClass([
|
|
3456
|
+
Column26({
|
|
3457
|
+
name: "hide_expected_salary_from",
|
|
3458
|
+
type: "boolean",
|
|
3459
|
+
default: false
|
|
3460
|
+
})
|
|
3461
|
+
], Job.prototype, "hideExpectedSalaryFrom", 2);
|
|
3449
3462
|
__decorateClass([
|
|
3450
3463
|
Column26({
|
|
3451
3464
|
name: "expected_salary_to",
|
|
@@ -3455,15 +3468,19 @@ __decorateClass([
|
|
|
3455
3468
|
default: 0
|
|
3456
3469
|
})
|
|
3457
3470
|
], Job.prototype, "expectedSalaryTo", 2);
|
|
3471
|
+
__decorateClass([
|
|
3472
|
+
Column26({
|
|
3473
|
+
name: "hide_expected_salary_to",
|
|
3474
|
+
type: "boolean",
|
|
3475
|
+
default: false
|
|
3476
|
+
})
|
|
3477
|
+
], Job.prototype, "hideExpectedSalaryTo", 2);
|
|
3458
3478
|
__decorateClass([
|
|
3459
3479
|
Column26({ name: "tentative_start_date", type: "date", nullable: true })
|
|
3460
3480
|
], Job.prototype, "tentativeStartDate", 2);
|
|
3461
3481
|
__decorateClass([
|
|
3462
3482
|
Column26({ name: "tentative_end_date", type: "date", nullable: true })
|
|
3463
3483
|
], Job.prototype, "tentativeEndDate", 2);
|
|
3464
|
-
__decorateClass([
|
|
3465
|
-
Column26({ name: "duration", type: "varchar", nullable: true })
|
|
3466
|
-
], Job.prototype, "duration", 2);
|
|
3467
3484
|
__decorateClass([
|
|
3468
3485
|
Column26({
|
|
3469
3486
|
name: "duration_type",
|
|
@@ -3472,6 +3489,18 @@ __decorateClass([
|
|
|
3472
3489
|
nullable: true
|
|
3473
3490
|
})
|
|
3474
3491
|
], Job.prototype, "durationType", 2);
|
|
3492
|
+
__decorateClass([
|
|
3493
|
+
Column26({ name: "duration", type: "varchar", nullable: true })
|
|
3494
|
+
], Job.prototype, "duration", 2);
|
|
3495
|
+
__decorateClass([
|
|
3496
|
+
Column26({
|
|
3497
|
+
name: "number_of_hours",
|
|
3498
|
+
type: "decimal",
|
|
3499
|
+
precision: 4,
|
|
3500
|
+
scale: 2,
|
|
3501
|
+
default: 0
|
|
3502
|
+
})
|
|
3503
|
+
], Job.prototype, "numberOfHours", 2);
|
|
3475
3504
|
__decorateClass([
|
|
3476
3505
|
Column26({ name: "description", type: "varchar", nullable: true })
|
|
3477
3506
|
], Job.prototype, "description", 2);
|
|
@@ -5034,7 +5063,7 @@ import {
|
|
|
5034
5063
|
IsNotEmpty as IsNotEmpty38,
|
|
5035
5064
|
IsOptional as IsOptional18,
|
|
5036
5065
|
IsString as IsString20,
|
|
5037
|
-
MaxLength as
|
|
5066
|
+
MaxLength as MaxLength11,
|
|
5038
5067
|
ValidateNested
|
|
5039
5068
|
} from "class-validator";
|
|
5040
5069
|
import { Type as Type2 } from "class-transformer";
|
|
@@ -5058,7 +5087,7 @@ __decorateClass([
|
|
|
5058
5087
|
__decorateClass([
|
|
5059
5088
|
IsOptional18(),
|
|
5060
5089
|
IsString20(),
|
|
5061
|
-
|
|
5090
|
+
MaxLength11(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5062
5091
|
], ExperienceDto.prototype, "description", 2);
|
|
5063
5092
|
var FreelancerExperienceDto = class {
|
|
5064
5093
|
};
|
|
@@ -5162,7 +5191,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
5162
5191
|
};
|
|
5163
5192
|
|
|
5164
5193
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
5165
|
-
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional22, IsDateString, MaxLength as
|
|
5194
|
+
import { IsArray as IsArray7, ValidateNested as ValidateNested3, IsString as IsString24, IsNotEmpty as IsNotEmpty42, IsOptional as IsOptional22, IsDateString, MaxLength as MaxLength13, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
5166
5195
|
import { Type as Type4 } from "class-transformer";
|
|
5167
5196
|
var ProjectDto = class {
|
|
5168
5197
|
};
|
|
@@ -5192,7 +5221,7 @@ __decorateClass([
|
|
|
5192
5221
|
__decorateClass([
|
|
5193
5222
|
IsOptional22(),
|
|
5194
5223
|
IsString24(),
|
|
5195
|
-
|
|
5224
|
+
MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5196
5225
|
], ProjectDto.prototype, "description", 2);
|
|
5197
5226
|
var CaseStudyDto = class {
|
|
5198
5227
|
};
|
|
@@ -5210,7 +5239,7 @@ __decorateClass([
|
|
|
5210
5239
|
__decorateClass([
|
|
5211
5240
|
IsOptional22(),
|
|
5212
5241
|
IsString24(),
|
|
5213
|
-
|
|
5242
|
+
MaxLength13(5e3, { message: "Description must not exceed 5000 characters" })
|
|
5214
5243
|
], CaseStudyDto.prototype, "description", 2);
|
|
5215
5244
|
var FreelancerProjectDto = class {
|
|
5216
5245
|
};
|
|
@@ -5288,7 +5317,7 @@ import {
|
|
|
5288
5317
|
IsNumber as IsNumber3,
|
|
5289
5318
|
IsUrl as IsUrl3,
|
|
5290
5319
|
Min as Min3,
|
|
5291
|
-
MaxLength as
|
|
5320
|
+
MaxLength as MaxLength15,
|
|
5292
5321
|
IsNotEmpty as IsNotEmpty44,
|
|
5293
5322
|
MinLength as MinLength12,
|
|
5294
5323
|
Matches as Matches9,
|
|
@@ -5311,7 +5340,7 @@ var CreateFreelancerDto = class {
|
|
|
5311
5340
|
};
|
|
5312
5341
|
__decorateClass([
|
|
5313
5342
|
IsString26({ message: "Full name must be a string" }),
|
|
5314
|
-
|
|
5343
|
+
MaxLength15(100, { message: "Full name must not exceed 100 characters" })
|
|
5315
5344
|
], CreateFreelancerDto.prototype, "fullName", 2);
|
|
5316
5345
|
__decorateClass([
|
|
5317
5346
|
IsEmail10({}, { message: "Invalid email address" })
|
|
@@ -5325,7 +5354,7 @@ __decorateClass([
|
|
|
5325
5354
|
__decorateClass([
|
|
5326
5355
|
IsNotEmpty44({ message: "Please enter password." }),
|
|
5327
5356
|
MinLength12(6),
|
|
5328
|
-
|
|
5357
|
+
MaxLength15(32),
|
|
5329
5358
|
Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
5330
5359
|
message: "Password must include letters, numbers and symbols."
|
|
5331
5360
|
})
|
|
@@ -5396,7 +5425,7 @@ import {
|
|
|
5396
5425
|
IsNumber as IsNumber4,
|
|
5397
5426
|
IsUrl as IsUrl4,
|
|
5398
5427
|
Min as Min4,
|
|
5399
|
-
MaxLength as
|
|
5428
|
+
MaxLength as MaxLength16,
|
|
5400
5429
|
MinLength as MinLength13,
|
|
5401
5430
|
Matches as Matches10,
|
|
5402
5431
|
IsNotEmpty as IsNotEmpty45,
|
|
@@ -5420,7 +5449,7 @@ var UpdateFreelancerDto = class {
|
|
|
5420
5449
|
__decorateClass([
|
|
5421
5450
|
IsOptional25(),
|
|
5422
5451
|
IsString27({ message: "Full name must be a string" }),
|
|
5423
|
-
|
|
5452
|
+
MaxLength16(100, { message: "Full name must not exceed 100 characters" })
|
|
5424
5453
|
], UpdateFreelancerDto.prototype, "fullName", 2);
|
|
5425
5454
|
__decorateClass([
|
|
5426
5455
|
IsOptional25(),
|
|
@@ -5438,7 +5467,7 @@ __decorateClass([
|
|
|
5438
5467
|
IsOptional25(),
|
|
5439
5468
|
Transform2(({ value }) => value === null || value === "" ? void 0 : value),
|
|
5440
5469
|
MinLength13(6, { message: "Password must be at least 6 characters." }),
|
|
5441
|
-
|
|
5470
|
+
MaxLength16(32, { message: "Password must not exceed 32 characters." }),
|
|
5442
5471
|
Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
5443
5472
|
message: "Password must include letters, numbers and symbols."
|
|
5444
5473
|
})
|
|
@@ -5521,7 +5550,7 @@ import {
|
|
|
5521
5550
|
IsString as IsString28,
|
|
5522
5551
|
IsArray as IsArray9,
|
|
5523
5552
|
MinLength as MinLength14,
|
|
5524
|
-
MaxLength as
|
|
5553
|
+
MaxLength as MaxLength17,
|
|
5525
5554
|
IsEnum as IsEnum18,
|
|
5526
5555
|
Matches as Matches11
|
|
5527
5556
|
} from "class-validator";
|
|
@@ -5554,7 +5583,7 @@ __decorateClass([
|
|
|
5554
5583
|
__decorateClass([
|
|
5555
5584
|
IsNotEmpty46({ message: "Please enter password." }),
|
|
5556
5585
|
MinLength14(6),
|
|
5557
|
-
|
|
5586
|
+
MaxLength17(32),
|
|
5558
5587
|
Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
5559
5588
|
message: "Password must include letters, numbers and symbols."
|
|
5560
5589
|
})
|
|
@@ -5610,7 +5639,7 @@ import {
|
|
|
5610
5639
|
IsString as IsString30,
|
|
5611
5640
|
IsArray as IsArray10,
|
|
5612
5641
|
MinLength as MinLength15,
|
|
5613
|
-
MaxLength as
|
|
5642
|
+
MaxLength as MaxLength18,
|
|
5614
5643
|
IsEnum as IsEnum19,
|
|
5615
5644
|
Matches as Matches12
|
|
5616
5645
|
} from "class-validator";
|
|
@@ -5644,7 +5673,7 @@ __decorateClass([
|
|
|
5644
5673
|
IsOptional27(),
|
|
5645
5674
|
Transform3(({ value }) => value === null || value === "" ? void 0 : value),
|
|
5646
5675
|
MinLength15(6, { message: "Password must be at least 6 characters." }),
|
|
5647
|
-
|
|
5676
|
+
MaxLength18(32, { message: "Password must not exceed 32 characters." }),
|
|
5648
5677
|
Matches12(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
5649
5678
|
message: "Password must include letters, numbers and symbols."
|
|
5650
5679
|
})
|