tango-api-schema 2.4.27 → 2.4.29

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.4.27",
3
+ "version": "2.4.29",
4
4
  "description": "tangoEye model schema",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -479,6 +479,10 @@ const client = new mongoose.Schema(
479
479
 
480
480
  },
481
481
  footfallDirectoryConfigs: {
482
+ contactEmail:{
483
+ type: String,
484
+ default: ""
485
+ },
482
486
  revision: {
483
487
  type: [
484
488
  {
@@ -517,39 +521,43 @@ const client = new mongoose.Schema(
517
521
  default: "95%"
518
522
  },
519
523
  taggingLimitation: {
520
- type: [
521
- {
522
- name: {
523
- type: String,
524
- default: ""
525
- },
526
- type: {
527
- type: String,
528
- default: ""
529
- },
530
- value: {
531
- type: Number,
532
- default: 0
533
- },
534
- unit: {
535
- type: String,
536
- default: "%"
537
- },
538
- key: {
539
- type: String,
540
- default: ""
541
- }
542
- }
543
- ],
544
- default: function () {
545
- return [
546
- { type: "duplicate", value: 10, unit: "%" },
547
- { type: "employee", value: 5, unit: "%" },
548
- { type: "house-keeping", value: 1, unit: "%" },
549
- { type: "junk", value: 5, unit: "%" }
550
- ];
551
- }
524
+ type: [
525
+ {
526
+ type: {
527
+ type: String,
528
+ default: ""
529
+ },
530
+ value: {
531
+ type: Number,
532
+ default: 0
533
+ },
534
+ unit: {
535
+ type: String,
536
+ default: "%"
552
537
  },
538
+ name: {
539
+ type: String,
540
+ default: ""
541
+ },
542
+ key: {
543
+ type: String,
544
+ default: ""
545
+ },
546
+ iconName: {
547
+ type: String,
548
+ default: ""
549
+ }
550
+ }
551
+ ],
552
+ default: function () {
553
+ return [
554
+ { type: "duplicate", value: 10, unit: "%", name:"Duplicate", iconName:"duplicateTag", key:"d" },
555
+ { type: "employee", value: 5, unit: "%", name:"Employee", iconName:"employeeTag", key:"e" },
556
+ { type: "houseKeeping", value: 1, unit: "%", name:"House keeping", iconName:"houseKeepingTag", key:"h" },
557
+ { type: "junk", value: 5, unit: "%", name:"Junk", iconName:"junkTag", key:"j" }
558
+ ];
559
+ }
560
+ },
553
561
  accuracyBreach: {
554
562
  ticketCount: {
555
563
  type: String,