@duvdu-v1/duvdu 1.1.345 → 1.1.347

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.
@@ -71,6 +71,7 @@ const userSchema = new mongoose_1.Schema({
71
71
  haveInvitation: { type: Boolean, default: false },
72
72
  faceRecognition: { type: String, default: null },
73
73
  projectsCount: { type: Number, default: 0 },
74
+ hasFreeTime: { type: Boolean, default: false },
74
75
  }, {
75
76
  timestamps: true,
76
77
  collection: model_names_1.MODELS.user,
@@ -50,6 +50,7 @@ export interface IcontractReport {
50
50
  state: [{
51
51
  addedBy: Types.ObjectId;
52
52
  feedback: string;
53
+ isSystem: boolean;
53
54
  }];
54
55
  isClosed: boolean;
55
56
  closedBy: Types.ObjectId;
@@ -39,6 +39,7 @@ exports.ContractReports = (0, mongoose_1.model)(model_names_1.MODELS.contractRep
39
39
  default: null,
40
40
  },
41
41
  feedback: { type: String, default: null },
42
+ isSystem: { type: Boolean, default: true },
42
43
  },
43
44
  ],
44
45
  isClosed: {
@@ -109,4 +109,5 @@ export interface Iuser {
109
109
  faceRecognition: string | null;
110
110
  projectsCount: number;
111
111
  isDeleted: boolean;
112
+ hasFreeTime: boolean;
112
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.345",
3
+ "version": "1.1.347",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [