@duvdu-v1/duvdu 1.1.206 → 1.1.207

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.
@@ -70,7 +70,8 @@ const userSchema = new mongoose_1.Schema({
70
70
  color: { type: String, default: null },
71
71
  },
72
72
  projectsView: { type: Number, default: 0 },
73
- haveInvitation: { type: Boolean, default: false }
73
+ haveInvitation: { type: Boolean, default: false },
74
+ faceRecognition: { type: String, default: null },
74
75
  }, {
75
76
  timestamps: true,
76
77
  collection: model_names_1.MODELS.user,
@@ -80,6 +81,8 @@ const userSchema = new mongoose_1.Schema({
80
81
  ret.coverImage = process.env.BUCKET_HOST + '/' + ret.coverImage;
81
82
  if (ret.profileImage)
82
83
  ret.profileImage = process.env.BUCKET_HOST + '/' + ret.profileImage;
84
+ if (ret.faceRecognition)
85
+ ret.faceRecognition = process.env.BUCKET_HOST + '/' + ret.faceRecognition;
83
86
  },
84
87
  },
85
88
  })
@@ -103,4 +103,5 @@ export interface Iuser {
103
103
  };
104
104
  projectsView: number;
105
105
  haveInvitation: boolean;
106
+ faceRecognition: string | null;
106
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duvdu-v1/duvdu",
3
- "version": "1.1.206",
3
+ "version": "1.1.207",
4
4
  "main": "./build/index.js",
5
5
  "types": "./build/index.d.ts",
6
6
  "files": [