@experts_hub/shared 1.0.560 → 1.0.562

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.
@@ -82,6 +82,10 @@ export declare class Job extends BaseEntity {
82
82
  hideExpectedSalaryFrom: boolean;
83
83
  expectedSalaryTo: number;
84
84
  hideExpectedSalaryTo: boolean;
85
+ expectedAnnualBudgetFrom: number;
86
+ hideExpectedAnnualBudgetFrom: boolean;
87
+ expectedAnnualBudgetTo: number;
88
+ hideExpectedAnnualBudgetTo: boolean;
85
89
  years: string;
86
90
  months: string;
87
91
  weeks: string;
package/dist/index.d.mts CHANGED
@@ -648,6 +648,10 @@ declare class JobBasicInformationV2Dto {
648
648
  hideExpectedSalaryFrom: boolean;
649
649
  expectedSalaryTo: number;
650
650
  hideExpectedSalaryTo: boolean;
651
+ expectedAnnualBudgetFrom: number;
652
+ hideExpectedAnnualBudgetFrom: boolean;
653
+ expectedAnnualBudgetTo: number;
654
+ hideExpectedAnnualBudgetTo: boolean;
651
655
  years: string;
652
656
  months: string;
653
657
  weeks: string;
@@ -1677,6 +1681,10 @@ declare class Job extends BaseEntity {
1677
1681
  hideExpectedSalaryFrom: boolean;
1678
1682
  expectedSalaryTo: number;
1679
1683
  hideExpectedSalaryTo: boolean;
1684
+ expectedAnnualBudgetFrom: number;
1685
+ hideExpectedAnnualBudgetFrom: boolean;
1686
+ expectedAnnualBudgetTo: number;
1687
+ hideExpectedAnnualBudgetTo: boolean;
1680
1688
  years: string;
1681
1689
  months: string;
1682
1690
  weeks: string;
@@ -2989,6 +2997,10 @@ declare class AdminJobBasicInformationV2Dto {
2989
2997
  projectName?: string;
2990
2998
  hideExpectedSalaryFrom: boolean;
2991
2999
  hideExpectedSalaryTo: boolean;
3000
+ expectedAnnualBudgetFrom: number;
3001
+ hideExpectedAnnualBudgetFrom: boolean;
3002
+ expectedAnnualBudgetTo: number;
3003
+ hideExpectedAnnualBudgetTo: boolean;
2992
3004
  numberOfHours: number;
2993
3005
  years: string;
2994
3006
  months: string;
package/dist/index.d.ts CHANGED
@@ -648,6 +648,10 @@ declare class JobBasicInformationV2Dto {
648
648
  hideExpectedSalaryFrom: boolean;
649
649
  expectedSalaryTo: number;
650
650
  hideExpectedSalaryTo: boolean;
651
+ expectedAnnualBudgetFrom: number;
652
+ hideExpectedAnnualBudgetFrom: boolean;
653
+ expectedAnnualBudgetTo: number;
654
+ hideExpectedAnnualBudgetTo: boolean;
651
655
  years: string;
652
656
  months: string;
653
657
  weeks: string;
@@ -1677,6 +1681,10 @@ declare class Job extends BaseEntity {
1677
1681
  hideExpectedSalaryFrom: boolean;
1678
1682
  expectedSalaryTo: number;
1679
1683
  hideExpectedSalaryTo: boolean;
1684
+ expectedAnnualBudgetFrom: number;
1685
+ hideExpectedAnnualBudgetFrom: boolean;
1686
+ expectedAnnualBudgetTo: number;
1687
+ hideExpectedAnnualBudgetTo: boolean;
1680
1688
  years: string;
1681
1689
  months: string;
1682
1690
  weeks: string;
@@ -2989,6 +2997,10 @@ declare class AdminJobBasicInformationV2Dto {
2989
2997
  projectName?: string;
2990
2998
  hideExpectedSalaryFrom: boolean;
2991
2999
  hideExpectedSalaryTo: boolean;
3000
+ expectedAnnualBudgetFrom: number;
3001
+ hideExpectedAnnualBudgetFrom: boolean;
3002
+ expectedAnnualBudgetTo: number;
3003
+ hideExpectedAnnualBudgetTo: boolean;
2992
3004
  numberOfHours: number;
2993
3005
  years: string;
2994
3006
  months: string;
package/dist/index.js CHANGED
@@ -1674,6 +1674,24 @@ __decorateClass([
1674
1674
  __decorateClass([
1675
1675
  (0, import_class_validator38.IsOptional)()
1676
1676
  ], JobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
1677
+ __decorateClass([
1678
+ (0, import_class_validator38.IsOptional)(),
1679
+ (0, import_class_validator38.IsNumber)({}, { message: "Expected annual budget (from) must be a number" }),
1680
+ (0, import_class_validator38.Min)(0, { message: "Expected annual budget (from) cannot be negative" }),
1681
+ (0, import_class_transformer4.Type)(() => Number)
1682
+ ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
1683
+ __decorateClass([
1684
+ (0, import_class_validator38.IsOptional)()
1685
+ ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
1686
+ __decorateClass([
1687
+ (0, import_class_validator38.IsOptional)(),
1688
+ (0, import_class_validator38.IsNumber)({}, { message: "Expected annual budget (to) must be a number" }),
1689
+ (0, import_class_validator38.Min)(0, { message: "Expected annual budget (to) cannot be negative" }),
1690
+ (0, import_class_transformer4.Type)(() => Number)
1691
+ ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
1692
+ __decorateClass([
1693
+ (0, import_class_validator38.IsOptional)()
1694
+ ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
1677
1695
  __decorateClass([
1678
1696
  (0, import_class_validator38.IsOptional)()
1679
1697
  ], JobBasicInformationV2Dto.prototype, "years", 2);
@@ -4809,6 +4827,38 @@ __decorateClass([
4809
4827
  default: false
4810
4828
  })
4811
4829
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4830
+ __decorateClass([
4831
+ (0, import_typeorm33.Column)({
4832
+ name: "expected_annual_budget_from",
4833
+ type: "decimal",
4834
+ precision: 10,
4835
+ scale: 2,
4836
+ default: 0
4837
+ })
4838
+ ], Job.prototype, "expectedAnnualBudgetFrom", 2);
4839
+ __decorateClass([
4840
+ (0, import_typeorm33.Column)({
4841
+ name: "hide_expected_annual_budget_from",
4842
+ type: "boolean",
4843
+ default: false
4844
+ })
4845
+ ], Job.prototype, "hideExpectedAnnualBudgetFrom", 2);
4846
+ __decorateClass([
4847
+ (0, import_typeorm33.Column)({
4848
+ name: "expected_annual_budget_to",
4849
+ type: "decimal",
4850
+ precision: 10,
4851
+ scale: 2,
4852
+ default: 0
4853
+ })
4854
+ ], Job.prototype, "expectedAnnualBudgetTo", 2);
4855
+ __decorateClass([
4856
+ (0, import_typeorm33.Column)({
4857
+ name: "hide_expected_annual_budget_to",
4858
+ type: "boolean",
4859
+ default: false
4860
+ })
4861
+ ], Job.prototype, "hideExpectedAnnualBudgetTo", 2);
4812
4862
  __decorateClass([
4813
4863
  (0, import_typeorm33.Column)({ name: "years", type: "varchar", nullable: true })
4814
4864
  ], Job.prototype, "years", 2);
@@ -7765,6 +7815,24 @@ __decorateClass([
7765
7815
  __decorateClass([
7766
7816
  (0, import_class_validator64.IsOptional)()
7767
7817
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
7818
+ __decorateClass([
7819
+ (0, import_class_validator64.IsOptional)(),
7820
+ (0, import_class_validator64.IsNumber)({}, { message: "Expected annual budget (from) must be a number" }),
7821
+ (0, import_class_validator64.Min)(0, { message: "Expected annual budget (from) cannot be negative" }),
7822
+ (0, import_class_transformer14.Type)(() => Number)
7823
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
7824
+ __decorateClass([
7825
+ (0, import_class_validator64.IsOptional)()
7826
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
7827
+ __decorateClass([
7828
+ (0, import_class_validator64.IsOptional)(),
7829
+ (0, import_class_validator64.IsNumber)({}, { message: "Expected annual budget (to) must be a number" }),
7830
+ (0, import_class_validator64.Min)(0, { message: "Expected annual budget (to) cannot be negative" }),
7831
+ (0, import_class_transformer14.Type)(() => Number)
7832
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
7833
+ __decorateClass([
7834
+ (0, import_class_validator64.IsOptional)()
7835
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
7768
7836
  __decorateClass([
7769
7837
  (0, import_class_validator64.IsOptional)(),
7770
7838
  (0, import_class_validator64.IsNumber)({}, { message: "Number of hours must be a number" }),
package/dist/index.mjs CHANGED
@@ -1428,6 +1428,24 @@ __decorateClass([
1428
1428
  __decorateClass([
1429
1429
  IsOptional15()
1430
1430
  ], JobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
1431
+ __decorateClass([
1432
+ IsOptional15(),
1433
+ IsNumber3({}, { message: "Expected annual budget (from) must be a number" }),
1434
+ Min2(0, { message: "Expected annual budget (from) cannot be negative" }),
1435
+ Type3(() => Number)
1436
+ ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
1437
+ __decorateClass([
1438
+ IsOptional15()
1439
+ ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
1440
+ __decorateClass([
1441
+ IsOptional15(),
1442
+ IsNumber3({}, { message: "Expected annual budget (to) must be a number" }),
1443
+ Min2(0, { message: "Expected annual budget (to) cannot be negative" }),
1444
+ Type3(() => Number)
1445
+ ], JobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
1446
+ __decorateClass([
1447
+ IsOptional15()
1448
+ ], JobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
1431
1449
  __decorateClass([
1432
1450
  IsOptional15()
1433
1451
  ], JobBasicInformationV2Dto.prototype, "years", 2);
@@ -4712,6 +4730,38 @@ __decorateClass([
4712
4730
  default: false
4713
4731
  })
4714
4732
  ], Job.prototype, "hideExpectedSalaryTo", 2);
4733
+ __decorateClass([
4734
+ Column33({
4735
+ name: "expected_annual_budget_from",
4736
+ type: "decimal",
4737
+ precision: 10,
4738
+ scale: 2,
4739
+ default: 0
4740
+ })
4741
+ ], Job.prototype, "expectedAnnualBudgetFrom", 2);
4742
+ __decorateClass([
4743
+ Column33({
4744
+ name: "hide_expected_annual_budget_from",
4745
+ type: "boolean",
4746
+ default: false
4747
+ })
4748
+ ], Job.prototype, "hideExpectedAnnualBudgetFrom", 2);
4749
+ __decorateClass([
4750
+ Column33({
4751
+ name: "expected_annual_budget_to",
4752
+ type: "decimal",
4753
+ precision: 10,
4754
+ scale: 2,
4755
+ default: 0
4756
+ })
4757
+ ], Job.prototype, "expectedAnnualBudgetTo", 2);
4758
+ __decorateClass([
4759
+ Column33({
4760
+ name: "hide_expected_annual_budget_to",
4761
+ type: "boolean",
4762
+ default: false
4763
+ })
4764
+ ], Job.prototype, "hideExpectedAnnualBudgetTo", 2);
4715
4765
  __decorateClass([
4716
4766
  Column33({ name: "years", type: "varchar", nullable: true })
4717
4767
  ], Job.prototype, "years", 2);
@@ -7870,6 +7920,24 @@ __decorateClass([
7870
7920
  __decorateClass([
7871
7921
  IsOptional36()
7872
7922
  ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedSalaryTo", 2);
7923
+ __decorateClass([
7924
+ IsOptional36(),
7925
+ IsNumber9({}, { message: "Expected annual budget (from) must be a number" }),
7926
+ Min8(0, { message: "Expected annual budget (from) cannot be negative" }),
7927
+ Type12(() => Number)
7928
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetFrom", 2);
7929
+ __decorateClass([
7930
+ IsOptional36()
7931
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetFrom", 2);
7932
+ __decorateClass([
7933
+ IsOptional36(),
7934
+ IsNumber9({}, { message: "Expected annual budget (to) must be a number" }),
7935
+ Min8(0, { message: "Expected annual budget (to) cannot be negative" }),
7936
+ Type12(() => Number)
7937
+ ], AdminJobBasicInformationV2Dto.prototype, "expectedAnnualBudgetTo", 2);
7938
+ __decorateClass([
7939
+ IsOptional36()
7940
+ ], AdminJobBasicInformationV2Dto.prototype, "hideExpectedAnnualBudgetTo", 2);
7873
7941
  __decorateClass([
7874
7942
  IsOptional36(),
7875
7943
  IsNumber9({}, { message: "Number of hours must be a number" }),
@@ -41,6 +41,10 @@ export declare class JobBasicInformationV2Dto {
41
41
  hideExpectedSalaryFrom: boolean;
42
42
  expectedSalaryTo: number;
43
43
  hideExpectedSalaryTo: boolean;
44
+ expectedAnnualBudgetFrom: number;
45
+ hideExpectedAnnualBudgetFrom: boolean;
46
+ expectedAnnualBudgetTo: number;
47
+ hideExpectedAnnualBudgetTo: boolean;
44
48
  years: string;
45
49
  months: string;
46
50
  weeks: string;
@@ -44,6 +44,10 @@ export declare class AdminJobBasicInformationV2Dto {
44
44
  projectName?: string;
45
45
  hideExpectedSalaryFrom: boolean;
46
46
  hideExpectedSalaryTo: boolean;
47
+ expectedAnnualBudgetFrom: number;
48
+ hideExpectedAnnualBudgetFrom: boolean;
49
+ expectedAnnualBudgetTo: number;
50
+ hideExpectedAnnualBudgetTo: boolean;
47
51
  numberOfHours: number;
48
52
  years: string;
49
53
  months: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.560",
3
+ "version": "1.0.562",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",