@bluedot-innovation/models 2.0.0-beta.7 → 2.0.0-beta.8

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.
@@ -9,5 +9,6 @@
9
9
  "type": "trigger",
10
10
  "url": "https://webhooklistener.bluedotinnovation.com",
11
11
  "enabled": true
12
- }
12
+ },
13
+ "firebaseApiKey": "88888888-4444-4444-4444-121212121212"
13
14
  }
@@ -39,7 +39,6 @@ testCase('Project', () => {
39
39
  })
40
40
  })
41
41
  })
42
-
43
42
  testCase('Invalid Zone ', () => {
44
43
  testCase('recursive property check', () => {
45
44
  let requiredFields = rules.requiredFields
package/models/Project.js CHANGED
@@ -31,7 +31,8 @@ let ProjectSchema = new mongoose.Schema({
31
31
  name: {type: String, required: [true, 'name is required']},
32
32
  accountId: {type: String, required: true, validate: {isAsync: false, validator: helpers.validateUUIDv4, msg: 'default error message'}},
33
33
  webhooks: [WebhookSchema],
34
- configurationParameters: {type: Schema.Types.Mixed, default: null} // http://collab.bluedot.io/display/PD/Remote+configuration
34
+ configurationParameters: {type: Schema.Types.Mixed, default: null}, // http://collab.bluedot.io/display/PD/Remote+configuration
35
+ firebaseApiKey: {type: String} // BP-491
35
36
  },
36
37
  {collection: 'project'})
37
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "2.0.0-beta.7",
3
+ "version": "2.0.0-beta.8",
4
4
  "description": "",
5
5
  "main": "Models.js",
6
6
  "scripts": {