goldstars-services 1.0.13 → 1.0.14

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.
@@ -35,7 +35,7 @@ var PlanSchema = new Schema({
35
35
  },
36
36
  location: {
37
37
  type: String,
38
- enum: ['Las virtudes', 'Sambil', 'Ambas'],
38
+ enum: ['C.C Las Virtudes', 'Sambil Paraguaná', 'MULTISEDE'],
39
39
  // Sedes donde el plan es válido
40
40
  required: true
41
41
  },
@@ -43,6 +43,11 @@ var PlanSchema = new Schema({
43
43
  type: Schema.Types.ObjectId,
44
44
  ref: "User"
45
45
  }],
46
+ associatedUsersOption: {
47
+ type: Number,
48
+ required: true,
49
+ default: 0
50
+ },
46
51
  createdAt: {
47
52
  type: Date,
48
53
  default: Date.now
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goldstars-services",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "This is the services layer for GoldStars",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {