@tillhub/schemas 6.274.0 → 6.275.0
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,10 @@
|
|
|
1
|
+
# [6.275.0](https://github.com/tillhub/schemas/compare/v6.274.0...v6.275.0) (2023-11-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **reports:** add reports configuration ([#897](https://github.com/tillhub/schemas/issues/897)) ([8495caf](https://github.com/tillhub/schemas/commit/8495caf))
|
|
7
|
+
|
|
1
8
|
# [6.274.0](https://github.com/tillhub/schemas/compare/v6.273.0...v6.274.0) (2023-11-20)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -754,6 +754,62 @@ module.exports = {
|
|
|
754
754
|
}
|
|
755
755
|
})
|
|
756
756
|
}
|
|
757
|
+
}),
|
|
758
|
+
reports: oneOf({
|
|
759
|
+
type: 'object',
|
|
760
|
+
patternProperties: {
|
|
761
|
+
'^[a-zA-Z0-9_]+$': {
|
|
762
|
+
type: 'object',
|
|
763
|
+
properties: {
|
|
764
|
+
delimiter: oneOf({
|
|
765
|
+
type: 'string',
|
|
766
|
+
description: 'The delimiter used in the CSV file',
|
|
767
|
+
enum: ['comma', 'semicolon']
|
|
768
|
+
}),
|
|
769
|
+
format: oneOf({
|
|
770
|
+
type: 'string',
|
|
771
|
+
description: 'The format of the Report file',
|
|
772
|
+
enum: ['csv', 'excel']
|
|
773
|
+
}),
|
|
774
|
+
enclosure: oneOf({
|
|
775
|
+
type: 'string',
|
|
776
|
+
description: 'The enclosure used in the CSV file',
|
|
777
|
+
enum: ['single', 'double']
|
|
778
|
+
}),
|
|
779
|
+
show_summary: oneOf({
|
|
780
|
+
type: 'boolean'
|
|
781
|
+
}),
|
|
782
|
+
show_column_name: oneOf({
|
|
783
|
+
description: 'The header of the report',
|
|
784
|
+
type: 'boolean'
|
|
785
|
+
}),
|
|
786
|
+
date_range: oneOf({
|
|
787
|
+
type: 'string'
|
|
788
|
+
}),
|
|
789
|
+
filter: oneOf({
|
|
790
|
+
type: 'object'
|
|
791
|
+
}),
|
|
792
|
+
is_recurring: oneOf({
|
|
793
|
+
type: 'boolean'
|
|
794
|
+
}),
|
|
795
|
+
recurring_cycle: oneOf({
|
|
796
|
+
type: 'string',
|
|
797
|
+
description: 'The recurring cycle of the report',
|
|
798
|
+
enum: ['weekly', 'daily', 'monthly']
|
|
799
|
+
}),
|
|
800
|
+
recurring_on: oneOf({
|
|
801
|
+
type: 'number',
|
|
802
|
+
description: 'The recurring day of the report'
|
|
803
|
+
}),
|
|
804
|
+
column_selection: oneOf({
|
|
805
|
+
type: 'string',
|
|
806
|
+
description: 'The column selection of the report',
|
|
807
|
+
enum: ['current_view', 'all']
|
|
808
|
+
})
|
|
809
|
+
},
|
|
810
|
+
required: ['delimiter', 'format', 'enclosure', 'show_summary', 'show_column_name', 'date_range', 'filter', 'is_recurring', 'recurring_cycle', 'recurring_on', 'column_selection']
|
|
811
|
+
}
|
|
812
|
+
}
|
|
757
813
|
})
|
|
758
814
|
}
|
|
759
815
|
}
|