Kaizen
Browse modulesInsightsinsights/schedulingInterfaces

Interface: ReportScheduleServiceDeps

Defined in: server/insights/scheduling/report-schedule-service.ts:51

Properties

createId?

optional createId?: () => string;

Defined in: server/insights/scheduling/report-schedule-service.ts:66

UUID factory, injectable only for deterministic tests.

Returns

string


dashboards?

optional dashboards?: Pick<ModelService, "getDashboardDefinition">;

Defined in: server/insights/scheduling/report-schedule-service.ts:64

Dashboard registry used by dashboard create and management paths.


queue

queue: ReportScheduleQueue;

Defined in: server/insights/scheduling/report-schedule-service.ts:55

The long-lived BullMQ queue (createReportScheduleQueue, once at startup).


repo

repo: ReportScheduleRepository;

Defined in: server/insights/scheduling/report-schedule-service.ts:53

Persistence — from insightsServices.repos.reportSchedules.


savedReports

savedReports: Pick<SavedReportService, "authorizeRead" | "authorizeWrite">;

Defined in: server/insights/scheduling/report-schedule-service.ts:62

Resolves saved reports with their canonical read/write authorization — from insightsServices.savedReportService. Saved-report creation and mutations require write access to the parent report; reads require visibility.

On this page