@experts_hub/shared 1.0.398 → 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.
@@ -34,6 +34,7 @@ export declare class F2FInterview extends BaseEntity {
34
34
  provider: string;
35
35
  meetingStartedOn: Date;
36
36
  meetingEndedOn: Date;
37
+ isContractSent: boolean;
37
38
  schedules: F2FInterviewSchedule[];
38
39
  rescheduleRequests: F2fInterviewRescheduleRequest[];
39
40
  }
@@ -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;
@@ -989,6 +989,7 @@ declare class F2FInterview extends BaseEntity {
989
989
  provider: string;
990
990
  meetingStartedOn: Date;
991
991
  meetingEndedOn: Date;
992
+ isContractSent: boolean;
992
993
  schedules: F2FInterviewSchedule[];
993
994
  rescheduleRequests: F2fInterviewRescheduleRequest[];
994
995
  }
@@ -1117,6 +1118,8 @@ declare class TimesheetLogs extends BaseEntity {
1117
1118
  endTime: string;
1118
1119
  workedHours: string;
1119
1120
  taskId: number;
1121
+ projectName?: string;
1122
+ deliverable?: string;
1120
1123
  taskName: string;
1121
1124
  description: string;
1122
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;
@@ -989,6 +989,7 @@ declare class F2FInterview extends BaseEntity {
989
989
  provider: string;
990
990
  meetingStartedOn: Date;
991
991
  meetingEndedOn: Date;
992
+ isContractSent: boolean;
992
993
  schedules: F2FInterviewSchedule[];
993
994
  rescheduleRequests: F2fInterviewRescheduleRequest[];
994
995
  }
@@ -1117,6 +1118,8 @@ declare class TimesheetLogs extends BaseEntity {
1117
1118
  endTime: string;
1118
1119
  workedHours: string;
1119
1120
  taskId: number;
1121
+ projectName?: string;
1122
+ deliverable?: string;
1120
1123
  taskName: string;
1121
1124
  description: string;
1122
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)(),
@@ -2819,6 +2819,9 @@ __decorateClass([
2819
2819
  nullable: true
2820
2820
  })
2821
2821
  ], F2FInterview.prototype, "meetingEndedOn", 2);
2822
+ __decorateClass([
2823
+ (0, import_typeorm18.Column)({ name: "is_contract_sent", type: "boolean", default: false })
2824
+ ], F2FInterview.prototype, "isContractSent", 2);
2822
2825
  __decorateClass([
2823
2826
  (0, import_typeorm18.OneToMany)(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
2824
2827
  ], F2FInterview.prototype, "schedules", 2);
@@ -3248,6 +3251,12 @@ __decorateClass([
3248
3251
  __decorateClass([
3249
3252
  (0, import_typeorm23.Column)({ name: "task_id", type: "integer", nullable: true })
3250
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);
3251
3260
  __decorateClass([
3252
3261
  (0, import_typeorm23.Column)({ name: "task_name", type: "varchar", nullable: true })
3253
3262
  ], TimesheetLogs.prototype, "taskName", 2);
@@ -3255,7 +3264,7 @@ __decorateClass([
3255
3264
  (0, import_typeorm23.Column)({ name: "description", type: "varchar", nullable: true })
3256
3265
  ], TimesheetLogs.prototype, "description", 2);
3257
3266
  TimesheetLogs = __decorateClass([
3258
- (0, import_typeorm23.Entity)("timesheet-logs")
3267
+ (0, import_typeorm23.Entity)("timesheet_logs")
3259
3268
  ], TimesheetLogs);
3260
3269
 
3261
3270
  // src/entities/timesheet-line-history.entity.ts
@@ -3322,7 +3331,7 @@ __decorateClass([
3322
3331
  (0, import_typeorm24.Column)({ name: "remarks", type: "varchar", nullable: true })
3323
3332
  ], TimesheetLineHistory.prototype, "remarks", 2);
3324
3333
  TimesheetLineHistory = __decorateClass([
3325
- (0, import_typeorm24.Entity)("timesheet-line-histories")
3334
+ (0, import_typeorm24.Entity)("timesheet_line_histories")
3326
3335
  ], TimesheetLineHistory);
3327
3336
 
3328
3337
  // src/entities/timesheet-line.entity.ts
@@ -3390,7 +3399,7 @@ __decorateClass([
3390
3399
  (0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3391
3400
  ], TimesheetLine.prototype, "status", 2);
3392
3401
  TimesheetLine = __decorateClass([
3393
- (0, import_typeorm25.Entity)("timesheet-line")
3402
+ (0, import_typeorm25.Entity)("timesheet_lines")
3394
3403
  ], TimesheetLine);
3395
3404
 
3396
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(),
@@ -2739,6 +2739,9 @@ __decorateClass([
2739
2739
  nullable: true
2740
2740
  })
2741
2741
  ], F2FInterview.prototype, "meetingEndedOn", 2);
2742
+ __decorateClass([
2743
+ Column18({ name: "is_contract_sent", type: "boolean", default: false })
2744
+ ], F2FInterview.prototype, "isContractSent", 2);
2742
2745
  __decorateClass([
2743
2746
  OneToMany6(() => F2FInterviewSchedule, (f2fInterviewSchedule) => f2fInterviewSchedule.f2fInterview)
2744
2747
  ], F2FInterview.prototype, "schedules", 2);
@@ -3175,6 +3178,12 @@ __decorateClass([
3175
3178
  __decorateClass([
3176
3179
  Column23({ name: "task_id", type: "integer", nullable: true })
3177
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);
3178
3187
  __decorateClass([
3179
3188
  Column23({ name: "task_name", type: "varchar", nullable: true })
3180
3189
  ], TimesheetLogs.prototype, "taskName", 2);
@@ -3182,7 +3191,7 @@ __decorateClass([
3182
3191
  Column23({ name: "description", type: "varchar", nullable: true })
3183
3192
  ], TimesheetLogs.prototype, "description", 2);
3184
3193
  TimesheetLogs = __decorateClass([
3185
- Entity22("timesheet-logs")
3194
+ Entity22("timesheet_logs")
3186
3195
  ], TimesheetLogs);
3187
3196
 
3188
3197
  // src/entities/timesheet-line-history.entity.ts
@@ -3249,7 +3258,7 @@ __decorateClass([
3249
3258
  Column24({ name: "remarks", type: "varchar", nullable: true })
3250
3259
  ], TimesheetLineHistory.prototype, "remarks", 2);
3251
3260
  TimesheetLineHistory = __decorateClass([
3252
- Entity23("timesheet-line-histories")
3261
+ Entity23("timesheet_line_histories")
3253
3262
  ], TimesheetLineHistory);
3254
3263
 
3255
3264
  // src/entities/timesheet-line.entity.ts
@@ -3317,7 +3326,7 @@ __decorateClass([
3317
3326
  Column25({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
3318
3327
  ], TimesheetLine.prototype, "status", 2);
3319
3328
  TimesheetLine = __decorateClass([
3320
- Entity24("timesheet-line")
3329
+ Entity24("timesheet_lines")
3321
3330
  ], TimesheetLine);
3322
3331
 
3323
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.398",
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/",