tango-api-schema 2.6.15 → 2.6.16

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.15",
3
+ "version": "2.6.16",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -669,9 +669,16 @@ const checklistconfigSchema = new mongoose.Schema({
669
669
  scheduletype: {
670
670
  type: String
671
671
  },
672
- times:{
673
- type:Array
674
- },
672
+ times:[
673
+ {
674
+ start:{
675
+ type: String
676
+ },
677
+ end:{
678
+ type: String
679
+ }
680
+ }
681
+ ],
675
682
  recurrence: {
676
683
  status: {
677
684
  type: Boolean,
@@ -608,9 +608,16 @@ const processedchecklistconfigSchema = new mongoose.Schema({
608
608
  scheduletype: {
609
609
  type: String
610
610
  },
611
- times:{
612
- type:Array
613
- },
611
+ times: [
612
+ {
613
+ start:{
614
+ type: String
615
+ },
616
+ end:{
617
+ type: String
618
+ }
619
+ }
620
+ ],
614
621
  recurrence: {
615
622
  status: {
616
623
  type: Boolean,