DashboardWidgetInstance
DashboardWidgetInstance
Represents an instance of a dashboard widget with its layout and configuration.
Signature
type DashboardWidgetInstance = {
id: string;
widgetId: string;
layout: {
x: number;
y: number;
w: number;
h: number;
};
config?: Record<string, unknown>;
}
id
property
stringA unique identifier for the widget instance.
widgetId
property
stringThe ID of the widget definition this instance is based on.
layout
property
{ x: number; y: number; w: number; h: number; }The layout configuration for the widget.
config
property
Record<string, unknown>Optional configuration data for the widget.