mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 12:51:13 -05:00
32 lines
641 B
TypeScript
32 lines
641 B
TypeScript
/**
|
|
* Reports Service - Main export file
|
|
* Centralized exports for the Django Reports API integration
|
|
*/
|
|
|
|
// Main service instance (singleton)
|
|
export { reportsService, ReportsService } from './reportsService';
|
|
|
|
// Type definitions
|
|
export type {
|
|
Report,
|
|
ReportStatus,
|
|
ReportType,
|
|
EntityType,
|
|
SubmitReportData,
|
|
LegacySubmitReportData,
|
|
ReportFilters,
|
|
PaginatedReports,
|
|
ReportStats,
|
|
UpdateReportStatusData,
|
|
LegacyReport,
|
|
ServiceResponse,
|
|
} from './types';
|
|
|
|
// Data transformation functions
|
|
export {
|
|
mapSubmitReportToBackend,
|
|
mapReportToLegacy,
|
|
mapReportsToLegacy,
|
|
extractUsernameFromEmail,
|
|
} from './mappers';
|