@experts_hub/shared 1.0.571 → 1.0.572

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
@@ -700,6 +700,9 @@ declare class JobLocationDto {
700
700
  countryId: number | null;
701
701
  stateId: number | null;
702
702
  cityId: number | null;
703
+ countryName?: string | null;
704
+ stateName?: string | null;
705
+ cityName?: string | null;
703
706
  }
704
707
  declare class JobBasicInformationV2Dto {
705
708
  isDraft?: boolean;
package/dist/index.d.ts CHANGED
@@ -700,6 +700,9 @@ declare class JobLocationDto {
700
700
  countryId: number | null;
701
701
  stateId: number | null;
702
702
  cityId: number | null;
703
+ countryName?: string | null;
704
+ stateName?: string | null;
705
+ cityName?: string | null;
703
706
  }
704
707
  declare class JobBasicInformationV2Dto {
705
708
  isDraft?: boolean;
package/dist/index.js CHANGED
@@ -1810,6 +1810,21 @@ __decorateClass([
1810
1810
  (0, import_class_validator49.IsOptional)(),
1811
1811
  (0, import_class_transformer4.Type)(() => Number)
1812
1812
  ], JobLocationDto.prototype, "cityId", 2);
1813
+ __decorateClass([
1814
+ (0, import_class_validator49.IsOptional)(),
1815
+ (0, import_class_validator49.IsString)({ message: "Country name must be a string" }),
1816
+ (0, import_class_validator49.MaxLength)(255, { message: "Country name must not exceed 255 characters" })
1817
+ ], JobLocationDto.prototype, "countryName", 2);
1818
+ __decorateClass([
1819
+ (0, import_class_validator49.IsOptional)(),
1820
+ (0, import_class_validator49.IsString)({ message: "State name must be a string" }),
1821
+ (0, import_class_validator49.MaxLength)(255, { message: "State name must not exceed 255 characters" })
1822
+ ], JobLocationDto.prototype, "stateName", 2);
1823
+ __decorateClass([
1824
+ (0, import_class_validator49.IsOptional)(),
1825
+ (0, import_class_validator49.IsString)({ message: "City name must be a string" }),
1826
+ (0, import_class_validator49.MaxLength)(255, { message: "City name must not exceed 255 characters" })
1827
+ ], JobLocationDto.prototype, "cityName", 2);
1813
1828
  var JobBasicInformationV2Dto = class {
1814
1829
  constructor() {
1815
1830
  this.isDraft = false;
package/dist/index.mjs CHANGED
@@ -1508,6 +1508,21 @@ __decorateClass([
1508
1508
  IsOptional21(),
1509
1509
  Type3(() => Number)
1510
1510
  ], JobLocationDto.prototype, "cityId", 2);
1511
+ __decorateClass([
1512
+ IsOptional21(),
1513
+ IsString23({ message: "Country name must be a string" }),
1514
+ MaxLength9(255, { message: "Country name must not exceed 255 characters" })
1515
+ ], JobLocationDto.prototype, "countryName", 2);
1516
+ __decorateClass([
1517
+ IsOptional21(),
1518
+ IsString23({ message: "State name must be a string" }),
1519
+ MaxLength9(255, { message: "State name must not exceed 255 characters" })
1520
+ ], JobLocationDto.prototype, "stateName", 2);
1521
+ __decorateClass([
1522
+ IsOptional21(),
1523
+ IsString23({ message: "City name must be a string" }),
1524
+ MaxLength9(255, { message: "City name must not exceed 255 characters" })
1525
+ ], JobLocationDto.prototype, "cityName", 2);
1511
1526
  var JobBasicInformationV2Dto = class {
1512
1527
  constructor() {
1513
1528
  this.isDraft = false;
@@ -23,6 +23,9 @@ export declare class JobLocationDto {
23
23
  countryId: number | null;
24
24
  stateId: number | null;
25
25
  cityId: number | null;
26
+ countryName?: string | null;
27
+ stateName?: string | null;
28
+ cityName?: string | null;
26
29
  }
27
30
  export declare class JobBasicInformationV2Dto {
28
31
  isDraft?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.571",
3
+ "version": "1.0.572",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",