opendash
Version:
open.DASH data visualization framework
28 lines (27 loc) • 924 B
TypeScript
import { UserInterface, RoleInterface, DashboardInterface, WidgetInterface, DataItemHistoryOptionsInterface, SourceInterface, NavigationGroupInterface, NavigationItemInterface } from "..";
export interface AppStateInterface {
user: {
current: UserInterface;
offline: boolean;
validated: boolean;
};
collaboration: {
users: UserInterface[];
roles: RoleInterface[];
};
sources: {
current: SourceInterface;
all: SourceInterface[];
};
dashboards: {
dashboards: DashboardInterface[];
widgets: WidgetInterface[];
currentDashboard: string | undefined;
linkedItem: string | undefined;
linkedHistory: DataItemHistoryOptionsInterface;
};
navigation: {
userNavigationGroups: NavigationGroupInterface[];
userNavigationItems: NavigationItemInterface[];
};
}