index.ts 2.3 KB

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