@experts_hub/shared 1.0.491 → 1.0.493

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.
@@ -57,6 +57,7 @@ export declare class Job extends BaseEntity {
57
57
  cityId: number;
58
58
  city: City;
59
59
  jobRole: string;
60
+ jobRoleCanonicalName: string;
60
61
  projectName: string;
61
62
  note: string;
62
63
  openings: number;
package/dist/index.d.mts CHANGED
@@ -477,6 +477,7 @@ declare enum EmploymentType {
477
477
  declare class JobBasicInformationDto {
478
478
  isDraft?: boolean;
479
479
  jobRole: string;
480
+ jobRoleCanonicalName?: string;
480
481
  projectName?: string;
481
482
  note?: string;
482
483
  skills: string[];
@@ -1335,6 +1336,7 @@ declare class Job extends BaseEntity {
1335
1336
  cityId: number;
1336
1337
  city: City;
1337
1338
  jobRole: string;
1339
+ jobRoleCanonicalName: string;
1338
1340
  projectName: string;
1339
1341
  note: string;
1340
1342
  openings: number;
package/dist/index.d.ts CHANGED
@@ -477,6 +477,7 @@ declare enum EmploymentType {
477
477
  declare class JobBasicInformationDto {
478
478
  isDraft?: boolean;
479
479
  jobRole: string;
480
+ jobRoleCanonicalName?: string;
480
481
  projectName?: string;
481
482
  note?: string;
482
483
  skills: string[];
@@ -1335,6 +1336,7 @@ declare class Job extends BaseEntity {
1335
1336
  cityId: number;
1336
1337
  city: City;
1337
1338
  jobRole: string;
1339
+ jobRoleCanonicalName: string;
1338
1340
  projectName: string;
1339
1341
  note: string;
1340
1342
  openings: number;
package/dist/index.js CHANGED
@@ -1224,6 +1224,9 @@ __decorateClass([
1224
1224
  (0, import_class_validator33.IsNotEmpty)({ message: "Please enter job role" }),
1225
1225
  (0, import_class_validator33.IsString)({ message: "Job role must be a string" })
1226
1226
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1227
+ __decorateClass([
1228
+ (0, import_class_validator33.IsOptional)()
1229
+ ], JobBasicInformationDto.prototype, "jobRoleCanonicalName", 2);
1227
1230
  __decorateClass([
1228
1231
  (0, import_class_validator33.IsOptional)(),
1229
1232
  (0, import_class_validator33.IsString)({ message: "Project name must be a string" })
@@ -3871,6 +3874,9 @@ __decorateClass([
3871
3874
  __decorateClass([
3872
3875
  (0, import_typeorm28.Column)({ name: "job_role", type: "varchar", nullable: true })
3873
3876
  ], Job.prototype, "jobRole", 2);
3877
+ __decorateClass([
3878
+ (0, import_typeorm28.Column)({ name: "job_role_canonical_name", type: "varchar", nullable: true })
3879
+ ], Job.prototype, "jobRoleCanonicalName", 2);
3874
3880
  __decorateClass([
3875
3881
  (0, import_typeorm28.Column)({ name: "project_name", type: "varchar", nullable: true })
3876
3882
  ], Job.prototype, "projectName", 2);
package/dist/index.mjs CHANGED
@@ -1005,6 +1005,9 @@ __decorateClass([
1005
1005
  IsNotEmpty29({ message: "Please enter job role" }),
1006
1006
  IsString12({ message: "Job role must be a string" })
1007
1007
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1008
+ __decorateClass([
1009
+ IsOptional12()
1010
+ ], JobBasicInformationDto.prototype, "jobRoleCanonicalName", 2);
1008
1011
  __decorateClass([
1009
1012
  IsOptional12(),
1010
1013
  IsString12({ message: "Project name must be a string" })
@@ -3790,6 +3793,9 @@ __decorateClass([
3790
3793
  __decorateClass([
3791
3794
  Column28({ name: "job_role", type: "varchar", nullable: true })
3792
3795
  ], Job.prototype, "jobRole", 2);
3796
+ __decorateClass([
3797
+ Column28({ name: "job_role_canonical_name", type: "varchar", nullable: true })
3798
+ ], Job.prototype, "jobRoleCanonicalName", 2);
3793
3799
  __decorateClass([
3794
3800
  Column28({ name: "project_name", type: "varchar", nullable: true })
3795
3801
  ], Job.prototype, "projectName", 2);
@@ -14,6 +14,7 @@ export declare enum EmploymentType {
14
14
  export declare class JobBasicInformationDto {
15
15
  isDraft?: boolean;
16
16
  jobRole: string;
17
+ jobRoleCanonicalName?: string;
17
18
  projectName?: string;
18
19
  note?: string;
19
20
  skills: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.491",
3
+ "version": "1.0.493",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",