Kaizen
Browse modulesInsightsinsights/serverInterfaces

Interface: RunTileContext

Defined in: server/insights/services/dashboard-service.ts:44

Context a tile run carries. Identity is server-derived (never client input); the remaining knobs are per-tile-kind and simply ignored by the other kind.

Properties

bucket?

optional bucket?: "year" | "month" | "day" | "week" | "quarter";

Defined in: server/insights/services/dashboard-service.ts:49

Metric tiles: also return a bucketed series for the chart.


filters?

optional filters?: DashboardFilterValues;

Defined in: server/insights/services/dashboard-service.ts:62

The viewer's active interactive-filter selections, keyed by dashboard filter id. Compiled to condition leaves and AND-merged into each tile whose subject can honour the targeted field; filters the tile's subject lacks (or that are not filterable on it) are silently skipped. Absent/empty means every tile runs unconstrained, exactly as before.


organizationId

organizationId: string;

Defined in: server/insights/services/dashboard-service.ts:45


page?

optional page?: number;

Defined in: server/insights/services/dashboard-service.ts:51

Canned-report tiles: pagination for a detail (non-grouped) tile.


pageSize?

optional pageSize?: number;

Defined in: server/insights/services/dashboard-service.ts:52


range?

optional range?: {
  from: string;
  to: string;
};

Defined in: server/insights/services/dashboard-service.ts:47

Metric tiles: narrow the metric to a date range.

from

from: string;

to

to: string;

rowCap?

optional rowCap?: number;

Defined in: server/insights/services/dashboard-service.ts:54

Canned-report tiles: optional server-controlled cap for grouped rows.

On this page