index.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. import { Team, TeamsState, TeamState, TeamGroup, TeamMember } from './teams';
  2. import { AlertRuleDTO, AlertRule, AlertRulesState } from './alerting';
  3. import { LocationState, LocationUpdate, UrlQueryMap, UrlQueryValue } from './location';
  4. import { NavModel, NavModelItem, NavIndex } from './navModel';
  5. import { FolderDTO, FolderState, FolderInfo } from './folders';
  6. import { DashboardState } from './dashboard';
  7. import { DashboardAcl, OrgRole, PermissionLevel } from './acl';
  8. import { ApiKey, ApiKeysState, NewApiKey } from './apiKeys';
  9. import { Invitee, OrgUser, User, UsersState } from './user';
  10. import { DataSource, DataSourcesState } from './datasources';
  11. import { PluginDashboard, PluginMeta, Plugin, PluginsState } from './plugins';
  12. import { AppNotification, AppNotificationSeverity, AppNotificationsState } from './appNotifications';
  13. export {
  14. Team,
  15. TeamsState,
  16. TeamState,
  17. TeamGroup,
  18. TeamMember,
  19. AlertRuleDTO,
  20. AlertRule,
  21. AlertRulesState,
  22. LocationState,
  23. LocationUpdate,
  24. NavModel,
  25. NavModelItem,
  26. NavIndex,
  27. UrlQueryMap,
  28. UrlQueryValue,
  29. FolderDTO,
  30. FolderState,
  31. FolderInfo,
  32. DashboardState,
  33. DashboardAcl,
  34. OrgRole,
  35. PermissionLevel,
  36. DataSource,
  37. PluginMeta,
  38. ApiKey,
  39. ApiKeysState,
  40. NewApiKey,
  41. Plugin,
  42. PluginsState,
  43. DataSourcesState,
  44. Invitee,
  45. OrgUser,
  46. User,
  47. UsersState,
  48. PluginDashboard,
  49. AppNotification,
  50. AppNotificationsState,
  51. AppNotificationSeverity,
  52. };
  53. export interface StoreState {
  54. navIndex: NavIndex;
  55. location: LocationState;
  56. alertRules: AlertRulesState;
  57. teams: TeamsState;
  58. team: TeamState;
  59. folder: FolderState;
  60. dashboard: DashboardState;
  61. dataSources: DataSourcesState;
  62. users: UsersState;
  63. appNotifications: AppNotificationsState;
  64. }