@bluedot-innovation/models 5.1.44 → 5.1.45

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,6 @@
1
+ ## 5.1.45
2
+ - Removed Schemas from TestInstance
3
+
1
4
  ## 5.1.44
2
5
  - Add V1 Application model to get remote config details
3
6
 
@@ -6,8 +6,7 @@ let mongoose = require('mongoose')
6
6
  let StateEnum = require('@bluedot-innovation/enums').StateEnum
7
7
  let TestStatusEnum = require('@bluedot-innovation/enums').TestStatusEnum
8
8
 
9
- let iosConfig = require('../schemas/IosConfig')
10
- let androidConfig = require('../schemas/AndroidConfig')
9
+ const Schema = mongoose.Schema
11
10
 
12
11
  let TestInstanceSchema = new mongoose.Schema(
13
12
  {
@@ -35,10 +34,7 @@ let TestInstanceSchema = new mongoose.Schema(
35
34
  roundNumber: Number,
36
35
  useCaseType: String,
37
36
  groupOfDevices: String,
38
- configurationParameters: {
39
- iosConfig: iosConfig,
40
- androidConfig: androidConfig
41
- }
37
+ configurationParameters:{type: Schema.Types.Mixed, default: null}
42
38
  },
43
39
  { collection: 'testInstance' }
44
40
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.44",
3
+ "version": "5.1.45",
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",