opendash
Version:
open.DASH data visualization framework
27 lines (22 loc) • 658 B
text/typescript
import {
WidgetTypePresetsInterface,
WidgetDisplayComponentInterface,
WidgetSettingsComponentInterface,
DataItemSelectionInterface,
DataItemHistorySelectionInterface,
} from "..";
export interface WidgetTypeInterface {
type: string;
displayComponent: () => Promise<{ default: WidgetDisplayComponentInterface }>;
settingsComponent: () => Promise<{
default: WidgetSettingsComponentInterface;
}>;
meta?: {
linkedData?: boolean;
linkedHistory?: boolean;
};
presets: WidgetTypePresetsInterface[];
dataVisualisation?: boolean;
dataItems?: DataItemSelectionInterface;
dataHistory?: DataItemHistorySelectionInterface;
}