index.ts 2.4 KB

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