import { Attribute, Feed, FeedType } from '../../+shared'; import { WidgetItem } from './WidgetItem'; export interface Widget extends WidgetPosition { id: number; name: string; type: string; items: WidgetItem[]; extras?: Record; mobileReady: boolean; } export interface WidgetPosition { id: number; row: number; col: number; sizeX: number; sizeY: number; } export interface DashboardScopeFeedsQueryParams { searchPhrase?: string; unitId?: number; type?: FeedType; subscopeId?: number; isNumeric?: boolean; size?: number; } export interface DashboardScopeAttributesQueryParams { searchPhrase?: string; subscopeId?: number; size?: number; } export interface DashboardScopeSemanticQueryParams { searchPhrase?: string; } export interface DashboardFeedsQueryParams { feedIds?: number[]; } export interface LocationData { feeds?: Feed[]; attributes?: Attribute[]; } export interface DashboardAttributesQueryParams { attributeIds?: number[]; } export interface DashboardSemanticGroupsQueryParams { semanticIds?: number[]; searchPhrase?: string; } export interface MapSettings { [semanticId: number]: { color: Attribute | null; image: Attribute | null; links: Attribute[] | null; }; } export interface DashboardColors { [semanticId: number]: Attribute | null; } //# sourceMappingURL=Widget.d.ts.map