tango-api-schema 2.4.27 → 2.4.28

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