@bluedot-innovation/models 5.1.9 → 5.1.10

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.10
2
+ - Fix enum typos in TestDevice and TestScenario
3
+
1
4
  ## 5.1.9
2
5
  - Update TestInstance and TestDeviceCluster to work with new TMP
3
6
 
@@ -21,7 +21,7 @@ let TestDevice = mongoose.model('TestDevice', new mongoose.Schema(
21
21
  serialNumber: String,
22
22
  mobileNumber: String,
23
23
  deviceType: String,
24
- state: {type: String, default: StateEnum.active},
24
+ state: {type: String, default: StateEnum.ACTIVE},
25
25
  comments: String,
26
26
  imei: String,
27
27
  udid: String
@@ -15,7 +15,7 @@ let TestScenario = mongoose.model('TestScenario', new mongoose.Schema(
15
15
  package: String,
16
16
  'creationTime': {type: Date, default: Date.now},
17
17
  'lastUpdateTime': {type: Date, default: Date.now},
18
- state: {type: String, default: StateEnum.active},
18
+ state: {type: String, default: StateEnum.ACTIVE},
19
19
  numberZones: String,
20
20
  comments: String,
21
21
  environment: String
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.9",
3
+ "version": "5.1.10",
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",