Kaizen
Browse modulesInsightsinsights/serverInterfaces

Interface: InsightsServices

Defined in: server/insights/factory.ts:76

The services surface: metadata projections, the read-only query engine, saved-report CRUD, read-only dashboard tile execution, export, optional natural-language drafting, and the underlying repositories. Every property was added ADDITIVELY across the stack; askService is the only optional one, because it exists solely when the consumer wires a drafter.

Properties

askService?

optional askService?: AskService;

Defined in: server/insights/factory.ts:94

Natural-language report drafting. Present ONLY when drafter was supplied — consumers who never opt into Ask get no AI surface at all, rather than a service that throws on first use.


dashboardExportService

dashboardExportService: DashboardExportService;

Defined in: server/insights/factory.ts:86

PDF snapshot export of a code-defined dashboard.


dashboardService

dashboardService: DashboardService;

Defined in: server/insights/factory.ts:84

Read-only dashboard tile execution.


exportService

exportService: ExportService;

Defined in: server/insights/factory.ts:88

CSV / XLSX / PDF export of a definition or readable saved report.


modelService

modelService: ModelService;

Defined in: server/insights/factory.ts:77


queryService

queryService: QueryService;

Defined in: server/insights/factory.ts:78


repos

repos: InsightsRepositories;

Defined in: server/insights/factory.ts:80

The underlying repositories, for direct access when needed.


savedReportService

savedReportService: SavedReportService;

Defined in: server/insights/factory.ts:82

Saved-report CRUD (validate-on-write, normalize-on-read, owner checks).

On this page