ydb-embedded-ui 6.33.0 → 6.35.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +21 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +31 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.scss +6 -0
- package/dist/components/ConfirmationDialog/i18n/en.json +3 -0
- package/dist/components/ConfirmationDialog/i18n/index.d.ts +1 -0
- package/dist/components/ConfirmationDialog/i18n/index.js +5 -0
- package/dist/components/ConfirmationDialog/i18n/index.js.map +1 -0
- package/dist/components/EntityStatus/EntityStatus.js +1 -1
- package/dist/components/EntityStatus/EntityStatus.js.map +1 -1
- package/dist/components/MemoryViewer/MemoryViewer.d.ts +14 -0
- package/dist/components/MemoryViewer/MemoryViewer.js +84 -0
- package/dist/components/MemoryViewer/MemoryViewer.js.map +1 -0
- package/dist/components/MemoryViewer/MemoryViewer.scss +104 -0
- package/dist/components/MemoryViewer/i18n/en.json +11 -0
- package/dist/components/MemoryViewer/i18n/index.d.ts +2 -0
- package/dist/components/MemoryViewer/i18n/index.js +5 -0
- package/dist/components/MemoryViewer/i18n/index.js.map +1 -0
- package/dist/components/MemoryViewer/utils.d.ts +10 -0
- package/dist/components/MemoryViewer/utils.js +71 -0
- package/dist/components/MemoryViewer/utils.js.map +1 -0
- package/dist/components/NodeHostWrapper/NodeHostWrapper.d.ts +5 -3
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js +3 -2
- package/dist/components/NodeHostWrapper/NodeHostWrapper.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/ProgressViewer/ProgressViewer.d.ts +1 -1
- package/dist/components/VDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/nodesColumns/__test__/utils.test.d.ts +1 -0
- package/dist/components/nodesColumns/__test__/utils.test.js +28 -0
- package/dist/components/nodesColumns/__test__/utils.test.js.map +1 -0
- package/dist/components/nodesColumns/columns.d.ts +32 -9
- package/dist/components/nodesColumns/columns.js +91 -21
- package/dist/components/nodesColumns/columns.js.map +1 -1
- package/dist/components/nodesColumns/constants.d.ts +16 -5
- package/dist/components/nodesColumns/constants.js +114 -11
- package/dist/components/nodesColumns/constants.js.map +1 -1
- package/dist/components/nodesColumns/i18n/en.json +18 -5
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/components/nodesColumns/utils.d.ts +2 -0
- package/dist/components/nodesColumns/utils.js +11 -0
- package/dist/components/nodesColumns/utils.js.map +1 -0
- package/dist/containers/App/App.d.ts +1 -1
- package/dist/containers/App/Providers.js +2 -1
- package/dist/containers/App/Providers.js.map +1 -1
- package/dist/containers/AsideNavigation/AsideNavigation.d.ts +2 -0
- package/dist/containers/AsideNavigation/AsideNavigation.js +2 -1
- package/dist/containers/AsideNavigation/AsideNavigation.js.map +1 -1
- package/dist/containers/Clusters/constants.d.ts +1 -1
- package/dist/containers/Nodes/Nodes.js +2 -2
- package/dist/containers/Nodes/Nodes.js.map +1 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.d.ts +3 -1
- package/dist/containers/Nodes/NodesControls/NodesControls.js +3 -3
- package/dist/containers/Nodes/NodesControls/NodesControls.js.map +1 -1
- package/dist/containers/Nodes/PaginatedNodes.d.ts +11 -3
- package/dist/containers/Nodes/PaginatedNodes.js +16 -19
- package/dist/containers/Nodes/PaginatedNodes.js.map +1 -1
- package/dist/containers/Nodes/columns/columns.js +2 -2
- package/dist/containers/Nodes/columns/columns.js.map +1 -1
- package/dist/containers/Nodes/columns/constants.d.ts +3 -2
- package/dist/containers/Nodes/columns/constants.js +10 -10
- package/dist/containers/Nodes/columns/constants.js.map +1 -1
- package/dist/containers/Nodes/getNodes.js +4 -5
- package/dist/containers/Nodes/getNodes.js.map +1 -1
- package/dist/containers/Nodes/useNodesPageQueryParams.d.ts +3 -2
- package/dist/containers/Nodes/useNodesPageQueryParams.js +2 -2
- package/dist/containers/Nodes/useNodesPageQueryParams.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +3 -3
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/constants.d.ts +3 -7
- package/dist/containers/Storage/StorageGroups/columns/constants.js +54 -10
- package/dist/containers/Storage/StorageGroups/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/getGroups.js +3 -5
- package/dist/containers/Storage/StorageGroups/getGroups.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/columns.js +2 -3
- package/dist/containers/Storage/StorageNodes/columns/columns.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/columns/constants.js +2 -2
- package/dist/containers/Storage/StorageNodes/columns/constants.js.map +1 -1
- package/dist/containers/Storage/StorageNodes/getNodes.js +4 -5
- package/dist/containers/Storage/StorageNodes/getNodes.js.map +1 -1
- package/dist/containers/Storage/utils/index.d.ts +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js +2 -2
- package/dist/containers/Tenant/Diagnostics/Diagnostics.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.d.ts +4 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js +23 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/columns.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.d.ts +5 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js +23 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkTable/constants.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.d.ts +6 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js +26 -0
- package/dist/containers/Tenant/Diagnostics/Network/NetworkWrapper.js.map +1 -0
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/Partitions.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.d.ts +2 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js +3 -2
- package/dist/containers/Tenant/Diagnostics/Partitions/PartitionsControls/PartitionsControls.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantCpu/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js +2 -7
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantMemory/TopNodesByMemory.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js +3 -1
- package/dist/containers/Tenant/Diagnostics/TopQueries/TopQueries.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js +5 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/SchemaTree.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +5 -2
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.d.ts +7 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js +40 -0
- package/dist/containers/Tenant/Query/ExecuteResult/PlanToSvgButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +4 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js +8 -7
- package/dist/containers/Tenant/Query/NewSQL/NewSQL.js.map +1 -1
- package/dist/containers/Tenant/Query/NewSQL/i18n/en.json +1 -2
- package/dist/containers/Tenant/Query/NewSQL/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js +3 -1
- package/dist/containers/Tenant/Query/QueriesHistory/QueriesHistory.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.d.ts +2 -27
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js +47 -52
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/QueryEditorControls.js.map +1 -1
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.d.ts +18 -3
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js +41 -15
- package/dist/containers/Tenant/Query/SaveQuery/SaveQuery.js.map +1 -1
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js +8 -3
- package/dist/containers/Tenant/Query/SavedQueries/SavedQueries.js.map +1 -1
- package/dist/containers/Tenant/utils/newSQLQueryActions.d.ts +1 -2
- package/dist/containers/Tenant/utils/newSQLQueryActions.js +2 -4
- package/dist/containers/Tenant/utils/newSQLQueryActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaActions.d.ts +1 -0
- package/dist/containers/Tenant/utils/schemaActions.js +61 -41
- package/dist/containers/Tenant/utils/schemaActions.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +87 -54
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js.map +1 -1
- package/dist/containers/UserSettings/i18n/en.json +3 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +2 -0
- package/dist/containers/UserSettings/settings.js +11 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/services/api.d.ts +4 -0
- package/dist/services/api.js +11 -0
- package/dist/services/api.js.map +1 -1
- package/dist/services/settings.d.ts +2 -0
- package/dist/services/settings.js +3 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/configureStore.d.ts +37 -15
- package/dist/store/defaultStore.d.ts +18 -7
- package/dist/store/reducers/capabilities/capabilities.d.ts +72 -16
- package/dist/store/reducers/capabilities/hooks.d.ts +1 -0
- package/dist/store/reducers/capabilities/hooks.js +3 -0
- package/dist/store/reducers/capabilities/hooks.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.d.ts +54 -12
- package/dist/store/reducers/executeQuery.d.ts +41 -51
- package/dist/store/reducers/executeQuery.js +64 -160
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +180 -40
- package/dist/store/reducers/index.d.ts +28 -13
- package/dist/store/reducers/node/selectors.d.ts +9 -2
- package/dist/store/reducers/nodes/types.d.ts +13 -0
- package/dist/store/reducers/nodes/utils.d.ts +1 -1
- package/dist/store/reducers/nodes/utils.js +3 -3
- package/dist/store/reducers/nodes/utils.js.map +1 -1
- package/dist/store/reducers/nodesList.d.ts +9 -2
- package/dist/store/reducers/partitions/partitions.d.ts +4 -3
- package/dist/store/reducers/partitions/partitions.js +1 -3
- package/dist/store/reducers/partitions/partitions.js.map +1 -1
- package/dist/store/reducers/partitions/types.d.ts +0 -3
- package/dist/store/reducers/planToSvg.d.ts +8 -0
- package/dist/store/reducers/planToSvg.js +21 -0
- package/dist/store/reducers/planToSvg.js.map +1 -0
- package/dist/store/reducers/queryActions/queryActions.d.ts +0 -27
- package/dist/store/reducers/queryActions/queryActions.js +1 -1
- package/dist/store/reducers/queryActions/queryActions.js.map +1 -1
- package/dist/store/reducers/queryActions/types.d.ts +1 -1
- package/dist/store/reducers/schema/schema.d.ts +22 -7
- package/dist/store/reducers/schema/schema.js +16 -20
- package/dist/store/reducers/schema/schema.js.map +1 -1
- package/dist/store/reducers/tablets.d.ts +45 -10
- package/dist/store/reducers/tenantOverview/topShards/utils.d.ts +1 -1
- package/dist/store/reducers/tenants/selectors.d.ts +81 -18
- package/dist/store/reducers/tooltip.d.ts +1 -1
- package/dist/store/reducers/topic.d.ts +135 -30
- package/dist/store/reducers/trace.d.ts +1 -1
- package/dist/store/reducers/trace.js +1 -1
- package/dist/store/reducers/trace.js.map +1 -1
- package/dist/types/api/nodes.d.ts +74 -4
- package/dist/types/api/nodes.js.map +1 -1
- package/dist/types/store/executeQuery.d.ts +3 -6
- package/dist/types/store/executeQuery.js.map +1 -1
- package/dist/utils/constants.d.ts +2 -0
- package/dist/utils/constants.js +2 -0
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/dataFormatters/dataFormatters.d.ts +1 -1
- package/dist/utils/dataFormatters/dataFormatters.js +12 -6
- package/dist/utils/dataFormatters/dataFormatters.js.map +1 -1
- package/dist/utils/hooks/withConfirmation/i18n/en.json +4 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.d.ts +2 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js +5 -0
- package/dist/utils/hooks/withConfirmation/i18n/index.js.map +1 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.d.ts +3 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js +57 -0
- package/dist/utils/hooks/withConfirmation/useChangeInputWithConfirmation.js.map +1 -0
- package/dist/utils/monaco/insertSnippet.d.ts +1 -0
- package/dist/utils/monaco/insertSnippet.js +8 -0
- package/dist/utils/monaco/insertSnippet.js.map +1 -0
- package/dist/utils/nodes.d.ts +1 -4
- package/dist/utils/nodes.js +0 -36
- package/dist/utils/nodes.js.map +1 -1
- package/dist/utils/query.d.ts +1 -1
- package/dist/utils/storage.d.ts +1 -3
- package/dist/utils/storage.js +0 -17
- package/dist/utils/storage.js.map +1 -1
- package/dist/utils/timeParsers/parsers.d.ts +1 -1
- package/dist/utils/timeParsers/parsers.js +3 -2
- package/dist/utils/timeParsers/parsers.js.map +1 -1
- package/package.json +2 -1
@@ -1,6 +1,9 @@
|
|
1
1
|
export const createTableTemplate = (params) => {
|
2
|
+
const tableName = (params === null || params === void 0 ? void 0 : params.relativePath)
|
3
|
+
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}/my_row_table\``
|
4
|
+
: '${1:my_row_table}';
|
2
5
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/create_table
|
3
|
-
CREATE TABLE
|
6
|
+
CREATE TABLE ${tableName} (
|
4
7
|
category_id Uint64 NOT NULL,
|
5
8
|
id Uint64,
|
6
9
|
expire_at Datetime,
|
@@ -32,8 +35,11 @@ WITH (
|
|
32
35
|
)`;
|
33
36
|
};
|
34
37
|
export const createColumnTableTemplate = (params) => {
|
38
|
+
const tableName = (params === null || params === void 0 ? void 0 : params.relativePath)
|
39
|
+
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}/my_column_table\``
|
40
|
+
: '${1:my_column_table}';
|
35
41
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/create_table#olap-tables
|
36
|
-
CREATE TABLE
|
42
|
+
CREATE TABLE ${tableName} (
|
37
43
|
id Int64 NOT NULL,
|
38
44
|
author Text,
|
39
45
|
title Text,
|
@@ -44,12 +50,13 @@ PARTITION BY HASH(id)
|
|
44
50
|
WITH (STORE = COLUMN)`;
|
45
51
|
};
|
46
52
|
export const createAsyncReplicationTemplate = () => {
|
47
|
-
return
|
53
|
+
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-async-replication
|
54
|
+
CREATE OBJECT secret_name (TYPE SECRET) WITH value="secret_value";
|
48
55
|
|
49
56
|
CREATE ASYNC REPLICATION my_replication
|
50
|
-
FOR
|
57
|
+
FOR \${1:<original_table>} AS \${2:replica_table} --[, \`/remote_database/another_table_name\` AS \`another_local_table_name\` ...]
|
51
58
|
WITH (
|
52
|
-
CONNECTION_STRING="grpcs://mydb.ydb.tech:2135/?database=/remote_database",
|
59
|
+
CONNECTION_STRING="\${3:grpcs://mydb.ydb.tech:2135/?database=/remote_database}",
|
53
60
|
TOKEN_SECRET_NAME = "secret_name"
|
54
61
|
-- ENDPOINT="mydb.ydb.tech:2135",
|
55
62
|
-- DATABASE=\`/remote_database\`,
|
@@ -58,47 +65,57 @@ WITH (
|
|
58
65
|
);`;
|
59
66
|
};
|
60
67
|
export const alterTableTemplate = (params) => {
|
68
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
61
69
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter_table/
|
62
70
|
|
63
|
-
ALTER TABLE
|
71
|
+
ALTER TABLE ${path}
|
64
72
|
-- RENAME TO new_table_name
|
65
73
|
-- DROP COLUMN some_existing_column
|
66
|
-
|
74
|
+
\${2:ADD COLUMN numeric_column Int32};`;
|
67
75
|
};
|
68
76
|
export const selectQueryTemplate = (params) => {
|
69
77
|
var _a;
|
70
|
-
const
|
78
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${2:<my_table>}';
|
79
|
+
const columns = ((_a = params === null || params === void 0 ? void 0 : params.tableData) === null || _a === void 0 ? void 0 : _a.map((column) => '`' + column.name + '`').join(', ')) || '${1:*}';
|
71
80
|
return `SELECT ${columns}
|
72
|
-
|
73
|
-
|
81
|
+
FROM ${path}
|
82
|
+
WHERE \${3:Key1 = 1}
|
83
|
+
ORDER BY \${4:Key1}
|
84
|
+
LIMIT \${5:10};`;
|
74
85
|
};
|
75
86
|
export const upsertQueryTemplate = (params) => {
|
76
87
|
var _a;
|
77
|
-
const
|
78
|
-
|
79
|
-
( ${
|
80
|
-
|
88
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
89
|
+
const columns = ((_a = params === null || params === void 0 ? void 0 : params.tableData) === null || _a === void 0 ? void 0 : _a.map((column) => `\`${column.name}\``).join(', ')) || '${2:id, name}';
|
90
|
+
const values = (params === null || params === void 0 ? void 0 : params.tableData) ? '${3: }' : '${3:1, "foo"}';
|
91
|
+
return `UPSERT INTO ${path}
|
92
|
+
( ${columns} )
|
93
|
+
VALUES ( ${values} );`;
|
81
94
|
};
|
82
95
|
export const dropExternalTableTemplate = (params) => {
|
83
|
-
|
96
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:my_table}';
|
97
|
+
return `DROP EXTERNAL TABLE ${path};`;
|
84
98
|
};
|
85
99
|
export const createExternalTableTemplate = (params) => {
|
86
100
|
// Remove data source name from path
|
87
101
|
// to create table in the same folder with data source
|
88
102
|
const targetPath = params === null || params === void 0 ? void 0 : params.relativePath.split('/').slice(0, -1).join('/');
|
89
|
-
|
103
|
+
const target = targetPath ? `\`${targetPath}/my_external_table\`` : '${1:<my_external_table>}';
|
104
|
+
const source = (params === null || params === void 0 ? void 0 : params.relativePath) ? `${params.relativePath}` : '${2:<path_to_data_source>}';
|
105
|
+
return `CREATE EXTERNAL TABLE ${target} (
|
90
106
|
column1 Int,
|
91
107
|
column2 Int
|
92
108
|
) WITH (
|
93
|
-
DATA_SOURCE="${
|
109
|
+
DATA_SOURCE="${source}",
|
94
110
|
LOCATION="",
|
95
111
|
FORMAT="json_as_string",
|
96
112
|
\`file_pattern\`=""
|
97
113
|
);`;
|
98
114
|
};
|
99
115
|
export const createTopicTemplate = (params) => {
|
100
|
-
|
101
|
-
|
116
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`/my_topic` : '${1:my_topic}';
|
117
|
+
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-topic
|
118
|
+
CREATE TOPIC ${path} (
|
102
119
|
CONSUMER consumer1,
|
103
120
|
CONSUMER consumer2 WITH (read_from = Datetime('1970-01-01T00:00:00Z')) -- Sets up the message write time starting from which the consumer will receive data.
|
104
121
|
-- Value type: Datetime OR Timestamp OR integer (unix-timestamp in the numeric format).
|
@@ -117,8 +134,9 @@ CREATE TOPIC \`${(params === null || params === void 0 ? void 0 : params.relativ
|
|
117
134
|
);`;
|
118
135
|
};
|
119
136
|
export const alterTopicTemplate = (params) => {
|
137
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_topic>}';
|
120
138
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/alter_topic
|
121
|
-
ALTER TOPIC
|
139
|
+
ALTER TOPIC ${path}
|
122
140
|
ADD CONSUMER new_consumer WITH (read_from = Datetime('1970-01-01T00:00:00Z')), -- Sets up the message write time starting from which the consumer will receive data.
|
123
141
|
-- Value type: Datetime OR Timestamp OR integer (unix-timestamp in the numeric format).
|
124
142
|
-- Default value: now
|
@@ -138,37 +156,46 @@ ALTER TOPIC \`${(params === null || params === void 0 ? void 0 : params.relative
|
|
138
156
|
);`;
|
139
157
|
};
|
140
158
|
export const dropTopicTemplate = (params) => {
|
141
|
-
|
159
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_topic>}';
|
160
|
+
return `DROP TOPIC ${path};`;
|
142
161
|
};
|
143
162
|
export const createViewTemplate = (params) => {
|
144
|
-
|
163
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`/my_view` : '${1:my_view}';
|
164
|
+
return `CREATE VIEW ${path} WITH (security_invoker = TRUE) AS SELECT 1;`;
|
145
165
|
};
|
146
166
|
export const dropViewTemplate = (params) => {
|
147
|
-
|
167
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_view>}';
|
168
|
+
return `DROP VIEW ${path};`;
|
148
169
|
};
|
149
170
|
export const dropAsyncReplicationTemplate = (params) => {
|
150
|
-
|
171
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_replication>}';
|
172
|
+
return `DROP ASYNC REPLICATION ${path};`;
|
151
173
|
};
|
152
174
|
export const alterAsyncReplicationTemplate = (params) => {
|
153
|
-
|
175
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_replication>}';
|
176
|
+
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter-async-replication
|
177
|
+
ALTER ASYNC REPLICATION ${path} SET (STATE = "DONE", FAILOVER_MODE = "FORCE");`;
|
154
178
|
};
|
155
179
|
export const addTableIndex = (params) => {
|
156
|
-
|
180
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
181
|
+
return `ALTER TABLE ${path} ADD INDEX \${2:index_name} GLOBAL ON (\${3:<column_name>});`;
|
157
182
|
};
|
158
183
|
export const dropTableIndex = (params) => {
|
159
184
|
const indexName = params === null || params === void 0 ? void 0 : params.relativePath.split('/').pop();
|
160
185
|
const path = params === null || params === void 0 ? void 0 : params.relativePath.split('/').slice(0, -1).join('/');
|
161
|
-
|
186
|
+
const pathSnippet = path ? `\`${path}\`` : '${1:<my_table>}';
|
187
|
+
return `ALTER TABLE ${pathSnippet} DROP INDEX ${indexName || '${2:<index_name>}'};`;
|
162
188
|
};
|
163
189
|
export const createCdcStreamTemplate = (params) => {
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
190
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
191
|
+
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter_table/changefeed
|
192
|
+
ALTER TABLE ${path} ADD CHANGEFEED \${2:changefeed_name} WITH (
|
193
|
+
MODE = \${3:'UPDATES'}, -- KEYS_ONLY, UPDATES, NEW_IMAGE, OLD_IMAGE, or NEW_AND_OLD_IMAGES
|
194
|
+
FORMAT = \${4:'JSON'}, -- JSON or DEBEZIUM_JSON
|
195
|
+
VIRTUAL_TIMESTAMPS = \${5:TRUE}, -- true or false
|
196
|
+
RETENTION_PERIOD = \${6:Interval('PT12H')}, -- Interval value, e.g., Interval('PT24H')
|
197
|
+
-- TOPIC_MIN_ACTIVE_PARTITIONS: The number of topic partitions. By default, the number of topic partitions is equal to the number of table partitions
|
198
|
+
INITIAL_SCAN = \${8:TRUE} -- true or false
|
172
199
|
)
|
173
200
|
|
174
201
|
-- MODE options:
|
@@ -180,42 +207,44 @@ ALTER TABLE \`${(params === null || params === void 0 ? void 0 : params.relative
|
|
180
207
|
};
|
181
208
|
export const createGroupTemplate = () => {
|
182
209
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-group
|
183
|
-
CREATE GROUP
|
210
|
+
CREATE GROUP \${1:group_name}
|
184
211
|
-- group_name: The name of the group. It may contain lowercase Latin letters and digits.`;
|
185
212
|
};
|
186
213
|
export const createUserTemplate = () => {
|
187
214
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-user
|
188
|
-
CREATE USER
|
215
|
+
CREATE USER \${1:user_name} PASSWORD \${2:'password'}
|
189
216
|
-- user_name: The name of the user. It may contain lowercase Latin letters and digits.
|
190
217
|
-- option: The password of the user:
|
191
218
|
-- PASSWORD 'password' creates a user with the password password. The ENCRYPTED option is always enabled.
|
192
219
|
-- PASSWORD NULL creates a user with an empty password.`;
|
193
220
|
};
|
194
221
|
export const deleteRowsTemplate = (params) => {
|
222
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
195
223
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/delete
|
196
|
-
DELETE FROM
|
197
|
-
WHERE Key1
|
224
|
+
DELETE FROM ${path}
|
225
|
+
WHERE \${2:Key1 = 1};`;
|
198
226
|
};
|
199
227
|
export const dropGroupTemplate = () => {
|
200
228
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/drop-group
|
201
|
-
DROP GROUP
|
229
|
+
DROP GROUP \${1:<group_name>}
|
202
230
|
|
203
231
|
-- IF EXISTS: Suppress an error if the group doesn't exist.
|
204
232
|
-- group_name: The name of the group to be deleted.`;
|
205
233
|
};
|
206
234
|
export const dropUserTemplate = () => {
|
207
235
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/drop-user
|
208
|
-
DROP USER
|
236
|
+
DROP USER \${1:<user_name>}
|
209
237
|
|
210
238
|
-- IF EXISTS: Suppress an error if the user doesn't exist.
|
211
239
|
-- user_name: The name of the user to be deleted.`;
|
212
240
|
};
|
213
241
|
export const grantPrivilegeTemplate = (params) => {
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
242
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
243
|
+
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\``
|
244
|
+
: '${2:<path_to_scheme_object>}';
|
245
|
+
return `GRANT \${1:<permission_name>}
|
246
|
+
ON ${path}
|
247
|
+
TO \${3:<role_name>}
|
219
248
|
|
220
249
|
-- permission_name: The name of the access right to schema objects that needs to be assigned.
|
221
250
|
-- path_to_scheme_object: The path to the schema object for which rights are being granted.
|
@@ -226,10 +255,12 @@ TO $role_name [, ...]
|
|
226
255
|
-- grant rights broader than they possess themselves.`;
|
227
256
|
};
|
228
257
|
export const revokePrivilegeTemplate = (params) => {
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
258
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
259
|
+
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\``
|
260
|
+
: '${2:<path_to_scheme_object>}';
|
261
|
+
return `REVOKE \${1:<permission_name>}
|
262
|
+
ON ${path}
|
263
|
+
FROM \${3:<role_name>}
|
233
264
|
|
234
265
|
-- permission_name: The name of the access right to schema objects that needs to be revoked.
|
235
266
|
-- path_to_scheme_object: The path to the schema object from which rights are being revoked.
|
@@ -239,12 +270,14 @@ FROM $role_name [, ...]
|
|
239
270
|
-- This construct has functionality similar to revoking the "ydb.access.grant" or GRANT right.`;
|
240
271
|
};
|
241
272
|
export const updateTableTemplate = (params) => {
|
273
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
242
274
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/update
|
243
|
-
UPDATE
|
244
|
-
SET
|
245
|
-
WHERE Key1
|
275
|
+
UPDATE ${path}
|
276
|
+
SET \${2:Column1 = 'foo', Column2 = 'bar'}
|
277
|
+
WHERE \${3:Key1 = 1};`;
|
246
278
|
};
|
247
279
|
export const dropTableTemplate = (params) => {
|
248
|
-
|
280
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath) ? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\`` : '${1:<my_table>}';
|
281
|
+
return `DROP TABLE ${path};`;
|
249
282
|
};
|
250
283
|
//# sourceMappingURL=schemaQueryTemplates.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemaQueryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaQueryTemplates.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,
|
1
|
+
{"version":3,"file":"schemaQueryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaQueryTemplates.ts"],"names":[],"mappings":"AAUA,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,MAA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,MAA0B,EAAE,EAAE;IAClE,MAAM,IAAI,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY;QAC7B,CAAC,CAAC,KAAK,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,IAAI;QAC/B,CAAC,CAAC,8BAA8B,CAAC;IACrC,OAAO;KACN,IAAI;;;;;;;;iHAQwG,CAAC;AAClH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,MAAM,IAAI,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,EAAC,CAAC,CAAC,KAAK,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IACtF,OAAO;SACF,IAAI;;sBAES,CAAC;AACvB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC5D,MAAM,IAAI,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,EAAC,CAAC,CAAC,KAAK,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IACtF,OAAO,cAAc,IAAI,GAAG,CAAC;AACjC,CAAC,CAAC"}
|
@@ -22,6 +22,9 @@
|
|
22
22
|
"settings.invertedDisks.title": "Inverted disks space indicators",
|
23
23
|
"settings.usePaginatedTables.title": "Use paginated tables",
|
24
24
|
"settings.usePaginatedTables.description": " Use table with data load on scroll for Nodes and Storage tabs. It will increase performance, but could work unstable",
|
25
|
+
"settings.enableNetworkTable.title": "Enable network table",
|
26
|
+
"settings.useShowPlanToSvg.title": "Plan to svg",
|
27
|
+
"settings.useShowPlanToSvg.description": " Show \"Plan to svg\" button in query result widow (if query was executed with full stats option).",
|
25
28
|
"settings.showDomainDatabase.title": "Show domain database",
|
26
29
|
"settings.useClusterBalancerAsBackend.title": "Use cluster balancer as backend",
|
27
30
|
"settings.useClusterBalancerAsBackend.description": "By default random cluster node is used as backend. It causes saved links to become invalid after some time, when node is restarted. Using balancer as backend fixes it",
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.showDomainDatabase.title" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
declare const _default: (key: "page.general" | "section.appearance" | "page.experiments" | "section.experiments" | "page.editor" | "section.dev-setting" | "page.about" | "section.about" | "settings.editor.autocomplete.title" | "settings.editor.autocomplete.description" | "settings.editor.autocomplete-on-enter.title" | "settings.editor.autocomplete-on-enter.description" | "settings.theme.title" | "settings.theme.option-dark" | "settings.theme.option-light" | "settings.theme.option-system" | "settings.language.title" | "settings.language.option-russian" | "settings.language.option-english" | "settings.binaryDataInPlainTextDisplay.title" | "settings.invertedDisks.title" | "settings.usePaginatedTables.title" | "settings.usePaginatedTables.description" | "settings.enableNetworkTable.title" | "settings.useShowPlanToSvg.title" | "settings.useShowPlanToSvg.description" | "settings.showDomainDatabase.title" | "settings.useClusterBalancerAsBackend.title" | "settings.useClusterBalancerAsBackend.description" | "settings.about.interfaceVersionInfoField.title", params?: import("@gravity-ui/i18n").Params) => string;
|
2
2
|
export default _default;
|
@@ -18,6 +18,8 @@ export declare const languageSetting: SettingProps;
|
|
18
18
|
export declare const binaryDataInPlainTextDisplay: SettingProps;
|
19
19
|
export declare const invertedDisksSetting: SettingProps;
|
20
20
|
export declare const usePaginatedTables: SettingProps;
|
21
|
+
export declare const enableNetworkTable: SettingProps;
|
22
|
+
export declare const useShowPlanToSvgTables: SettingProps;
|
21
23
|
export declare const showDomainDatabase: SettingProps;
|
22
24
|
export declare const useClusterBalancerAsBackendSetting: SettingProps;
|
23
25
|
export declare const enableAutocompleteSetting: SettingProps;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { CircleInfo, Flask, PencilToSquare, StarFill } from '@gravity-ui/icons';
|
2
2
|
import { createNextState } from '@reduxjs/toolkit';
|
3
|
-
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, LANGUAGE_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../../utils/constants';
|
3
|
+
import { AUTOCOMPLETE_ON_ENTER, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, ENABLE_NETWORK_TABLE_KEY, INVERTED_DISKS_KEY, LANGUAGE_KEY, SHOW_DOMAIN_DATABASE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, USE_SHOW_PLAN_SVG_KEY, } from '../../utils/constants';
|
4
4
|
import { Lang, defaultLang } from '../../utils/i18n';
|
5
5
|
import i18n from './i18n';
|
6
6
|
import packageJson from '../../../package.json';
|
@@ -57,6 +57,15 @@ export const usePaginatedTables = {
|
|
57
57
|
title: i18n('settings.usePaginatedTables.title'),
|
58
58
|
description: i18n('settings.usePaginatedTables.description'),
|
59
59
|
};
|
60
|
+
export const enableNetworkTable = {
|
61
|
+
settingKey: ENABLE_NETWORK_TABLE_KEY,
|
62
|
+
title: i18n('settings.enableNetworkTable.title'),
|
63
|
+
};
|
64
|
+
export const useShowPlanToSvgTables = {
|
65
|
+
settingKey: USE_SHOW_PLAN_SVG_KEY,
|
66
|
+
title: i18n('settings.useShowPlanToSvg.title'),
|
67
|
+
description: i18n('settings.useShowPlanToSvg.description'),
|
68
|
+
};
|
60
69
|
export const showDomainDatabase = {
|
61
70
|
settingKey: SHOW_DOMAIN_DATABASE_KEY,
|
62
71
|
title: i18n('settings.showDomainDatabase.title'),
|
@@ -94,7 +103,7 @@ export const appearanceSection = {
|
|
94
103
|
export const experimentsSection = {
|
95
104
|
id: 'experimentsSection',
|
96
105
|
title: i18n('section.experiments'),
|
97
|
-
settings: [usePaginatedTables],
|
106
|
+
settings: [usePaginatedTables, enableNetworkTable, useShowPlanToSvgTables],
|
98
107
|
};
|
99
108
|
export const devSettingsSection = {
|
100
109
|
id: 'devSettingsSection',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,wBAAwB,EACxB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../../src/containers/UserSettings/settings.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAC,eAAe,EAAC,MAAM,kBAAkB,CAAC;AAEjD,OAAO,EACH,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,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Options } from '@gravity-ui/axios-wrapper';
|
3
|
+
import type { PlanToSvgQueryParams } from '../store/reducers/planToSvg';
|
3
4
|
import type { TMetaInfo } from '../types/api/acl';
|
4
5
|
import type { TQueryAutocomplete } from '../types/api/autocomplete';
|
5
6
|
import type { CapabilitiesResponse } from '../types/api/capabilities';
|
@@ -121,6 +122,9 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
121
122
|
query_id?: string;
|
122
123
|
limit_rows?: number;
|
123
124
|
}, { concurrentId, signal, withRetries }?: AxiosOptions): Promise<ErrorResponse | QueryAPIResponse<Action> | null>;
|
125
|
+
planToSvg({ database, plan }: PlanToSvgQueryParams, { signal }?: {
|
126
|
+
signal?: AbortSignal;
|
127
|
+
}): Promise<string>;
|
124
128
|
getHotKeys({ path, database, enableSampling }: {
|
125
129
|
path: string;
|
126
130
|
database: string;
|
package/dist/services/api.js
CHANGED
@@ -300,6 +300,17 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
300
300
|
: undefined,
|
301
301
|
});
|
302
302
|
}
|
303
|
+
planToSvg({ database, plan }, { signal } = {}) {
|
304
|
+
return this.post(this.getPath('/viewer/plan2svg'), plan, { database }, {
|
305
|
+
requestConfig: {
|
306
|
+
signal,
|
307
|
+
responseType: 'text',
|
308
|
+
headers: {
|
309
|
+
Accept: 'image/svg+xml',
|
310
|
+
},
|
311
|
+
},
|
312
|
+
});
|
313
|
+
}
|
303
314
|
getHotKeys({ path, database, enableSampling }, { concurrentId, signal } = {}) {
|
304
315
|
return this.get(this.getPath('/viewer/json/hotkeys'), {
|
305
316
|
database,
|
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI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;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
|
@@ -11,6 +11,8 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
11
11
|
readonly asideHeaderCompact: true;
|
12
12
|
readonly partitionsHiddenColumns: readonly [];
|
13
13
|
readonly useBackendParamsForTables: true;
|
14
|
+
readonly enableNetworkTable: false;
|
15
|
+
readonly useShowPlanToSvg: false;
|
14
16
|
readonly useClusterBalancerAsBacked: true;
|
15
17
|
readonly enableAutocomplete: true;
|
16
18
|
readonly autocompleteOnEnter: true;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
|
2
|
-
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
2
|
+
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, ENABLE_AUTOCOMPLETE, ENABLE_NETWORK_TABLE_KEY, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_PAGINATED_TABLES_KEY, USE_SHOW_PLAN_SVG_KEY, } from '../utils/constants';
|
3
3
|
import { DEFAULT_QUERY_SETTINGS, QUERY_ACTIONS } from '../utils/query';
|
4
4
|
import { parseJson } from '../utils/utils';
|
5
5
|
/** User settings keys and their default values */
|
@@ -14,6 +14,8 @@ export const DEFAULT_USER_SETTINGS = {
|
|
14
14
|
[ASIDE_HEADER_COMPACT_KEY]: true,
|
15
15
|
[PARTITIONS_HIDDEN_COLUMNS_KEY]: [],
|
16
16
|
[USE_PAGINATED_TABLES_KEY]: true,
|
17
|
+
[ENABLE_NETWORK_TABLE_KEY]: false,
|
18
|
+
[USE_SHOW_PLAN_SVG_KEY]: false,
|
17
19
|
[USE_CLUSTER_BALANCER_AS_BACKEND_KEY]: true,
|
18
20
|
[ENABLE_AUTOCOMPLETE]: true,
|
19
21
|
[AUTOCOMPLETE_ON_ENTER]: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,mBAAmB,EACnB,wBAAwB,EACxB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,iBAAiB,EACjB,wBAAwB,EACxB,uBAAuB,EACvB,SAAS,EACT,mCAAmC,EACnC,wBAAwB,EACxB,qBAAqB,GACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,sBAAsB,EAAE,aAAa,EAAC,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAIzC,kDAAkD;AAClD,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,CAAC,SAAS,CAAC,EAAE,QAAQ;IACrB,CAAC,YAAY,CAAC,EAAE,SAAS;IACzB,CAAC,kBAAkB,CAAC,EAAE,KAAK;IAC3B,CAAC,iCAAiC,CAAC,EAAE,IAAI;IACzC,CAAC,iBAAiB,CAAC,EAAE,EAAE;IACvB,CAAC,uBAAuB,CAAC,EAAE,gBAAgB,CAAC,KAAK;IACjD,CAAC,0BAA0B,CAAC,EAAE,aAAa,CAAC,OAAO;IACnD,CAAC,wBAAwB,CAAC,EAAE,IAAI;IAChC,CAAC,6BAA6B,C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