ydb-embedded-ui 6.3.0 → 6.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +38 -16
- package/dist/assets/icons/disableFullscreen.svg +4 -0
- package/dist/assets/icons/emptyState.svg +13 -0
- package/dist/assets/icons/key.svg +6 -0
- package/dist/assets/icons/monitoring.svg +9 -0
- package/dist/assets/icons/network.svg +21 -0
- package/dist/components/BasicNodeViewer/BasicNodeViewer.js +11 -5
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +3 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +2 -0
- package/dist/components/EmptyState/EmptyState.js +3 -2
- package/dist/components/EnableFullscreenButton/EnableFullscreenButton.js +3 -3
- package/dist/components/Fullscreen/Fullscreen.js +3 -3
- package/dist/components/MonitoringButton/MonitoringButton.js +3 -3
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -3
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +4 -5
- package/dist/components/StatusIcon/StatusIcon.js +5 -7
- package/dist/containers/App/App.js +1 -2
- package/dist/containers/AsideNavigation/AsideNavigation.js +4 -9
- package/dist/containers/AsideNavigation/YdbInternalUser/YdbInternalUser.js +2 -3
- package/dist/containers/AsideNavigation/useNavigationMenuItems.js +5 -6
- package/dist/containers/Authentication/Authentication.js +2 -4
- package/dist/containers/Node/NodeStructure/Pdisk.js +4 -4
- package/dist/containers/Nodes/Nodes.js +19 -15
- package/dist/containers/Nodes/VirtualNodes.js +23 -6
- package/dist/containers/PDiskPage/PDiskPage.js +2 -2
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Storage.js +50 -22
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +2 -2
- package/dist/containers/Storage/VirtualStorage.js +32 -10
- package/dist/containers/Storage/utils/index.d.ts +4 -1
- package/dist/containers/Storage/utils/index.js +29 -0
- package/dist/containers/Tablet/Tablet.js +3 -3
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.d.ts +1 -2
- package/dist/containers/Tablets/Tablets.js +112 -53
- package/dist/containers/Tablets/i18n/en.json +9 -4
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.js +1 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +5 -5
- package/dist/containers/Tenant/Diagnostics/HotKeys/HotKeys.js +3 -2
- package/dist/containers/Tenant/Diagnostics/Network/Network.js +3 -3
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/HealthcheckPreview.js +2 -2
- package/dist/containers/Tenant/ObjectGeneral/ObjectGeneral.js +2 -8
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +3 -3
- package/dist/containers/Tenant/Query/ExplainResult/ExplainResult.js +1 -1
- package/dist/containers/Tenant/Query/Issues/Issues.js +6 -9
- package/dist/containers/Tenant/Query/Preview/Preview.js +3 -3
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +4 -4
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +3 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/helpers.js +3 -2
- package/dist/containers/Tenant/utils/ToggleButton.scss +0 -2
- package/dist/containers/Tenant/utils/paneVisibilityToggleHelpers.js +4 -4
- package/dist/containers/Tenant/utils/schemaControls.js +3 -3
- package/dist/containers/VDiskPage/VDiskPage.js +2 -2
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/services/settings.d.ts +18 -1
- package/dist/store/configureStore.d.ts +0 -8
- package/dist/store/defaultStore.d.ts +0 -4
- package/dist/store/reducers/authentication/authentication.d.ts +0 -6
- package/dist/store/reducers/executeQuery.d.ts +0 -2
- package/dist/store/reducers/explainQuery.d.ts +0 -4
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +0 -40
- package/dist/store/reducers/host.d.ts +0 -2
- package/dist/store/reducers/index.d.ts +0 -6
- package/dist/store/reducers/index.js +0 -4
- package/dist/store/reducers/node/selectors.d.ts +0 -2
- package/dist/store/reducers/nodes/nodes.d.ts +1 -5
- package/dist/store/reducers/nodes/nodes.js +0 -27
- package/dist/store/reducers/nodes/types.d.ts +4 -13
- package/dist/store/reducers/nodesList.d.ts +0 -2
- package/dist/store/reducers/schema/schema.d.ts +0 -2
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +0 -2
- package/dist/store/reducers/storage/selectors.d.ts +2 -17
- package/dist/store/reducers/storage/selectors.js +1 -36
- package/dist/store/reducers/storage/storage.d.ts +2 -6
- package/dist/store/reducers/storage/storage.js +0 -44
- package/dist/store/reducers/storage/types.d.ts +15 -22
- package/dist/store/reducers/storage/types.js +4 -1
- package/dist/store/reducers/tablets.d.ts +92 -1
- package/dist/store/reducers/tablets.js +16 -1
- package/dist/store/reducers/tabletsFilters.d.ts +0 -2
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenant/tenant.js +10 -1
- package/dist/store/reducers/tenant/types.d.ts +8 -3
- package/dist/store/reducers/tenant/types.js +3 -1
- package/dist/store/reducers/tenants/selectors.d.ts +0 -18
- package/dist/store/reducers/tenants/utils.d.ts +4 -4
- package/dist/store/reducers/tenants/utils.js +8 -8
- package/dist/store/reducers/topic.d.ts +0 -30
- package/dist/store/state-url-mapping.js +0 -22
- package/dist/utils/nodes.d.ts +2 -0
- package/dist/utils/nodes.js +4 -0
- package/dist/utils/tablet.d.ts +2 -0
- package/dist/utils/tablet.js +14 -0
- package/package.json +3 -2
- package/dist/assets/icons/bug.svg +0 -1
- package/dist/assets/icons/circle-exclamation.svg +0 -1
- package/dist/assets/icons/circle-info.svg +0 -1
- package/dist/assets/icons/circle-xmark.svg +0 -1
- package/dist/assets/icons/close.svg +0 -1
- package/dist/assets/icons/control-menu-button.svg +0 -1
- package/dist/assets/icons/dots.svg +0 -1
- package/dist/assets/icons/hide.svg +0 -1
- package/dist/assets/icons/question.svg +0 -1
- package/dist/assets/icons/server.svg +0 -1
- package/dist/assets/icons/settings-with-dot.svg +0 -1
- package/dist/assets/icons/settings.svg +0 -1
- package/dist/assets/icons/shield.svg +0 -3
- package/dist/assets/icons/show.svg +0 -1
- package/dist/assets/icons/signIn.svg +0 -1
- package/dist/assets/icons/signOut.svg +0 -1
- package/dist/assets/icons/storage.svg +0 -1
- package/dist/assets/icons/support.svg +0 -1
- package/dist/assets/icons/triangle-exclamation.svg +0 -1
- package/dist/assets/icons/update-arrow.svg +0 -6
- package/dist/components/Icon/Icon.d.ts +0 -14
- package/dist/components/Icon/Icon.js +0 -16
- package/dist/components/Icon/index.d.ts +0 -1
- package/dist/components/Icon/index.js +0 -1
- package/dist/containers/AppIcons/AppIcons.d.ts +0 -2
- package/dist/containers/AppIcons/AppIcons.js +0 -9
- package/dist/containers/Tablets/Tablets.scss +0 -35
- package/dist/containers/Tablets/i18n/ru.json +0 -6
@@ -1,6 +1,23 @@
|
|
1
1
|
export type SettingsObject = Record<string, unknown>;
|
2
2
|
/** User settings keys and their default values */
|
3
|
-
export declare const DEFAULT_USER_SETTINGS:
|
3
|
+
export declare const DEFAULT_USER_SETTINGS: {
|
4
|
+
readonly theme: "system";
|
5
|
+
readonly language: undefined;
|
6
|
+
readonly invertedDisks: false;
|
7
|
+
readonly useNodesEndpointInDiagnostics: false;
|
8
|
+
readonly queryUseMultiSchema: false;
|
9
|
+
readonly binaryDataInPlainTextDisplay: true;
|
10
|
+
readonly saved_queries: readonly [];
|
11
|
+
readonly saved_tenant_initial_tab: "query";
|
12
|
+
readonly query_initial_mode: "script";
|
13
|
+
readonly last_used_query_action: "execute";
|
14
|
+
readonly asideHeaderCompact: true;
|
15
|
+
readonly partitionsHiddenColumns: readonly [];
|
16
|
+
readonly useBackendParamsForTables: false;
|
17
|
+
readonly useClusterBalancerAsBacked: true;
|
18
|
+
readonly enableAutocomplete: false;
|
19
|
+
readonly autocompleteOnEnter: true;
|
20
|
+
};
|
4
21
|
declare class SettingsManager {
|
5
22
|
/**
|
6
23
|
* Returns parsed settings value.
|
@@ -8,10 +8,8 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
8
8
|
aRootReducer?: Reducer<{
|
9
9
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
10
10
|
singleClusterMode: boolean;
|
11
|
-
nodes: import("./reducers/nodes/types").NodesState;
|
12
11
|
cluster: import("./reducers/cluster/types").ClusterState;
|
13
12
|
tenant: import("./reducers/tenant/types").TenantState;
|
14
|
-
storage: import("./reducers/storage/types").StorageState;
|
15
13
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
16
14
|
tablets: import("../types/store/tablets").TabletsState;
|
17
15
|
schema: import("./reducers/schema/types").SchemaState;
|
@@ -71,10 +69,8 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
71
69
|
}, any, Partial<{
|
72
70
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api"> | undefined;
|
73
71
|
singleClusterMode: boolean | undefined;
|
74
|
-
nodes: import("./reducers/nodes/types").NodesState | undefined;
|
75
72
|
cluster: import("./reducers/cluster/types").ClusterState | undefined;
|
76
73
|
tenant: import("./reducers/tenant/types").TenantState | undefined;
|
77
|
-
storage: import("./reducers/storage/types").StorageState | undefined;
|
78
74
|
tooltip: never;
|
79
75
|
tablets: import("../types/store/tablets").TabletsState | undefined;
|
80
76
|
schema: never;
|
@@ -109,10 +105,8 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
109
105
|
store: import("@reduxjs/toolkit").EnhancedStore<{
|
110
106
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
111
107
|
singleClusterMode: boolean;
|
112
|
-
nodes: import("./reducers/nodes/types").NodesState;
|
113
108
|
cluster: import("./reducers/cluster/types").ClusterState;
|
114
109
|
tenant: import("./reducers/tenant/types").TenantState;
|
115
|
-
storage: import("./reducers/storage/types").StorageState;
|
116
110
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
117
111
|
tablets: import("../types/store/tablets").TabletsState;
|
118
112
|
schema: import("./reducers/schema/types").SchemaState;
|
@@ -173,10 +167,8 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
173
167
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
174
168
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
175
169
|
singleClusterMode: boolean;
|
176
|
-
nodes: import("./reducers/nodes/types").NodesState;
|
177
170
|
cluster: import("./reducers/cluster/types").ClusterState;
|
178
171
|
tenant: import("./reducers/tenant/types").TenantState;
|
179
|
-
storage: import("./reducers/storage/types").StorageState;
|
180
172
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
181
173
|
tablets: import("../types/store/tablets").TabletsState;
|
182
174
|
schema: import("./reducers/schema/types").SchemaState;
|
@@ -1,10 +1,8 @@
|
|
1
1
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
2
2
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
3
3
|
singleClusterMode: boolean;
|
4
|
-
nodes: import("./reducers/nodes/types").NodesState;
|
5
4
|
cluster: import("./reducers/cluster/types").ClusterState;
|
6
5
|
tenant: import("./reducers/tenant/types").TenantState;
|
7
|
-
storage: import("./reducers/storage/types").StorageState;
|
8
6
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
9
7
|
tablets: import("../types/store/tablets").TabletsState;
|
10
8
|
schema: import("./reducers/schema/types").SchemaState;
|
@@ -65,10 +63,8 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
65
63
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
66
64
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
67
65
|
singleClusterMode: boolean;
|
68
|
-
nodes: import("./reducers/nodes/types").NodesState;
|
69
66
|
cluster: import("./reducers/cluster/types").ClusterState;
|
70
67
|
tenant: import("./reducers/tenant/types").TenantState;
|
71
|
-
storage: import("./reducers/storage/types").StorageState;
|
72
68
|
tooltip: import("../types/store/tooltip").ITooltipState;
|
73
69
|
tablets: import("../types/store/tablets").TabletsState;
|
74
70
|
schema: import("./reducers/schema/types").SchemaState;
|
@@ -19,10 +19,8 @@ declare const authentication: Reducer<AuthenticationState, AuthenticationAction>
|
|
19
19
|
export declare const authenticate: (user: string, password: string) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
20
20
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
21
21
|
singleClusterMode: boolean;
|
22
|
-
nodes: import("../nodes/types").NodesState;
|
23
22
|
cluster: import("../cluster/types").ClusterState;
|
24
23
|
tenant: import("../tenant/types").TenantState;
|
25
|
-
storage: import("../storage/types").StorageState;
|
26
24
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
27
25
|
tablets: import("../../../types/store/tablets").TabletsState;
|
28
26
|
schema: import("../schema/types").SchemaState;
|
@@ -83,10 +81,8 @@ export declare const authenticate: (user: string, password: string) => (dispatch
|
|
83
81
|
export declare const logout: () => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
84
82
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
85
83
|
singleClusterMode: boolean;
|
86
|
-
nodes: import("../nodes/types").NodesState;
|
87
84
|
cluster: import("../cluster/types").ClusterState;
|
88
85
|
tenant: import("../tenant/types").TenantState;
|
89
|
-
storage: import("../storage/types").StorageState;
|
90
86
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
91
87
|
tablets: import("../../../types/store/tablets").TabletsState;
|
92
88
|
schema: import("../schema/types").SchemaState;
|
@@ -147,10 +143,8 @@ export declare const logout: () => (dispatch: import("redux").Dispatch<import("r
|
|
147
143
|
export declare const getUser: () => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
148
144
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
149
145
|
singleClusterMode: boolean;
|
150
|
-
nodes: import("../nodes/types").NodesState;
|
151
146
|
cluster: import("../cluster/types").ClusterState;
|
152
147
|
tenant: import("../tenant/types").TenantState;
|
153
|
-
storage: import("../storage/types").StorageState;
|
154
148
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
155
149
|
tablets: import("../../../types/store/tablets").TabletsState;
|
156
150
|
schema: import("../schema/types").SchemaState;
|
@@ -15,10 +15,8 @@ interface SendQueryParams extends QueryRequestParams {
|
|
15
15
|
export declare const sendExecuteQuery: ({ query, database, mode, schema }: SendQueryParams) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
16
16
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
17
17
|
singleClusterMode: boolean;
|
18
|
-
nodes: import("./nodes/types").NodesState;
|
19
18
|
cluster: import("./cluster/types").ClusterState;
|
20
19
|
tenant: import("./tenant/types").TenantState;
|
21
|
-
storage: import("./storage/types").StorageState;
|
22
20
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
23
21
|
tablets: import("../../types/store/tablets").TabletsState;
|
24
22
|
schema: import("./schema/types").SchemaState;
|
@@ -15,10 +15,8 @@ declare const explainQuery: Reducer<ExplainQueryState, ExplainQueryAction>;
|
|
15
15
|
export declare const getExplainQueryAst: ({ query, database }: QueryRequestParams) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
16
16
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
17
17
|
singleClusterMode: boolean;
|
18
|
-
nodes: import("./nodes/types").NodesState;
|
19
18
|
cluster: import("./cluster/types").ClusterState;
|
20
19
|
tenant: import("./tenant/types").TenantState;
|
21
|
-
storage: import("./storage/types").StorageState;
|
22
20
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
23
21
|
tablets: import("../../types/store/tablets").TabletsState;
|
24
22
|
schema: import("./schema/types").SchemaState;
|
@@ -85,10 +83,8 @@ interface ExplainQueryParams extends QueryRequestParams {
|
|
85
83
|
export declare const getExplainQuery: ({ query, database, mode }: ExplainQueryParams) => (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
86
84
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
87
85
|
singleClusterMode: boolean;
|
88
|
-
nodes: import("./nodes/types").NodesState;
|
89
86
|
cluster: import("./cluster/types").ClusterState;
|
90
87
|
tenant: import("./tenant/types").TenantState;
|
91
|
-
storage: import("./storage/types").StorageState;
|
92
88
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
93
89
|
tablets: import("../../types/store/tablets").TabletsState;
|
94
90
|
schema: import("./schema/types").SchemaState;
|
@@ -7,10 +7,8 @@ export declare const healthcheckApi: import("@reduxjs/toolkit/query").Api<import
|
|
7
7
|
export declare const selectIssuesTreesRoots: ((state: {
|
8
8
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
9
9
|
singleClusterMode: boolean;
|
10
|
-
nodes: import("../nodes/types").NodesState;
|
11
10
|
cluster: import("../cluster/types").ClusterState;
|
12
11
|
tenant: import("../tenant/types").TenantState;
|
13
|
-
storage: import("../storage/types").StorageState;
|
14
12
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
15
13
|
tablets: import("../../../types/store/tablets").TabletsState;
|
16
14
|
schema: import("../schema/types").SchemaState;
|
@@ -82,10 +80,8 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
82
80
|
dependencies: [((state: {
|
83
81
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
84
82
|
singleClusterMode: boolean;
|
85
|
-
nodes: import("../nodes/types").NodesState;
|
86
83
|
cluster: import("../cluster/types").ClusterState;
|
87
84
|
tenant: import("../tenant/types").TenantState;
|
88
|
-
storage: import("../storage/types").StorageState;
|
89
85
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
90
86
|
tablets: import("../../../types/store/tablets").TabletsState;
|
91
87
|
schema: import("../schema/types").SchemaState;
|
@@ -150,10 +146,8 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
150
146
|
resultFunc: (resultFuncArgs_0: {
|
151
147
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
152
148
|
singleClusterMode: boolean;
|
153
|
-
nodes: import("../nodes/types").NodesState;
|
154
149
|
cluster: import("../cluster/types").ClusterState;
|
155
150
|
tenant: import("../tenant/types").TenantState;
|
156
|
-
storage: import("../storage/types").StorageState;
|
157
151
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
158
152
|
tablets: import("../../../types/store/tablets").TabletsState;
|
159
153
|
schema: import("../schema/types").SchemaState;
|
@@ -276,10 +270,8 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
276
270
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
277
271
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
278
272
|
singleClusterMode: boolean;
|
279
|
-
nodes: import("../nodes/types").NodesState;
|
280
273
|
cluster: import("../cluster/types").ClusterState;
|
281
274
|
tenant: import("../tenant/types").TenantState;
|
282
|
-
storage: import("../storage/types").StorageState;
|
283
275
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
284
276
|
tablets: import("../../../types/store/tablets").TabletsState;
|
285
277
|
schema: import("../schema/types").SchemaState;
|
@@ -407,10 +399,8 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
407
399
|
dependencies: [(state: RootState) => {
|
408
400
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
409
401
|
singleClusterMode: boolean;
|
410
|
-
nodes: import("../nodes/types").NodesState;
|
411
402
|
cluster: import("../cluster/types").ClusterState;
|
412
403
|
tenant: import("../tenant/types").TenantState;
|
413
|
-
storage: import("../storage/types").StorageState;
|
414
404
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
415
405
|
tablets: import("../../../types/store/tablets").TabletsState;
|
416
406
|
schema: import("../schema/types").SchemaState;
|
@@ -549,10 +539,8 @@ export declare const selectIssuesTreesRoots: ((state: {
|
|
549
539
|
export declare const selectIssuesTrees: ((state: {
|
550
540
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
551
541
|
singleClusterMode: boolean;
|
552
|
-
nodes: import("../nodes/types").NodesState;
|
553
542
|
cluster: import("../cluster/types").ClusterState;
|
554
543
|
tenant: import("../tenant/types").TenantState;
|
555
|
-
storage: import("../storage/types").StorageState;
|
556
544
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
557
545
|
tablets: import("../../../types/store/tablets").TabletsState;
|
558
546
|
schema: import("../schema/types").SchemaState;
|
@@ -624,10 +612,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
624
612
|
dependencies: [((state: {
|
625
613
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
626
614
|
singleClusterMode: boolean;
|
627
|
-
nodes: import("../nodes/types").NodesState;
|
628
615
|
cluster: import("../cluster/types").ClusterState;
|
629
616
|
tenant: import("../tenant/types").TenantState;
|
630
|
-
storage: import("../storage/types").StorageState;
|
631
617
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
632
618
|
tablets: import("../../../types/store/tablets").TabletsState;
|
633
619
|
schema: import("../schema/types").SchemaState;
|
@@ -692,10 +678,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
692
678
|
resultFunc: (resultFuncArgs_0: {
|
693
679
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
694
680
|
singleClusterMode: boolean;
|
695
|
-
nodes: import("../nodes/types").NodesState;
|
696
681
|
cluster: import("../cluster/types").ClusterState;
|
697
682
|
tenant: import("../tenant/types").TenantState;
|
698
|
-
storage: import("../storage/types").StorageState;
|
699
683
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
700
684
|
tablets: import("../../../types/store/tablets").TabletsState;
|
701
685
|
schema: import("../schema/types").SchemaState;
|
@@ -818,10 +802,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
818
802
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
819
803
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
820
804
|
singleClusterMode: boolean;
|
821
|
-
nodes: import("../nodes/types").NodesState;
|
822
805
|
cluster: import("../cluster/types").ClusterState;
|
823
806
|
tenant: import("../tenant/types").TenantState;
|
824
|
-
storage: import("../storage/types").StorageState;
|
825
807
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
826
808
|
tablets: import("../../../types/store/tablets").TabletsState;
|
827
809
|
schema: import("../schema/types").SchemaState;
|
@@ -949,10 +931,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
949
931
|
dependencies: [(state: RootState) => {
|
950
932
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
951
933
|
singleClusterMode: boolean;
|
952
|
-
nodes: import("../nodes/types").NodesState;
|
953
934
|
cluster: import("../cluster/types").ClusterState;
|
954
935
|
tenant: import("../tenant/types").TenantState;
|
955
|
-
storage: import("../storage/types").StorageState;
|
956
936
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
957
937
|
tablets: import("../../../types/store/tablets").TabletsState;
|
958
938
|
schema: import("../schema/types").SchemaState;
|
@@ -1082,10 +1062,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1082
1062
|
}, ((state: {
|
1083
1063
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1084
1064
|
singleClusterMode: boolean;
|
1085
|
-
nodes: import("../nodes/types").NodesState;
|
1086
1065
|
cluster: import("../cluster/types").ClusterState;
|
1087
1066
|
tenant: import("../tenant/types").TenantState;
|
1088
|
-
storage: import("../storage/types").StorageState;
|
1089
1067
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1090
1068
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1091
1069
|
schema: import("../schema/types").SchemaState;
|
@@ -1157,10 +1135,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1157
1135
|
dependencies: [((state: {
|
1158
1136
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1159
1137
|
singleClusterMode: boolean;
|
1160
|
-
nodes: import("../nodes/types").NodesState;
|
1161
1138
|
cluster: import("../cluster/types").ClusterState;
|
1162
1139
|
tenant: import("../tenant/types").TenantState;
|
1163
|
-
storage: import("../storage/types").StorageState;
|
1164
1140
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1165
1141
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1166
1142
|
schema: import("../schema/types").SchemaState;
|
@@ -1225,10 +1201,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1225
1201
|
resultFunc: (resultFuncArgs_0: {
|
1226
1202
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1227
1203
|
singleClusterMode: boolean;
|
1228
|
-
nodes: import("../nodes/types").NodesState;
|
1229
1204
|
cluster: import("../cluster/types").ClusterState;
|
1230
1205
|
tenant: import("../tenant/types").TenantState;
|
1231
|
-
storage: import("../storage/types").StorageState;
|
1232
1206
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1233
1207
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1234
1208
|
schema: import("../schema/types").SchemaState;
|
@@ -1351,10 +1325,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1351
1325
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
1352
1326
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1353
1327
|
singleClusterMode: boolean;
|
1354
|
-
nodes: import("../nodes/types").NodesState;
|
1355
1328
|
cluster: import("../cluster/types").ClusterState;
|
1356
1329
|
tenant: import("../tenant/types").TenantState;
|
1357
|
-
storage: import("../storage/types").StorageState;
|
1358
1330
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1359
1331
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1360
1332
|
schema: import("../schema/types").SchemaState;
|
@@ -1482,10 +1454,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1482
1454
|
dependencies: [(state: RootState) => {
|
1483
1455
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1484
1456
|
singleClusterMode: boolean;
|
1485
|
-
nodes: import("../nodes/types").NodesState;
|
1486
1457
|
cluster: import("../cluster/types").ClusterState;
|
1487
1458
|
tenant: import("../tenant/types").TenantState;
|
1488
|
-
storage: import("../storage/types").StorageState;
|
1489
1459
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1490
1460
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1491
1461
|
schema: import("../schema/types").SchemaState;
|
@@ -1632,10 +1602,8 @@ export declare const selectIssuesTrees: ((state: {
|
|
1632
1602
|
export declare const selectIssuesStatistics: ((state: {
|
1633
1603
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1634
1604
|
singleClusterMode: boolean;
|
1635
|
-
nodes: import("../nodes/types").NodesState;
|
1636
1605
|
cluster: import("../cluster/types").ClusterState;
|
1637
1606
|
tenant: import("../tenant/types").TenantState;
|
1638
|
-
storage: import("../storage/types").StorageState;
|
1639
1607
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1640
1608
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1641
1609
|
schema: import("../schema/types").SchemaState;
|
@@ -1707,10 +1675,8 @@ export declare const selectIssuesStatistics: ((state: {
|
|
1707
1675
|
dependencies: [((state: {
|
1708
1676
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1709
1677
|
singleClusterMode: boolean;
|
1710
|
-
nodes: import("../nodes/types").NodesState;
|
1711
1678
|
cluster: import("../cluster/types").ClusterState;
|
1712
1679
|
tenant: import("../tenant/types").TenantState;
|
1713
|
-
storage: import("../storage/types").StorageState;
|
1714
1680
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1715
1681
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1716
1682
|
schema: import("../schema/types").SchemaState;
|
@@ -1775,10 +1741,8 @@ export declare const selectIssuesStatistics: ((state: {
|
|
1775
1741
|
resultFunc: (resultFuncArgs_0: {
|
1776
1742
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1777
1743
|
singleClusterMode: boolean;
|
1778
|
-
nodes: import("../nodes/types").NodesState;
|
1779
1744
|
cluster: import("../cluster/types").ClusterState;
|
1780
1745
|
tenant: import("../tenant/types").TenantState;
|
1781
|
-
storage: import("../storage/types").StorageState;
|
1782
1746
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1783
1747
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1784
1748
|
schema: import("../schema/types").SchemaState;
|
@@ -1901,10 +1865,8 @@ export declare const selectIssuesStatistics: ((state: {
|
|
1901
1865
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
1902
1866
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
1903
1867
|
singleClusterMode: boolean;
|
1904
|
-
nodes: import("../nodes/types").NodesState;
|
1905
1868
|
cluster: import("../cluster/types").ClusterState;
|
1906
1869
|
tenant: import("../tenant/types").TenantState;
|
1907
|
-
storage: import("../storage/types").StorageState;
|
1908
1870
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
1909
1871
|
tablets: import("../../../types/store/tablets").TabletsState;
|
1910
1872
|
schema: import("../schema/types").SchemaState;
|
@@ -2032,10 +1994,8 @@ export declare const selectIssuesStatistics: ((state: {
|
|
2032
1994
|
dependencies: [(state: RootState) => {
|
2033
1995
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
2034
1996
|
singleClusterMode: boolean;
|
2035
|
-
nodes: import("../nodes/types").NodesState;
|
2036
1997
|
cluster: import("../cluster/types").ClusterState;
|
2037
1998
|
tenant: import("../tenant/types").TenantState;
|
2038
|
-
storage: import("../storage/types").StorageState;
|
2039
1999
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
2040
2000
|
tablets: import("../../../types/store/tablets").TabletsState;
|
2041
2001
|
schema: import("../schema/types").SchemaState;
|
@@ -9,10 +9,8 @@ declare const host: Reducer<IHostState, IHostAction>;
|
|
9
9
|
export declare function getHostInfo(): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
10
10
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
11
11
|
singleClusterMode: boolean;
|
12
|
-
nodes: import("./nodes/types").NodesState;
|
13
12
|
cluster: import("./cluster/types").ClusterState;
|
14
13
|
tenant: import("./tenant/types").TenantState;
|
15
|
-
storage: import("./storage/types").StorageState;
|
16
14
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
17
15
|
tablets: import("../../types/store/tablets").TabletsState;
|
18
16
|
schema: import("./schema/types").SchemaState;
|
@@ -2,10 +2,8 @@ import singleClusterMode from './singleClusterMode';
|
|
2
2
|
export declare const rootReducer: {
|
3
3
|
api: import("redux").Reducer<import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">, import("redux").UnknownAction>;
|
4
4
|
singleClusterMode: typeof singleClusterMode;
|
5
|
-
nodes: import("redux").Reducer<import("./nodes/types").NodesState>;
|
6
5
|
cluster: import("redux").Reducer<import("./cluster/types").ClusterState>;
|
7
6
|
tenant: import("redux").Reducer<import("./tenant/types").TenantState>;
|
8
|
-
storage: import("redux").Reducer<import("./storage/types").StorageState>;
|
9
7
|
tooltip: import("redux").Reducer<import("../../types/store/tooltip").ITooltipState, import("../../types/store/tooltip").ITooltipAction>;
|
10
8
|
tablets: import("redux").Reducer<import("../../types/store/tablets").TabletsState>;
|
11
9
|
schema: import("redux").Reducer<import("./schema/types").SchemaState, import("./schema/types").SchemaAction>;
|
@@ -85,10 +83,8 @@ export declare const rootReducer: {
|
|
85
83
|
declare const combinedReducer: import("redux").Reducer<{
|
86
84
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
87
85
|
singleClusterMode: boolean;
|
88
|
-
nodes: import("./nodes/types").NodesState;
|
89
86
|
cluster: import("./cluster/types").ClusterState;
|
90
87
|
tenant: import("./tenant/types").TenantState;
|
91
|
-
storage: import("./storage/types").StorageState;
|
92
88
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
93
89
|
tablets: import("../../types/store/tablets").TabletsState;
|
94
90
|
schema: import("./schema/types").SchemaState;
|
@@ -148,10 +144,8 @@ declare const combinedReducer: import("redux").Reducer<{
|
|
148
144
|
}, any, Partial<{
|
149
145
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api"> | undefined;
|
150
146
|
singleClusterMode: boolean | undefined;
|
151
|
-
nodes: import("./nodes/types").NodesState | undefined;
|
152
147
|
cluster: import("./cluster/types").ClusterState | undefined;
|
153
148
|
tenant: import("./tenant/types").TenantState | undefined;
|
154
|
-
storage: import("./storage/types").StorageState | undefined;
|
155
149
|
tooltip: never;
|
156
150
|
tablets: import("../../types/store/tablets").TabletsState | undefined;
|
157
151
|
schema: never;
|
@@ -11,7 +11,6 @@ import header from './header/header';
|
|
11
11
|
import heatmap from './heatmap';
|
12
12
|
import host from './host';
|
13
13
|
import hotKeys from './hotKeys/hotKeys';
|
14
|
-
import nodes from './nodes/nodes';
|
15
14
|
import partitions from './partitions/partitions';
|
16
15
|
import saveQuery from './saveQuery';
|
17
16
|
import schema from './schema/schema';
|
@@ -19,7 +18,6 @@ import schemaAcl from './schemaAcl/schemaAcl';
|
|
19
18
|
import settings from './settings/settings';
|
20
19
|
import shardsWorkload from './shardsWorkload/shardsWorkload';
|
21
20
|
import singleClusterMode from './singleClusterMode';
|
22
|
-
import storage from './storage/storage';
|
23
21
|
import tablets from './tablets';
|
24
22
|
import tabletsFilters from './tabletsFilters';
|
25
23
|
import tenant from './tenant/tenant';
|
@@ -28,10 +26,8 @@ import tooltip from './tooltip';
|
|
28
26
|
export const rootReducer = {
|
29
27
|
[api.reducerPath]: api.reducer,
|
30
28
|
singleClusterMode,
|
31
|
-
nodes,
|
32
29
|
cluster,
|
33
30
|
tenant,
|
34
|
-
storage,
|
35
31
|
tooltip,
|
36
32
|
tablets,
|
37
33
|
schema,
|
@@ -3,10 +3,8 @@ import type { PreparedNodeStructure } from './types';
|
|
3
3
|
export declare const selectNodeStructure: ((state: {
|
4
4
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
5
5
|
singleClusterMode: boolean;
|
6
|
-
nodes: import("../nodes/types").NodesState;
|
7
6
|
cluster: import("../cluster/types").ClusterState;
|
8
7
|
tenant: import("../tenant/types").TenantState;
|
9
|
-
storage: import("../storage/types").StorageState;
|
10
8
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
11
9
|
tablets: import("../../../types/store/tablets").TabletsState;
|
12
10
|
schema: import("../schema/types").SchemaState;
|
@@ -1,8 +1,4 @@
|
|
1
|
-
import {
|
2
|
-
import type { ComputeApiRequestParams, NodesApiRequestParams, NodesSortParams, NodesState } from './types';
|
3
|
-
declare const _default: import("redux").Reducer<NodesState>;
|
4
|
-
export default _default;
|
5
|
-
export declare const setUptimeFilter: import("@reduxjs/toolkit").ActionCreatorWithPayload<NodesUptimeFilterValues, "nodes/setUptimeFilter">, setSearchValue: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "nodes/setSearchValue">, setSort: import("@reduxjs/toolkit").ActionCreatorWithPayload<NodesSortParams, "nodes/setSort">, setInitialState: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"nodes/setInitialState">;
|
1
|
+
import type { ComputeApiRequestParams, NodesApiRequestParams } from './types';
|
6
2
|
export declare const nodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
7
3
|
getNodes: import("@reduxjs/toolkit/query").QueryDefinition<NodesApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("./types").NodesHandledResponse | undefined, "api">;
|
8
4
|
getComputeNodes: import("@reduxjs/toolkit/query").QueryDefinition<ComputeApiRequestParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All", import("./types").NodesHandledResponse | undefined, "api">;
|
@@ -1,33 +1,6 @@
|
|
1
|
-
import { createSlice } from '@reduxjs/toolkit';
|
2
1
|
import { EVersion } from '../../../types/api/compute';
|
3
|
-
import { NodesUptimeFilterValues } from '../../../utils/nodes';
|
4
2
|
import { api } from '../api';
|
5
3
|
import { prepareComputeNodesData, prepareNodesData } from './utils';
|
6
|
-
const initialState = {
|
7
|
-
uptimeFilter: NodesUptimeFilterValues.All,
|
8
|
-
searchValue: '',
|
9
|
-
};
|
10
|
-
const slice = createSlice({
|
11
|
-
name: 'nodes',
|
12
|
-
initialState,
|
13
|
-
reducers: {
|
14
|
-
setUptimeFilter: (state, action) => {
|
15
|
-
state.uptimeFilter = action.payload;
|
16
|
-
},
|
17
|
-
setSearchValue: (state, action) => {
|
18
|
-
state.searchValue = action.payload;
|
19
|
-
},
|
20
|
-
setSort: (state, action) => {
|
21
|
-
state.sortValue = action.payload.sortValue;
|
22
|
-
state.sortOrder = action.payload.sortOrder;
|
23
|
-
},
|
24
|
-
setInitialState: () => {
|
25
|
-
return initialState;
|
26
|
-
},
|
27
|
-
},
|
28
|
-
});
|
29
|
-
export default slice.reducer;
|
30
|
-
export const { setUptimeFilter, setSearchValue, setSort, setInitialState } = slice.actions;
|
31
4
|
export const nodesApi = api.injectEndpoints({
|
32
5
|
endpoints: (builder) => ({
|
33
6
|
getNodes: builder.query({
|
@@ -3,7 +3,7 @@ import type { EVersion, TTabletStateInfo as TComputeTabletStateInfo } from '../.
|
|
3
3
|
import type { EFlag } from '../../../types/api/enums';
|
4
4
|
import type { TEndpoint, TPoolStats } from '../../../types/api/nodes';
|
5
5
|
import type { TTabletStateInfo as TFullTabletStateInfo } from '../../../types/api/tablet';
|
6
|
-
import type { NodesSortValue
|
6
|
+
import type { NodesSortValue } from '../../../utils/nodes';
|
7
7
|
import type { VisibleEntities } from '../storage/types';
|
8
8
|
export interface NodesPreparedEntity {
|
9
9
|
NodeId: number;
|
@@ -27,18 +27,12 @@ export interface NodesPreparedEntity {
|
|
27
27
|
Endpoints?: TEndpoint[];
|
28
28
|
TotalSessions?: number;
|
29
29
|
}
|
30
|
-
export interface NodesState {
|
31
|
-
uptimeFilter: NodesUptimeFilterValues;
|
32
|
-
searchValue: string;
|
33
|
-
sortValue?: NodesSortValue;
|
34
|
-
sortOrder?: OrderType;
|
35
|
-
}
|
36
30
|
export type NodeType = 'static' | 'dynamic' | 'any';
|
37
31
|
export interface NodesSortParams {
|
38
|
-
sortOrder
|
39
|
-
sortValue
|
32
|
+
sortOrder: OrderType | undefined;
|
33
|
+
sortValue: NodesSortValue | undefined;
|
40
34
|
}
|
41
|
-
export interface NodesGeneralRequestParams extends NodesSortParams {
|
35
|
+
export interface NodesGeneralRequestParams extends Partial<NodesSortParams> {
|
42
36
|
filter?: string;
|
43
37
|
uptime?: number;
|
44
38
|
problems_only?: boolean;
|
@@ -63,6 +57,3 @@ export interface NodesHandledResponse {
|
|
63
57
|
TotalNodes: number;
|
64
58
|
FoundNodes?: number;
|
65
59
|
}
|
66
|
-
export interface NodesStateSlice {
|
67
|
-
nodes: NodesState;
|
68
|
-
}
|
@@ -5,10 +5,8 @@ export declare const nodesListApi: import("@reduxjs/toolkit/query").Api<import("
|
|
5
5
|
export declare const selectNodesMap: ((state: {
|
6
6
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
7
7
|
singleClusterMode: boolean;
|
8
|
-
nodes: import("./nodes/types").NodesState;
|
9
8
|
cluster: import("./cluster/types").ClusterState;
|
10
9
|
tenant: import("./tenant/types").TenantState;
|
11
|
-
storage: import("./storage/types").StorageState;
|
12
10
|
tooltip: import("../../types/store/tooltip").ITooltipState;
|
13
11
|
tablets: import("../../types/store/tablets").TabletsState;
|
14
12
|
schema: import("./schema/types").SchemaState;
|
@@ -21,10 +21,8 @@ export declare function getSchema({ path }: {
|
|
21
21
|
}): (dispatch: Dispatch<import("redux").UnknownAction>, getState: () => {
|
22
22
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
23
23
|
singleClusterMode: boolean;
|
24
|
-
nodes: import("../nodes/types").NodesState;
|
25
24
|
cluster: import("../cluster/types").ClusterState;
|
26
25
|
tenant: import("../tenant/types").TenantState;
|
27
|
-
storage: import("../storage/types").StorageState;
|
28
26
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
29
27
|
tablets: import("../../../types/store/tablets").TabletsState;
|
30
28
|
schema: SchemaState;
|
@@ -11,10 +11,8 @@ export declare function getSchemaAcl({ path }: {
|
|
11
11
|
}): (dispatch: import("redux").Dispatch<import("redux").UnknownAction>, getState: () => {
|
12
12
|
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All", "api">;
|
13
13
|
singleClusterMode: boolean;
|
14
|
-
nodes: import("../nodes/types").NodesState;
|
15
14
|
cluster: import("../cluster/types").ClusterState;
|
16
15
|
tenant: import("../tenant/types").TenantState;
|
17
|
-
storage: import("../storage/types").StorageState;
|
18
16
|
tooltip: import("../../../types/store/tooltip").ITooltipState;
|
19
17
|
tablets: import("../../../types/store/tablets").TabletsState;
|
20
18
|
schema: import("../schema/types").SchemaState;
|
@@ -1,20 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import type {
|
3
|
-
import type { StorageSortValue } from '../../../utils/storage';
|
4
|
-
import type { PreparedStorageGroup, PreparedStorageNode, StorageStateSlice, UsageFilter } from './types';
|
1
|
+
import type { NodesUptimeFilterValues } from '../../../utils/nodes';
|
2
|
+
import type { PreparedStorageGroup, PreparedStorageNode, UsageFilter } from './types';
|
5
3
|
export declare function filterNodes(storageNodes: PreparedStorageNode[], textFilter: string, uptimeFilter: NodesUptimeFilterValues): PreparedStorageNode[];
|
6
4
|
export declare function filterGroups(storageGroups: PreparedStorageGroup[], textFilter: string, usageFilter: string[]): PreparedStorageGroup[];
|
7
|
-
export declare const selectStorageFilter: (state: StorageStateSlice) => string;
|
8
|
-
export declare const selectUsageFilter: (state: StorageStateSlice) => string[];
|
9
|
-
export declare const selectVisibleEntities: (state: StorageStateSlice) => import("./types").VisibleEntities;
|
10
|
-
export declare const selectNodesUptimeFilter: (state: StorageStateSlice) => NodesUptimeFilterValues;
|
11
|
-
export declare const selectStorageType: (state: StorageStateSlice) => import("./types").StorageType;
|
12
|
-
export declare const selectNodesSortParams: (state: StorageStateSlice) => {
|
13
|
-
sortValue: NodesSortValue;
|
14
|
-
sortOrder: OrderType;
|
15
|
-
};
|
16
|
-
export declare const selectGroupsSortParams: (state: StorageStateSlice) => {
|
17
|
-
sortValue: StorageSortValue;
|
18
|
-
sortOrder: OrderType;
|
19
|
-
};
|
20
5
|
export declare function getUsageFilterOptions(groups: PreparedStorageGroup[]): UsageFilter[];
|