Files
thrilltrack-explorer/src-old/services/reports/index.ts

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';