@experts_hub/shared 1.0.364 → 1.0.366

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.
@@ -6,7 +6,8 @@ export declare enum ContractStatusEnum {
6
6
  SENT = "SENT",
7
7
  SIGNED = "SIGNED",
8
8
  CANCELLED = "CANCELLED",
9
- DISPUTED = "DISPUTED"
9
+ DISPUTED = "DISPUTED",
10
+ DRAFTED = "DRAFTED"
10
11
  }
11
12
  export declare enum ContractTypeEnum {
12
13
  NDA = "NDA",
@@ -25,4 +26,7 @@ export declare class Contract extends BaseEntity {
25
26
  type: ContractTypeEnum;
26
27
  startDate: Date;
27
28
  endDate: Date;
29
+ contractDocumentUrl: string;
30
+ clientSignedAt: Date;
31
+ freelancerSignedAt: Date;
28
32
  }
package/dist/index.d.mts CHANGED
@@ -1036,7 +1036,8 @@ declare enum ContractStatusEnum {
1036
1036
  SENT = "SENT",
1037
1037
  SIGNED = "SIGNED",
1038
1038
  CANCELLED = "CANCELLED",
1039
- DISPUTED = "DISPUTED"
1039
+ DISPUTED = "DISPUTED",
1040
+ DRAFTED = "DRAFTED"
1040
1041
  }
1041
1042
  declare enum ContractTypeEnum {
1042
1043
  NDA = "NDA",
@@ -1055,6 +1056,9 @@ declare class Contract extends BaseEntity {
1055
1056
  type: ContractTypeEnum;
1056
1057
  startDate: Date;
1057
1058
  endDate: Date;
1059
+ contractDocumentUrl: string;
1060
+ clientSignedAt: Date;
1061
+ freelancerSignedAt: Date;
1058
1062
  }
1059
1063
 
1060
1064
  declare enum JobLocationEnum {
package/dist/index.d.ts CHANGED
@@ -1036,7 +1036,8 @@ declare enum ContractStatusEnum {
1036
1036
  SENT = "SENT",
1037
1037
  SIGNED = "SIGNED",
1038
1038
  CANCELLED = "CANCELLED",
1039
- DISPUTED = "DISPUTED"
1039
+ DISPUTED = "DISPUTED",
1040
+ DRAFTED = "DRAFTED"
1040
1041
  }
1041
1042
  declare enum ContractTypeEnum {
1042
1043
  NDA = "NDA",
@@ -1055,6 +1056,9 @@ declare class Contract extends BaseEntity {
1055
1056
  type: ContractTypeEnum;
1056
1057
  startDate: Date;
1057
1058
  endDate: Date;
1059
+ contractDocumentUrl: string;
1060
+ clientSignedAt: Date;
1061
+ freelancerSignedAt: Date;
1058
1062
  }
1059
1063
 
1060
1064
  declare enum JobLocationEnum {
package/dist/index.js CHANGED
@@ -2948,6 +2948,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2948
2948
  ContractStatusEnum2["SIGNED"] = "SIGNED";
2949
2949
  ContractStatusEnum2["CANCELLED"] = "CANCELLED";
2950
2950
  ContractStatusEnum2["DISPUTED"] = "DISPUTED";
2951
+ ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2951
2952
  return ContractStatusEnum2;
2952
2953
  })(ContractStatusEnum || {});
2953
2954
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
@@ -3017,6 +3018,23 @@ __decorateClass([
3017
3018
  nullable: true
3018
3019
  })
3019
3020
  ], Contract.prototype, "endDate", 2);
3021
+ __decorateClass([
3022
+ (0, import_typeorm21.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
3023
+ ], Contract.prototype, "contractDocumentUrl", 2);
3024
+ __decorateClass([
3025
+ (0, import_typeorm21.Column)({
3026
+ name: "client_signed_at",
3027
+ type: "timestamp with time zone",
3028
+ nullable: true
3029
+ })
3030
+ ], Contract.prototype, "clientSignedAt", 2);
3031
+ __decorateClass([
3032
+ (0, import_typeorm21.Column)({
3033
+ name: "freelancer_signed_at",
3034
+ type: "timestamp with time zone",
3035
+ nullable: true
3036
+ })
3037
+ ], Contract.prototype, "freelancerSignedAt", 2);
3020
3038
  Contract = __decorateClass([
3021
3039
  (0, import_typeorm21.Entity)("contracts")
3022
3040
  ], Contract);
package/dist/index.mjs CHANGED
@@ -2902,6 +2902,7 @@ var ContractStatusEnum = /* @__PURE__ */ ((ContractStatusEnum2) => {
2902
2902
  ContractStatusEnum2["SIGNED"] = "SIGNED";
2903
2903
  ContractStatusEnum2["CANCELLED"] = "CANCELLED";
2904
2904
  ContractStatusEnum2["DISPUTED"] = "DISPUTED";
2905
+ ContractStatusEnum2["DRAFTED"] = "DRAFTED";
2905
2906
  return ContractStatusEnum2;
2906
2907
  })(ContractStatusEnum || {});
2907
2908
  var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
@@ -2971,6 +2972,23 @@ __decorateClass([
2971
2972
  nullable: true
2972
2973
  })
2973
2974
  ], Contract.prototype, "endDate", 2);
2975
+ __decorateClass([
2976
+ Column21({ name: "contract_document_url", type: "varchar", nullable: true })
2977
+ ], Contract.prototype, "contractDocumentUrl", 2);
2978
+ __decorateClass([
2979
+ Column21({
2980
+ name: "client_signed_at",
2981
+ type: "timestamp with time zone",
2982
+ nullable: true
2983
+ })
2984
+ ], Contract.prototype, "clientSignedAt", 2);
2985
+ __decorateClass([
2986
+ Column21({
2987
+ name: "freelancer_signed_at",
2988
+ type: "timestamp with time zone",
2989
+ nullable: true
2990
+ })
2991
+ ], Contract.prototype, "freelancerSignedAt", 2);
2974
2992
  Contract = __decorateClass([
2975
2993
  Entity20("contracts")
2976
2994
  ], Contract);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.364",
3
+ "version": "1.0.366",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",