Service Layer medium complexity Shared Component backend
0
Dependencies
1
Dependents
5
Entities
0
Integrations

Description

Generates downloadable CSV and XLSX files from report result sets. Handles column header formatting, data type serialization, and file streaming for large result sets.

Feature: Custom Reports

report-export-service

Responsibilities

  • Generate CSV output with proper escaping and UTF-8 BOM
  • Generate XLSX output with formatted headers and typed columns
  • Stream large result sets to avoid memory exhaustion

Interfaces

exportToCsv(results, columns)
exportToXlsx(results, columns)
streamExport(results, columns, format, writable)

Relationships

Dependents (1)

Components that depend on this component