ydb-embedded-ui 6.14.1 → 6.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +1 -1
- package/dist/components/Errors/PageError/PageError.js +4 -1
- package/dist/components/Errors/PageError/PageError.js.map +1 -1
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js +1 -1
- package/dist/components/QueryExecutionStatus/QueryExecutionStatus.js.map +1 -1
- package/dist/components/VDiskInfo/VDiskInfo.js +24 -11
- package/dist/components/VDiskInfo/VDiskInfo.js.map +1 -1
- package/dist/containers/App/Content.js +17 -4
- package/dist/containers/App/Content.js.map +1 -1
- package/dist/containers/Nodes/getNodes.d.ts +1 -1
- package/dist/containers/Nodes/getNodes.js +2 -2
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Tenant/Acl/Acl.js +28 -4
- package/dist/containers/Tenant/Acl/Acl.js.map +1 -1
- package/dist/containers/Tenant/Acl/Acl.scss +5 -0
- package/dist/containers/Tenant/Acl/i18n/en.json +1 -0
- package/dist/containers/Tenant/Acl/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +8 -11
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/Query/Preview/Preview.js +5 -1
- package/dist/containers/Tenant/Query/Preview/Preview.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +9 -3
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.scss +14 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +12 -6
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.scss +14 -1
- package/dist/containers/Tenant/Query/i18n/en.json +2 -0
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js +6 -2
- package/dist/containers/Tenant/Query/utils/useSavedQueries.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js +2 -2
- package/dist/containers/Tenant/Schema/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +3 -2
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/controls.d.ts +9 -0
- package/dist/containers/Tenant/utils/{schemaControls.js → controls.js} +14 -3
- package/dist/containers/Tenant/utils/controls.js.map +1 -0
- package/dist/services/api.js +4 -4
- package/dist/services/api.js.map +1 -1
- package/dist/store/configureStore.d.ts +4 -4
- package/dist/store/defaultStore.d.ts +2 -2
- package/dist/store/reducers/api.d.ts +1 -1
- package/dist/store/reducers/api.js +1 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/authentication/authentication.js +2 -1
- package/dist/store/reducers/authentication/authentication.js.map +1 -1
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/capabilities/capabilities.d.ts +6 -6
- package/dist/store/reducers/cluster/cluster.d.ts +2 -2
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +2 -2
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/describe.d.ts +2 -2
- package/dist/store/reducers/executeQuery.d.ts +9 -2
- package/dist/store/reducers/executeQuery.js +24 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +2 -2
- package/dist/store/reducers/explainQuery/explainQuery.d.ts +2 -2
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +58 -58
- package/dist/store/reducers/heatmap.d.ts +2 -2
- package/dist/store/reducers/hotKeys/hotKeys.d.ts +2 -2
- package/dist/store/reducers/index.d.ts +3 -3
- package/dist/store/reducers/network/network.d.ts +2 -2
- package/dist/store/reducers/node/node.d.ts +3 -3
- package/dist/store/reducers/node/selectors.d.ts +1 -1
- package/dist/store/reducers/nodes/nodes.d.ts +3 -3
- package/dist/store/reducers/nodes/nodes.js +1 -0
- package/dist/store/reducers/nodes/nodes.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +3 -3
- package/dist/store/reducers/overview/overview.d.ts +2 -2
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +3 -3
- package/dist/store/reducers/preview.d.ts +2 -2
- package/dist/store/reducers/preview.js +1 -1
- package/dist/store/reducers/preview.js.map +1 -1
- package/dist/store/reducers/queryActions/queryActions.d.ts +14 -1
- package/dist/store/reducers/queryActions/queryActions.js +7 -2
- package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
- package/dist/store/reducers/queryActions/types.d.ts +1 -0
- package/dist/store/reducers/schema/schema.d.ts +3 -3
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +3 -2
- package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -0
- package/dist/store/reducers/schemaAcl/schemaAcl.js.map +1 -1
- package/dist/store/reducers/shardsWorkload/shardsWorkload.d.ts +2 -2
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/storage/storage.js +1 -1
- package/dist/store/reducers/storage/storage.js.map +1 -1
- package/dist/store/reducers/tablet.d.ts +3 -3
- package/dist/store/reducers/tablets.d.ts +13 -13
- package/dist/store/reducers/tabletsFilters.d.ts +1 -1
- package/dist/store/reducers/tenant/tenant.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topNodes/topNodes.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topStorageGroups/topStorageGroups.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +27 -27
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +44 -44
- package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/types/api/acl.d.ts +1 -0
- package/dist/types/store/executeQuery.d.ts +3 -2
- package/dist/utils/response.d.ts +6 -1
- package/dist/utils/response.js +3 -0
- package/dist/utils/response.js.map +1 -1
- package/package.json +1 -1
- package/dist/containers/Tenant/utils/schemaControls.d.ts +0 -6
- package/dist/containers/Tenant/utils/schemaControls.js.map +0 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
2
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
2
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
3
3
|
singleClusterMode: boolean;
|
4
4
|
cluster: import("./reducers/cluster/types").ClusterState;
|
5
5
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -31,7 +31,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
31
31
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
32
32
|
} | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
33
33
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
34
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
34
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
35
35
|
singleClusterMode: boolean;
|
36
36
|
cluster: import("./reducers/cluster/types").ClusterState;
|
37
37
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { BaseQueryFn } from '@reduxjs/toolkit/query';
|
2
|
-
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
2
|
+
export declare const api: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof _NEVER, unknown, {}>, {}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
3
|
export declare const _NEVER: unique symbol;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/store/reducers/api.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AAEvD,MAAM,CAAC,MAAM,GAAG,GAAG,SAAS,CAAC;IACzB,SAAS,EAAE,aAAa,EAAE;IAC1B;;;OAGG;IACH,SAAS,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC;IACrB,oBAAoB,EAAE,aAAa;IACnC,QAAQ,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,aAAa,CAAC;CAC5D,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,EAAE,CAAC;AAG/B;;;;;GAKG;AACH,SAAS,aAAa;IAClB,OAAO;QACH,MAAM,IAAI,KAAK,CACX,+FAA+F,CAClG,CAAC;IACN,CAAC,CAAC;AACN,CAAC"}
|
@@ -29,10 +29,10 @@ export declare const selectIsUserAllowedToMakeChanges: import("reselect").Select
|
|
29
29
|
unwrapped: (state: AuthenticationState) => string | undefined;
|
30
30
|
};
|
31
31
|
export declare const authenticationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
32
|
-
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", TUserToken | undefined, "api">;
|
32
|
+
whoami: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", TUserToken | undefined, "api">;
|
33
33
|
authenticate: import("@reduxjs/toolkit/query").MutationDefinition<{
|
34
34
|
user: string;
|
35
35
|
password: string;
|
36
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", any, "api">;
|
37
|
-
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", any, "api">;
|
38
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
36
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
|
37
|
+
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", any, "api">;
|
38
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -38,13 +38,14 @@ export const authenticationApi = api.injectEndpoints({
|
|
38
38
|
endpoints: (build) => ({
|
39
39
|
whoami: build.query({
|
40
40
|
queryFn: async (_, { dispatch }) => {
|
41
|
+
var _a;
|
41
42
|
try {
|
42
43
|
const data = await window.api.whoami();
|
43
44
|
dispatch(setUser(data));
|
44
45
|
return { data };
|
45
46
|
}
|
46
47
|
catch (error) {
|
47
|
-
if (isAxiosResponse(error) && error.status === 401) {
|
48
|
+
if (isAxiosResponse(error) && error.status === 401 && !((_a = error.data) === null || _a === void 0 ? void 0 : _a.authUrl)) {
|
48
49
|
dispatch(setIsAuthenticated(false));
|
49
50
|
}
|
50
51
|
return { error };
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../../../../src/store/reducers/authentication/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAI3B,MAAM,YAAY,GAAwB;IACtC,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,EAAE;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,gBAAgB;IACtB,YAAY;IAC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AC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAE
|
1
|
+
{"version":3,"file":"authentication.js","sourceRoot":"","sources":["../../../../src/store/reducers/authentication/authentication.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,kBAAkB,CAAC;AAI7C,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAI3B,MAAM,YAAY,GAAwB;IACtC,eAAe,EAAE,IAAI;IACrB,IAAI,EAAE,EAAE;CACX,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,gBAAgB;IACtB,YAAY;IACZ,QAAQ,EAAE;QACN,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAA8B,EAAE,EAAE;YAC1D,MAAM,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC;YAEvC,KAAK,CAAC,eAAe,GAAG,eAAe,CAAC;YAExC,IAAI,CAAC,eAAe,EAAE,CAAC;gBACnB,KAAK,CAAC,IAAI,GAAG,EAAE,CAAC;YACpB,CAAC;QACL,CAAC;QACD,OAAO,EAAE,CAAC,KAAK,EAAE,MAAiC,EAAE,EAAE;YAClD,MAAM,EAAC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAC,GAAG,MAAM,CAAC,OAAO,CAAC;YAEhE,KAAK,CAAC,IAAI,GAAG,QAAQ,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAExD,wCAAwC;YACxC,mDAAmD;YACnD,kDAAkD;YAClD,yCAAyC;YACzC,KAAK,CAAC,0BAA0B,GAAG,mBAAmB,KAAK,KAAK,CAAC;QACrE,CAAC;KACJ;IACD,SAAS,EAAE;QACP,gCAAgC,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,0BAA0B;QAC7E,UAAU,EAAE,CAAC,KAAK,EAAE,EAA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GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;oBACnD,QAAQ,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC;oBACnC,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;YACD,eAAe,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;SAC7D,CAAC;QACF,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC;YACnB,OAAO,EAAE,KAAK,EAAE,CAAC,EAAE,EAAC,QAAQ,EAAC,EAAE,EAAE;gBAC7B,IAAI,CAAC;oBACD,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,CAAC;oBACvC,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC;oBACpC,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -3,6 +3,6 @@ interface SendQueryParams extends Omit<QueryRequestParams, 'query'> {
|
|
3
3
|
queryId: string;
|
4
4
|
}
|
5
5
|
export declare const cancelQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
6
|
-
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", IQueryResult, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
cancelQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
8
|
export {};
|
@@ -1,10 +1,10 @@
|
|
1
1
|
import type { Capability } from '../../../types/api/capabilities';
|
2
2
|
import type { RootState } from '../../defaultStore';
|
3
3
|
export declare const capabilitiesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, {
|
4
|
-
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
5
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
4
|
+
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
6
|
export declare const selectCapabilityVersion: ((state: {
|
7
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
7
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
8
8
|
singleClusterMode: boolean;
|
9
9
|
cluster: import("../cluster/types").ClusterState;
|
10
10
|
tenant: import("../tenant/types").TenantState;
|
@@ -29,7 +29,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
29
29
|
resetResultsCount: () => void;
|
30
30
|
} & {
|
31
31
|
resultFunc: (resultFuncArgs_0: {
|
32
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
32
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
33
33
|
singleClusterMode: boolean;
|
34
34
|
cluster: import("../cluster/types").ClusterState;
|
35
35
|
tenant: import("../tenant/types").TenantState;
|
@@ -50,7 +50,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
50
50
|
clusters: import("../clusters/types").ClustersFilters;
|
51
51
|
}, resultFuncArgs_1: Capability) => number | undefined;
|
52
52
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
53
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
53
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
54
54
|
singleClusterMode: boolean;
|
55
55
|
cluster: import("../cluster/types").ClusterState;
|
56
56
|
tenant: import("../tenant/types").TenantState;
|
@@ -76,7 +76,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
76
76
|
};
|
77
77
|
lastResult: () => number | undefined;
|
78
78
|
dependencies: [(state: RootState) => {
|
79
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData", "api">;
|
79
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "UserData" | "PreviewData", "api">;
|
80
80
|
singleClusterMode: boolean;
|
81
81
|
cluster: import("../cluster/types").ClusterState;
|
82
82
|
tenant: import("../tenant/types").TenantState;
|
@@ -5,8 +5,8 @@ export declare function updateDefaultClusterTab(tab: string): (dispatch: Dispatc
|
|
5
5
|
declare const _default: import("redux").Reducer<ClusterState>;
|
6
6
|
export default _default;
|
7
7
|
export declare const clusterApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
8
|
-
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", {
|
8
|
+
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", {
|
9
9
|
clusterData: TClusterInfo;
|
10
10
|
groupsStats?: ClusterGroupsStats;
|
11
11
|
}, "api">;
|
12
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
12
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { PreparedNodeSystemState } from '../../../utils/nodes';
|
2
2
|
export type PreparedClusterNode = PreparedNodeSystemState;
|
3
3
|
export declare const clusterNodesApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
4
|
-
getClusterNodes: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", PreparedNodeSystemState[] | undefined, "api">;
|
5
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
4
|
+
getClusterNodes: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedNodeSystemState[] | undefined, "api">;
|
5
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,5 +3,5 @@ declare const _default: import("redux").Reducer<ClustersFilters>;
|
|
3
3
|
export default _default;
|
4
4
|
export declare const changeClustersFilters: import("@reduxjs/toolkit").ActionCreatorWithPayload<Partial<ClustersFilters>, "clusters/changeClustersFilters">;
|
5
5
|
export declare const clustersApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
6
|
-
getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
getClustersList: import("@reduxjs/toolkit/query").QueryDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -3,5 +3,5 @@ export declare const describeApi: import("@reduxjs/toolkit/query").Api<import("@
|
|
3
3
|
getDescribe: import("@reduxjs/toolkit/query").QueryDefinition<{
|
4
4
|
paths: string[];
|
5
5
|
database: string;
|
6
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", IDescribeData | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
6
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IDescribeData | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -10,8 +10,8 @@ interface SendQueryParams extends QueryRequestParams {
|
|
10
10
|
enableTracingLevel?: boolean;
|
11
11
|
}
|
12
12
|
export declare const executeQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
13
|
-
executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", IQueryResult, "api">;
|
14
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
13
|
+
executeQuery: import("@reduxjs/toolkit/query").MutationDefinition<SendQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", IQueryResult, "api">;
|
14
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
15
15
|
export declare const saveQueryToHistory: (queryText: string) => {
|
16
16
|
readonly type: "query/SAVE_QUERY_TO_HISTORY";
|
17
17
|
readonly data: string;
|
@@ -34,5 +34,12 @@ export declare const setTenantPath: (value: string) => {
|
|
34
34
|
readonly type: "query/SET_TENANT_PATH";
|
35
35
|
readonly data: string;
|
36
36
|
};
|
37
|
+
export declare const selectQueriesHistoryFilter: (state: ExecuteQueryStateSlice) => string;
|
37
38
|
export declare const selectQueriesHistory: (state: ExecuteQueryStateSlice) => QueryInHistory[];
|
39
|
+
export declare const setQueryHistoryFilter: (filter: string) => {
|
40
|
+
readonly type: "query/SET_QUERY_HISTORY_FILTER";
|
41
|
+
readonly data: {
|
42
|
+
readonly filter: string;
|
43
|
+
};
|
44
|
+
};
|
38
45
|
export default executeQuery;
|
@@ -7,6 +7,7 @@ import { api } from './api';
|
|
7
7
|
const MAXIMUM_QUERIES_IN_HISTORY = 20;
|
8
8
|
const CHANGE_USER_INPUT = 'query/CHANGE_USER_INPUT';
|
9
9
|
const SAVE_QUERY_TO_HISTORY = 'query/SAVE_QUERY_TO_HISTORY';
|
10
|
+
const SET_QUERY_HISTORY_FILTER = 'query/SET_QUERY_HISTORY_FILTER';
|
10
11
|
const GO_TO_PREVIOUS_QUERY = 'query/GO_TO_PREVIOUS_QUERY';
|
11
12
|
const GO_TO_NEXT_QUERY = 'query/GO_TO_NEXT_QUERY';
|
12
13
|
const SET_TENANT_PATH = 'query/SET_TENANT_PATH';
|
@@ -22,6 +23,7 @@ const initialState = {
|
|
22
23
|
currentIndex: queriesHistoryInitial.length > MAXIMUM_QUERIES_IN_HISTORY
|
23
24
|
? MAXIMUM_QUERIES_IN_HISTORY - 1
|
24
25
|
: queriesHistoryInitial.length - 1,
|
26
|
+
filter: '',
|
25
27
|
},
|
26
28
|
};
|
27
29
|
const executeQuery = (state = initialState, action) => {
|
@@ -84,6 +86,15 @@ const executeQuery = (state = initialState, action) => {
|
|
84
86
|
tenantPath: action.data,
|
85
87
|
};
|
86
88
|
}
|
89
|
+
case SET_QUERY_HISTORY_FILTER: {
|
90
|
+
return {
|
91
|
+
...state,
|
92
|
+
history: {
|
93
|
+
...state.history,
|
94
|
+
filter: action.data.filter,
|
95
|
+
},
|
96
|
+
};
|
97
|
+
}
|
87
98
|
default:
|
88
99
|
return state;
|
89
100
|
}
|
@@ -160,8 +171,14 @@ export const setTenantPath = (value) => {
|
|
160
171
|
data: value,
|
161
172
|
};
|
162
173
|
};
|
174
|
+
export const selectQueriesHistoryFilter = (state) => {
|
175
|
+
return state.executeQuery.history.filter || '';
|
176
|
+
};
|
163
177
|
export const selectQueriesHistory = (state) => {
|
164
|
-
|
178
|
+
var _a;
|
179
|
+
const items = state.executeQuery.history.queries;
|
180
|
+
const filter = (_a = state.executeQuery.history.filter) === null || _a === void 0 ? void 0 : _a.toLowerCase();
|
181
|
+
return filter ? items.filter((item) => item.queryText.toLowerCase().includes(filter)) : items;
|
165
182
|
};
|
166
183
|
function getQueryInHistory(rawQuery) {
|
167
184
|
if (typeof rawQuery === 'string') {
|
@@ -171,5 +188,11 @@ function getQueryInHistory(rawQuery) {
|
|
171
188
|
}
|
172
189
|
return rawQuery;
|
173
190
|
}
|
191
|
+
export const setQueryHistoryFilter = (filter) => {
|
192
|
+
return {
|
193
|
+
type: SET_QUERY_HISTORY_FILTER,
|
194
|
+
data: { filter },
|
195
|
+
};
|
196
|
+
};
|
174
197
|
export default executeQuery;
|
175
198
|
//# sourceMappingURL=executeQuery.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,kBAAkB,E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AAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClG,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,QAAiC;IACxD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,EAAE;IACpD,OAAO;QACH,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,EAAC,MAAM,EAAC;KACR,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -6,5 +6,5 @@ export declare const topQueriesApi: import("@reduxjs/toolkit/query").Api<import(
|
|
6
6
|
getTopQueries: import("@reduxjs/toolkit/query").QueryDefinition<{
|
7
7
|
database: string;
|
8
8
|
filters?: TopQueriesFilters;
|
9
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", import("../../../types/store/query").IQueryResult | undefined, "api">;
|
10
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", import("../../../types/store/query").IQueryResult | undefined, "api">;
|
10
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -6,6 +6,6 @@ interface ExplainQueryParams extends QueryRequestParams {
|
|
6
6
|
enableTracingLevel?: boolean;
|
7
7
|
}
|
8
8
|
export declare const explainQueryApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
9
|
-
explainQuery: import("@reduxjs/toolkit/query").MutationDefinition<ExplainQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData", PreparedExplainResponse, "api">;
|
10
|
-
}, "api", "All" | "PDiskData" | "UserData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
9
|
+
explainQuery: import("@reduxjs/toolkit/query").MutationDefinition<ExplainQueryParams, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "UserData" | "PreviewData", PreparedExplainResponse, "api">;
|
10
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
11
11
|
export {};
|