@experts_hub/shared 1.0.409 → 1.0.411

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.
@@ -3,7 +3,9 @@ import { User } from "./user.entity";
3
3
  export declare enum KindOfHire {
4
4
  FULLTIME = "FULLTIME",
5
5
  PARTTIME = "PARTTIME",
6
- BOTH = "BOTH"
6
+ BOTH = "BOTH",
7
+ HOURLY = "HOURLY",
8
+ FTE = "FTE"
7
9
  }
8
10
  export declare enum ModeOfHire {
9
11
  ONSITE = "ONSITE",
@@ -35,6 +37,7 @@ export declare class CompanyProfile extends BaseEntity {
35
37
  skills: string[];
36
38
  requiredFreelancer: string;
37
39
  kindOfHiring: KindOfHire;
40
+ numberOfHours: number;
38
41
  modeOfHire: ModeOfHire;
39
42
  foundUsOn: FromUsOn;
40
43
  foundUsOnDetail: string;
package/dist/index.d.mts CHANGED
@@ -794,7 +794,9 @@ declare class FreelancerProfile extends BaseEntity {
794
794
  declare enum KindOfHire {
795
795
  FULLTIME = "FULLTIME",
796
796
  PARTTIME = "PARTTIME",
797
- BOTH = "BOTH"
797
+ BOTH = "BOTH",
798
+ HOURLY = "HOURLY",
799
+ FTE = "FTE"
798
800
  }
799
801
  declare enum ModeOfHire {
800
802
  ONSITE = "ONSITE",
@@ -826,6 +828,7 @@ declare class CompanyProfile extends BaseEntity {
826
828
  skills: string[];
827
829
  requiredFreelancer: string;
828
830
  kindOfHiring: KindOfHire;
831
+ numberOfHours: number;
829
832
  modeOfHire: ModeOfHire;
830
833
  foundUsOn: FromUsOn;
831
834
  foundUsOnDetail: string;
@@ -2518,6 +2521,8 @@ declare class CreateFreelancerTimesheetDto {
2518
2521
  startTime?: string;
2519
2522
  endTime?: string;
2520
2523
  taskId: number;
2524
+ projectName?: string;
2525
+ deliverable?: string;
2521
2526
  taskName?: string;
2522
2527
  description?: string;
2523
2528
  }
@@ -2529,6 +2534,8 @@ declare class UpdateFreelancerTimesheetDto {
2529
2534
  startTime?: string;
2530
2535
  endTime?: string;
2531
2536
  taskId: number;
2537
+ projectName?: string;
2538
+ deliverable?: string;
2532
2539
  taskName?: string;
2533
2540
  description?: string;
2534
2541
  }
package/dist/index.d.ts CHANGED
@@ -794,7 +794,9 @@ declare class FreelancerProfile extends BaseEntity {
794
794
  declare enum KindOfHire {
795
795
  FULLTIME = "FULLTIME",
796
796
  PARTTIME = "PARTTIME",
797
- BOTH = "BOTH"
797
+ BOTH = "BOTH",
798
+ HOURLY = "HOURLY",
799
+ FTE = "FTE"
798
800
  }
799
801
  declare enum ModeOfHire {
800
802
  ONSITE = "ONSITE",
@@ -826,6 +828,7 @@ declare class CompanyProfile extends BaseEntity {
826
828
  skills: string[];
827
829
  requiredFreelancer: string;
828
830
  kindOfHiring: KindOfHire;
831
+ numberOfHours: number;
829
832
  modeOfHire: ModeOfHire;
830
833
  foundUsOn: FromUsOn;
831
834
  foundUsOnDetail: string;
@@ -2518,6 +2521,8 @@ declare class CreateFreelancerTimesheetDto {
2518
2521
  startTime?: string;
2519
2522
  endTime?: string;
2520
2523
  taskId: number;
2524
+ projectName?: string;
2525
+ deliverable?: string;
2521
2526
  taskName?: string;
2522
2527
  description?: string;
2523
2528
  }
@@ -2529,6 +2534,8 @@ declare class UpdateFreelancerTimesheetDto {
2529
2534
  startTime?: string;
2530
2535
  endTime?: string;
2531
2536
  taskId: number;
2537
+ projectName?: string;
2538
+ deliverable?: string;
2532
2539
  taskName?: string;
2533
2540
  description?: string;
2534
2541
  }
package/dist/index.js CHANGED
@@ -2190,6 +2190,8 @@ var KindOfHire = /* @__PURE__ */ ((KindOfHire2) => {
2190
2190
  KindOfHire2["FULLTIME"] = "FULLTIME";
2191
2191
  KindOfHire2["PARTTIME"] = "PARTTIME";
2192
2192
  KindOfHire2["BOTH"] = "BOTH";
2193
+ KindOfHire2["HOURLY"] = "HOURLY";
2194
+ KindOfHire2["FTE"] = "FTE";
2193
2195
  return KindOfHire2;
2194
2196
  })(KindOfHire || {});
2195
2197
  var ModeOfHire = /* @__PURE__ */ ((ModeOfHire2) => {
@@ -2266,6 +2268,15 @@ __decorateClass([
2266
2268
  nullable: true
2267
2269
  })
2268
2270
  ], CompanyProfile.prototype, "kindOfHiring", 2);
2271
+ __decorateClass([
2272
+ (0, import_typeorm9.Column)({
2273
+ name: "number_of_hours",
2274
+ type: "decimal",
2275
+ precision: 4,
2276
+ scale: 2,
2277
+ default: 0
2278
+ })
2279
+ ], CompanyProfile.prototype, "numberOfHours", 2);
2269
2280
  __decorateClass([
2270
2281
  (0, import_typeorm9.Column)({
2271
2282
  name: "mode_of_hire",
@@ -6285,6 +6296,14 @@ __decorateClass([
6285
6296
  (0, import_class_validator73.IsOptional)(),
6286
6297
  (0, import_class_validator73.IsInt)()
6287
6298
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
6299
+ __decorateClass([
6300
+ (0, import_class_validator73.IsOptional)(),
6301
+ (0, import_class_validator73.IsString)()
6302
+ ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
6303
+ __decorateClass([
6304
+ (0, import_class_validator73.IsOptional)(),
6305
+ (0, import_class_validator73.IsString)()
6306
+ ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
6288
6307
  __decorateClass([
6289
6308
  (0, import_class_validator73.IsOptional)(),
6290
6309
  (0, import_class_validator73.IsString)()
@@ -6325,6 +6344,14 @@ __decorateClass([
6325
6344
  (0, import_class_validator74.IsOptional)(),
6326
6345
  (0, import_class_validator74.IsInt)()
6327
6346
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
6347
+ __decorateClass([
6348
+ (0, import_class_validator74.IsOptional)(),
6349
+ (0, import_class_validator74.IsString)()
6350
+ ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
6351
+ __decorateClass([
6352
+ (0, import_class_validator74.IsOptional)(),
6353
+ (0, import_class_validator74.IsString)()
6354
+ ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
6328
6355
  __decorateClass([
6329
6356
  (0, import_class_validator74.IsOptional)(),
6330
6357
  (0, import_class_validator74.IsString)()
package/dist/index.mjs CHANGED
@@ -2075,6 +2075,8 @@ var KindOfHire = /* @__PURE__ */ ((KindOfHire2) => {
2075
2075
  KindOfHire2["FULLTIME"] = "FULLTIME";
2076
2076
  KindOfHire2["PARTTIME"] = "PARTTIME";
2077
2077
  KindOfHire2["BOTH"] = "BOTH";
2078
+ KindOfHire2["HOURLY"] = "HOURLY";
2079
+ KindOfHire2["FTE"] = "FTE";
2078
2080
  return KindOfHire2;
2079
2081
  })(KindOfHire || {});
2080
2082
  var ModeOfHire = /* @__PURE__ */ ((ModeOfHire2) => {
@@ -2151,6 +2153,15 @@ __decorateClass([
2151
2153
  nullable: true
2152
2154
  })
2153
2155
  ], CompanyProfile.prototype, "kindOfHiring", 2);
2156
+ __decorateClass([
2157
+ Column9({
2158
+ name: "number_of_hours",
2159
+ type: "decimal",
2160
+ precision: 4,
2161
+ scale: 2,
2162
+ default: 0
2163
+ })
2164
+ ], CompanyProfile.prototype, "numberOfHours", 2);
2154
2165
  __decorateClass([
2155
2166
  Column9({
2156
2167
  name: "mode_of_hire",
@@ -6423,6 +6434,14 @@ __decorateClass([
6423
6434
  IsOptional38(),
6424
6435
  IsInt8()
6425
6436
  ], CreateFreelancerTimesheetDto.prototype, "taskId", 2);
6437
+ __decorateClass([
6438
+ IsOptional38(),
6439
+ IsString41()
6440
+ ], CreateFreelancerTimesheetDto.prototype, "projectName", 2);
6441
+ __decorateClass([
6442
+ IsOptional38(),
6443
+ IsString41()
6444
+ ], CreateFreelancerTimesheetDto.prototype, "deliverable", 2);
6426
6445
  __decorateClass([
6427
6446
  IsOptional38(),
6428
6447
  IsString41()
@@ -6471,6 +6490,14 @@ __decorateClass([
6471
6490
  IsOptional39(),
6472
6491
  IsInt9()
6473
6492
  ], UpdateFreelancerTimesheetDto.prototype, "taskId", 2);
6493
+ __decorateClass([
6494
+ IsOptional39(),
6495
+ IsString42()
6496
+ ], UpdateFreelancerTimesheetDto.prototype, "projectName", 2);
6497
+ __decorateClass([
6498
+ IsOptional39(),
6499
+ IsString42()
6500
+ ], UpdateFreelancerTimesheetDto.prototype, "deliverable", 2);
6474
6501
  __decorateClass([
6475
6502
  IsOptional39(),
6476
6503
  IsString42()
@@ -5,6 +5,8 @@ export declare class CreateFreelancerTimesheetDto {
5
5
  startTime?: string;
6
6
  endTime?: string;
7
7
  taskId: number;
8
+ projectName?: string;
9
+ deliverable?: string;
8
10
  taskName?: string;
9
11
  description?: string;
10
12
  }
@@ -5,6 +5,8 @@ export declare class UpdateFreelancerTimesheetDto {
5
5
  startTime?: string;
6
6
  endTime?: string;
7
7
  taskId: number;
8
+ projectName?: string;
9
+ deliverable?: string;
8
10
  taskName?: string;
9
11
  description?: string;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.409",
3
+ "version": "1.0.411",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",