DashboardWidget
A configurable dashboard widget (base interface for all widget types)
Champs
| Champ | Type | Description |
|---|---|---|
id | ID! | — |
technicalCode | String! | Unique technical identifier (e.g. distributor_aum, advisor_commissions) |
label | String! | Display label (default locale) |
localizedLabel | [LocalizedString]! | Translated labels for all locales |
type | DashboardWidgetType! | Discriminator type (chart, tile, filter, filter_date) |
configJson | String | JSON-encoded configuration (legacy, prefer typed fields on concrete types) |
sortIndex | Int! | Display order within the dashboard |
displayed | Boolean! | Whether the widget is visible on the dashboard |
width | DashboardWidgetWidth! | Layout width within the 4-column dashboard grid |
dashboard | Dashboard! | Parent dashboard this widget belongs to |
dataAlgorithm | Algorithm | Algorithm providing the SQL data query for this widget |
displayedAlgorithm | Algorithm | Algorithm controlling widget visibility (evaluated at runtime) |
createdAt | DateTime! | — |
updatedAt | DateTime! | — |