Is your feature request related to a problem? Please describe.
When exporting data we now have to create endpoints for all the data types, would be easier if we, just like aggregation, can enable this.
Describe the solution you'd like
a <DTO>Export method that accepts the same filters and additionally a map for the columns { field: string, headerName: string } (if not provided use field names) and format = ExportFormat where ExportFormat only accepts CSV for now.
Describe alternatives you've considered
Creating a service/resolver class for each data type ourselfs.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. When exporting data we now have to create endpoints for all the data types, would be easier if we, just like aggregation, can enable this.
Have you read the Contributing Guidelines?
Yes
Describe the solution you'd like a
<DTO>Export
method that accepts the same filters and additionally a map for the columns{ field: string, headerName: string }
(if not provided use field names) andformat = ExportFormat
whereExportFormat
only acceptsCSV
for now.Describe alternatives you've considered Creating a service/resolver class for each data type ourselfs.
Additional context Add any other context or screenshots about the feature request here.