@experts_hub/shared 1.0.365 → 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",
@@ -26,4 +27,6 @@ export declare class Contract extends BaseEntity {
26
27
  startDate: Date;
27
28
  endDate: Date;
28
29
  contractDocumentUrl: string;
30
+ clientSignedAt: Date;
31
+ freelancerSignedAt: Date;
29
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",
@@ -1056,6 +1057,8 @@ declare class Contract extends BaseEntity {
1056
1057
  startDate: Date;
1057
1058
  endDate: Date;
1058
1059
  contractDocumentUrl: string;
1060
+ clientSignedAt: Date;
1061
+ freelancerSignedAt: Date;
1059
1062
  }
1060
1063
 
1061
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",
@@ -1056,6 +1057,8 @@ declare class Contract extends BaseEntity {
1056
1057
  startDate: Date;
1057
1058
  endDate: Date;
1058
1059
  contractDocumentUrl: string;
1060
+ clientSignedAt: Date;
1061
+ freelancerSignedAt: Date;
1059
1062
  }
1060
1063
 
1061
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) => {
@@ -3020,6 +3021,20 @@ __decorateClass([
3020
3021
  __decorateClass([
3021
3022
  (0, import_typeorm21.Column)({ name: "contract_document_url", type: "varchar", nullable: true })
3022
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);
3023
3038
  Contract = __decorateClass([
3024
3039
  (0, import_typeorm21.Entity)("contracts")
3025
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) => {
@@ -2974,6 +2975,20 @@ __decorateClass([
2974
2975
  __decorateClass([
2975
2976
  Column21({ name: "contract_document_url", type: "varchar", nullable: true })
2976
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);
2977
2992
  Contract = __decorateClass([
2978
2993
  Entity20("contracts")
2979
2994
  ], Contract);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.365",
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/",