@bluedot-innovation/models 5.1.46 → 5.1.49

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 5.1.49
2
+ - Add integrations to Project
3
+
4
+ ## 5.1.48
5
+ - Add clusters in TestInstance
6
+
7
+ ## 5.1.47
8
+ - Add SDK build number in TestInstance
9
+
1
10
  ## 5.1.46
2
11
  - Save Scenario details in TestInstance
3
12
 
package/models/Project.js CHANGED
@@ -38,7 +38,8 @@ let ProjectSchema = new mongoose.Schema({
38
38
  androidConfig: androidConfig, // when we want to enable this {type: androidConfig, required: true}
39
39
  }, // http://collab.bluedot.io/display/PD/Remote+configuration => https://bluedotinnovation.atlassian.net/wiki/spaces/ENG/pages/223150126/Remote+Config+details
40
40
  firebaseApiKey: {type: String, validate: helpers.validateNotNull},
41
- apiKey: {type: String}
41
+ apiKey: {type: String},
42
+ integrations: Schema.Types.Mixed
42
43
  },
43
44
  {collection: 'project'})
44
45
 
@@ -14,6 +14,7 @@ let TestInstanceSchema = new mongoose.Schema(
14
14
  name: String,
15
15
  scenarioId: String,
16
16
  devices: {},
17
+ clusters: {type: Array, default: []},
17
18
  mode: String,
18
19
  startTime: Date,
19
20
  endTime: Date,
@@ -28,6 +29,7 @@ let TestInstanceSchema = new mongoose.Schema(
28
29
  comments: String,
29
30
  isProduction: Boolean,
30
31
  sdkVersion: String,
32
+ sdkBuildNumber: String,
31
33
  platform: String,
32
34
  appVersion: String,
33
35
  buildType: String,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.46",
3
+ "version": "5.1.49",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",