ydb-embedded-ui 7.2.0 → 8.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) hide show
  1. package/dist/components/Graph/Graph.d.ts +1 -2
  2. package/dist/components/Graph/Graph.js +1 -1
  3. package/dist/components/Graph/Graph.js.map +1 -1
  4. package/dist/containers/Cluster/Cluster.js +2 -2
  5. package/dist/containers/Cluster/Cluster.js.map +1 -1
  6. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +24 -8
  7. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
  8. package/dist/containers/Cluster/ClusterInfo/ClusterInfo.scss +7 -26
  9. package/dist/containers/Cluster/ClusterInfo/utils.d.ts +2 -4
  10. package/dist/containers/Cluster/ClusterInfo/utils.js +2 -19
  11. package/dist/containers/Cluster/ClusterInfo/utils.js.map +1 -1
  12. package/dist/containers/Cluster/i18n/en.json +3 -1
  13. package/dist/containers/Cluster/i18n/index.d.ts +1 -1
  14. package/dist/containers/Node/Node.d.ts +0 -1
  15. package/dist/containers/Node/Node.js +5 -3
  16. package/dist/containers/Node/Node.js.map +1 -1
  17. package/dist/containers/Operations/Operations.js +2 -1
  18. package/dist/containers/Operations/Operations.js.map +1 -1
  19. package/dist/containers/PDiskPage/PDiskPage.js +5 -2
  20. package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
  21. package/dist/containers/ReduxTooltip/ReduxTooltip.scss +0 -30
  22. package/dist/containers/Storage/PaginatedStorage.d.ts +1 -1
  23. package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +0 -2
  24. package/dist/containers/Storage/StorageGroups/columns/hooks.js +2 -5
  25. package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -1
  26. package/dist/containers/Storage/StorageGroups/columns/types.d.ts +2 -2
  27. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.d.ts +1 -0
  28. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js +5 -2
  29. package/dist/containers/Storage/StorageNodes/PaginatedStorageNodesTable.js.map +1 -1
  30. package/dist/containers/Storage/StorageNodes/columns/types.d.ts +1 -1
  31. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.d.ts +0 -5
  32. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js +1 -1
  33. package/dist/containers/Storage/StorageVisibleEntitiesFilter/StorageVisibleEntitiesFilter.js.map +1 -1
  34. package/dist/containers/Storage/utils/index.d.ts +3 -6
  35. package/dist/containers/Storage/utils/index.js +7 -34
  36. package/dist/containers/Storage/utils/index.js.map +1 -1
  37. package/dist/containers/StorageGroupPage/StorageGroupPage.js +4 -2
  38. package/dist/containers/StorageGroupPage/StorageGroupPage.js.map +1 -1
  39. package/dist/containers/Tablet/Tablet.d.ts +0 -1
  40. package/dist/containers/Tablet/Tablet.js +1 -1
  41. package/dist/containers/Tablet/Tablet.js.map +1 -1
  42. package/dist/containers/Tablet/components/TabletInfo/i18n/index.d.ts +1 -1
  43. package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
  44. package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
  45. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.d.ts +0 -163
  46. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js +10 -10
  47. package/dist/containers/Tenant/Diagnostics/DiagnosticsPages.js.map +1 -1
  48. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.d.ts +0 -5
  49. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js +1 -1
  50. package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopNodesByCpu.js.map +1 -1
  51. package/dist/containers/Tenant/Diagnostics/TopQueries/utils.d.ts +2 -2
  52. package/dist/containers/Tenant/Diagnostics/TopShards/utils.d.ts +1 -1
  53. package/dist/containers/Tenant/Query/Issues/models.d.ts +2 -2
  54. package/dist/containers/Tenant/Query/Issues/models.js +2 -2
  55. package/dist/containers/Tenant/Query/Issues/models.js.map +1 -1
  56. package/dist/containers/Tenant/Query/QueryEditor/helpers.d.ts +0 -1
  57. package/dist/containers/Tenant/Query/QueryEditor/helpers.js +1 -1
  58. package/dist/containers/Tenant/Query/QueryEditor/helpers.js.map +1 -1
  59. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js +49 -8
  60. package/dist/containers/Tenant/Query/QueryResult/components/PlanToSvgButton/PlanToSvgButton.js.map +1 -1
  61. package/dist/containers/Tenant/Query/QueryResult/i18n/en.json +2 -1
  62. package/dist/containers/Tenant/Query/QueryResult/i18n/index.d.ts +1 -1
  63. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +0 -104
  64. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +4 -4
  65. package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
  66. package/dist/containers/Tenant/Schema/SchemaViewer/columns.d.ts +0 -12
  67. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +1 -1
  68. package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
  69. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.d.ts +1 -2
  70. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +1 -1
  71. package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
  72. package/dist/containers/Tenant/utils/schema.d.ts +0 -1
  73. package/dist/containers/Tenant/utils/schema.js +0 -18
  74. package/dist/containers/Tenant/utils/schema.js.map +1 -1
  75. package/dist/containers/UserSettings/i18n/en.json +1 -3
  76. package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
  77. package/dist/containers/UserSettings/settings.d.ts +0 -1
  78. package/dist/containers/UserSettings/settings.js +2 -7
  79. package/dist/containers/UserSettings/settings.js.map +1 -1
  80. package/dist/containers/VDiskPage/VDiskPage.js +7 -2
  81. package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
  82. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +0 -1
  83. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js +1 -1
  84. package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
  85. package/dist/lib.d.ts +2 -2
  86. package/dist/lib.js +1 -1
  87. package/dist/lib.js.map +1 -1
  88. package/dist/routes.d.ts +2 -2
  89. package/dist/services/settings.d.ts +0 -1
  90. package/dist/services/settings.js +1 -2
  91. package/dist/services/settings.js.map +1 -1
  92. package/dist/store/reducers/cluster/cluster.d.ts +0 -164
  93. package/dist/store/reducers/cluster/cluster.js +1 -1
  94. package/dist/store/reducers/cluster/cluster.js.map +1 -1
  95. package/dist/store/reducers/cluster/types.d.ts +2 -6
  96. package/dist/store/reducers/executeTopQueries/types.d.ts +0 -3
  97. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +0 -195
  98. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js +1 -1
  99. package/dist/store/reducers/healthcheckInfo/healthcheckInfo.js.map +1 -1
  100. package/dist/store/reducers/nodes/types.d.ts +1 -6
  101. package/dist/store/reducers/query/types.d.ts +2 -1
  102. package/dist/store/reducers/schema/schema.d.ts +0 -6
  103. package/dist/store/reducers/schema/schema.js +1 -1
  104. package/dist/store/reducers/schema/schema.js.map +1 -1
  105. package/dist/store/reducers/shardsWorkload/types.d.ts +0 -3
  106. package/dist/store/reducers/storage/types.d.ts +1 -6
  107. package/dist/store/reducers/storage/types.js.map +1 -1
  108. package/dist/store/reducers/storage/utils.d.ts +2 -5
  109. package/dist/store/reducers/storage/utils.js +3 -3
  110. package/dist/store/reducers/storage/utils.js.map +1 -1
  111. package/dist/store/reducers/tableSchemaData.d.ts +2 -1
  112. package/dist/store/reducers/tablets.d.ts +0 -131
  113. package/dist/store/reducers/tablets.js +1 -1
  114. package/dist/store/reducers/tablets.js.map +1 -1
  115. package/dist/store/reducers/tenants/utils.d.ts +0 -11
  116. package/dist/store/reducers/tenants/utils.js +1 -14
  117. package/dist/store/reducers/tenants/utils.js.map +1 -1
  118. package/dist/store/reducers/tooltip.d.ts +1 -1
  119. package/dist/store/reducers/tooltip.js +1 -1
  120. package/dist/store/reducers/vdisk/types.d.ts +0 -2
  121. package/dist/types/additionalProps.d.ts +2 -2
  122. package/dist/types/api/error.d.ts +1 -1
  123. package/dist/types/components.d.ts +5 -0
  124. package/dist/types/components.js +2 -0
  125. package/dist/types/components.js.map +1 -0
  126. package/dist/types/index.d.ts +0 -1
  127. package/dist/types/index.js.map +1 -1
  128. package/dist/types/store/tablet.d.ts +1 -8
  129. package/dist/types/store/tablets.d.ts +0 -8
  130. package/dist/types/store/tooltip.d.ts +2 -4
  131. package/dist/utils/constants.d.ts +0 -38
  132. package/dist/utils/constants.js +1 -28
  133. package/dist/utils/constants.js.map +1 -1
  134. package/dist/utils/dataFormatters/__test__/formatUptime.test.js +39 -4
  135. package/dist/utils/dataFormatters/__test__/formatUptime.test.js.map +1 -1
  136. package/dist/utils/dataFormatters/dataFormatters.d.ts +6 -3
  137. package/dist/utils/dataFormatters/dataFormatters.js +34 -16
  138. package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
  139. package/dist/utils/dataFormatters/i18n/en.json +3 -1
  140. package/dist/utils/dataFormatters/i18n/index.d.ts +1 -1
  141. package/dist/utils/dataFormatters/i18n/index.js +1 -2
  142. package/dist/utils/dataFormatters/i18n/index.js.map +1 -1
  143. package/dist/utils/errors/i18n/en.json +3 -0
  144. package/dist/utils/errors/i18n/index.d.ts +2 -0
  145. package/dist/utils/errors/i18n/index.js +5 -0
  146. package/dist/utils/errors/i18n/index.js.map +1 -0
  147. package/dist/utils/errors/index.d.ts +6 -0
  148. package/dist/utils/errors/index.js +33 -0
  149. package/dist/utils/errors/index.js.map +1 -0
  150. package/dist/utils/hooks/useTableSort.d.ts +1 -1
  151. package/dist/utils/monitoring.d.ts +3 -2
  152. package/dist/utils/nodes.js.map +1 -1
  153. package/dist/utils/tablet.d.ts +0 -2
  154. package/dist/utils/tablet.js +0 -10
  155. package/dist/utils/tablet.js.map +1 -1
  156. package/dist/utils/tooltip.d.ts +0 -4
  157. package/dist/utils/tooltip.js +1 -23
  158. package/dist/utils/tooltip.js.map +1 -1
  159. package/dist/utils/utils.d.ts +0 -1
  160. package/dist/utils/utils.js +0 -10
  161. package/dist/utils/utils.js.map +1 -1
  162. package/package.json +2 -2
  163. package/dist/components/GroupInfo/GroupInfo.d.ts +0 -7
  164. package/dist/components/GroupInfo/GroupInfo.js +0 -27
  165. package/dist/components/GroupInfo/GroupInfo.js.map +0 -1
  166. package/dist/components/GroupInfo/i18n/en.json +0 -6
  167. package/dist/components/GroupInfo/i18n/index.d.ts +0 -1
  168. package/dist/components/GroupInfo/i18n/index.js +0 -5
  169. package/dist/components/GroupInfo/i18n/index.js.map +0 -1
  170. package/dist/components/QuerySettingsDescription/index.d.ts +0 -1
  171. package/dist/components/QuerySettingsDescription/index.js +0 -2
  172. package/dist/components/QuerySettingsDescription/index.js.map +0 -1
  173. package/dist/components/Tablet/Tablet.d.ts +0 -8
  174. package/dist/components/Tablet/Tablet.js +0 -18
  175. package/dist/components/Tablet/Tablet.js.map +0 -1
  176. package/dist/components/Tablet/Tablet.scss +0 -40
  177. package/dist/components/Tablet/index.d.ts +0 -1
  178. package/dist/components/Tablet/index.js +0 -2
  179. package/dist/components/Tablet/index.js.map +0 -1
  180. package/dist/components/TabletsOverall/TabletsOverall.d.ts +0 -8
  181. package/dist/components/TabletsOverall/TabletsOverall.js +0 -69
  182. package/dist/components/TabletsOverall/TabletsOverall.js.map +0 -1
  183. package/dist/components/TabletsOverall/TabletsOverall.scss +0 -18
  184. package/dist/containers/ClusterModeGuard/index.d.ts +0 -1
  185. package/dist/containers/ClusterModeGuard/index.js +0 -2
  186. package/dist/containers/ClusterModeGuard/index.js.map +0 -1
  187. package/dist/containers/Nodes/columns/hooks.d.ts +0 -6
  188. package/dist/containers/Nodes/columns/hooks.js +0 -12
  189. package/dist/containers/Nodes/columns/hooks.js.map +0 -1
  190. package/dist/containers/Nodes/index.d.ts +0 -1
  191. package/dist/containers/Nodes/index.js +0 -2
  192. package/dist/containers/Nodes/index.js.map +0 -1
  193. package/dist/containers/PDiskPage/shared.d.ts +0 -1
  194. package/dist/containers/PDiskPage/shared.js +0 -3
  195. package/dist/containers/PDiskPage/shared.js.map +0 -1
  196. package/dist/containers/Storage/Storage.d.ts +0 -17
  197. package/dist/containers/Storage/Storage.js +0 -101
  198. package/dist/containers/Storage/Storage.js.map +0 -1
  199. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.d.ts +0 -14
  200. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js +0 -14
  201. package/dist/containers/Storage/StorageGroups/StorageGroupsTable.js.map +0 -1
  202. package/dist/containers/Storage/StorageNodes/StorageNodesTable.d.ts +0 -16
  203. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js +0 -22
  204. package/dist/containers/Storage/StorageNodes/StorageNodesTable.js.map +0 -1
  205. package/dist/containers/Storage/StorageNodes/shared.d.ts +0 -3
  206. package/dist/containers/Storage/StorageNodes/shared.js +0 -5
  207. package/dist/containers/Storage/StorageNodes/shared.js.map +0 -1
  208. package/dist/containers/Storage/StorageWrapper.d.ts +0 -10
  209. package/dist/containers/Storage/StorageWrapper.js +0 -20
  210. package/dist/containers/Storage/StorageWrapper.js.map +0 -1
  211. package/dist/store/reducers/nodes/selectors.d.ts +0 -4
  212. package/dist/store/reducers/nodes/selectors.js +0 -13
  213. package/dist/store/reducers/nodes/selectors.js.map +0 -1
  214. package/dist/store/reducers/schema/types.d.ts +0 -10
  215. package/dist/store/reducers/schema/types.js +0 -2
  216. package/dist/store/reducers/schema/types.js.map +0 -1
  217. package/dist/store/reducers/storage/selectors.d.ts +0 -4
  218. package/dist/store/reducers/storage/selectors.js +0 -37
  219. package/dist/store/reducers/storage/selectors.js.map +0 -1
  220. package/dist/utils/dataFormatters/i18n/ru.json +0 -3
@@ -5,7 +5,7 @@ import { cn } from '../../../utils/cn';
5
5
  import { NodesTable } from '../NodesTable/NodesTable';
6
6
  import { NodesTreeTitle } from '../NodesTreeTitle/NodesTreeTitle';
7
7
  import './GroupedNodesTree.scss';
8
- export const b = cn('ydb-versions-grouped-node-tree');
8
+ const b = cn('ydb-versions-grouped-node-tree');
9
9
  export const GroupedNodesTree = ({ title, nodes, items, expanded = false, versionColor, versionsValues, level = 0, }) => {
10
10
  const [isOpened, toggleBlock] = React.useState(false);
11
11
  React.useEffect(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"GroupedNodesTree.js","sourceRoot":"","sources":["../../../../src/containers/Versions/GroupedNodesTree/GroupedNodesTree.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAI3C,OAAO,EAAC,EAAE,EAAC,MAAM,mBAAmB,CAAC;AACrC,OAAO,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAGhE,OAAO,yBAAyB,CAAC;AAEjC,MAAM,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC,CAAC;AAYtD,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC7B,KAAK,EACL,KAAK,EACL,KAAK,EACL,QAAQ,GAAG,KAAK,EAChB,YAAY,EACZ,cAAc,EACd,KAAK,GAAG,CAAC,GACW,EAAE,EAAE;IACxB,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEtD,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC1B,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAC;IAEf,MAAM,UAAU,GAAG,CACf,KAAC,cAAc,IACX,KAAK,EAAE,KAAK,EACZ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,EAAE,KAAK,KAAK,CAAC,EAAC,CAAC,YAC3C,KAAC,QAAQ,IAEL,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,CAAC,QAAQ,EACpB,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,eAAe,YAE5B,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,gBAAgB,IAEb,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,KAAK,EAAE,KAAK,GAAG,CAAC,IALX,KAAK,CAMZ,CACL,CAAC,IAhBG,KAAK,CAiBH,GACT,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,aAAa,EAAE,KAAK,KAAK,CAAC,EAAC,CAAC,YAC3C,KAAC,QAAQ,IAEL,IAAI,EAAE,UAAU,EAChB,SAAS,EAAE,CAAC,QAAQ,EACpB,QAAQ,QACR,OAAO,EAAE,eAAe,EACxB,YAAY,EAAE,eAAe,YAE7B,cAAK,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAC3B,KAAC,UAAU,IAAC,KAAK,EAAE,KAAK,IAAI,EAAE,GAAI,GAChC,IATD,KAAK,CAUH,GACT,CACT,CAAC;AACN,CAAC,CAAC"}
package/dist/lib.d.ts CHANGED
@@ -10,7 +10,7 @@ export { getUserSettings } from './containers/UserSettings/settings';
10
10
  export { setSettingValue, getSettingValue } from './store/reducers/settings/settings';
11
11
  export { componentsRegistry } from './components/ComponentsProvider/componentsRegistry';
12
12
  export { useSetting, useTypedSelector } from './utils/hooks';
13
- export { getMonitoringLink, getMonitoringClusterLink } from './utils/monitoring';
13
+ export { getMonitoringLink, getMonitoringClusterLink, parseMonitoringData } from './utils/monitoring';
14
14
  export { i18n, Lang, registerKeysets } from './utils/i18n';
15
15
  export { toaster } from './utils/createToast';
16
16
  export { cn } from './utils/cn';
@@ -18,6 +18,6 @@ export * from './utils/constants';
18
18
  export { default as reportWebVitals } from './reportWebVitals';
19
19
  export type { SettingsObject } from './services/settings';
20
20
  export type { YDBEmbeddedUISettings, SettingsPage, SettingsSection, } from './containers/UserSettings/settings';
21
- export type { SettingProps } from './containers/UserSettings/Setting';
21
+ export type { SettingProps, SettingsInfoFieldProps } from './containers/UserSettings/Setting';
22
22
  export type { AsideNavigationProps } from './containers/AsideNavigation/AsideNavigation';
23
23
  export type { GetMonitoringLink, GetMonitoringClusterLink } from './utils/monitoring';
package/dist/lib.js CHANGED
@@ -10,7 +10,7 @@ export { getUserSettings } from './containers/UserSettings/settings';
10
10
  export { setSettingValue, getSettingValue } from './store/reducers/settings/settings';
11
11
  export { componentsRegistry } from './components/ComponentsProvider/componentsRegistry';
12
12
  export { useSetting, useTypedSelector } from './utils/hooks';
13
- export { getMonitoringLink, getMonitoringClusterLink } from './utils/monitoring';
13
+ export { getMonitoringLink, getMonitoringClusterLink, parseMonitoringData } from './utils/monitoring';
14
14
  export { i18n, Lang, registerKeysets } from './utils/i18n';
15
15
  export { toaster } from './utils/createToast';
16
16
  export { cn } from './utils/cn';
package/dist/lib.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"lib.js","sourceRoot":"","sources":["../src/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,IAAI,gBAAgB,EAAE,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAC,eAAe,IAAI,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAChG,OAAO,EACH,kBAAkB,IAAI,aAAa,EACnC,qBAAqB,GACxB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAC,eAAe,EAAC,MAAM,8CAA8C,CAAC;AAE7E,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,SAAS,CAAC;AACpD,OAAO,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BAAgB,CAAC;AACzD,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAEpF,OAAO,EAAC,kBAAkB,EAAC,MAAM,oDAAoD,CAAC;AACtF,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAC,iBAAiB,EAAE,wBAAwB,EAAE,mBAAmB,EAAC,MAAM,oBAAoB,CAAC;AACpG,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,eAAe,EAAC,MAAM,cAAc,CAAC;AACzD,OAAO,EAAC,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAC5C,OAAO,EAAC,EAAE,EAAC,MAAM,YAAY,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAElC,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,mBAAmB,CAAC"}
package/dist/routes.d.ts CHANGED
@@ -23,7 +23,7 @@ declare const routes: {
23
23
  };
24
24
  export default routes;
25
25
  export declare const parseQuery: (location: Location) => qs.ParsedQs;
26
- export type Query = AnyRecord;
26
+ type Query = AnyRecord;
27
27
  export declare function createHref(route: string, params?: Record<string, string | number>, query?: Query): string;
28
28
  export declare const createExternalUILink: (query?: {}) => string;
29
29
  export declare function getLocationObjectFromHref(href: string): {
@@ -42,5 +42,5 @@ export declare const tabletPageQueryParams: {
42
42
  readonly clusterName: QueryParamConfig<string | null | undefined, string | null | undefined>;
43
43
  readonly activeTab: QueryParamConfig<string | null | undefined, string | null | undefined>;
44
44
  };
45
- export type TabletPageQuery = QueryParamsTypeFromQueryObject<typeof tabletPageQueryParams>;
45
+ type TabletPageQuery = QueryParamsTypeFromQueryObject<typeof tabletPageQueryParams>;
46
46
  export declare function getTabletPagePath(tabletId: string | number, query?: TabletPageQuery): string;
@@ -10,7 +10,6 @@ export declare const DEFAULT_USER_SETTINGS: {
10
10
  readonly last_used_query_action: "execute";
11
11
  readonly asideHeaderCompact: true;
12
12
  readonly partitionsHiddenColumns: readonly [];
13
- readonly useBackendParamsForTables: true;
14
13
  readonly enableNetworkTable: false;
15
14
  readonly useShowPlanToSvg: false;
16
15
  readonly useClusterBalancerAsBacked: true;
@@ -1,5 +1,5 @@
1
1
  import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
2
- import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, CASE_SENSITIVE_JSON_SEARCH, ENABLE_AUTOCOMPLETE, ENABLE_NETWORK_TABLE_KEY, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, USE_SHOW_PLAN_SVG_KEY, } from '../utils/constants';
2
+ import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, CASE_SENSITIVE_JSON_SEARCH, ENABLE_AUTOCOMPLETE, ENABLE_NETWORK_TABLE_KEY, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_SHOW_PLAN_SVG_KEY, } from '../utils/constants';
3
3
  import { DEFAULT_QUERY_SETTINGS, QUERY_ACTIONS } from '../utils/query';
4
4
  import { parseJson } from '../utils/utils';
5
5
  /** User settings keys and their default values */
@@ -13,7 +13,6 @@ export const DEFAULT_USER_SETTINGS = {
13
13
  [LAST_USED_QUERY_ACTION_KEY]: QUERY_ACTIONS.execute,
14
14
  [ASIDE_HEADER_COMPACT_KEY]: true,
15
15
  [PARTITIONS_HIDDEN_COLUMNS_KEY]: [],
16
- [USE_PAGINATED_TABLES_KEY]: true,
17
16
  [ENABLE_NETWORK_TABLE_KEY]: false,
18
17
  [USE_SHOW_PLAN_SVG_KEY]: false,
19
18
  [USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,0BAA0B,EAC1B,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,EACxB,qBAAqB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,sBAAsB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAIzC,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,mCAAI,YAAY,CAAC;IACrD,CAAC;IAED;;OAEG;IACH,oBAAoB,CAAC,GAAW,EAAE,KAAc;QAC5C,OAAO,IAAI,CAAC,YAAY,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;IACzC,CAAC;CA+BJ;AAED,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,eAAe,EAAE,CAAC"}
@@ -60,170 +60,6 @@ export declare function useClusterBaseInfo(): {
60
60
  service?: string;
61
61
  use_embedded_ui?: boolean;
62
62
  };
63
- export declare const selectClusterInfo: ((state: {
64
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
65
- singleClusterMode: boolean;
66
- cluster: ClusterState;
67
- tenant: import("../tenant/types").TenantState;
68
- tooltip: import("../../../types/store/tooltip").ITooltipState;
69
- schema: {
70
- loading: boolean;
71
- data: {};
72
- currentSchemaPath: undefined;
73
- showPreview: boolean;
74
- };
75
- tenants: import("../tenants/types").TenantsState;
76
- partitions: {
77
- selectedConsumer?: string;
78
- };
79
- query: import("../query/types").QueryState;
80
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
81
- settings: import("../settings/types").SettingsState;
82
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
83
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
84
- authentication: import("../authentication/types").AuthenticationState;
85
- header: import("../header/types").HeaderState;
86
- queryActions: import("../queryActions/types").QueryActionsState;
87
- fullscreen: boolean;
88
- clusters: import("../clusters/types").ClustersFilters;
89
- }, clusterName?: string | undefined) => {
90
- clusterData: TClusterInfo;
91
- groupsStats?: ClusterGroupsStats;
92
- } | undefined) & {
93
- clearCache: () => void;
94
- resultsCount: () => number;
95
- resetResultsCount: () => void;
96
- } & {
97
- resultFunc: (resultFuncArgs_0: {
98
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
99
- singleClusterMode: boolean;
100
- cluster: ClusterState;
101
- tenant: import("../tenant/types").TenantState;
102
- tooltip: import("../../../types/store/tooltip").ITooltipState;
103
- schema: {
104
- loading: boolean;
105
- data: {};
106
- currentSchemaPath: undefined;
107
- showPreview: boolean;
108
- };
109
- tenants: import("../tenants/types").TenantsState;
110
- partitions: {
111
- selectedConsumer?: string;
112
- };
113
- query: import("../query/types").QueryState;
114
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
115
- settings: import("../settings/types").SettingsState;
116
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
117
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
118
- authentication: import("../authentication/types").AuthenticationState;
119
- header: import("../header/types").HeaderState;
120
- queryActions: import("../queryActions/types").QueryActionsState;
121
- fullscreen: boolean;
122
- clusters: import("../clusters/types").ClustersFilters;
123
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
124
- getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
125
- clusterData: TClusterInfo;
126
- groupsStats?: ClusterGroupsStats;
127
- }, "api">;
128
- getClusterBaseInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/meta").MetaBaseClusterInfo | undefined, "api">;
129
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
130
- clusterData: TClusterInfo;
131
- groupsStats?: ClusterGroupsStats;
132
- }, "api">>) => {
133
- clusterData: TClusterInfo;
134
- groupsStats?: ClusterGroupsStats;
135
- } | undefined;
136
- memoizedResultFunc: ((resultFuncArgs_0: {
137
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
138
- singleClusterMode: boolean;
139
- cluster: ClusterState;
140
- tenant: import("../tenant/types").TenantState;
141
- tooltip: import("../../../types/store/tooltip").ITooltipState;
142
- schema: {
143
- loading: boolean;
144
- data: {};
145
- currentSchemaPath: undefined;
146
- showPreview: boolean;
147
- };
148
- tenants: import("../tenants/types").TenantsState;
149
- partitions: {
150
- selectedConsumer?: string;
151
- };
152
- query: import("../query/types").QueryState;
153
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
154
- settings: import("../settings/types").SettingsState;
155
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
156
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
157
- authentication: import("../authentication/types").AuthenticationState;
158
- header: import("../header/types").HeaderState;
159
- queryActions: import("../queryActions/types").QueryActionsState;
160
- fullscreen: boolean;
161
- clusters: import("../clusters/types").ClustersFilters;
162
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
163
- getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
164
- clusterData: TClusterInfo;
165
- groupsStats?: ClusterGroupsStats;
166
- }, "api">;
167
- getClusterBaseInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/meta").MetaBaseClusterInfo | undefined, "api">;
168
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
169
- clusterData: TClusterInfo;
170
- groupsStats?: ClusterGroupsStats;
171
- }, "api">>) => {
172
- clusterData: TClusterInfo;
173
- groupsStats?: ClusterGroupsStats;
174
- } | undefined) & {
175
- clearCache: () => void;
176
- resultsCount: () => number;
177
- resetResultsCount: () => void;
178
- };
179
- lastResult: () => {
180
- clusterData: TClusterInfo;
181
- groupsStats?: ClusterGroupsStats;
182
- } | undefined;
183
- dependencies: [(state: RootState) => {
184
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
185
- singleClusterMode: boolean;
186
- cluster: ClusterState;
187
- tenant: import("../tenant/types").TenantState;
188
- tooltip: import("../../../types/store/tooltip").ITooltipState;
189
- schema: {
190
- loading: boolean;
191
- data: {};
192
- currentSchemaPath: undefined;
193
- showPreview: boolean;
194
- };
195
- tenants: import("../tenants/types").TenantsState;
196
- partitions: {
197
- selectedConsumer?: string;
198
- };
199
- query: import("../query/types").QueryState;
200
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
201
- settings: import("../settings/types").SettingsState;
202
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
203
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
204
- authentication: import("../authentication/types").AuthenticationState;
205
- header: import("../header/types").HeaderState;
206
- queryActions: import("../queryActions/types").QueryActionsState;
207
- fullscreen: boolean;
208
- clusters: import("../clusters/types").ClustersFilters;
209
- }, (_state: RootState, clusterName?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
210
- getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
211
- clusterData: TClusterInfo;
212
- groupsStats?: ClusterGroupsStats;
213
- }, "api">;
214
- getClusterBaseInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/meta").MetaBaseClusterInfo | undefined, "api">;
215
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
216
- clusterData: TClusterInfo;
217
- groupsStats?: ClusterGroupsStats;
218
- }, "api">>];
219
- recomputations: () => number;
220
- resetRecomputations: () => void;
221
- dependencyRecomputations: () => number;
222
- resetDependencyRecomputations: () => void;
223
- } & {
224
- argsMemoize: typeof import("reselect").weakMapMemoize;
225
- memoize: typeof import("reselect").weakMapMemoize;
226
- };
227
63
  export declare const selectClusterTitle: ((state: {
228
64
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
229
65
  singleClusterMode: boolean;
@@ -120,7 +120,7 @@ export function useClusterBaseInfo() {
120
120
  };
121
121
  }
122
122
  const createClusterInfoSelector = createSelector((clusterName) => clusterName, (clusterName) => clusterApi.endpoints.getClusterInfo.select(clusterName));
123
- export const selectClusterInfo = createSelector((state) => state, (_state, clusterName) => createClusterInfoSelector(clusterName), (state, selectGetClusterInfo) => selectGetClusterInfo(state).data);
123
+ const selectClusterInfo = createSelector((state) => state, (_state, clusterName) => createClusterInfoSelector(clusterName), (state, selectGetClusterInfo) => selectGetClusterInfo(state).data);
124
124
  export const selectClusterTitle = createSelector((_state, clusterName) => clusterName, (state, clusterName) => selectClusterInfo(state, clusterName), (clusterName, clusterInfo) => {
125
125
  const { Name, Domain } = (clusterInfo === null || clusterInfo === void 0 ? void 0 : clusterInfo.clusterData) || {};
126
126
  return Name || clusterName || normalizeDomain(Domain) || CLUSTER_DEFAULT_TITLE;
@@ -1 +1 @@
1
- {"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../../../src/store/reducers/cluster/cluster.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAE,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,WAAW,EAAE,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAG5D,OAAO,EAAC,cAAc,EAAE,YAAY,EAAC,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAG3D,OAAO,EAAC,qBAAqB,EAAE,uBAAuB,EAAC,MAAM,0BAA0B,CAAC;AACxF,OAAO,EAAC,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAC3B,OAAO,EAAC,kBAAkB,EAAC,MAAM,cAAc,CAAC;AAGhD,OAAO,EACH,8BAA8B,EAC9B,4BAA4B,EAC5B,eAAe,EACf,6BAA6B,GAChC,MAAM,SA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CAAC,KAAK,CAAC,EAC/C,CAAC,IAAI,EAAE,YAAY,EAA0C,EAAE;;IAC3D,MAAM,OAAO,GAAG,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,0CAAE,aAAa,CAAC;IACjD,IAAI,CAAC,OAAO,EAAE,CAAC;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,CAAC,YAAY,EAAE,CAAC;QAChB,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE;QAC1B,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACvF,OAAO,EAAC,GAAG,MAAM,EAAE,IAAI,EAAC,CAAC;IAC7B,CAAC,CAAC,CAAC;AACP,CAAC,CACJ,CAAC"}
@@ -1,5 +1,4 @@
1
1
  import type { ClusterTab } from '../../../containers/Cluster/utils';
2
- import type { TClusterInfo } from '../../../types/api/cluster';
3
2
  export interface DiskErasureGroupsStats {
4
3
  diskType: string;
5
4
  erasure: string;
@@ -9,13 +8,10 @@ export interface DiskErasureGroupsStats {
9
8
  availableSize: number;
10
9
  }
11
10
  /** Keys - erasure types */
12
- export type DiskGroupsStats = Record<string, DiskErasureGroupsStats>;
11
+ type DiskGroupsStats = Record<string, DiskErasureGroupsStats>;
13
12
  /** Keys - PDisks types */
14
13
  export type ClusterGroupsStats = Record<string, DiskGroupsStats>;
15
14
  export interface ClusterState {
16
15
  defaultClusterTab: ClusterTab;
17
16
  }
18
- export interface HandledClusterResponse {
19
- clusterData: TClusterInfo;
20
- groupsStats: ClusterGroupsStats;
21
- }
17
+ export {};
@@ -5,6 +5,3 @@ export interface TopQueriesFilters {
5
5
  to?: string;
6
6
  text?: string;
7
7
  }
8
- export interface TopQueriesRootStateSlice {
9
- executeTopQueries: TopQueriesFilters;
10
- }
@@ -7,201 +7,6 @@ export declare const healthcheckApi: import("@reduxjs/toolkit/query").Api<import
7
7
  maxLevel?: number;
8
8
  }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
9
9
  }, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
10
- export declare const selectIssuesTreesRoots: ((state: {
11
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
12
- singleClusterMode: boolean;
13
- cluster: import("../cluster/types").ClusterState;
14
- tenant: import("../tenant/types").TenantState;
15
- tooltip: import("../../../types/store/tooltip").ITooltipState;
16
- schema: {
17
- loading: boolean;
18
- data: {};
19
- currentSchemaPath: undefined;
20
- showPreview: boolean;
21
- };
22
- tenants: import("../tenants/types").TenantsState;
23
- partitions: {
24
- selectedConsumer?: string;
25
- };
26
- query: import("../query/types").QueryState;
27
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
28
- settings: import("../settings/types").SettingsState;
29
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
30
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
31
- authentication: import("../authentication/types").AuthenticationState;
32
- header: import("../header/types").HeaderState;
33
- queryActions: import("../queryActions/types").QueryActionsState;
34
- fullscreen: boolean;
35
- clusters: import("../clusters/types").ClustersFilters;
36
- }, database: string) => IssueLog[]) & {
37
- clearCache: () => void;
38
- resultsCount: () => number;
39
- resetResultsCount: () => void;
40
- } & {
41
- resultFunc: (resultFuncArgs_0: IssueLog[]) => IssueLog[];
42
- memoizedResultFunc: ((resultFuncArgs_0: IssueLog[]) => IssueLog[]) & {
43
- clearCache: () => void;
44
- resultsCount: () => number;
45
- resetResultsCount: () => void;
46
- };
47
- lastResult: () => IssueLog[];
48
- dependencies: [((state: {
49
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
50
- singleClusterMode: boolean;
51
- cluster: import("../cluster/types").ClusterState;
52
- tenant: import("../tenant/types").TenantState;
53
- tooltip: import("../../../types/store/tooltip").ITooltipState;
54
- schema: {
55
- loading: boolean;
56
- data: {};
57
- currentSchemaPath: undefined;
58
- showPreview: boolean;
59
- };
60
- tenants: import("../tenants/types").TenantsState;
61
- partitions: {
62
- selectedConsumer?: string;
63
- };
64
- query: import("../query/types").QueryState;
65
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
66
- settings: import("../settings/types").SettingsState;
67
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
68
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
69
- authentication: import("../authentication/types").AuthenticationState;
70
- header: import("../header/types").HeaderState;
71
- queryActions: import("../queryActions/types").QueryActionsState;
72
- fullscreen: boolean;
73
- clusters: import("../clusters/types").ClustersFilters;
74
- }, database: string) => IssueLog[]) & {
75
- clearCache: () => void;
76
- resultsCount: () => number;
77
- resetResultsCount: () => void;
78
- } & {
79
- resultFunc: (resultFuncArgs_0: {
80
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
81
- singleClusterMode: boolean;
82
- cluster: import("../cluster/types").ClusterState;
83
- tenant: import("../tenant/types").TenantState;
84
- tooltip: import("../../../types/store/tooltip").ITooltipState;
85
- schema: {
86
- loading: boolean;
87
- data: {};
88
- currentSchemaPath: undefined;
89
- showPreview: boolean;
90
- };
91
- tenants: import("../tenants/types").TenantsState;
92
- partitions: {
93
- selectedConsumer?: string;
94
- };
95
- query: import("../query/types").QueryState;
96
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
97
- settings: import("../settings/types").SettingsState;
98
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
99
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
100
- authentication: import("../authentication/types").AuthenticationState;
101
- header: import("../header/types").HeaderState;
102
- queryActions: import("../queryActions/types").QueryActionsState;
103
- fullscreen: boolean;
104
- clusters: import("../clusters/types").ClustersFilters;
105
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
106
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
107
- database: string;
108
- maxLevel?: number;
109
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
110
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
111
- database: string;
112
- maxLevel?: number;
113
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[];
114
- memoizedResultFunc: ((resultFuncArgs_0: {
115
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
116
- singleClusterMode: boolean;
117
- cluster: import("../cluster/types").ClusterState;
118
- tenant: import("../tenant/types").TenantState;
119
- tooltip: import("../../../types/store/tooltip").ITooltipState;
120
- schema: {
121
- loading: boolean;
122
- data: {};
123
- currentSchemaPath: undefined;
124
- showPreview: boolean;
125
- };
126
- tenants: import("../tenants/types").TenantsState;
127
- partitions: {
128
- selectedConsumer?: string;
129
- };
130
- query: import("../query/types").QueryState;
131
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
132
- settings: import("../settings/types").SettingsState;
133
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
134
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
135
- authentication: import("../authentication/types").AuthenticationState;
136
- header: import("../header/types").HeaderState;
137
- queryActions: import("../queryActions/types").QueryActionsState;
138
- fullscreen: boolean;
139
- clusters: import("../clusters/types").ClustersFilters;
140
- }, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
141
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
142
- database: string;
143
- maxLevel?: number;
144
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
145
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
146
- database: string;
147
- maxLevel?: number;
148
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>) => IssueLog[]) & {
149
- clearCache: () => void;
150
- resultsCount: () => number;
151
- resetResultsCount: () => void;
152
- };
153
- lastResult: () => IssueLog[];
154
- dependencies: [(state: RootState) => {
155
- api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
156
- singleClusterMode: boolean;
157
- cluster: import("../cluster/types").ClusterState;
158
- tenant: import("../tenant/types").TenantState;
159
- tooltip: import("../../../types/store/tooltip").ITooltipState;
160
- schema: {
161
- loading: boolean;
162
- data: {};
163
- currentSchemaPath: undefined;
164
- showPreview: boolean;
165
- };
166
- tenants: import("../tenants/types").TenantsState;
167
- partitions: {
168
- selectedConsumer?: string;
169
- };
170
- query: import("../query/types").QueryState;
171
- heatmap: import("../../../types/store/heatmap").IHeatmapState;
172
- settings: import("../settings/types").SettingsState;
173
- executeTopQueries: import("../executeTopQueries/types").TopQueriesFilters;
174
- shardsWorkload: import("../shardsWorkload/types").ShardsWorkloadFilters;
175
- authentication: import("../authentication/types").AuthenticationState;
176
- header: import("../header/types").HeaderState;
177
- queryActions: import("../queryActions/types").QueryActionsState;
178
- fullscreen: boolean;
179
- clusters: import("../clusters/types").ClustersFilters;
180
- }, (_state: RootState, database: string) => (state: import("@reduxjs/toolkit/query").RootState<{
181
- getHealthcheckInfo: import("@reduxjs/toolkit/query").QueryDefinition<{
182
- database: string;
183
- maxLevel?: number;
184
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">;
185
- }, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => import("@reduxjs/toolkit/query").QueryResultSelectorResult<import("@reduxjs/toolkit/query").QueryDefinition<{
186
- database: string;
187
- maxLevel?: number;
188
- }, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/healthcheck").HealthCheckAPIResponse | undefined, "api">>];
189
- recomputations: () => number;
190
- resetRecomputations: () => void;
191
- dependencyRecomputations: () => number;
192
- resetDependencyRecomputations: () => void;
193
- } & {
194
- argsMemoize: typeof import("reselect").weakMapMemoize;
195
- memoize: typeof import("reselect").weakMapMemoize;
196
- }];
197
- recomputations: () => number;
198
- resetRecomputations: () => void;
199
- dependencyRecomputations: () => number;
200
- resetDependencyRecomputations: () => void;
201
- } & {
202
- argsMemoize: typeof import("reselect").weakMapMemoize;
203
- memoize: typeof import("reselect").weakMapMemoize;
204
- };
205
10
  export declare const selectIssuesTrees: ((state: {
206
11
  api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
207
12
  singleClusterMode: boolean;
@@ -69,7 +69,7 @@ const getIssuesStatistics = (data) => {
69
69
  };
70
70
  const createGetHealthcheckInfoSelector = createSelector((database) => database, (database) => healthcheckApi.endpoints.getHealthcheckInfo.select({ database }));
71
71
  const getIssuesLog = createSelector((state) => state, (_state, database) => createGetHealthcheckInfoSelector(database), (state, selectGetPost) => { var _a; return ((_a = selectGetPost(state).data) === null || _a === void 0 ? void 0 : _a.issue_log) || []; });
72
- export const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => getRoots(issues));
72
+ const selectIssuesTreesRoots = createSelector(getIssuesLog, (issues = []) => getRoots(issues));
73
73
  export const selectIssuesTrees = createSelector([getIssuesLog, selectIssuesTreesRoots], (data = [], roots = []) => {
74
74
  return getInvertedConsequencesTree({ data, roots });
75
75
  });
@@ -1 +1 @@
1
- {"version":3,"file":"healthcheckInfo.js","sourceRoot":"","sources":["../../../../src/store/reducers/healthcheckInfo/healthcheckInfo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAI3B,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC,eAAe,CAAC;IAC9C,SAAS,EAAE,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;QACrB,kB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E,WAAC,OAAA,CAAA,MAAA,aAAa,CAAC,KAAK,CAAC,CAAC,IAAI,0CAAE,SAAS,KAAI,EAAE,CAAA,EAAA,CAClF,CAAC;AAEF,MAAM,sBAAsB,GAAG,cAAc,CAAC,YAAY,EAAE,CAAC,MAAM,GAAG,EAAE,EAAE,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;AAE/F,MAAM,CAAC,MAAM,iBAAiB,GAAG,cAAc,CAC3C,CAAC,YAAY,EAAE,sBAAsB,CAAC,EACtC,CAAC,IAAI,GAAG,EAAE,EAAE,KAAK,GAAG,EAAE,EAAE,EAAE;IACtB,OAAO,2BAA2B,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC,CAAC,CAAC;AACtD,CAAC,CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,YAAY,EAAE,CAAC,MAAM,GAAG,EAAE,EAAE,EAAE,CAC/E,mBAAmB,CAAC,MAAM,CAAC,CAC9B,CAAC"}
@@ -1,6 +1,5 @@
1
- import type { OrderType } from '@gravity-ui/react-data-table';
2
1
  import type { EFlag } from '../../../types/api/enums';
3
- import type { NodesGroupByField, NodesPeerRole, NodesSortValue, TEndpoint, TPoolStats } from '../../../types/api/nodes';
2
+ import type { NodesGroupByField, NodesPeerRole, TEndpoint, TPoolStats } from '../../../types/api/nodes';
4
3
  import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
5
4
  import type { NodesUptimeFilterValues, PreparedNodeSystemState } from '../../../utils/nodes';
6
5
  import type { ProblemFilterValue } from '../settings/types';
@@ -36,10 +35,6 @@ export interface NodesPreparedEntity extends PreparedNodeSystemState {
36
35
  PingTimeMinUs?: string;
37
36
  PingTimeMaxUs?: string;
38
37
  }
39
- export interface NodesSortParams {
40
- sortOrder: OrderType;
41
- sortValue: NodesSortValue;
42
- }
43
38
  export interface NodesFilters {
44
39
  searchValue: string;
45
40
  problemFilter: ProblemFilterValue;