@experts_hub/shared 1.0.399 → 1.0.400

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.
@@ -9,6 +9,8 @@ export declare class TimesheetLogs extends BaseEntity {
9
9
  endTime: string;
10
10
  workedHours: string;
11
11
  taskId: number;
12
+ projectName?: string;
13
+ deliverable?: string;
12
14
  taskName: string;
13
15
  description: string;
14
16
  }
package/dist/index.d.mts CHANGED
@@ -471,7 +471,7 @@ declare enum EmploymentType {
471
471
  declare class JobBasicInformationDto {
472
472
  isDraft?: boolean;
473
473
  jobRole: string;
474
- projectName: string;
474
+ projectName?: string;
475
475
  note?: string;
476
476
  skills: string[];
477
477
  openings: number;
@@ -1118,6 +1118,8 @@ declare class TimesheetLogs extends BaseEntity {
1118
1118
  endTime: string;
1119
1119
  workedHours: string;
1120
1120
  taskId: number;
1121
+ projectName?: string;
1122
+ deliverable?: string;
1121
1123
  taskName: string;
1122
1124
  description: string;
1123
1125
  }
package/dist/index.d.ts CHANGED
@@ -471,7 +471,7 @@ declare enum EmploymentType {
471
471
  declare class JobBasicInformationDto {
472
472
  isDraft?: boolean;
473
473
  jobRole: string;
474
- projectName: string;
474
+ projectName?: string;
475
475
  note?: string;
476
476
  skills: string[];
477
477
  openings: number;
@@ -1118,6 +1118,8 @@ declare class TimesheetLogs extends BaseEntity {
1118
1118
  endTime: string;
1119
1119
  workedHours: string;
1120
1120
  taskId: number;
1121
+ projectName?: string;
1122
+ deliverable?: string;
1121
1123
  taskName: string;
1122
1124
  description: string;
1123
1125
  }
package/dist/index.js CHANGED
@@ -1193,8 +1193,8 @@ __decorateClass([
1193
1193
  (0, import_class_validator33.IsString)({ message: "Job role must be a string" })
1194
1194
  ], JobBasicInformationDto.prototype, "jobRole", 2);
1195
1195
  __decorateClass([
1196
- (0, import_class_validator33.ValidateIf)((o) => !o.isDraft),
1197
- (0, import_class_validator33.IsNotEmpty)({ message: "Please enter project name" })
1196
+ (0, import_class_validator33.IsOptional)(),
1197
+ (0, import_class_validator33.IsString)({ message: "Project name must be a string" })
1198
1198
  ], JobBasicInformationDto.prototype, "projectName", 2);
1199
1199
  __decorateClass([
1200
1200
  (0, import_class_validator33.IsOptional)(),
@@ -3251,6 +3251,12 @@ __decorateClass([
3251
3251
  __decorateClass([
3252
3252
  (0, import_typeorm23.Column)({ name: "task_id", type: "integer", nullable: true })
3253
3253
  ], TimesheetLogs.prototype, "taskId", 2);
3254
+ __decorateClass([
3255
+ (0, import_typeorm23.Column)({ name: "project_name", type: "varchar", nullable: true })
3256
+ ], TimesheetLogs.prototype, "projectName", 2);
3257
+ __decorateClass([
3258
+ (0, import_typeorm23.Column)({ name: "deliverable", type: "varchar", nullable: true })
3259
+ ], TimesheetLogs.prototype, "deliverable", 2);
3254
3260
  __decorateClass([
3255
3261
  (0, import_typeorm23.Column)({ name: "task_name", type: "varchar", nullable: true })
3256
3262
  ], TimesheetLogs.prototype, "taskName", 2);
@@ -3258,7 +3264,7 @@ __decorateClass([
3258
3264
  (0, import_typeorm23.Column)({ name: "description", type: "varchar", nullable: true })
3259
3265
  ], TimesheetLogs.prototype, "description", 2);
3260
3266
  TimesheetLogs = __decorateClass([
3261
- (0, import_typeorm23.Entity)("timesheet-logs")
3267
+ (0, import_typeorm23.Entity)("timesheet_logs")
3262
3268
  ], TimesheetLogs);
3263
3269
 
3264
3270
  // src/entities/timesheet-line-history.entity.ts
@@ -3325,7 +3331,7 @@ __decorateClass([
3325
3331
  (0, import_typeorm24.Column)({ name: "remarks", type: "varchar", nullable: true })
3326
3332
  ], TimesheetLineHistory.prototype, "remarks", 2);
3327
3333
  TimesheetLineHistory = __decorateClass([
3328
- (0, import_typeorm24.Entity)("timesheet-line-histories")
3334
+ (0, import_typeorm24.Entity)("timesheet_line_histories")
3329
3335
  ], TimesheetLineHistory);
3330
3336
 
3331
3337
  // src/entities/timesheet-line.entity.ts
@@ -3393,7 +3399,7 @@ __decorateClass([
3393
3399
  (0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3394
3400
  ], TimesheetLine.prototype, "status", 2);
3395
3401
  TimesheetLine = __decorateClass([
3396
- (0, import_typeorm25.Entity)("timesheet-line")
3402
+ (0, import_typeorm25.Entity)("timesheet_lines")
3397
3403
  ], TimesheetLine);
3398
3404
 
3399
3405
  // src/entities/job.entity.ts
package/dist/index.mjs CHANGED
@@ -993,8 +993,8 @@ __decorateClass([
993
993
  IsString12({ message: "Job role must be a string" })
994
994
  ], JobBasicInformationDto.prototype, "jobRole", 2);
995
995
  __decorateClass([
996
- ValidateIf3((o) => !o.isDraft),
997
- IsNotEmpty29({ message: "Please enter project name" })
996
+ IsOptional11(),
997
+ IsString12({ message: "Project name must be a string" })
998
998
  ], JobBasicInformationDto.prototype, "projectName", 2);
999
999
  __decorateClass([
1000
1000
  IsOptional11(),
@@ -3178,6 +3178,12 @@ __decorateClass([
3178
3178
  __decorateClass([
3179
3179
  Column23({ name: "task_id", type: "integer", nullable: true })
3180
3180
  ], TimesheetLogs.prototype, "taskId", 2);
3181
+ __decorateClass([
3182
+ Column23({ name: "project_name", type: "varchar", nullable: true })
3183
+ ], TimesheetLogs.prototype, "projectName", 2);
3184
+ __decorateClass([
3185
+ Column23({ name: "deliverable", type: "varchar", nullable: true })
3186
+ ], TimesheetLogs.prototype, "deliverable", 2);
3181
3187
  __decorateClass([
3182
3188
  Column23({ name: "task_name", type: "varchar", nullable: true })
3183
3189
  ], TimesheetLogs.prototype, "taskName", 2);
@@ -3185,7 +3191,7 @@ __decorateClass([
3185
3191
  Column23({ name: "description", type: "varchar", nullable: true })
3186
3192
  ], TimesheetLogs.prototype, "description", 2);
3187
3193
  TimesheetLogs = __decorateClass([
3188
- Entity22("timesheet-logs")
3194
+ Entity22("timesheet_logs")
3189
3195
  ], TimesheetLogs);
3190
3196
 
3191
3197
  // src/entities/timesheet-line-history.entity.ts
@@ -3252,7 +3258,7 @@ __decorateClass([
3252
3258
  Column24({ name: "remarks", type: "varchar", nullable: true })
3253
3259
  ], TimesheetLineHistory.prototype, "remarks", 2);
3254
3260
  TimesheetLineHistory = __decorateClass([
3255
- Entity23("timesheet-line-histories")
3261
+ Entity23("timesheet_line_histories")
3256
3262
  ], TimesheetLineHistory);
3257
3263
 
3258
3264
  // src/entities/timesheet-line.entity.ts
@@ -3320,7 +3326,7 @@ __decorateClass([
3320
3326
  Column25({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3321
3327
  ], TimesheetLine.prototype, "status", 2);
3322
3328
  TimesheetLine = __decorateClass([
3323
- Entity24("timesheet-line")
3329
+ Entity24("timesheet_lines")
3324
3330
  ], TimesheetLine);
3325
3331
 
3326
3332
  // src/entities/job.entity.ts
@@ -11,7 +11,7 @@ export declare enum EmploymentType {
11
11
  export declare class JobBasicInformationDto {
12
12
  isDraft?: boolean;
13
13
  jobRole: string;
14
- projectName: string;
14
+ projectName?: string;
15
15
  note?: string;
16
16
  skills: string[];
17
17
  openings: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.399",
3
+ "version": "1.0.400",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",