@experts_hub/shared 1.0.391 → 1.0.393

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.
@@ -48,6 +48,7 @@ export declare class Job extends BaseEntity {
48
48
  cityId: number;
49
49
  city: City;
50
50
  jobRole: string;
51
+ projectName: string;
51
52
  note: string;
52
53
  openings: number;
53
54
  location: JobLocationEnum;
package/dist/index.d.mts CHANGED
@@ -471,6 +471,7 @@ declare enum EmploymentType {
471
471
  declare class JobBasicInformationDto {
472
472
  isDraft?: boolean;
473
473
  jobRole: string;
474
+ projectName: string;
474
475
  note?: string;
475
476
  skills: string[];
476
477
  openings: number;
@@ -1145,6 +1146,7 @@ declare class Job extends BaseEntity {
1145
1146
  cityId: number;
1146
1147
  city: City;
1147
1148
  jobRole: string;
1149
+ projectName: string;
1148
1150
  note: string;
1149
1151
  openings: number;
1150
1152
  location: JobLocationEnum;
package/dist/index.d.ts CHANGED
@@ -471,6 +471,7 @@ declare enum EmploymentType {
471
471
  declare class JobBasicInformationDto {
472
472
  isDraft?: boolean;
473
473
  jobRole: string;
474
+ projectName: string;
474
475
  note?: string;
475
476
  skills: string[];
476
477
  openings: number;
@@ -1145,6 +1146,7 @@ declare class Job extends BaseEntity {
1145
1146
  cityId: number;
1146
1147
  city: City;
1147
1148
  jobRole: string;
1149
+ projectName: string;
1148
1150
  note: string;
1149
1151
  openings: number;
1150
1152
  location: JobLocationEnum;
package/dist/index.js CHANGED
@@ -1186,6 +1186,9 @@ __decorateClass([
1186
1186
  (0, import_class_validator33.IsNotEmpty)({ message: "Please enter job role" }),
1187
1187
  (0, import_class_validator33.IsString)({ message: "Job role must be a string" })
1188
1188
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1189
+ __decorateClass([
1190
+ (0, import_class_validator33.IsNotEmpty)({ message: "Please enter project name" })
1191
+ ], JobBasicInformationDto.prototype, "projectName", 2);
1189
1192
  __decorateClass([
1190
1193
  (0, import_class_validator33.IsOptional)(),
1191
1194
  (0, import_class_validator33.IsString)({ message: "Note must be a string" })
@@ -3266,6 +3269,9 @@ __decorateClass([
3266
3269
  __decorateClass([
3267
3270
  (0, import_typeorm23.Column)({ name: "job_role", type: "varchar", nullable: true })
3268
3271
  ], Job.prototype, "jobRole", 2);
3272
+ __decorateClass([
3273
+ (0, import_typeorm23.Column)({ name: "project_name", type: "varchar", nullable: true })
3274
+ ], Job.prototype, "projectName", 2);
3269
3275
  __decorateClass([
3270
3276
  (0, import_typeorm23.Column)({ name: "note", type: "varchar", nullable: true })
3271
3277
  ], Job.prototype, "note", 2);
package/dist/index.mjs CHANGED
@@ -992,6 +992,9 @@ __decorateClass([
992
992
  IsNotEmpty29({ message: "Please enter job role" }),
993
993
  IsString12({ message: "Job role must be a string" })
994
994
  ], JobBasicInformationDto.prototype, "jobRole", 2);
995
+ __decorateClass([
996
+ IsNotEmpty29({ message: "Please enter project name" })
997
+ ], JobBasicInformationDto.prototype, "projectName", 2);
995
998
  __decorateClass([
996
999
  IsOptional11(),
997
1000
  IsString12({ message: "Note must be a string" })
@@ -3199,6 +3202,9 @@ __decorateClass([
3199
3202
  __decorateClass([
3200
3203
  Column23({ name: "job_role", type: "varchar", nullable: true })
3201
3204
  ], Job.prototype, "jobRole", 2);
3205
+ __decorateClass([
3206
+ Column23({ name: "project_name", type: "varchar", nullable: true })
3207
+ ], Job.prototype, "projectName", 2);
3202
3208
  __decorateClass([
3203
3209
  Column23({ name: "note", type: "varchar", nullable: true })
3204
3210
  ], Job.prototype, "note", 2);
@@ -11,6 +11,7 @@ export declare enum EmploymentType {
11
11
  export declare class JobBasicInformationDto {
12
12
  isDraft?: boolean;
13
13
  jobRole: string;
14
+ projectName: string;
14
15
  note?: string;
15
16
  skills: string[];
16
17
  openings: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.391",
3
+ "version": "1.0.393",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",