index.ts 2.1 KB

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