@experts_hub/shared 1.0.399 → 1.0.401
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
|
@@ -471,7 +471,7 @@ declare enum EmploymentType {
|
|
|
471
471
|
declare class JobBasicInformationDto {
|
|
472
472
|
isDraft?: boolean;
|
|
473
473
|
jobRole: string;
|
|
474
|
-
projectName
|
|
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
|
|
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.
|
|
1197
|
-
(0, import_class_validator33.
|
|
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)(),
|
|
@@ -1291,8 +1291,7 @@ __decorateClass([
|
|
|
1291
1291
|
(0, import_class_validator33.IsString)({ message: "Years of experience must be a string" })
|
|
1292
1292
|
], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
|
|
1293
1293
|
__decorateClass([
|
|
1294
|
-
(0, import_class_validator33.
|
|
1295
|
-
(0, import_class_validator33.IsNotEmpty)({ message: "Please enter the business industry" }),
|
|
1294
|
+
(0, import_class_validator33.IsOptional)(),
|
|
1296
1295
|
(0, import_class_validator33.IsString)({ message: "Business industry must be a string" })
|
|
1297
1296
|
], JobBasicInformationDto.prototype, "businessIndustry", 2);
|
|
1298
1297
|
|
|
@@ -3251,6 +3250,12 @@ __decorateClass([
|
|
|
3251
3250
|
__decorateClass([
|
|
3252
3251
|
(0, import_typeorm23.Column)({ name: "task_id", type: "integer", nullable: true })
|
|
3253
3252
|
], TimesheetLogs.prototype, "taskId", 2);
|
|
3253
|
+
__decorateClass([
|
|
3254
|
+
(0, import_typeorm23.Column)({ name: "project_name", type: "varchar", nullable: true })
|
|
3255
|
+
], TimesheetLogs.prototype, "projectName", 2);
|
|
3256
|
+
__decorateClass([
|
|
3257
|
+
(0, import_typeorm23.Column)({ name: "deliverable", type: "varchar", nullable: true })
|
|
3258
|
+
], TimesheetLogs.prototype, "deliverable", 2);
|
|
3254
3259
|
__decorateClass([
|
|
3255
3260
|
(0, import_typeorm23.Column)({ name: "task_name", type: "varchar", nullable: true })
|
|
3256
3261
|
], TimesheetLogs.prototype, "taskName", 2);
|
|
@@ -3258,7 +3263,7 @@ __decorateClass([
|
|
|
3258
3263
|
(0, import_typeorm23.Column)({ name: "description", type: "varchar", nullable: true })
|
|
3259
3264
|
], TimesheetLogs.prototype, "description", 2);
|
|
3260
3265
|
TimesheetLogs = __decorateClass([
|
|
3261
|
-
(0, import_typeorm23.Entity)("
|
|
3266
|
+
(0, import_typeorm23.Entity)("timesheet_logs")
|
|
3262
3267
|
], TimesheetLogs);
|
|
3263
3268
|
|
|
3264
3269
|
// src/entities/timesheet-line-history.entity.ts
|
|
@@ -3325,7 +3330,7 @@ __decorateClass([
|
|
|
3325
3330
|
(0, import_typeorm24.Column)({ name: "remarks", type: "varchar", nullable: true })
|
|
3326
3331
|
], TimesheetLineHistory.prototype, "remarks", 2);
|
|
3327
3332
|
TimesheetLineHistory = __decorateClass([
|
|
3328
|
-
(0, import_typeorm24.Entity)("
|
|
3333
|
+
(0, import_typeorm24.Entity)("timesheet_line_histories")
|
|
3329
3334
|
], TimesheetLineHistory);
|
|
3330
3335
|
|
|
3331
3336
|
// src/entities/timesheet-line.entity.ts
|
|
@@ -3393,7 +3398,7 @@ __decorateClass([
|
|
|
3393
3398
|
(0, import_typeorm25.Column)({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
|
|
3394
3399
|
], TimesheetLine.prototype, "status", 2);
|
|
3395
3400
|
TimesheetLine = __decorateClass([
|
|
3396
|
-
(0, import_typeorm25.Entity)("
|
|
3401
|
+
(0, import_typeorm25.Entity)("timesheet_lines")
|
|
3397
3402
|
], TimesheetLine);
|
|
3398
3403
|
|
|
3399
3404
|
// 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
|
-
|
|
997
|
-
|
|
996
|
+
IsOptional11(),
|
|
997
|
+
IsString12({ message: "Project name must be a string" })
|
|
998
998
|
], JobBasicInformationDto.prototype, "projectName", 2);
|
|
999
999
|
__decorateClass([
|
|
1000
1000
|
IsOptional11(),
|
|
@@ -1091,8 +1091,7 @@ __decorateClass([
|
|
|
1091
1091
|
IsString12({ message: "Years of experience must be a string" })
|
|
1092
1092
|
], JobBasicInformationDto.prototype, "yearsOfExperience", 2);
|
|
1093
1093
|
__decorateClass([
|
|
1094
|
-
|
|
1095
|
-
IsNotEmpty29({ message: "Please enter the business industry" }),
|
|
1094
|
+
IsOptional11(),
|
|
1096
1095
|
IsString12({ message: "Business industry must be a string" })
|
|
1097
1096
|
], JobBasicInformationDto.prototype, "businessIndustry", 2);
|
|
1098
1097
|
|
|
@@ -3178,6 +3177,12 @@ __decorateClass([
|
|
|
3178
3177
|
__decorateClass([
|
|
3179
3178
|
Column23({ name: "task_id", type: "integer", nullable: true })
|
|
3180
3179
|
], TimesheetLogs.prototype, "taskId", 2);
|
|
3180
|
+
__decorateClass([
|
|
3181
|
+
Column23({ name: "project_name", type: "varchar", nullable: true })
|
|
3182
|
+
], TimesheetLogs.prototype, "projectName", 2);
|
|
3183
|
+
__decorateClass([
|
|
3184
|
+
Column23({ name: "deliverable", type: "varchar", nullable: true })
|
|
3185
|
+
], TimesheetLogs.prototype, "deliverable", 2);
|
|
3181
3186
|
__decorateClass([
|
|
3182
3187
|
Column23({ name: "task_name", type: "varchar", nullable: true })
|
|
3183
3188
|
], TimesheetLogs.prototype, "taskName", 2);
|
|
@@ -3185,7 +3190,7 @@ __decorateClass([
|
|
|
3185
3190
|
Column23({ name: "description", type: "varchar", nullable: true })
|
|
3186
3191
|
], TimesheetLogs.prototype, "description", 2);
|
|
3187
3192
|
TimesheetLogs = __decorateClass([
|
|
3188
|
-
Entity22("
|
|
3193
|
+
Entity22("timesheet_logs")
|
|
3189
3194
|
], TimesheetLogs);
|
|
3190
3195
|
|
|
3191
3196
|
// src/entities/timesheet-line-history.entity.ts
|
|
@@ -3252,7 +3257,7 @@ __decorateClass([
|
|
|
3252
3257
|
Column24({ name: "remarks", type: "varchar", nullable: true })
|
|
3253
3258
|
], TimesheetLineHistory.prototype, "remarks", 2);
|
|
3254
3259
|
TimesheetLineHistory = __decorateClass([
|
|
3255
|
-
Entity23("
|
|
3260
|
+
Entity23("timesheet_line_histories")
|
|
3256
3261
|
], TimesheetLineHistory);
|
|
3257
3262
|
|
|
3258
3263
|
// src/entities/timesheet-line.entity.ts
|
|
@@ -3320,7 +3325,7 @@ __decorateClass([
|
|
|
3320
3325
|
Column25({ name: "status", type: "enum", enum: TimesheetLineStatusEnum, nullable: true })
|
|
3321
3326
|
], TimesheetLine.prototype, "status", 2);
|
|
3322
3327
|
TimesheetLine = __decorateClass([
|
|
3323
|
-
Entity24("
|
|
3328
|
+
Entity24("timesheet_lines")
|
|
3324
3329
|
], TimesheetLine);
|
|
3325
3330
|
|
|
3326
3331
|
// src/entities/job.entity.ts
|