@bluedot-innovation/models 5.1.45 → 5.1.47

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,9 @@
1
+ ## 5.1.47
2
+ - Add SDK build number in TestInstance
3
+
4
+ ## 5.1.46
5
+ - Save Scenario details in TestInstance
6
+
1
7
  ## 5.1.45
2
8
  - Removed Schemas from TestInstance
3
9
 
@@ -7,6 +7,7 @@ let StateEnum = require('@bluedot-innovation/enums').StateEnum
7
7
  let TestStatusEnum = require('@bluedot-innovation/enums').TestStatusEnum
8
8
 
9
9
  const Schema = mongoose.Schema
10
+ let Scenario = require('./TestScenario').Schema
10
11
 
11
12
  let TestInstanceSchema = new mongoose.Schema(
12
13
  {
@@ -27,6 +28,7 @@ let TestInstanceSchema = new mongoose.Schema(
27
28
  comments: String,
28
29
  isProduction: Boolean,
29
30
  sdkVersion: String,
31
+ sdkBuildNumber: String,
30
32
  platform: String,
31
33
  appVersion: String,
32
34
  buildType: String,
@@ -34,7 +36,8 @@ let TestInstanceSchema = new mongoose.Schema(
34
36
  roundNumber: Number,
35
37
  useCaseType: String,
36
38
  groupOfDevices: String,
37
- configurationParameters:{type: Schema.Types.Mixed, default: null}
39
+ configurationParameters:{type: Schema.Types.Mixed, default: null},
40
+ scenario: Scenario
38
41
  },
39
42
  { collection: 'testInstance' }
40
43
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.45",
3
+ "version": "5.1.47",
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",