@experts_hub/shared 1.0.664 → 1.0.666
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 +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -5
- package/dist/index.mjs +46 -49
- package/dist/modules/job-admin/pattern/pattern.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6503,8 +6503,7 @@ __decorateClass([
|
|
|
6503
6503
|
__decorateClass([
|
|
6504
6504
|
(0, import_class_validator44.IsNotEmpty)({ message: "New password is required" }),
|
|
6505
6505
|
(0, import_class_validator44.IsString)(),
|
|
6506
|
-
(0, import_class_validator44.MinLength)(
|
|
6507
|
-
(0, import_class_validator44.MaxLength)(32, { message: "Password must not exceed 32 characters" }),
|
|
6506
|
+
(0, import_class_validator44.MinLength)(6, { message: "Password must be at least 6 characters long" }),
|
|
6508
6507
|
(0, import_class_validator44.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6509
6508
|
message: "Password must include letters, numbers, and special characters"
|
|
6510
6509
|
})
|
|
@@ -6517,8 +6516,7 @@ var VerifyPasswordChangeOtpDto = class {
|
|
|
6517
6516
|
__decorateClass([
|
|
6518
6517
|
(0, import_class_validator45.IsNotEmpty)({ message: "New password is required" }),
|
|
6519
6518
|
(0, import_class_validator45.IsString)(),
|
|
6520
|
-
(0, import_class_validator45.MinLength)(
|
|
6521
|
-
(0, import_class_validator45.MaxLength)(32, { message: "Password must not exceed 32 characters" }),
|
|
6519
|
+
(0, import_class_validator45.MinLength)(6, { message: "Password must be at least 6 characters long" }),
|
|
6522
6520
|
(0, import_class_validator45.Matches)(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6523
6521
|
message: "Password must include letters, numbers, and special characters"
|
|
6524
6522
|
})
|
|
@@ -9328,7 +9326,8 @@ var ADMIN_JOB_PATTERN = {
|
|
|
9328
9326
|
adminExportJobsToCSV: "admin.export.jobs.to.csv",
|
|
9329
9327
|
adminFetchJobDescription: "admin.fetch.job.description",
|
|
9330
9328
|
adminUpdateJobDescription: "admin.update.job.description",
|
|
9331
|
-
adminFetchJobsPostedByClient: "AdminFetchJobsPostedByClient"
|
|
9329
|
+
adminFetchJobsPostedByClient: "AdminFetchJobsPostedByClient",
|
|
9330
|
+
adminExportJobV2: "admin.export.jobs.v2"
|
|
9332
9331
|
};
|
|
9333
9332
|
|
|
9334
9333
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
package/dist/index.mjs
CHANGED
|
@@ -6358,7 +6358,6 @@ import {
|
|
|
6358
6358
|
IsString as IsString18,
|
|
6359
6359
|
IsNotEmpty as IsNotEmpty38,
|
|
6360
6360
|
MinLength as MinLength8,
|
|
6361
|
-
MaxLength as MaxLength6,
|
|
6362
6361
|
Matches as Matches8
|
|
6363
6362
|
} from "class-validator";
|
|
6364
6363
|
var RequestPasswordChangeOtpDto = class {
|
|
@@ -6370,8 +6369,7 @@ __decorateClass([
|
|
|
6370
6369
|
__decorateClass([
|
|
6371
6370
|
IsNotEmpty38({ message: "New password is required" }),
|
|
6372
6371
|
IsString18(),
|
|
6373
|
-
MinLength8(
|
|
6374
|
-
MaxLength6(32, { message: "Password must not exceed 32 characters" }),
|
|
6372
|
+
MinLength8(6, { message: "Password must be at least 6 characters long" }),
|
|
6375
6373
|
Matches8(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6376
6374
|
message: "Password must include letters, numbers, and special characters"
|
|
6377
6375
|
})
|
|
@@ -6382,16 +6380,14 @@ import {
|
|
|
6382
6380
|
IsString as IsString19,
|
|
6383
6381
|
IsNotEmpty as IsNotEmpty39,
|
|
6384
6382
|
Matches as Matches9,
|
|
6385
|
-
MinLength as MinLength9
|
|
6386
|
-
MaxLength as MaxLength7
|
|
6383
|
+
MinLength as MinLength9
|
|
6387
6384
|
} from "class-validator";
|
|
6388
6385
|
var VerifyPasswordChangeOtpDto = class {
|
|
6389
6386
|
};
|
|
6390
6387
|
__decorateClass([
|
|
6391
6388
|
IsNotEmpty39({ message: "New password is required" }),
|
|
6392
6389
|
IsString19(),
|
|
6393
|
-
MinLength9(
|
|
6394
|
-
MaxLength7(32, { message: "Password must not exceed 32 characters" }),
|
|
6390
|
+
MinLength9(6, { message: "Password must be at least 6 characters long" }),
|
|
6395
6391
|
Matches9(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
6396
6392
|
message: "Password must include letters, numbers, and special characters"
|
|
6397
6393
|
})
|
|
@@ -6546,7 +6542,7 @@ import {
|
|
|
6546
6542
|
IsEnum as IsEnum15,
|
|
6547
6543
|
Min,
|
|
6548
6544
|
ValidateIf as ValidateIf3,
|
|
6549
|
-
MaxLength as
|
|
6545
|
+
MaxLength as MaxLength6,
|
|
6550
6546
|
Max
|
|
6551
6547
|
} from "class-validator";
|
|
6552
6548
|
import { Type } from "class-transformer";
|
|
@@ -6704,21 +6700,21 @@ __decorateClass([
|
|
|
6704
6700
|
__decorateClass([
|
|
6705
6701
|
IsOptional19(),
|
|
6706
6702
|
IsString22({ message: "Additional comment must be a string" }),
|
|
6707
|
-
|
|
6703
|
+
MaxLength6(500, { message: "Additional comment must not exceed 500 characters" })
|
|
6708
6704
|
], JobBasicInformationDto.prototype, "additionalComment", 2);
|
|
6709
6705
|
|
|
6710
6706
|
// src/modules/job/dto/job-additional-comment.dto.ts
|
|
6711
|
-
import { IsOptional as IsOptional20, IsString as IsString23, MaxLength as
|
|
6707
|
+
import { IsOptional as IsOptional20, IsString as IsString23, MaxLength as MaxLength7 } from "class-validator";
|
|
6712
6708
|
var JobAdditionalCommentDto = class {
|
|
6713
6709
|
};
|
|
6714
6710
|
__decorateClass([
|
|
6715
6711
|
IsOptional20(),
|
|
6716
6712
|
IsString23({ message: "Additional comment must be a string" }),
|
|
6717
|
-
|
|
6713
|
+
MaxLength7(500, { message: "Additional comment must not exceed 500 characters" })
|
|
6718
6714
|
], JobAdditionalCommentDto.prototype, "additionalComment", 2);
|
|
6719
6715
|
|
|
6720
6716
|
// src/modules/job/dto/job-description.dto.ts
|
|
6721
|
-
import { IsString as IsString24, IsNotEmpty as IsNotEmpty44, MaxLength as
|
|
6717
|
+
import { IsString as IsString24, IsNotEmpty as IsNotEmpty44, MaxLength as MaxLength8, IsOptional as IsOptional21 } from "class-validator";
|
|
6722
6718
|
import { Type as Type2 } from "class-transformer";
|
|
6723
6719
|
var JobDescriptionDto = class {
|
|
6724
6720
|
constructor() {
|
|
@@ -6732,7 +6728,7 @@ __decorateClass([
|
|
|
6732
6728
|
__decorateClass([
|
|
6733
6729
|
IsNotEmpty44({ message: "Please enter job description" }),
|
|
6734
6730
|
IsString24({ message: "Description must be a string" }),
|
|
6735
|
-
|
|
6731
|
+
MaxLength8(5e3, { message: "Description must not exceed 5000 characters" })
|
|
6736
6732
|
], JobDescriptionDto.prototype, "description", 2);
|
|
6737
6733
|
|
|
6738
6734
|
// src/modules/job/dto/create-job-via-ai.dto..ts
|
|
@@ -6746,7 +6742,7 @@ import {
|
|
|
6746
6742
|
IsEnum as IsEnum16,
|
|
6747
6743
|
Min as Min2,
|
|
6748
6744
|
ValidateIf as ValidateIf4,
|
|
6749
|
-
MaxLength as
|
|
6745
|
+
MaxLength as MaxLength9,
|
|
6750
6746
|
Max as Max2
|
|
6751
6747
|
} from "class-validator";
|
|
6752
6748
|
import { Type as Type3 } from "class-transformer";
|
|
@@ -6787,17 +6783,17 @@ __decorateClass([
|
|
|
6787
6783
|
__decorateClass([
|
|
6788
6784
|
IsOptional22(),
|
|
6789
6785
|
IsString25({ message: "Country name must be a string" }),
|
|
6790
|
-
|
|
6786
|
+
MaxLength9(255, { message: "Country name must not exceed 255 characters" })
|
|
6791
6787
|
], JobLocationDto.prototype, "countryName", 2);
|
|
6792
6788
|
__decorateClass([
|
|
6793
6789
|
IsOptional22(),
|
|
6794
6790
|
IsString25({ message: "State name must be a string" }),
|
|
6795
|
-
|
|
6791
|
+
MaxLength9(255, { message: "State name must not exceed 255 characters" })
|
|
6796
6792
|
], JobLocationDto.prototype, "stateName", 2);
|
|
6797
6793
|
__decorateClass([
|
|
6798
6794
|
IsOptional22(),
|
|
6799
6795
|
IsString25({ message: "City name must be a string" }),
|
|
6800
|
-
|
|
6796
|
+
MaxLength9(255, { message: "City name must not exceed 255 characters" })
|
|
6801
6797
|
], JobLocationDto.prototype, "cityName", 2);
|
|
6802
6798
|
var CreateJobViaAIDto = class {
|
|
6803
6799
|
constructor() {
|
|
@@ -6961,12 +6957,12 @@ __decorateClass([
|
|
|
6961
6957
|
__decorateClass([
|
|
6962
6958
|
IsOptional22(),
|
|
6963
6959
|
IsString25({ message: "Additional comment must be a string" }),
|
|
6964
|
-
|
|
6960
|
+
MaxLength9(500, { message: "Additional comment must not exceed 500 characters" })
|
|
6965
6961
|
], CreateJobViaAIDto.prototype, "additionalComment", 2);
|
|
6966
6962
|
__decorateClass([
|
|
6967
6963
|
IsNotEmpty45({ message: "Please enter job description" }),
|
|
6968
6964
|
IsString25({ message: "Description must be a string" }),
|
|
6969
|
-
|
|
6965
|
+
MaxLength9(5e3, { message: "Description must not exceed 5000 characters" })
|
|
6970
6966
|
], CreateJobViaAIDto.prototype, "description", 2);
|
|
6971
6967
|
|
|
6972
6968
|
// src/modules/job/dto/job-status.dto.ts
|
|
@@ -7010,7 +7006,7 @@ import {
|
|
|
7010
7006
|
IsEnum as IsEnum18,
|
|
7011
7007
|
Min as Min3,
|
|
7012
7008
|
ValidateIf as ValidateIf5,
|
|
7013
|
-
MaxLength as
|
|
7009
|
+
MaxLength as MaxLength10,
|
|
7014
7010
|
Max as Max3
|
|
7015
7011
|
} from "class-validator";
|
|
7016
7012
|
import { Type as Type4 } from "class-transformer";
|
|
@@ -7056,17 +7052,17 @@ __decorateClass([
|
|
|
7056
7052
|
__decorateClass([
|
|
7057
7053
|
IsOptional23(),
|
|
7058
7054
|
IsString26({ message: "Country name must be a string" }),
|
|
7059
|
-
|
|
7055
|
+
MaxLength10(255, { message: "Country name must not exceed 255 characters" })
|
|
7060
7056
|
], JobLocationDto2.prototype, "countryName", 2);
|
|
7061
7057
|
__decorateClass([
|
|
7062
7058
|
IsOptional23(),
|
|
7063
7059
|
IsString26({ message: "State name must be a string" }),
|
|
7064
|
-
|
|
7060
|
+
MaxLength10(255, { message: "State name must not exceed 255 characters" })
|
|
7065
7061
|
], JobLocationDto2.prototype, "stateName", 2);
|
|
7066
7062
|
__decorateClass([
|
|
7067
7063
|
IsOptional23(),
|
|
7068
7064
|
IsString26({ message: "City name must be a string" }),
|
|
7069
|
-
|
|
7065
|
+
MaxLength10(255, { message: "City name must not exceed 255 characters" })
|
|
7070
7066
|
], JobLocationDto2.prototype, "cityName", 2);
|
|
7071
7067
|
var JobBasicInformationV2Dto = class {
|
|
7072
7068
|
constructor() {
|
|
@@ -7232,7 +7228,7 @@ __decorateClass([
|
|
|
7232
7228
|
__decorateClass([
|
|
7233
7229
|
IsOptional23(),
|
|
7234
7230
|
IsString26({ message: "Additional comment must be a string" }),
|
|
7235
|
-
|
|
7231
|
+
MaxLength10(500, { message: "Additional comment must not exceed 500 characters" })
|
|
7236
7232
|
], JobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
7237
7233
|
|
|
7238
7234
|
// src/modules/job/dto/close-job.dto.ts
|
|
@@ -7337,7 +7333,7 @@ var FREELANCER_ASSESSMENT_REQUEST_PATTERN = {
|
|
|
7337
7333
|
import {
|
|
7338
7334
|
IsString as IsString29,
|
|
7339
7335
|
IsNotEmpty as IsNotEmpty51,
|
|
7340
|
-
MaxLength as
|
|
7336
|
+
MaxLength as MaxLength11,
|
|
7341
7337
|
MinLength as MinLength10,
|
|
7342
7338
|
Matches as Matches10
|
|
7343
7339
|
} from "class-validator";
|
|
@@ -7351,7 +7347,7 @@ __decorateClass([
|
|
|
7351
7347
|
IsNotEmpty51({ message: "Please enter New Password." }),
|
|
7352
7348
|
IsString29(),
|
|
7353
7349
|
MinLength10(6),
|
|
7354
|
-
|
|
7350
|
+
MaxLength11(32),
|
|
7355
7351
|
Matches10(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
7356
7352
|
message: "New Password must include letters, numbers and symbols."
|
|
7357
7353
|
})
|
|
@@ -7651,14 +7647,14 @@ var GLOBAL_SETTING_PATTERN = {
|
|
|
7651
7647
|
import {
|
|
7652
7648
|
IsString as IsString33,
|
|
7653
7649
|
IsNotEmpty as IsNotEmpty57,
|
|
7654
|
-
MaxLength as
|
|
7650
|
+
MaxLength as MaxLength12
|
|
7655
7651
|
} from "class-validator";
|
|
7656
7652
|
var AddGlobalSettingDto = class {
|
|
7657
7653
|
};
|
|
7658
7654
|
__decorateClass([
|
|
7659
7655
|
IsNotEmpty57({ message: "Key is required" }),
|
|
7660
7656
|
IsString33({ message: "Key must be a string" }),
|
|
7661
|
-
|
|
7657
|
+
MaxLength12(255, { message: "Key must not exceed 255 characters" })
|
|
7662
7658
|
], AddGlobalSettingDto.prototype, "key", 2);
|
|
7663
7659
|
__decorateClass([
|
|
7664
7660
|
IsNotEmpty57({ message: "Value is required" }),
|
|
@@ -7938,7 +7934,7 @@ import {
|
|
|
7938
7934
|
IsNotEmpty as IsNotEmpty62,
|
|
7939
7935
|
IsOptional as IsOptional33,
|
|
7940
7936
|
IsString as IsString39,
|
|
7941
|
-
MaxLength as
|
|
7937
|
+
MaxLength as MaxLength14,
|
|
7942
7938
|
ValidateNested as ValidateNested3
|
|
7943
7939
|
} from "class-validator";
|
|
7944
7940
|
import { Type as Type5 } from "class-transformer";
|
|
@@ -7962,7 +7958,7 @@ __decorateClass([
|
|
|
7962
7958
|
__decorateClass([
|
|
7963
7959
|
IsOptional33(),
|
|
7964
7960
|
IsString39(),
|
|
7965
|
-
|
|
7961
|
+
MaxLength14(5e3, { message: "Description must not exceed 5000 characters" })
|
|
7966
7962
|
], ExperienceDto.prototype, "description", 2);
|
|
7967
7963
|
var FreelancerExperienceDto = class {
|
|
7968
7964
|
};
|
|
@@ -8066,7 +8062,7 @@ var FREELANCER_PROJECT_PATTERN = {
|
|
|
8066
8062
|
};
|
|
8067
8063
|
|
|
8068
8064
|
// src/modules/user/freelancer-project/dto/freelancer-project.dto.ts
|
|
8069
|
-
import { IsArray as IsArray11, ValidateNested as ValidateNested5, IsString as IsString43, IsNotEmpty as IsNotEmpty66, IsOptional as IsOptional37, IsDateString, MaxLength as
|
|
8065
|
+
import { IsArray as IsArray11, ValidateNested as ValidateNested5, IsString as IsString43, IsNotEmpty as IsNotEmpty66, IsOptional as IsOptional37, IsDateString, MaxLength as MaxLength16, ArrayMinSize as ArrayMinSize3 } from "class-validator";
|
|
8070
8066
|
import { Type as Type7 } from "class-transformer";
|
|
8071
8067
|
var ProjectDto = class {
|
|
8072
8068
|
};
|
|
@@ -8096,7 +8092,7 @@ __decorateClass([
|
|
|
8096
8092
|
__decorateClass([
|
|
8097
8093
|
IsOptional37(),
|
|
8098
8094
|
IsString43(),
|
|
8099
|
-
|
|
8095
|
+
MaxLength16(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8100
8096
|
], ProjectDto.prototype, "description", 2);
|
|
8101
8097
|
var CaseStudyDto = class {
|
|
8102
8098
|
};
|
|
@@ -8114,7 +8110,7 @@ __decorateClass([
|
|
|
8114
8110
|
__decorateClass([
|
|
8115
8111
|
IsOptional37(),
|
|
8116
8112
|
IsString43(),
|
|
8117
|
-
|
|
8113
|
+
MaxLength16(5e3, { message: "Description must not exceed 5000 characters" })
|
|
8118
8114
|
], CaseStudyDto.prototype, "description", 2);
|
|
8119
8115
|
var FreelancerProjectDto = class {
|
|
8120
8116
|
};
|
|
@@ -8216,7 +8212,7 @@ import {
|
|
|
8216
8212
|
IsEnum as IsEnum25,
|
|
8217
8213
|
IsNumber as IsNumber10,
|
|
8218
8214
|
IsUrl as IsUrl3,
|
|
8219
|
-
MaxLength as
|
|
8215
|
+
MaxLength as MaxLength18,
|
|
8220
8216
|
MinLength as MinLength15,
|
|
8221
8217
|
Matches as Matches11,
|
|
8222
8218
|
IsNotEmpty as IsNotEmpty68,
|
|
@@ -8241,7 +8237,7 @@ var CreateFreelancerDto = class {
|
|
|
8241
8237
|
__decorateClass([
|
|
8242
8238
|
IsOptional39(),
|
|
8243
8239
|
IsString45({ message: "Full name must be a string" }),
|
|
8244
|
-
|
|
8240
|
+
MaxLength18(100, { message: "Full name must not exceed 100 characters" }),
|
|
8245
8241
|
Transform2(({ value }) => {
|
|
8246
8242
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8247
8243
|
return typeof value === "string" ? value.trim() : value;
|
|
@@ -8377,7 +8373,7 @@ __decorateClass([
|
|
|
8377
8373
|
return value === null || value === "" ? void 0 : value;
|
|
8378
8374
|
}),
|
|
8379
8375
|
MinLength15(6, { message: "Password must be at least 6 characters." }),
|
|
8380
|
-
|
|
8376
|
+
MaxLength18(32, { message: "Password must not exceed 32 characters." }),
|
|
8381
8377
|
Matches11(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
8382
8378
|
message: "Password must include letters, numbers and symbols."
|
|
8383
8379
|
})
|
|
@@ -8557,7 +8553,7 @@ import {
|
|
|
8557
8553
|
IsEnum as IsEnum26,
|
|
8558
8554
|
IsNumber as IsNumber11,
|
|
8559
8555
|
IsUrl as IsUrl4,
|
|
8560
|
-
MaxLength as
|
|
8556
|
+
MaxLength as MaxLength19,
|
|
8561
8557
|
MinLength as MinLength16,
|
|
8562
8558
|
Matches as Matches12,
|
|
8563
8559
|
IsNotEmpty as IsNotEmpty69,
|
|
@@ -8582,7 +8578,7 @@ var UpdateFreelancerDto = class {
|
|
|
8582
8578
|
__decorateClass([
|
|
8583
8579
|
IsOptional40(),
|
|
8584
8580
|
IsString46({ message: "Full name must be a string" }),
|
|
8585
|
-
|
|
8581
|
+
MaxLength19(100, { message: "Full name must not exceed 100 characters" }),
|
|
8586
8582
|
Transform3(({ value }) => {
|
|
8587
8583
|
if (Array.isArray(value)) return value[0]?.trim();
|
|
8588
8584
|
return typeof value === "string" ? value.trim() : value;
|
|
@@ -8718,7 +8714,7 @@ __decorateClass([
|
|
|
8718
8714
|
return value === null || value === "" ? void 0 : value;
|
|
8719
8715
|
}),
|
|
8720
8716
|
MinLength16(6, { message: "Password must be at least 6 characters." }),
|
|
8721
|
-
|
|
8717
|
+
MaxLength19(32, { message: "Password must not exceed 32 characters." }),
|
|
8722
8718
|
Matches12(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
8723
8719
|
message: "Password must include letters, numbers and symbols."
|
|
8724
8720
|
})
|
|
@@ -8956,7 +8952,7 @@ import {
|
|
|
8956
8952
|
IsOptional as IsOptional43,
|
|
8957
8953
|
IsString as IsString48,
|
|
8958
8954
|
MinLength as MinLength17,
|
|
8959
|
-
MaxLength as
|
|
8955
|
+
MaxLength as MaxLength20,
|
|
8960
8956
|
Matches as Matches13,
|
|
8961
8957
|
IsInt as IsInt9,
|
|
8962
8958
|
IsUrl as IsUrl5
|
|
@@ -8987,7 +8983,7 @@ __decorateClass([
|
|
|
8987
8983
|
__decorateClass([
|
|
8988
8984
|
IsNotEmpty71({ message: "Please enter password." }),
|
|
8989
8985
|
MinLength17(6),
|
|
8990
|
-
|
|
8986
|
+
MaxLength20(32),
|
|
8991
8987
|
Matches13(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
8992
8988
|
message: "Password must include letters, numbers and symbols."
|
|
8993
8989
|
})
|
|
@@ -9062,7 +9058,7 @@ import {
|
|
|
9062
9058
|
IsOptional as IsOptional44,
|
|
9063
9059
|
IsString as IsString49,
|
|
9064
9060
|
MinLength as MinLength18,
|
|
9065
|
-
MaxLength as
|
|
9061
|
+
MaxLength as MaxLength21,
|
|
9066
9062
|
Matches as Matches14
|
|
9067
9063
|
} from "class-validator";
|
|
9068
9064
|
var UpdateClientDto = class {
|
|
@@ -9091,7 +9087,7 @@ __decorateClass([
|
|
|
9091
9087
|
IsOptional44(),
|
|
9092
9088
|
Transform5(({ value }) => value === null || value === "" ? void 0 : value),
|
|
9093
9089
|
MinLength18(6, { message: "Password must be at least 6 characters." }),
|
|
9094
|
-
|
|
9090
|
+
MaxLength21(32, { message: "Password must not exceed 32 characters." }),
|
|
9095
9091
|
Matches14(/^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*?&])/, {
|
|
9096
9092
|
message: "Password must include letters, numbers and symbols."
|
|
9097
9093
|
})
|
|
@@ -9336,7 +9332,8 @@ var ADMIN_JOB_PATTERN = {
|
|
|
9336
9332
|
adminExportJobsToCSV: "admin.export.jobs.to.csv",
|
|
9337
9333
|
adminFetchJobDescription: "admin.fetch.job.description",
|
|
9338
9334
|
adminUpdateJobDescription: "admin.update.job.description",
|
|
9339
|
-
adminFetchJobsPostedByClient: "AdminFetchJobsPostedByClient"
|
|
9335
|
+
adminFetchJobsPostedByClient: "AdminFetchJobsPostedByClient",
|
|
9336
|
+
adminExportJobV2: "admin.export.jobs.v2"
|
|
9340
9337
|
};
|
|
9341
9338
|
|
|
9342
9339
|
// src/modules/job-admin/dto/admin-create-job-information.dto.ts
|
|
@@ -9572,7 +9569,7 @@ import {
|
|
|
9572
9569
|
IsEnum as IsEnum36,
|
|
9573
9570
|
Min as Min9,
|
|
9574
9571
|
ValidateIf as ValidateIf11,
|
|
9575
|
-
MaxLength as
|
|
9572
|
+
MaxLength as MaxLength22,
|
|
9576
9573
|
Max as Max5,
|
|
9577
9574
|
IsInt as IsInt12
|
|
9578
9575
|
} from "class-validator";
|
|
@@ -9769,7 +9766,7 @@ __decorateClass([
|
|
|
9769
9766
|
__decorateClass([
|
|
9770
9767
|
IsOptional53(),
|
|
9771
9768
|
IsString53({ message: "Additional comment must be a string" }),
|
|
9772
|
-
|
|
9769
|
+
MaxLength22(500, { message: "Additional comment must not exceed 500 characters" })
|
|
9773
9770
|
], AdminJobBasicInformationV2Dto.prototype, "additionalComment", 2);
|
|
9774
9771
|
__decorateClass([
|
|
9775
9772
|
ValidateIf11((o) => !o.isDraft),
|
|
@@ -10951,7 +10948,7 @@ import {
|
|
|
10951
10948
|
IsNotEmpty as IsNotEmpty117,
|
|
10952
10949
|
IsIn as IsIn4,
|
|
10953
10950
|
IsOptional as IsOptional77,
|
|
10954
|
-
MaxLength as
|
|
10951
|
+
MaxLength as MaxLength23,
|
|
10955
10952
|
IsObject as IsObject7,
|
|
10956
10953
|
IsNumber as IsNumber34,
|
|
10957
10954
|
ValidateIf as ValidateIf13
|
|
@@ -10981,12 +10978,12 @@ __decorateClass([
|
|
|
10981
10978
|
__decorateClass([
|
|
10982
10979
|
IsNotEmpty117({ message: "Please enter description." }),
|
|
10983
10980
|
IsString81({ message: "Description must be a string" }),
|
|
10984
|
-
|
|
10981
|
+
MaxLength23(500, { message: "Description must not exceed 500 characters" })
|
|
10985
10982
|
], CreateDisputeDto.prototype, "description", 2);
|
|
10986
10983
|
__decorateClass([
|
|
10987
10984
|
IsOptional77(),
|
|
10988
10985
|
IsString81({ message: "Comment must be a string" }),
|
|
10989
|
-
|
|
10986
|
+
MaxLength23(500, { message: "Comment must not exceed 500 characters" })
|
|
10990
10987
|
], CreateDisputeDto.prototype, "comment", 2);
|
|
10991
10988
|
__decorateClass([
|
|
10992
10989
|
IsOptional77(),
|