index.ts 2.8 KB

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