ydb-embedded-ui 6.16.0 → 6.17.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ContentWithPopup/ContentWithPopup.d.ts +2 -1
- package/dist/components/ContentWithPopup/ContentWithPopup.js +9 -2
- package/dist/components/ContentWithPopup/ContentWithPopup.js.map +1 -1
- package/dist/components/ErrorBoundary/ErrorBoundary.scss +2 -0
- package/dist/components/FullNodeViewer/FullNodeViewer.js +1 -1
- package/dist/components/FullNodeViewer/FullNodeViewer.js.map +1 -1
- package/dist/components/InfoViewer/InfoViewer.d.ts +0 -1
- package/dist/components/InfoViewer/InfoViewer.js +0 -1
- package/dist/components/InfoViewer/InfoViewer.js.map +1 -1
- package/dist/components/InfoViewer/index.d.ts +1 -1
- package/dist/components/InfoViewer/index.js +1 -1
- package/dist/components/InfoViewer/index.js.map +1 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +2 -1
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +2 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +8 -0
- package/dist/components/PaginatedTable/TableChunk.js +2 -1
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +1 -1
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/TabletsStatistic/TabletsStatistic.d.ts +2 -2
- package/dist/components/TabletsStatistic/TabletsStatistic.js +4 -6
- package/dist/components/TabletsStatistic/TabletsStatistic.js.map +1 -1
- package/dist/components/YDBDefinitionList/YDBDefinitionList.d.ts +9 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js +23 -0
- package/dist/components/YDBDefinitionList/YDBDefinitionList.js.map +1 -0
- package/dist/{containers/Tenant/Info/View/View.scss → components/YDBDefinitionList/YDBDefinitionList.scss} +6 -6
- package/dist/components/YDBDefinitionList/i18n/en.json +3 -0
- package/dist/components/YDBDefinitionList/i18n/index.d.ts +2 -0
- package/dist/components/YDBDefinitionList/i18n/index.js +5 -0
- package/dist/components/YDBDefinitionList/i18n/index.js.map +1 -0
- package/dist/containers/App/Content.js +1 -7
- package/dist/containers/App/Content.js.map +1 -1
- package/dist/containers/App/appSlots.d.ts +0 -6
- package/dist/containers/App/appSlots.js +0 -1
- package/dist/containers/App/appSlots.js.map +1 -1
- package/dist/containers/Cluster/Cluster.js +4 -13
- package/dist/containers/Cluster/Cluster.js.map +1 -1
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.d.ts +3 -3
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js +18 -2
- package/dist/containers/Cluster/ClusterInfo/ClusterInfo.js.map +1 -1
- package/dist/containers/Header/Header.js +6 -7
- package/dist/containers/Header/Header.js.map +1 -1
- package/dist/containers/Header/breadcrumbs.js +26 -30
- package/dist/containers/Header/breadcrumbs.js.map +1 -1
- package/dist/containers/Node/Node.js +12 -6
- package/dist/containers/Node/Node.js.map +1 -1
- package/dist/containers/Node/NodePages.d.ts +2 -1
- package/dist/containers/Node/NodePages.js +2 -2
- package/dist/containers/Node/NodePages.js.map +1 -1
- package/dist/containers/Nodes/Nodes.js +1 -0
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.js +1 -0
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/getNodesColumns.d.ts +3 -3
- package/dist/containers/Nodes/getNodesColumns.js +9 -9
- package/dist/containers/Nodes/getNodesColumns.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +2 -2
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/Storage/Storage.js +1 -1
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js +1 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js +2 -2
- package/dist/containers/Storage/StorageNodes/PaginatedStorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.d.ts +2 -1
- package/dist/containers/Storage/StorageNodes/StorageNodes.js +2 -2
- package/dist/containers/Storage/StorageNodes/StorageNodes.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +4 -4
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +33 -12
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablets/Tablets.d.ts +2 -1
- package/dist/containers/Tablets/Tablets.js +89 -85
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js +39 -20
- package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map +1 -1
- package/dist/containers/Tenant/Info/View/View.d.ts +0 -1
- package/dist/containers/Tenant/Info/View/View.js +3 -5
- package/dist/containers/Tenant/Info/View/View.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.scss +3 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.d.ts +8 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js +15 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/KeysView.js.map +1 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +7 -13
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +62 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +2 -20
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/en.json +3 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +11 -21
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/types.d.ts +1 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.d.ts +3 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js +9 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/utils.js.map +1 -0
- package/dist/containers/Tenants/Tenants.js +2 -2
- package/dist/containers/Tenants/Tenants.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +0 -1
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.js +0 -3
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.d.ts +4 -0
- package/dist/containers/VDiskPage/VDiskPage.js +14 -10
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.scss +9 -0
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.d.ts +2 -2
- package/dist/containers/Versions/GroupedNodesTree/GroupedNodesTree.js.map +1 -1
- package/dist/containers/Versions/NodesTable/NodesTable.d.ts +2 -2
- package/dist/containers/Versions/NodesTable/NodesTable.js.map +1 -1
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.d.ts +2 -2
- package/dist/containers/Versions/NodesTreeTitle/NodesTreeTitle.js.map +1 -1
- package/dist/containers/Versions/Versions.js +3 -2
- package/dist/containers/Versions/Versions.js.map +1 -1
- package/dist/containers/Versions/groupNodes.d.ts +4 -4
- package/dist/containers/Versions/groupNodes.js.map +1 -1
- package/dist/containers/Versions/types.d.ts +2 -2
- package/dist/services/api.d.ts +8 -7
- package/dist/services/api.js +20 -11
- package/dist/services/api.js.map +1 -1
- package/dist/store/configureStore.d.ts +2 -2
- package/dist/store/defaultStore.d.ts +1 -1
- package/dist/store/reducers/header/types.d.ts +7 -7
- package/dist/store/reducers/heatmap.js +2 -2
- package/dist/store/reducers/heatmap.js.map +1 -1
- package/dist/store/reducers/index.d.ts +2 -2
- package/dist/store/reducers/nodes/types.d.ts +6 -0
- package/dist/store/reducers/nodes/utils.js +6 -0
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/tablet.d.ts +1 -0
- package/dist/store/reducers/tablet.js +3 -3
- package/dist/store/reducers/tablet.js.map +1 -1
- package/dist/store/reducers/tenants/selectors.d.ts +9 -10
- package/dist/store/reducers/tenants/selectors.js +8 -7
- package/dist/store/reducers/tenants/selectors.js.map +1 -1
- package/dist/store/reducers/vdisk/types.d.ts +1 -1
- package/dist/store/reducers/vdisk/vdisk.d.ts +1 -1
- package/dist/store/state-url-mapping.d.ts +0 -8
- package/dist/store/state-url-mapping.js +0 -8
- package/dist/store/state-url-mapping.js.map +1 -1
- package/dist/styles/mixins.scss +5 -0
- package/dist/types/api/nodes.d.ts +5 -0
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/store/heatmap.d.ts +0 -1
- package/dist/types/store/tablets.d.ts +1 -1
- package/dist/utils/constants.d.ts +1 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/versions/parseNodesToVersionsValues.d.ts +7 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js +10 -0
- package/dist/utils/versions/parseNodesToVersionsValues.js.map +1 -1
- package/package.json +1 -1
- package/dist/containers/TabletsFilters/TabletsFilters.d.ts +0 -2
- package/dist/containers/TabletsFilters/TabletsFilters.js +0 -91
- package/dist/containers/TabletsFilters/TabletsFilters.js.map +0 -1
- package/dist/containers/TabletsFilters/TabletsFilters.scss +0 -80
- package/dist/containers/TabletsFilters/i18n/en.json +0 -3
- package/dist/containers/TabletsFilters/i18n/index.d.ts +0 -2
- package/dist/containers/TabletsFilters/i18n/index.js +0 -6
- package/dist/containers/TabletsFilters/i18n/index.js.map +0 -1
- package/dist/containers/TabletsFilters/i18n/ru.json +0 -3
- package/dist/store/reducers/clusterNodes/clusterNodes.d.ts +0 -5
- package/dist/store/reducers/clusterNodes/clusterNodes.js +0 -22
- package/dist/store/reducers/clusterNodes/clusterNodes.js.map +0 -1
- package/dist/store/reducers/tabletsFilters.d.ts +0 -44
- package/dist/store/reducers/tabletsFilters.js +0 -20
- package/dist/store/reducers/tabletsFilters.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,kBAAkB,EAAC,MAAM,2DAA2D,CAAC;AAC7F,OAAO,MAAM,EAAE,EAAC,UAAU,EAAC,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAC,2BAA2B,EAAC,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAC,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AAGxE,OAAO,EAAC,EAAE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2BAA2B,CAAC,QAAQ,CAAC,CAAC,CAAC;gBACxC,OAAO,CACH,KAAC,gBAAgB,IACb,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,EACV,qBAAqB,EAAE,KAAK,CAAC,qBAAqB,EAClD,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,GAClD,CACL,CAAC;YACN,CAAC;YACD,KAAK,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAAC;gBACtC,OAAO,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,SAAG,CAAC;YACrF,CAAC;YACD,KAAK,2BAA2B,CAAC,UAAU,CAAC,CAAC,CAAC;gBAC1C,OAAO,KAAC,UAAU,IAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;YAC9D,CAAC;YACD,KAAK,2BAA2B,CAAC,SAAS,CAAC,CAAC,CAAC;gBACzC,OAAO,KAAC,SAAS,IAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,GAAI,CAAC;YACzE,CAAC;YACD,KAAK,2BAA2B,CAAC,KAAK,CAAC,CAAC,CAAC;gBACrC,OAAO,CACH,KAAC,YAAY,IACT,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,UAAU,EACpB,oBAAoB,EAAE,KAAK,CAAC,oBAAoB,EAChD,eAAe,EAAE,SAAS,CAAC,OAAO,GACpC,CACL,CAAC;YACN,CAAC;YACD,KAAK,2BAA2B,CAAC,OAAO,CAAC,CAAC,CAAC;gBACvC,OAAO,KAAC,OAAO,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC;
|
1
|
+
{"version":3,"file":"Diagnostics.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/Diagnostics/Diagnostics.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAA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AC,CAAC,IAAI,EACP,UAAU,EAAE,EACb,cAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,YAAG,gBAAgB,EAAE,GAAO,IAC3D,CACT,CAAC;AACN,CAAC;AAED,eAAe,WAAW,CAAC"}
|
package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js
CHANGED
@@ -1,35 +1,54 @@
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { Flex, Text } from '@gravity-ui/uikit';
|
3
3
|
import { AsyncReplicationState } from '../../../../../components/AsyncReplicationState';
|
4
|
-
import {
|
4
|
+
import { YDBDefinitionList } from '../../../../../components/YDBDefinitionList/YDBDefinitionList';
|
5
5
|
import { getEntityName } from '../../../utils';
|
6
6
|
import { AsyncReplicationPaths } from '../AsyncReplicationPaths';
|
7
7
|
import { Credentials } from './Credentials';
|
8
8
|
import i18n from './i18n';
|
9
9
|
/** Displays overview for Replication EPathType */
|
10
10
|
export function AsyncReplicationInfo({ data }) {
|
11
|
-
var _a, _b
|
11
|
+
var _a, _b;
|
12
12
|
const entityName = getEntityName(data === null || data === void 0 ? void 0 : data.PathDescription);
|
13
13
|
if (!data) {
|
14
14
|
return (_jsxs("div", { className: "error", children: [i18n('noData'), " ", entityName] }));
|
15
15
|
}
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
16
|
+
const replicationItems = prepareReplicationItems(data);
|
17
|
+
return (_jsxs(Flex, { direction: "column", gap: "4", children: [_jsx(YDBDefinitionList, { title: entityName, items: replicationItems }), _jsx(AsyncReplicationPaths, { config: (_b = (_a = data.PathDescription) === null || _a === void 0 ? void 0 : _a.ReplicationDescription) === null || _b === void 0 ? void 0 : _b.Config })] }));
|
18
|
+
}
|
19
|
+
function prepareReplicationItems(data) {
|
20
|
+
var _a, _b;
|
21
|
+
const replicationDescription = ((_a = data.PathDescription) === null || _a === void 0 ? void 0 : _a.ReplicationDescription) || {};
|
22
|
+
const state = replicationDescription.State;
|
23
|
+
const srcConnectionParams = ((_b = replicationDescription.Config) === null || _b === void 0 ? void 0 : _b.SrcConnectionParams) || {};
|
24
|
+
const { Endpoint, Database } = srcConnectionParams;
|
25
|
+
const info = [];
|
26
|
+
if (state) {
|
27
|
+
info.push({
|
28
|
+
name: i18n('state.label'),
|
29
|
+
content: _jsx(AsyncReplicationState, { state: state }),
|
30
|
+
});
|
31
|
+
}
|
32
|
+
if (Endpoint) {
|
33
|
+
info.push({
|
34
|
+
name: i18n('srcConnection.endpoint.label'),
|
35
|
+
copyText: Endpoint,
|
36
|
+
content: _jsx(Text, { variant: "code-inline-2", children: Endpoint }),
|
37
|
+
});
|
38
|
+
}
|
39
|
+
if (Database) {
|
40
|
+
info.push({
|
41
|
+
name: i18n('srcConnection.database.label'),
|
42
|
+
copyText: Database,
|
43
|
+
content: _jsx(Text, { variant: "code-inline-2", children: Database }),
|
44
|
+
});
|
45
|
+
}
|
46
|
+
if (srcConnectionParams) {
|
47
|
+
info.push({
|
48
|
+
name: i18n('credentials.label'),
|
49
|
+
content: _jsx(Credentials, { connection: srcConnectionParams }),
|
50
|
+
});
|
51
|
+
}
|
52
|
+
return info;
|
34
53
|
}
|
35
54
|
//# sourceMappingURL=AsyncReplicationInfo.js.map
|
package/dist/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AsyncReplicationInfo.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/Overview/AsyncReplicationInfo/AsyncReplicationInfo.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"AsyncReplicationInfo.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagn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../../../../components/InfoViewer/InfoViewer';
|
3
|
+
import { InfoViewer } from '../../../../../components/InfoViewer/InfoViewer';
|
4
4
|
import { LabelWithPopover } from '../../../../../components/LabelWithPopover';
|
5
5
|
import { ProgressViewer } from '../../../../../components/ProgressViewer/ProgressViewer';
|
6
6
|
import { formatStorageValues } from '../../../../../utils/dataFormatters/dataFormatters';
|
package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TenantStorage.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,iDAAiD,CAAC;
|
1
|
+
{"version":3,"file":"TenantStorage.js","sourceRoot":"","sources":["../../../../../../src/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TenantStorage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,UAAU,EAAC,MAAM,iDAAiD,CAAC;AAC3E,OAAO,EAAC,gBAAgB,EAAC,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAC,cAAc,EAAC,MAAM,yDAAyD,CAAC;AACvF,OAAO,EAAC,mBAAmB,EAAC,MAAM,oDAAoD,CAAC;AACvF,OAAO,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACnE,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AACtC,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAC;AAEhE,OAAO,wBAAwB,CAAC;AAchC,MAAM,UAAU,aAAa,CAAC,EAAC,UAAU,EAAE,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
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
-
import { DefinitionList } from '@gravity-ui/components';
|
3
2
|
import { Text } from '@gravity-ui/uikit';
|
4
|
-
import {
|
3
|
+
import { YDBDefinitionList } from '../../../../components/YDBDefinitionList/YDBDefinitionList';
|
5
4
|
import { getEntityName } from '../../utils';
|
6
5
|
import i18n from '../i18n';
|
7
|
-
const b = cn('ydb-view-info');
|
8
|
-
import './View.scss';
|
9
6
|
const prepareViewItems = (data) => {
|
10
7
|
var _a, _b;
|
11
8
|
const queryText = (_b = (_a = data.PathDescription) === null || _a === void 0 ? void 0 : _a.ViewDescription) === null || _b === void 0 ? void 0 : _b.QueryText;
|
@@ -22,6 +19,7 @@ export function ViewInfo({ data }) {
|
|
22
19
|
if (!data) {
|
23
20
|
return _jsxs("div", { className: "error", children: ["No ", entityName, " data"] });
|
24
21
|
}
|
25
|
-
|
22
|
+
const items = prepareViewItems(data);
|
23
|
+
return _jsx(YDBDefinitionList, { title: entityName, items: items });
|
26
24
|
}
|
27
25
|
//# sourceMappingURL=View.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"View.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Info/View/View.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,
|
1
|
+
{"version":3,"file":"View.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Info/View/View.tsx"],"names":[],"mappings":";AACA,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AAEvC,OAAO,EAAC,iBAAiB,EAAC,MAAM,4DAA4D,CAAC;AAE7F,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAC1C,OAAO,IAAI,MAAM,SAAS,CAAC;AAE3B,MAAM,gBAAgB,GAAG,CAAC,IAA6B,EAAwB,EAAE;;IAC7E,MAAM,SAAS,GAAG,MAAA,MAAA,IAAI,CAAC,eAAe,0CAAE,eAAe,0CAAE,SAAS,CAAC;IAEnE,OAAO;QACH;YACI,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAAC;YAC7B,QAAQ,EAAE,SAAS;YACnB,OAAO,EAAE,CACL,KAAC,IAAI,IAAC,OAAO,EAAC,QAAQ,EAAC,SAAS,EAAC,YAAY,YACxC,SAAS,GACP,CACV;SACJ;KACJ,CAAC;AACN,CAAC,CAAC;AAMF,MAAM,UAAU,QAAQ,CAAC,EAAC,IAAI,EAAgB;IAC1C,MAAM,UAAU,GAAG,aAAa,CAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,eAAe,CAAC,CAAC;IAExD,IAAI,CAAC,IAAI,EAAE,CAAC;QACR,OAAO,eAAK,SAAS,EAAC,OAAO,oBAAK,UAAU,aAAY,CAAC;IAC7D,CAAC;IAED,MAAM,KAAK,GAAG,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAErC,OAAO,KAAC,iBAAiB,IAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC;AAClE,CAAC"}
|
@@ -8,7 +8,7 @@ import { StringParam, useQueryParam } from 'use-query-params';
|
|
8
8
|
import { AsyncReplicationState } from '../../../components/AsyncReplicationState';
|
9
9
|
import { ClipboardButton } from '../../../components/ClipboardButton';
|
10
10
|
import { toFormattedSize } from '../../../components/FormattedBytes/utils';
|
11
|
-
import InfoViewer from '../../../components/InfoViewer/InfoViewer';
|
11
|
+
import { InfoViewer } from '../../../components/InfoViewer/InfoViewer';
|
12
12
|
import { LinkWithIcon } from '../../../components/LinkWithIcon/LinkWithIcon';
|
13
13
|
import { Loader } from '../../../components/Loader';
|
14
14
|
import SplitPane from '../../../components/SplitPane';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ObjectSummary.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/ObjectSummary/ObjectSummary.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,WAAW,EAAC,MAAM,wBAAwB,CAAC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AU,uBAAV,UAAU,CAAE,eAAe,0CAAE,IAAI,CAAC;IAEnD,MAAM,CAAC,EAAE,cAAc,CAAC,GAAG,aAAa,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;IAEhE,IAAI,CAAC,QAAQ,IAAI,SAAS,EAAE,CAAC;QACzB,uFAAuF;QACvF,OAAO,CACH,wBACI,KAAC,MAAM,KAAG,GACR,CACT,CAAC;IACN,CAAC;IAED,OAAO,CACH,eAAK,SAAS,EAAE,CAAC,CAAC,cAAc,CAAC,aAC7B,cAAK,SAAS,EAAE,CAAC,CAAC,aAAa,CAAC,YAAG,IAAI,CAAC,oBAAoB,CAAC,GAAO,EACpE,cAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,YACpB,QAAQ,CAAC,CAAC,CAAC,CACR,KAAC,UAAU,IACP,QAAQ,EAAE,UAAU;oBACpB,qEAAqE;oBACrE,gCAAgC;oBAChC,QAAQ,EAAE,QAAQ,CAAC,IAAI,IAAI,UAAU,EACrC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAC3B,WAAW,EAAE,IAAI,EACjB,kBAAkB,EAAE,cAAc,GACpC,CACL,CAAC,CAAC,CAAC,IAAI,GACN,IACJ,CACT,CAAC;AACN,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { SchemaData } from './types';
|
2
|
+
interface KeysViewProps {
|
3
|
+
tableData: SchemaData[];
|
4
|
+
extended?: boolean;
|
5
|
+
type: 'primary' | 'partitioning';
|
6
|
+
}
|
7
|
+
export declare const KeysView: ({ tableData, extended, type }: KeysViewProps) => import("react/jsx-runtime").JSX.Element | null;
|
8
|
+
export {};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
|
+
import { Label } from '@gravity-ui/uikit';
|
3
|
+
import { ContentWithPopup } from '../../../../components/ContentWithPopup/ContentWithPopup';
|
4
|
+
import i18n from './i18n';
|
5
|
+
import { b } from './shared';
|
6
|
+
import { getPartitioningKeys, getPrimaryKeys } from './utils';
|
7
|
+
const MAX_VISIBLE_KEYS = 3;
|
8
|
+
export const KeysView = ({ tableData, extended, type }) => {
|
9
|
+
const keys = type === 'primary' ? getPrimaryKeys(tableData) : getPartitioningKeys(tableData);
|
10
|
+
const visibleCount = extended ? MAX_VISIBLE_KEYS : keys.length;
|
11
|
+
const visibleKeys = keys.slice(0, visibleCount);
|
12
|
+
const hiddenKeys = keys.slice(visibleCount);
|
13
|
+
return keys.length > 0 ? (_jsxs("div", { className: b('keys', { summary: !extended, type }), children: [_jsx("div", { className: b('keys-header'), children: type === 'primary' ? i18n('primary-key.title') : i18n('partitioning-key.title') }), _jsxs("div", { className: b('keys-values'), children: [' ' + visibleKeys.join(', '), hiddenKeys.length ? (_jsx(ContentWithPopup, { className: b('more-badge'), placement: ['bottom'], hasArrow: false, pinOnClick: true, content: _jsx("div", { className: b('popup-content'), children: hiddenKeys.map((key) => (_jsx("div", { className: b('popup-item'), children: key }, key))) }), children: _jsx(Label, { className: b('keys-label'), children: `+${hiddenKeys.length}` }) })) : null] })] })) : null;
|
14
|
+
};
|
15
|
+
//# sourceMappingURL=KeysView.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"KeysView.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/KeysView.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAC,gBAAgB,EAAC,MAAM,0DAA0D,CAAC;AAE1F,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAC,CAAC,EAAC,MAAM,UAAU,CAAC;AAE3B,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,SAAS,CAAC;AAE5D,MAAM,gBAAgB,GAAG,CAAC,CAAC;AAQ3B,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EAAC,SAAS,EAAE,QAAQ,EAAE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AC,GACA,YAGV,KAAC,KAAK,IAAC,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,YAAG,IAAI,UAAU,CAAC,MAAM,EAAE,GAAS,GACrD,CACtB,CAAC,CAAC,CAAC,IAAI,IACN,IACJ,CACT,CAAC,CAAC,CAAC,IAAI,CAAC;AACb,CAAC,CAAC"}
|
@@ -1,6 +1,5 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
2
2
|
import React from 'react';
|
3
|
-
import DataTable from '@gravity-ui/react-data-table';
|
4
3
|
import { skipToken } from '@reduxjs/toolkit/query';
|
5
4
|
import { ResizeableDataTable } from '../../../../components/ResizeableDataTable/ResizeableDataTable';
|
6
5
|
import { TableSkeleton } from '../../../../components/TableSkeleton/TableSkeleton';
|
@@ -8,7 +7,8 @@ import { useGetSchemaQuery } from '../../../../store/reducers/schema/schema';
|
|
8
7
|
import { viewSchemaApi } from '../../../../store/reducers/viewSchema/viewSchema';
|
9
8
|
import { DEFAULT_TABLE_SETTINGS } from '../../../../utils/constants';
|
10
9
|
import { isColumnEntityType, isExternalTableType, isRowTableType, isViewType, } from '../../utils/schema';
|
11
|
-
import {
|
10
|
+
import { KeysView } from './KeysView';
|
11
|
+
import { SCHEMA_COLUMNS_WIDTH_LS_KEY, getColumnTableColumns, getExternalTableColumns, getRowTableColumns, getViewColumns, } from './columns';
|
12
12
|
import { prepareSchemaData, prepareViewSchema } from './prepareData';
|
13
13
|
import { b } from './shared';
|
14
14
|
import './SchemaViewer.scss';
|
@@ -43,15 +43,9 @@ export const SchemaViewer = ({ type, path, tenantName, extended = false }) => {
|
|
43
43
|
}
|
44
44
|
return [];
|
45
45
|
}, [type, extended, hasAutoIncrement, hasDefaultValue]);
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
return (_jsx(ResizeableDataTable, { columnsWidthLSKey: SCHEMA_COLUMNS_WIDTH_LS_KEY, data: tableData, columns: columns, settings: DEFAULT_TABLE_SETTINGS, initialSortOrder: {
|
51
|
-
columnId: SCHEMA_TABLE_COLUMS_IDS.isKeyColumn,
|
52
|
-
order: DataTable.ASCENDING,
|
53
|
-
} }));
|
54
|
-
};
|
55
|
-
return _jsx("div", { className: b(null), children: renderContent() });
|
46
|
+
if (loading || isViewSchemaLoading) {
|
47
|
+
return _jsx(TableSkeleton, {});
|
48
|
+
}
|
49
|
+
return (_jsxs(React.Fragment, { children: [_jsxs("div", { className: b('keys-wrapper'), children: [_jsx(KeysView, { tableData: tableData, extended: extended, type: "primary" }), _jsx(KeysView, { tableData: tableData, extended: extended, type: "partitioning" })] }), _jsx("div", { className: b(), children: _jsx(ResizeableDataTable, { columnsWidthLSKey: SCHEMA_COLUMNS_WIDTH_LS_KEY, data: tableData, columns: columns, settings: DEFAULT_TABLE_SETTINGS }) })] }));
|
56
50
|
};
|
57
51
|
//# sourceMappingURL=SchemaViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SchemaViewer.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
1
|
+
{"version":3,"file":"SchemaViewer.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/SchemaViewer.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAC,mBAAmB,EAAC,MAAM,gEAAgE,CAAC;AACnG,OAAO,EAAC,aAAa,EAAC,MAAM,oDAAoD,CAAC;AACjF,OAAO,EAAC,iBAAiB,EAAC,MAAM,0CAA0C,CAAC;AAC3E,OAAO,EAAC,aAAa,EAAC,MAAM,kDAAkD,CAAC;AAE/E,OAAO,EAAC,sBAAsB,EAAC,MAAM,6BA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AAE,QAAQ,EAAE,IAAI,EAAC,SAAS,GAAG,EACrE,KAAC,QAAQ,IAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAC,cAAc,GAAG,IACxE,EACN,cAAK,SAAS,EAAE,CAAC,EAAE,YACf,KAAC,mBAAmB,IAChB,iBAAiB,EAAE,2BAA2B,EAC9C,IAAI,EAAE,SAAS,EACf,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,sBAAsB,GAClC,GACA,IACO,CACpB,CAAC;AACN,CAAC,CAAC"}
|
@@ -1,6 +1,65 @@
|
|
1
|
+
@import '../../../../styles/mixins.scss';
|
2
|
+
|
1
3
|
.schema-viewer {
|
2
|
-
&
|
3
|
-
display:
|
4
|
-
|
4
|
+
&__keys {
|
5
|
+
display: inline-block;
|
6
|
+
|
7
|
+
padding-bottom: var(--g-spacing-4);
|
8
|
+
padding-left: 10px;
|
9
|
+
|
10
|
+
&-values {
|
11
|
+
display: inline;
|
12
|
+
|
13
|
+
color: var(--g-color-text-complementary);
|
14
|
+
@include body-1-typography();
|
15
|
+
}
|
16
|
+
|
17
|
+
&-header {
|
18
|
+
display: inline;
|
19
|
+
|
20
|
+
font-weight: bold;
|
21
|
+
white-space: nowrap;
|
22
|
+
|
23
|
+
color: var(--g-color-text-primary);
|
24
|
+
@include subheader-1-typography();
|
25
|
+
}
|
26
|
+
|
27
|
+
&-label {
|
28
|
+
cursor: pointer;
|
29
|
+
}
|
30
|
+
|
31
|
+
&-wrapper {
|
32
|
+
position: sticky;
|
33
|
+
z-index: 1;
|
34
|
+
left: 0;
|
35
|
+
|
36
|
+
width: 100%;
|
37
|
+
}
|
38
|
+
|
39
|
+
& + & {
|
40
|
+
margin-left: var(--g-spacing-8);
|
41
|
+
}
|
42
|
+
|
43
|
+
&_summary {
|
44
|
+
& + & {
|
45
|
+
margin-left: 0;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
&__popup-content {
|
51
|
+
padding: var(--g-spacing-2) var(--g-spacing-4);
|
52
|
+
}
|
53
|
+
|
54
|
+
&__popup-item {
|
55
|
+
padding-bottom: var(--g-spacing-2);
|
56
|
+
|
57
|
+
&:last-child {
|
58
|
+
padding-bottom: 0;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
&__more-badge {
|
63
|
+
margin-left: var(--g-spacing-1);
|
5
64
|
}
|
6
65
|
}
|
@@ -1,9 +1,5 @@
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
2
1
|
import DataTable from '@gravity-ui/react-data-table';
|
3
|
-
import { Icon } from '@gravity-ui/uikit';
|
4
2
|
import i18n from './i18n';
|
5
|
-
import { b } from './shared';
|
6
|
-
import keyIcon from '../../../../assets/icons/key.svg';
|
7
3
|
export const SCHEMA_COLUMNS_WIDTH_LS_KEY = 'schemaTableColumnsWidth';
|
8
4
|
export const SCHEMA_TABLE_COLUMS_IDS = {
|
9
5
|
id: 'id',
|
@@ -33,20 +29,6 @@ const nameColumn = {
|
|
33
29
|
width: 100,
|
34
30
|
render: ({ row }) => row.name,
|
35
31
|
};
|
36
|
-
const keyColumn = {
|
37
|
-
name: SCHEMA_TABLE_COLUMS_IDS.isKeyColumn,
|
38
|
-
get header() {
|
39
|
-
return i18n('column-title.key');
|
40
|
-
},
|
41
|
-
width: 70,
|
42
|
-
resizeMinWidth: 70,
|
43
|
-
// Table should start with key columns on sort click
|
44
|
-
defaultOrder: DataTable.ASCENDING,
|
45
|
-
sortAccessor: (row) => row.keyAccessor,
|
46
|
-
render: ({ row }) => {
|
47
|
-
return row.isKeyColumn ? (_jsx("div", { className: b('key-icon'), children: _jsx(Icon, { data: keyIcon, width: 12, height: 7 }) })) : null;
|
48
|
-
},
|
49
|
-
};
|
50
32
|
const typeColumn = {
|
51
33
|
name: SCHEMA_TABLE_COLUMS_IDS.type,
|
52
34
|
get header() {
|
@@ -124,10 +106,10 @@ export function getExternalTableColumns() {
|
|
124
106
|
return [idColumn, nameColumn, typeColumn, notNullColumn];
|
125
107
|
}
|
126
108
|
export function getColumnTableColumns() {
|
127
|
-
return [idColumn,
|
109
|
+
return [idColumn, nameColumn, typeColumn, notNullColumn];
|
128
110
|
}
|
129
111
|
export function getRowTableColumns(extended, hasAutoIncrement, hasDefaultValue) {
|
130
|
-
const rowTableColumns = [idColumn,
|
112
|
+
const rowTableColumns = [idColumn, nameColumn, typeColumn, notNullColumn];
|
131
113
|
if (hasDefaultValue) {
|
132
114
|
rowTableColumns.push(defaultValueColumn);
|
133
115
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/columns.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"columns.js","sourceRoot":"","sources":["../../../../../src/containers/Tenant/Schema/SchemaViewer/columns.tsx"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,8BAA8B,CAAC;AAErD,OAAO,IAAI,MAAM,QAAQ,CAAC;AAG1B,MAAM,CAAC,MAAM,2BAA2B,GAAG,yBAAyB,CAAC;AAErE,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACnC,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,iBAAiB,EAAE,mBAAmB;IACtC,WAAW,EAAE,aAAa;CACc,CAAC;AAE7C,MAAM,QAAQ,GAAiB;IAC3B,IAAI,EAAE,uBAAuB,CAAC,EAAE;IAChC,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;IACD,KAAK,EAAE,EAAE;IACT,MAAM,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,GAAG,CAAC,EAAE;CAC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U,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;AAC7D,CAAC;AACD,MAAM,UAAU,qBAAqB;IACjC,OAAO,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;AAC7D,CAAC;AACD,MAAM,UAAU,kBAAkB,CAC9B,QAAiB,EACjB,gBAAyB,EACzB,eAAwB;IAExB,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,CAAC,CAAC;IAE1E,IAAI,eAAe,EAAE,CAAC;QAClB,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;IAC7C,CAAC;IAED,IAAI,QAAQ,EAAE,CAAC;QACX,eAAe,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;IACvE,CAAC;IAED,IAAI,gBAAgB,EAAE,CAAC;QACnB,eAAe,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;IAC9C,CAAC;IAED,OAAO,eAAe,CAAC;AAC3B,CAAC"}
|
@@ -1,12 +1,13 @@
|
|
1
1
|
{
|
2
2
|
"column-title.id": "Id",
|
3
3
|
"column-title.name": "Name",
|
4
|
-
"column-title.key": "Key",
|
5
4
|
"column-title.type": "Type",
|
6
5
|
"column-title.notNull": "NotNull",
|
7
6
|
"column-title.autoIncrement": "AutoIncrement",
|
8
7
|
"column-title.defaultValue": "Default",
|
9
8
|
"column-title.family": "Family",
|
10
9
|
"column-title.media": "Media",
|
11
|
-
"column-title.compression": "Compression"
|
10
|
+
"column-title.compression": "Compression",
|
11
|
+
"primary-key.title": "Primary key:",
|
12
|
+
"partitioning-key.title": "Partitioning key:"
|
12
13
|
}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "column-title.id" | "column-title.name" | "column-title.
|
1
|
+
declare const _default: (key: "column-title.id" | "column-title.name" | "column-title.type" | "column-title.notNull" | "column-title.autoIncrement" | "column-title.defaultValue" | "column-title.family" | "column-title.media" | "column-title.compression" | "primary-key.title" | "partitioning-key.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -1,15 +1,5 @@
|
|
1
1
|
import { EColumnCodec } from '../../../../types/api/schema';
|
2
2
|
import { isColumnEntityType, isExternalTableType, isRowTableType } from '../../utils/schema';
|
3
|
-
function getKeyColumnsSortAccessorMap(ids = []) {
|
4
|
-
return ids.reduce((result, keyColumnId, index) => {
|
5
|
-
// Put columns with negative values, so they will be the first with ascending sort
|
6
|
-
// Minus keyColumnIds.length for the first key, -1 for the last
|
7
|
-
return {
|
8
|
-
...result,
|
9
|
-
[keyColumnId]: index - ids.length,
|
10
|
-
};
|
11
|
-
}, {});
|
12
|
-
}
|
13
3
|
function formatColumnCodec(codec) {
|
14
4
|
if (!codec) {
|
15
5
|
return undefined;
|
@@ -34,13 +24,10 @@ export function prepareFamilies(data) {
|
|
34
24
|
function prepareRowTableSchema(data = {}) {
|
35
25
|
const families = prepareFamilies(data);
|
36
26
|
const { Columns, KeyColumnIds } = data;
|
37
|
-
const keyAccessorsMap = getKeyColumnsSortAccessorMap(KeyColumnIds);
|
38
27
|
const preparedColumns = Columns === null || Columns === void 0 ? void 0 : Columns.map((column) => {
|
39
28
|
var _a, _b;
|
40
29
|
const { Id, Name, NotNull, Type, Family, DefaultFromSequence, DefaultFromLiteral } = column;
|
41
30
|
const isKeyColumn = Boolean(KeyColumnIds === null || KeyColumnIds === void 0 ? void 0 : KeyColumnIds.find((keyColumnId) => keyColumnId === Id));
|
42
|
-
// Values in keyAccessorsMap are always negative, so it will be 1 for not key columns
|
43
|
-
const keyAccessor = Id && keyAccessorsMap[Id] ? keyAccessorsMap[Id] : 1;
|
44
31
|
const familyName = Family ? families[Family].Name : undefined;
|
45
32
|
const prefferedPoolKind = Family
|
46
33
|
? (_b = (_a = families[Family].StorageConfig) === null || _a === void 0 ? void 0 : _a.Data) === null || _b === void 0 ? void 0 : _b.PreferredPoolKind
|
@@ -50,7 +37,6 @@ function prepareRowTableSchema(data = {}) {
|
|
50
37
|
id: Id,
|
51
38
|
name: Name,
|
52
39
|
isKeyColumn,
|
53
|
-
keyAccessor,
|
54
40
|
type: Type,
|
55
41
|
notNull: NotNull,
|
56
42
|
autoIncrement: Boolean(DefaultFromSequence),
|
@@ -60,7 +46,9 @@ function prepareRowTableSchema(data = {}) {
|
|
60
46
|
columnCodec,
|
61
47
|
};
|
62
48
|
});
|
63
|
-
|
49
|
+
const keyColumns = (preparedColumns === null || preparedColumns === void 0 ? void 0 : preparedColumns.filter((column) => column.isKeyColumn)) || [];
|
50
|
+
const otherColumns = (preparedColumns === null || preparedColumns === void 0 ? void 0 : preparedColumns.filter((column) => !column.isKeyColumn)) || [];
|
51
|
+
return [...keyColumns, ...otherColumns];
|
64
52
|
}
|
65
53
|
function prepareExternalTableSchema(data = {}) {
|
66
54
|
const { Columns } = data;
|
@@ -76,24 +64,26 @@ function prepareExternalTableSchema(data = {}) {
|
|
76
64
|
return preparedColumns || [];
|
77
65
|
}
|
78
66
|
function prepareColumnTableSchema(data = {}) {
|
79
|
-
const { Schema = {} } = data;
|
67
|
+
const { Schema = {}, Sharding = {} } = data;
|
80
68
|
const { Columns, KeyColumnNames } = Schema;
|
81
|
-
const
|
69
|
+
const { HashSharding = {} } = Sharding;
|
70
|
+
const { Columns: HashColumns = [] } = HashSharding;
|
82
71
|
const preparedColumns = Columns === null || Columns === void 0 ? void 0 : Columns.map((column) => {
|
83
72
|
const { Id, Name, Type, NotNull } = column;
|
84
73
|
const isKeyColumn = Boolean(KeyColumnNames === null || KeyColumnNames === void 0 ? void 0 : KeyColumnNames.find((keyColumnName) => keyColumnName === Name));
|
85
|
-
|
86
|
-
const keyAccessor = Name && keyAccessorsMap[Name] ? keyAccessorsMap[Name] : 1;
|
74
|
+
const isPartitioningKeyColumn = Boolean(HashColumns === null || HashColumns === void 0 ? void 0 : HashColumns.find((hashColumnName) => hashColumnName === Name));
|
87
75
|
return {
|
88
76
|
id: Id,
|
89
77
|
name: Name,
|
90
78
|
isKeyColumn,
|
91
|
-
|
79
|
+
isPartitioningKeyColumn,
|
92
80
|
type: Type,
|
93
81
|
notNull: NotNull,
|
94
82
|
};
|
95
83
|
});
|
96
|
-
|
84
|
+
const keyColumns = (preparedColumns === null || preparedColumns === void 0 ? void 0 : preparedColumns.filter((column) => column.isKeyColumn)) || [];
|
85
|
+
const otherColumns = (preparedColumns === null || preparedColumns === void 0 ? void 0 : preparedColumns.filter((column) => !column.isKeyColumn)) || [];
|
86
|
+
return [...keyColumns, ...otherColumns];
|
97
87
|
}
|
98
88
|
export function prepareSchemaData(type, schema) {
|
99
89
|
const { Table, ColumnTableDescription, ExternalTableDescription } = (schema === null || schema === void 0 ? void 0 : schema.PathDescription) || {};
|