| 123456789101112131415161718192021222324252627282930 |
- import { DashboardAcl } from './acl';
- export interface MutableDashboard {
- meta: {
- fullscreen: boolean;
- isEditing: boolean;
- };
- }
- export enum DashboardRouteInfo {
- Home = 'home-dashboard',
- New = 'new-dashboard',
- Normal = 'normal-dashboard',
- Scripted = 'scripted-dashboard',
- }
- export enum DashboardLoadingState {
- NotStarted = 'Not started',
- Fetching = 'Fetching',
- Initializing = 'Initializing',
- Error = 'Error',
- Done = 'Done',
- }
- export interface DashboardState {
- model: MutableDashboard | null;
- loadingState: DashboardLoadingState;
- isLoadingSlow: boolean;
- permissions: DashboardAcl[] | null;
- }
|