index.ts 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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, UserState } from './user';
  10. import { DataSource, DataSourceSelectItem, DataSourcesState } from './datasources';
  11. import { DataQuery, DataQueryResponse, DataQueryOptions } from './series';
  12. import { PluginDashboard, PluginMeta, Plugin, PanelPlugin, PluginsState } from './plugins';
  13. import { Organization, OrganizationState } from './organization';
  14. import {
  15. AppNotification,
  16. AppNotificationSeverity,
  17. AppNotificationsState,
  18. AppNotificationTimeout,
  19. } from './appNotifications';
  20. import { DashboardSearchHit } from './search';
  21. import { ValidationEvents, ValidationRule } from './form';
  22. import { ExploreState } from 'app/features/explore/state/reducers';
  23. export {
  24. Team,
  25. TeamsState,
  26. TeamState,
  27. TeamGroup,
  28. TeamMember,
  29. AlertRuleDTO,
  30. AlertRule,
  31. AlertRulesState,
  32. LocationState,
  33. LocationUpdate,
  34. NavModel,
  35. NavModelItem,
  36. NavIndex,
  37. UrlQueryMap,
  38. UrlQueryValue,
  39. FolderDTO,
  40. FolderState,
  41. FolderInfo,
  42. DashboardState,
  43. DashboardAcl,
  44. OrgRole,
  45. PermissionLevel,
  46. DataSource,
  47. DataSourceSelectItem,
  48. PluginMeta,
  49. ApiKey,
  50. ApiKeysState,
  51. NewApiKey,
  52. Plugin,
  53. PluginsState,
  54. DataSourcesState,
  55. Invitee,
  56. OrgUser,
  57. User,
  58. UsersState,
  59. PanelPlugin,
  60. DataQuery,
  61. DataQueryResponse,
  62. DataQueryOptions,
  63. PluginDashboard,
  64. Organization,
  65. OrganizationState,
  66. AppNotification,
  67. AppNotificationsState,
  68. AppNotificationSeverity,
  69. AppNotificationTimeout,
  70. DashboardSearchHit,
  71. UserState,
  72. ValidationEvents,
  73. ValidationRule,
  74. };
  75. export interface StoreState {
  76. navIndex: NavIndex;
  77. location: LocationState;
  78. alertRules: AlertRulesState;
  79. teams: TeamsState;
  80. team: TeamState;
  81. folder: FolderState;
  82. dashboard: DashboardState;
  83. dataSources: DataSourcesState;
  84. explore: ExploreState;
  85. users: UsersState;
  86. organization: OrganizationState;
  87. appNotifications: AppNotificationsState;
  88. user: UserState;
  89. }