index.ts 2.5 KB

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