ydb-embedded-ui 6.6.1 → 6.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/package.json +2 -1
  2. package/dist/src/containers/App/App.d.ts +1 -1
  3. package/dist/src/containers/App/Content.js +1 -1
  4. package/dist/src/containers/App/appSlots.d.ts +1 -1
  5. package/dist/src/containers/AsideNavigation/Navigation.js +1 -3
  6. package/dist/src/containers/AsideNavigation/i18n/en.json +0 -2
  7. package/dist/src/containers/AsideNavigation/i18n/index.d.ts +1 -1
  8. package/dist/src/containers/AsideNavigation/i18n/index.js +1 -2
  9. package/dist/src/containers/Cluster/i18n/index.d.ts +1 -1
  10. package/dist/src/containers/Clusters/constants.d.ts +1 -1
  11. package/dist/src/containers/Header/Header.js +17 -21
  12. package/dist/src/containers/Header/Header.scss +14 -5
  13. package/dist/src/containers/Header/breadcrumbs.js +65 -71
  14. package/dist/src/containers/Heatmap/Heatmap.js +3 -3
  15. package/dist/src/containers/Nodes/Nodes.js +4 -4
  16. package/dist/src/containers/Nodes/VirtualNodes.js +2 -2
  17. package/dist/src/containers/Storage/Storage.js +2 -2
  18. package/dist/src/containers/Tablets/Tablets.js +8 -8
  19. package/dist/src/containers/TabletsFilters/TabletsFilters.d.ts +2 -57
  20. package/dist/src/containers/TabletsFilters/TabletsFilters.js +70 -180
  21. package/dist/src/containers/Tenant/Acl/Acl.d.ts +3 -1
  22. package/dist/src/containers/Tenant/Acl/Acl.js +7 -17
  23. package/dist/src/containers/Tenant/Diagnostics/Autorefresh/AutorefreshControl.js +4 -5
  24. package/dist/src/containers/Tenant/Diagnostics/Consumers/Consumers.js +3 -3
  25. package/dist/src/containers/Tenant/Diagnostics/Describe/Describe.d.ts +2 -2
  26. package/dist/src/containers/Tenant/Diagnostics/Describe/Describe.js +5 -6
  27. package/dist/src/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.d.ts +1 -0
  28. package/dist/src/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.js +3 -5
  29. package/dist/src/containers/Tenant/Diagnostics/Diagnostics.d.ts +2 -0
  30. package/dist/src/containers/Tenant/Diagnostics/Diagnostics.js +26 -50
  31. package/dist/src/containers/Tenant/Diagnostics/Diagnostics.scss +1 -1
  32. package/dist/src/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +19 -58
  33. package/dist/src/containers/Tenant/Diagnostics/Network/Network.d.ts +2 -2
  34. package/dist/src/containers/Tenant/Diagnostics/Network/Network.js +5 -5
  35. package/dist/src/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +1 -6
  36. package/dist/src/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.d.ts +2 -1
  37. package/dist/src/containers/Tenant/Diagnostics/Overview/ChangefeedInfo/ChangefeedInfo.js +3 -8
  38. package/dist/src/containers/Tenant/Diagnostics/Overview/Overview.d.ts +2 -2
  39. package/dist/src/containers/Tenant/Diagnostics/Overview/Overview.js +19 -21
  40. package/dist/src/containers/Tenant/Diagnostics/Overview/TableInfo/TableInfo.scss +0 -2
  41. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.d.ts +2 -1
  42. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicInfo/TopicInfo.js +3 -8
  43. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.d.ts +3 -1
  44. package/dist/src/containers/Tenant/Diagnostics/Overview/TopicStats/TopicStats.js +5 -5
  45. package/dist/src/containers/Tenant/Diagnostics/Partitions/Partitions.js +4 -12
  46. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/Healthcheck.scss +48 -57
  47. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.d.ts +2 -5
  48. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckDetails.js +7 -2
  49. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.d.ts +1 -6
  50. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +22 -16
  51. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.d.ts +2 -8
  52. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/MetricsCards/MetricsCards.js +2 -2
  53. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.d.ts +2 -2
  54. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TenantCpu.js +2 -2
  55. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +2 -2
  56. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +4 -4
  57. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.d.ts +2 -2
  58. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByLoad.js +4 -4
  59. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.d.ts +2 -2
  60. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +4 -4
  61. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.d.ts +2 -1
  62. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopShards.js +5 -5
  63. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.js +3 -3
  64. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.d.ts +2 -2
  65. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TenantMemory.js +2 -2
  66. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.d.ts +2 -2
  67. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +4 -4
  68. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantOverview.js +7 -9
  69. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +3 -3
  70. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopTables.js +3 -3
  71. package/dist/src/containers/Tenant/Diagnostics/TenantOverview/useHealthcheck.js +1 -1
  72. package/dist/src/containers/Tenant/Diagnostics/TopQueries/TopQueries.d.ts +2 -2
  73. package/dist/src/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +5 -5
  74. package/dist/src/containers/Tenant/Diagnostics/TopShards/TopShards.d.ts +3 -2
  75. package/dist/src/containers/Tenant/Diagnostics/TopShards/TopShards.js +8 -8
  76. package/dist/src/containers/Tenant/Info/ExternalDataSource/ExternalDataSource.js +0 -6
  77. package/dist/src/containers/Tenant/Info/ExternalTable/ExternalTable.js +0 -6
  78. package/dist/src/containers/Tenant/Info/View/View.js +0 -6
  79. package/dist/src/containers/Tenant/ObjectGeneral/ObjectGeneral.d.ts +2 -1
  80. package/dist/src/containers/Tenant/ObjectGeneral/ObjectGeneral.js +7 -13
  81. package/dist/src/containers/Tenant/ObjectSummary/ObjectSummary.d.ts +4 -4
  82. package/dist/src/containers/Tenant/ObjectSummary/ObjectSummary.js +159 -63
  83. package/dist/src/containers/Tenant/Query/Issues/Issues.js +6 -5
  84. package/dist/src/containers/Tenant/Query/Preview/Preview.d.ts +2 -1
  85. package/dist/src/containers/Tenant/Query/Preview/Preview.js +6 -6
  86. package/dist/src/containers/Tenant/Query/Query.d.ts +1 -0
  87. package/dist/src/containers/Tenant/Query/Query.scss +1 -1
  88. package/dist/src/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -0
  89. package/dist/src/containers/Tenant/Query/QueryEditor/QueryEditor.js +9 -22
  90. package/dist/src/containers/Tenant/Query/i18n/en.json +1 -1
  91. package/dist/src/containers/Tenant/Schema/SchemaTree/SchemaTree.d.ts +1 -0
  92. package/dist/src/containers/Tenant/Schema/SchemaTree/SchemaTree.js +11 -19
  93. package/dist/src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.d.ts +2 -2
  94. package/dist/src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +13 -8
  95. package/dist/src/containers/Tenant/Schema/SchemaViewer/columns.d.ts +2 -1
  96. package/dist/src/containers/Tenant/Schema/SchemaViewer/columns.js +21 -2
  97. package/dist/src/containers/Tenant/Schema/SchemaViewer/i18n/en.json +1 -0
  98. package/dist/src/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
  99. package/dist/src/containers/Tenant/Schema/SchemaViewer/prepareData.js +2 -1
  100. package/dist/src/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -0
  101. package/dist/src/containers/Tenant/Tenant.js +20 -36
  102. package/dist/src/containers/Tenant/Tenant.scss +4 -0
  103. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.d.ts +2 -0
  104. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.js +19 -0
  105. package/dist/src/containers/Tenant/TenantNavigation/TenantNavigation.scss +18 -0
  106. package/dist/src/containers/Tenant/TenantNavigation/useTenantNavigation.d.ts +9 -0
  107. package/dist/src/containers/Tenant/TenantNavigation/useTenantNavigation.js +44 -0
  108. package/dist/src/containers/Tenant/i18n/en.json +17 -0
  109. package/dist/src/containers/Tenant/i18n/index.d.ts +1 -1
  110. package/dist/src/containers/Tenant/utils/queryTemplates.d.ts +1 -0
  111. package/dist/src/containers/Tenant/utils/queryTemplates.js +12 -0
  112. package/dist/src/containers/Tenant/utils/schemaActions.js +3 -1
  113. package/dist/src/lib.d.ts +1 -1
  114. package/dist/src/lib.js +1 -1
  115. package/dist/src/routes.d.ts +1 -1
  116. package/dist/src/routes.js +3 -1
  117. package/dist/src/services/api.d.ts +6 -1
  118. package/dist/src/services/api.js +23 -3
  119. package/dist/src/services/settings.d.ts +1 -0
  120. package/dist/src/services/settings.js +3 -2
  121. package/dist/src/store/configureStore.d.ts +36 -134
  122. package/dist/src/store/configureStore.js +2 -15
  123. package/dist/src/store/defaultStore.d.ts +17 -81
  124. package/dist/src/store/reducers/api.js +0 -1
  125. package/dist/src/store/reducers/authentication/authentication.d.ts +51 -243
  126. package/dist/src/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +196 -849
  127. package/dist/src/store/reducers/healthcheckInfo/healthcheckInfo.js +3 -3
  128. package/dist/src/store/reducers/hotKeys/hotKeys.d.ts +6 -25
  129. package/dist/src/store/reducers/hotKeys/hotKeys.js +36 -49
  130. package/dist/src/store/reducers/index.d.ts +23 -100
  131. package/dist/src/store/reducers/index.js +0 -8
  132. package/dist/src/store/reducers/node/selectors.d.ts +0 -40
  133. package/dist/src/store/reducers/nodesList.d.ts +0 -40
  134. package/dist/src/store/reducers/schema/schema.d.ts +13 -149
  135. package/dist/src/store/reducers/schema/schema.js +45 -90
  136. package/dist/src/store/reducers/schema/types.d.ts +2 -21
  137. package/dist/src/store/reducers/schemaAcl/schemaAcl.d.ts +8 -135
  138. package/dist/src/store/reducers/schemaAcl/schemaAcl.js +18 -44
  139. package/dist/src/store/reducers/settings/settings.d.ts +17 -23
  140. package/dist/src/store/reducers/settings/settings.js +40 -33
  141. package/dist/src/store/reducers/settings/types.d.ts +1 -12
  142. package/dist/src/store/reducers/tablets.d.ts +288 -41
  143. package/dist/src/store/reducers/tablets.js +8 -4
  144. package/dist/src/store/reducers/tabletsFilters.d.ts +11 -164
  145. package/dist/src/store/reducers/tabletsFilters.js +14 -76
  146. package/dist/src/store/reducers/tenants/selectors.d.ts +8 -362
  147. package/dist/src/store/reducers/topic.d.ts +0 -600
  148. package/dist/src/store/state-url-mapping.js +0 -3
  149. package/dist/src/utils/constants.d.ts +1 -1
  150. package/dist/src/utils/constants.js +1 -1
  151. package/dist/src/utils/dataFormatters/dataFormatters.d.ts +2 -1
  152. package/dist/src/utils/dataFormatters/dataFormatters.js +7 -3
  153. package/dist/src/utils/hooks/index.d.ts +1 -0
  154. package/dist/src/utils/hooks/index.js +1 -0
  155. package/dist/src/utils/hooks/useAutoRefreshInterval.d.ts +1 -0
  156. package/dist/src/utils/hooks/useAutoRefreshInterval.js +5 -0
  157. package/dist/src/utils/utils.js +2 -1
  158. package/package.json +2 -1
  159. package/dist/src/components/InfoViewer/schemaOverview/CDCStreamOverview.d.ts +0 -6
  160. package/dist/src/components/InfoViewer/schemaOverview/CDCStreamOverview.js +0 -17
  161. package/dist/src/components/InfoViewer/schemaOverview/PersQueueGroupOverview.d.ts +0 -6
  162. package/dist/src/components/InfoViewer/schemaOverview/PersQueueGroupOverview.js +0 -20
  163. package/dist/src/components/InfoViewer/schemaOverview/index.d.ts +0 -2
  164. package/dist/src/components/InfoViewer/schemaOverview/index.js +0 -2
  165. package/dist/src/containers/AsideNavigation/i18n/ru.json +0 -10
  166. package/dist/src/containers/AsideNavigation/useNavigationMenuItems.d.ts +0 -2
  167. package/dist/src/containers/AsideNavigation/useNavigationMenuItems.js +0 -54
  168. package/dist/src/store/reducers/host.d.ts +0 -130
  169. package/dist/src/store/reducers/host.js +0 -26
  170. package/dist/src/store/reducers/hotKeys/types.d.ts +0 -10
  171. package/dist/src/store/reducers/hotKeys/types.js +0 -1
  172. package/dist/src/store/reducers/schemaAcl/types.d.ts +0 -12
  173. package/dist/src/store/reducers/schemaAcl/types.js +0 -1
  174. package/dist/src/types/store/host.d.ts +0 -15
  175. package/dist/src/types/store/host.js +0 -1
@@ -1,81 +1,19 @@
1
- import { createSelector } from '@reduxjs/toolkit';
2
- import { AUTO_RELOAD_INTERVAL } from '../../utils/constants';
3
- import { createApiRequest, createRequestActionTypes } from '../utils';
4
- const FETCH_TABLETS_FILTERS = createRequestActionTypes('tabletsFilters', 'FETCH_TABLETS_FILTERS');
5
- const initialState = {
6
- data: undefined,
7
- loading: true,
8
- wasLoaded: false,
9
- stateFilter: [],
10
- typeFilter: [],
11
- };
12
- const tabletsFilters = function (state = initialState, action) {
13
- switch (action.type) {
14
- case FETCH_TABLETS_FILTERS.REQUEST: {
15
- return Object.assign(Object.assign({}, state), { loading: true, requestTime: new Date().getTime() });
16
- }
17
- case FETCH_TABLETS_FILTERS.SUCCESS: {
18
- const timeout = new Date().getTime() - state.requestTime;
19
- const [tabletsData, nodes] = action.data;
20
- return Object.assign(Object.assign({}, state), { tabletsData,
21
- nodes, loading: false, wasLoaded: true, timeoutForRequest: timeout > AUTO_RELOAD_INTERVAL ? timeout : AUTO_RELOAD_INTERVAL, error: undefined });
22
- }
23
- // The error with large uri is handled by GenericAPI
24
- case FETCH_TABLETS_FILTERS.FAILURE: {
25
- return Object.assign(Object.assign({}, state), { error: action.error || 'Request-URI Too Large. Please reload the page', loading: false });
26
- }
27
- case 'CLEAR_WAS_LOADING_TABLETS': {
28
- const { stateFilter, typeFilter } = state;
29
- return Object.assign(Object.assign({}, initialState), { stateFilter,
30
- typeFilter });
31
- }
32
- case 'SET_STATE_FILTER': {
33
- return Object.assign(Object.assign({}, state), { stateFilter: action.data });
34
- }
35
- case 'SET_TYPE_FILTER': {
36
- return Object.assign(Object.assign({}, state), { typeFilter: action.data });
37
- }
38
- default:
39
- return state;
40
- }
41
- };
42
- export const clearWasLoadingFlag = () => ({
43
- type: 'CLEAR_WAS_LOADING_TABLETS',
44
- });
45
- export const setStateFilter = (stateFilter) => {
46
- return {
47
- type: 'SET_STATE_FILTER',
48
- data: stateFilter,
49
- };
50
- };
51
- export const setTypeFilter = (typeFilter) => {
52
- return {
53
- type: 'SET_TYPE_FILTER',
54
- data: typeFilter,
55
- };
56
- };
57
- export function getTabletsInfo(data) {
58
- return createApiRequest({
59
- request: Promise.all([window.api.getTabletsInfo(data), window.api.getNodesList()]),
60
- actions: FETCH_TABLETS_FILTERS,
61
- });
62
- }
63
- export const getTablets = (state) => {
64
- const { tabletsData } = state.tabletsFilters;
65
- return (tabletsData === null || tabletsData === void 0 ? void 0 : tabletsData.TabletStateInfo) || [];
66
- };
67
- export const getFilteredTablets = createSelector([
68
- getTablets,
69
- (state) => state.tabletsFilters.stateFilter,
70
- (state) => state.tabletsFilters.typeFilter,
71
- ], (tablets, stateFilter, typeFilter) => {
72
- let filteredTablets = tablets;
1
+ import { createSelector, lruMemoize } from '@reduxjs/toolkit';
2
+ import { shallowEqual } from 'react-redux';
3
+ import { selectGetTabletsInfo } from './tablets';
4
+ const EMPTY_ARRAY = [];
5
+ export const getFilteredTablets = createSelector((state, params) => { var _a; return (_a = selectGetTabletsInfo(state, params)) === null || _a === void 0 ? void 0 : _a.TabletStateInfo; }, (_, _params, stateFilter) => stateFilter, (_, _params, _stateFilter, typeFilter) => typeFilter, (tablets, stateFilter, typeFilter) => {
6
+ let filteredTablets = tablets !== null && tablets !== void 0 ? tablets : EMPTY_ARRAY;
73
7
  if (typeFilter.length > 0) {
74
- filteredTablets = filteredTablets.filter((tblt) => typeFilter.some((filter) => tblt.Type === filter));
8
+ filteredTablets = filteredTablets === null || filteredTablets === void 0 ? void 0 : filteredTablets.filter((tblt) => typeFilter.some((filter) => tblt.Type === filter));
75
9
  }
76
10
  if (stateFilter.length > 0) {
77
- filteredTablets = filteredTablets.filter((tblt) => stateFilter.some((filter) => tblt.State === filter));
11
+ filteredTablets = filteredTablets === null || filteredTablets === void 0 ? void 0 : filteredTablets.filter((tblt) => stateFilter.some((filter) => tblt.State === filter));
78
12
  }
79
- return filteredTablets;
13
+ return filteredTablets.length > 0 ? filteredTablets : EMPTY_ARRAY;
14
+ }, {
15
+ argsMemoize: lruMemoize,
16
+ argsMemoizeOptions: {
17
+ equalityCheck: shallowEqual,
18
+ },
80
19
  });
81
- export default tabletsFilters;
@@ -9,53 +9,13 @@ export declare const selectTenants: ((state: {
9
9
  tooltip: import("../../../types/store/tooltip").ITooltipState;
10
10
  tablets: import("../../../types/store/tablets").TabletsState;
11
11
  schema: import("../schema/types").SchemaState;
12
- host: import("../../../types/store/host").IHostState;
13
12
  tenants: import("./types").TenantsState;
14
13
  partitions: import("../partitions/types").PartitionsState;
15
14
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
16
- tabletsFilters: {
17
- loading: boolean;
18
- requestTime: number;
19
- data: undefined;
20
- wasLoaded: boolean;
21
- stateFilter: never[];
22
- typeFilter: never[];
23
- } | {
24
- tabletsData: any;
25
- nodes: any;
26
- loading: boolean;
27
- wasLoaded: boolean;
28
- timeoutForRequest: number;
29
- error: undefined;
30
- data: undefined;
31
- stateFilter: never[];
32
- typeFilter: never[];
33
- } | {
34
- error: any;
35
- loading: boolean;
36
- data: undefined;
37
- wasLoaded: boolean;
38
- stateFilter: never[];
39
- typeFilter: never[];
40
- } | {
41
- stateFilter: any;
42
- data: undefined;
43
- loading: boolean;
44
- wasLoaded: boolean;
45
- typeFilter: never[];
46
- } | {
47
- typeFilter: any;
48
- data: undefined;
49
- loading: boolean;
50
- wasLoaded: boolean;
51
- stateFilter: never[];
52
- };
53
15
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
54
16
  settings: import("../settings/types").SettingsState;
55
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
56
17
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
57
18
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
58
- hotKeys: import("../hotKeys/types").HotKeysState;
59
19
  authentication: import("../authentication/types").AuthenticationState;
60
20
  header: import("../header/types").HeaderState;
61
21
  saveQuery: string | null;
@@ -74,53 +34,13 @@ export declare const selectTenants: ((state: {
74
34
  tooltip: import("../../../types/store/tooltip").ITooltipState;
75
35
  tablets: import("../../../types/store/tablets").TabletsState;
76
36
  schema: import("../schema/types").SchemaState;
77
- host: import("../../../types/store/host").IHostState;
78
37
  tenants: import("./types").TenantsState;
79
38
  partitions: import("../partitions/types").PartitionsState;
80
39
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
81
- tabletsFilters: {
82
- loading: boolean;
83
- requestTime: number;
84
- data: undefined;
85
- wasLoaded: boolean;
86
- stateFilter: never[];
87
- typeFilter: never[];
88
- } | {
89
- tabletsData: any;
90
- nodes: any;
91
- loading: boolean;
92
- wasLoaded: boolean;
93
- timeoutForRequest: number;
94
- error: undefined;
95
- data: undefined;
96
- stateFilter: never[];
97
- typeFilter: never[];
98
- } | {
99
- error: any;
100
- loading: boolean;
101
- data: undefined;
102
- wasLoaded: boolean;
103
- stateFilter: never[];
104
- typeFilter: never[];
105
- } | {
106
- stateFilter: any;
107
- data: undefined;
108
- loading: boolean;
109
- wasLoaded: boolean;
110
- typeFilter: never[];
111
- } | {
112
- typeFilter: any;
113
- data: undefined;
114
- loading: boolean;
115
- wasLoaded: boolean;
116
- stateFilter: never[];
117
- };
118
40
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
119
41
  settings: import("../settings/types").SettingsState;
120
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
121
42
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
122
43
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
123
- hotKeys: import("../hotKeys/types").HotKeysState;
124
44
  authentication: import("../authentication/types").AuthenticationState;
125
45
  header: import("../header/types").HeaderState;
126
46
  saveQuery: string | null;
@@ -205,53 +125,13 @@ export declare const selectTenants: ((state: {
205
125
  tooltip: import("../../../types/store/tooltip").ITooltipState;
206
126
  tablets: import("../../../types/store/tablets").TabletsState;
207
127
  schema: import("../schema/types").SchemaState;
208
- host: import("../../../types/store/host").IHostState;
209
128
  tenants: import("./types").TenantsState;
210
129
  partitions: import("../partitions/types").PartitionsState;
211
130
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
212
- tabletsFilters: {
213
- loading: boolean;
214
- requestTime: number;
215
- data: undefined;
216
- wasLoaded: boolean;
217
- stateFilter: never[];
218
- typeFilter: never[];
219
- } | {
220
- tabletsData: any;
221
- nodes: any;
222
- loading: boolean;
223
- wasLoaded: boolean;
224
- timeoutForRequest: number;
225
- error: undefined;
226
- data: undefined;
227
- stateFilter: never[];
228
- typeFilter: never[];
229
- } | {
230
- error: any;
231
- loading: boolean;
232
- data: undefined;
233
- wasLoaded: boolean;
234
- stateFilter: never[];
235
- typeFilter: never[];
236
- } | {
237
- stateFilter: any;
238
- data: undefined;
239
- loading: boolean;
240
- wasLoaded: boolean;
241
- typeFilter: never[];
242
- } | {
243
- typeFilter: any;
244
- data: undefined;
245
- loading: boolean;
246
- wasLoaded: boolean;
247
- stateFilter: never[];
248
- };
249
131
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
250
132
  settings: import("../settings/types").SettingsState;
251
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
252
133
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
253
134
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
254
- hotKeys: import("../hotKeys/types").HotKeysState;
255
135
  authentication: import("../authentication/types").AuthenticationState;
256
136
  header: import("../header/types").HeaderState;
257
137
  saveQuery: string | null;
@@ -341,53 +221,13 @@ export declare const selectTenants: ((state: {
341
221
  tooltip: import("../../../types/store/tooltip").ITooltipState;
342
222
  tablets: import("../../../types/store/tablets").TabletsState;
343
223
  schema: import("../schema/types").SchemaState;
344
- host: import("../../../types/store/host").IHostState;
345
224
  tenants: import("./types").TenantsState;
346
225
  partitions: import("../partitions/types").PartitionsState;
347
226
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
348
- tabletsFilters: {
349
- loading: boolean;
350
- requestTime: number;
351
- data: undefined;
352
- wasLoaded: boolean;
353
- stateFilter: never[];
354
- typeFilter: never[];
355
- } | {
356
- tabletsData: any;
357
- nodes: any;
358
- loading: boolean;
359
- wasLoaded: boolean;
360
- timeoutForRequest: number;
361
- error: undefined;
362
- data: undefined;
363
- stateFilter: never[];
364
- typeFilter: never[];
365
- } | {
366
- error: any;
367
- loading: boolean;
368
- data: undefined;
369
- wasLoaded: boolean;
370
- stateFilter: never[];
371
- typeFilter: never[];
372
- } | {
373
- stateFilter: any;
374
- data: undefined;
375
- loading: boolean;
376
- wasLoaded: boolean;
377
- typeFilter: never[];
378
- } | {
379
- typeFilter: any;
380
- data: undefined;
381
- loading: boolean;
382
- wasLoaded: boolean;
383
- stateFilter: never[];
384
- };
385
227
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
386
228
  settings: import("../settings/types").SettingsState;
387
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
388
229
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
389
230
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
390
- hotKeys: import("../hotKeys/types").HotKeysState;
391
231
  authentication: import("../authentication/types").AuthenticationState;
392
232
  header: import("../header/types").HeaderState;
393
233
  saveQuery: string | null;
@@ -481,59 +321,21 @@ export declare const selectFilteredTenants: ((state: {
481
321
  tooltip: import("../../../types/store/tooltip").ITooltipState;
482
322
  tablets: import("../../../types/store/tablets").TabletsState;
483
323
  schema: import("../schema/types").SchemaState;
484
- host: import("../../../types/store/host").IHostState;
485
324
  tenants: import("./types").TenantsState;
486
325
  partitions: import("../partitions/types").PartitionsState;
487
326
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
488
- tabletsFilters: {
489
- loading: boolean;
490
- requestTime: number;
491
- data: undefined;
492
- wasLoaded: boolean;
493
- stateFilter: never[];
494
- typeFilter: never[];
495
- } | {
496
- tabletsData: any;
497
- nodes: any;
498
- loading: boolean;
499
- wasLoaded: boolean;
500
- timeoutForRequest: number;
501
- error: undefined;
502
- data: undefined;
503
- stateFilter: never[];
504
- typeFilter: never[];
505
- } | {
506
- error: any;
507
- loading: boolean;
508
- data: undefined;
509
- wasLoaded: boolean;
510
- stateFilter: never[];
511
- typeFilter: never[];
512
- } | {
513
- stateFilter: any;
514
- data: undefined;
515
- loading: boolean;
516
- wasLoaded: boolean;
517
- typeFilter: never[];
518
- } | {
519
- typeFilter: any;
520
- data: undefined;
521
- loading: boolean;
522
- wasLoaded: boolean;
523
- stateFilter: never[];
524
- };
525
327
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
526
328
  settings: import("../settings/types").SettingsState;
527
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
528
329
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
529
330
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
530
- hotKeys: import("../hotKeys/types").HotKeysState;
531
331
  authentication: import("../authentication/types").AuthenticationState;
532
332
  header: import("../header/types").HeaderState;
533
333
  saveQuery: string | null;
534
334
  fullscreen: boolean;
535
335
  clusters: import("../clusters/types").ClustersFilters;
536
- } & import("../settings/types").SettingsRootStateSlice & TenantsStateSlice, clusterName: string | undefined) => PreparedTenant[]) & {
336
+ } & {
337
+ settings: import("../settings/types").SettingsState;
338
+ } & TenantsStateSlice, clusterName: string | undefined) => PreparedTenant[]) & {
537
339
  clearCache: () => void;
538
340
  resultsCount: () => number;
539
341
  resetResultsCount: () => void;
@@ -553,53 +355,13 @@ export declare const selectFilteredTenants: ((state: {
553
355
  tooltip: import("../../../types/store/tooltip").ITooltipState;
554
356
  tablets: import("../../../types/store/tablets").TabletsState;
555
357
  schema: import("../schema/types").SchemaState;
556
- host: import("../../../types/store/host").IHostState;
557
358
  tenants: import("./types").TenantsState;
558
359
  partitions: import("../partitions/types").PartitionsState;
559
360
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
560
- tabletsFilters: {
561
- loading: boolean;
562
- requestTime: number;
563
- data: undefined;
564
- wasLoaded: boolean;
565
- stateFilter: never[];
566
- typeFilter: never[];
567
- } | {
568
- tabletsData: any;
569
- nodes: any;
570
- loading: boolean;
571
- wasLoaded: boolean;
572
- timeoutForRequest: number;
573
- error: undefined;
574
- data: undefined;
575
- stateFilter: never[];
576
- typeFilter: never[];
577
- } | {
578
- error: any;
579
- loading: boolean;
580
- data: undefined;
581
- wasLoaded: boolean;
582
- stateFilter: never[];
583
- typeFilter: never[];
584
- } | {
585
- stateFilter: any;
586
- data: undefined;
587
- loading: boolean;
588
- wasLoaded: boolean;
589
- typeFilter: never[];
590
- } | {
591
- typeFilter: any;
592
- data: undefined;
593
- loading: boolean;
594
- wasLoaded: boolean;
595
- stateFilter: never[];
596
- };
597
361
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
598
362
  settings: import("../settings/types").SettingsState;
599
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
600
363
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
601
364
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
602
- hotKeys: import("../hotKeys/types").HotKeysState;
603
365
  authentication: import("../authentication/types").AuthenticationState;
604
366
  header: import("../header/types").HeaderState;
605
367
  saveQuery: string | null;
@@ -618,53 +380,13 @@ export declare const selectFilteredTenants: ((state: {
618
380
  tooltip: import("../../../types/store/tooltip").ITooltipState;
619
381
  tablets: import("../../../types/store/tablets").TabletsState;
620
382
  schema: import("../schema/types").SchemaState;
621
- host: import("../../../types/store/host").IHostState;
622
383
  tenants: import("./types").TenantsState;
623
384
  partitions: import("../partitions/types").PartitionsState;
624
385
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
625
- tabletsFilters: {
626
- loading: boolean;
627
- requestTime: number;
628
- data: undefined;
629
- wasLoaded: boolean;
630
- stateFilter: never[];
631
- typeFilter: never[];
632
- } | {
633
- tabletsData: any;
634
- nodes: any;
635
- loading: boolean;
636
- wasLoaded: boolean;
637
- timeoutForRequest: number;
638
- error: undefined;
639
- data: undefined;
640
- stateFilter: never[];
641
- typeFilter: never[];
642
- } | {
643
- error: any;
644
- loading: boolean;
645
- data: undefined;
646
- wasLoaded: boolean;
647
- stateFilter: never[];
648
- typeFilter: never[];
649
- } | {
650
- stateFilter: any;
651
- data: undefined;
652
- loading: boolean;
653
- wasLoaded: boolean;
654
- typeFilter: never[];
655
- } | {
656
- typeFilter: any;
657
- data: undefined;
658
- loading: boolean;
659
- wasLoaded: boolean;
660
- stateFilter: never[];
661
- };
662
386
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
663
387
  settings: import("../settings/types").SettingsState;
664
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
665
388
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
666
389
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
667
- hotKeys: import("../hotKeys/types").HotKeysState;
668
390
  authentication: import("../authentication/types").AuthenticationState;
669
391
  header: import("../header/types").HeaderState;
670
392
  saveQuery: string | null;
@@ -749,53 +471,13 @@ export declare const selectFilteredTenants: ((state: {
749
471
  tooltip: import("../../../types/store/tooltip").ITooltipState;
750
472
  tablets: import("../../../types/store/tablets").TabletsState;
751
473
  schema: import("../schema/types").SchemaState;
752
- host: import("../../../types/store/host").IHostState;
753
474
  tenants: import("./types").TenantsState;
754
475
  partitions: import("../partitions/types").PartitionsState;
755
476
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
756
- tabletsFilters: {
757
- loading: boolean;
758
- requestTime: number;
759
- data: undefined;
760
- wasLoaded: boolean;
761
- stateFilter: never[];
762
- typeFilter: never[];
763
- } | {
764
- tabletsData: any;
765
- nodes: any;
766
- loading: boolean;
767
- wasLoaded: boolean;
768
- timeoutForRequest: number;
769
- error: undefined;
770
- data: undefined;
771
- stateFilter: never[];
772
- typeFilter: never[];
773
- } | {
774
- error: any;
775
- loading: boolean;
776
- data: undefined;
777
- wasLoaded: boolean;
778
- stateFilter: never[];
779
- typeFilter: never[];
780
- } | {
781
- stateFilter: any;
782
- data: undefined;
783
- loading: boolean;
784
- wasLoaded: boolean;
785
- typeFilter: never[];
786
- } | {
787
- typeFilter: any;
788
- data: undefined;
789
- loading: boolean;
790
- wasLoaded: boolean;
791
- stateFilter: never[];
792
- };
793
477
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
794
478
  settings: import("../settings/types").SettingsState;
795
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
796
479
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
797
480
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
798
- hotKeys: import("../hotKeys/types").HotKeysState;
799
481
  authentication: import("../authentication/types").AuthenticationState;
800
482
  header: import("../header/types").HeaderState;
801
483
  saveQuery: string | null;
@@ -885,53 +567,13 @@ export declare const selectFilteredTenants: ((state: {
885
567
  tooltip: import("../../../types/store/tooltip").ITooltipState;
886
568
  tablets: import("../../../types/store/tablets").TabletsState;
887
569
  schema: import("../schema/types").SchemaState;
888
- host: import("../../../types/store/host").IHostState;
889
570
  tenants: import("./types").TenantsState;
890
571
  partitions: import("../partitions/types").PartitionsState;
891
572
  executeQuery: import("../../../types/store/executeQuery").ExecuteQueryState;
892
- tabletsFilters: {
893
- loading: boolean;
894
- requestTime: number;
895
- data: undefined;
896
- wasLoaded: boolean;
897
- stateFilter: never[];
898
- typeFilter: never[];
899
- } | {
900
- tabletsData: any;
901
- nodes: any;
902
- loading: boolean;
903
- wasLoaded: boolean;
904
- timeoutForRequest: number;
905
- error: undefined;
906
- data: undefined;
907
- stateFilter: never[];
908
- typeFilter: never[];
909
- } | {
910
- error: any;
911
- loading: boolean;
912
- data: undefined;
913
- wasLoaded: boolean;
914
- stateFilter: never[];
915
- typeFilter: never[];
916
- } | {
917
- stateFilter: any;
918
- data: undefined;
919
- loading: boolean;
920
- wasLoaded: boolean;
921
- typeFilter: never[];
922
- } | {
923
- typeFilter: any;
924
- data: undefined;
925
- loading: boolean;
926
- wasLoaded: boolean;
927
- stateFilter: never[];
928
- };
929
573
  heatmap: import("../../../types/store/heatmap").IHeatmapState;
930
574
  settings: import("../settings/types").SettingsState;
931
- schemaAcl: import("../schemaAcl/types").SchemaAclState;
932
575
  executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
933
576
  shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
934
- hotKeys: import("../hotKeys/types").HotKeysState;
935
577
  authentication: import("../authentication/types").AuthenticationState;
936
578
  header: import("../header/types").HeaderState;
937
579
  saveQuery: string | null;
@@ -1015,7 +657,11 @@ export declare const selectFilteredTenants: ((state: {
1015
657
  } & {
1016
658
  argsMemoize: typeof import("reselect").weakMapMemoize;
1017
659
  memoize: typeof import("reselect").weakMapMemoize;
1018
- }, (state: import("../settings/types").SettingsRootStateSlice) => ProblemFilterValue, (state: TenantsStateSlice) => string];
660
+ }, import("reselect").Selector<{
661
+ settings: import("../settings/types").SettingsState;
662
+ }, ProblemFilterValue, []> & {
663
+ unwrapped: (state: import("../settings/types").SettingsState) => ProblemFilterValue;
664
+ }, (state: TenantsStateSlice) => string];
1019
665
  recomputations: () => number;
1020
666
  resetRecomputations: () => void;
1021
667
  dependencyRecomputations: () => number;