goldstars-services 1.0.5 → 1.0.7

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.
@@ -21,6 +21,10 @@ var UserSchema = Schema({
21
21
  password: {
22
22
  type: String
23
23
  },
24
+ cedula: {
25
+ type: String,
26
+ unique: true
27
+ },
24
28
  firstName: {
25
29
  type: String,
26
30
  required: true
@@ -29,6 +33,10 @@ var UserSchema = Schema({
29
33
  type: String,
30
34
  required: true
31
35
  },
36
+ confirmEmail: {
37
+ type: Boolean,
38
+ default: false
39
+ },
32
40
  phone: {
33
41
  type: String,
34
42
  default: ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goldstars-services",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "This is the services layer for GoldStars",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {