tango-api-schema 2.6.10 → 2.6.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-api-schema",
3
- "version": "2.6.10",
3
+ "version": "2.6.11",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -694,6 +694,11 @@ const checklistconfigSchema = new mongoose.Schema({
694
694
  type: Number,
695
695
  default: 2
696
696
  },
697
+ durationUnit: {
698
+ type: String,
699
+ enum: ['sec', 'min', 'hour'],
700
+ default: 'sec'
701
+ },
697
702
  condition: {
698
703
  type: String,
699
704
  enum: ['<', '>', '=', '!=', '>=', '<='],
@@ -632,6 +632,12 @@ const processedchecklistconfigSchema = new mongoose.Schema({
632
632
  duration: {
633
633
  type: Number,
634
634
  default: 2
635
+
636
+ },
637
+ durationUnit: {
638
+ type: String,
639
+ enum: ['sec', 'min', 'hour'],
640
+ default: 'sec'
635
641
  },
636
642
  condition: {
637
643
  type: String,