index.ts 2.6 KB

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