Interface: ReportScheduleExecutionServices
Defined in: server/insights/scheduling/report-schedule-worker.ts:52
The services one fire needs, resolved fresh per job so the ambient Prisma
client and audit actor are current. In the worker process the consumer
builds these from createInsightsServices(...) and returns the two slices;
the worker never imports the insights factory itself.
Properties
dashboardExportService?
optional dashboardExportService?: Pick<DashboardExportService, "exportDashboard">;Defined in: server/insights/scheduling/report-schedule-worker.ts:61
Optional for saved-report-only consumers; required to deliver dashboards.
exportService
exportService: Pick<ExportService, "exportSavedReport">;Defined in: server/insights/scheduling/report-schedule-worker.ts:59
reportSchedules
reportSchedules: Pick<ReportScheduleRepository, "get" | "getSchedulerState" | "recordRun" | "disableOrphaned"> & Partial<Pick<ReportScheduleRepository, "getTarget">>;Defined in: server/insights/scheduling/report-schedule-worker.ts:53
savedReports
savedReports: Pick<SavedReportsRepository, "existsActive">;Defined in: server/insights/scheduling/report-schedule-worker.ts:58