ydb-embedded-ui 8.10.0 → 8.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/FullNodeViewer/i18n/index.d.ts +1 -1
- package/dist/components/JsonViewer/JsonViewer.d.ts +14 -0
- package/dist/components/JsonViewer/JsonViewer.js +174 -0
- package/dist/components/JsonViewer/JsonViewer.js.map +1 -0
- package/dist/components/JsonViewer/JsonViewer.scss +117 -0
- package/dist/components/JsonViewer/components/Cell.d.ts +16 -0
- package/dist/components/JsonViewer/components/Cell.js +103 -0
- package/dist/components/JsonViewer/components/Cell.js.map +1 -0
- package/dist/components/JsonViewer/components/Filter.d.ts +14 -0
- package/dist/components/JsonViewer/components/Filter.js +16 -0
- package/dist/components/JsonViewer/components/Filter.js.map +1 -0
- package/dist/components/JsonViewer/components/FullValueDialog.d.ts +8 -0
- package/dist/components/JsonViewer/components/FullValueDialog.js +10 -0
- package/dist/components/JsonViewer/components/FullValueDialog.js.map +1 -0
- package/dist/components/JsonViewer/components/HighlightedText.d.ts +15 -0
- package/dist/components/JsonViewer/components/HighlightedText.js +30 -0
- package/dist/components/JsonViewer/components/HighlightedText.js.map +1 -0
- package/dist/components/JsonViewer/components/ToggleCollapseButton.d.ts +8 -0
- package/dist/components/JsonViewer/components/ToggleCollapseButton.js +8 -0
- package/dist/components/JsonViewer/components/ToggleCollapseButton.js.map +1 -0
- package/dist/components/JsonViewer/constants.d.ts +1 -0
- package/dist/components/JsonViewer/constants.js +3 -0
- package/dist/components/JsonViewer/constants.js.map +1 -0
- package/dist/components/JsonViewer/i18n/en.json +17 -0
- package/dist/components/JsonViewer/i18n/index.d.ts +2 -0
- package/dist/components/{JSONTree → JsonViewer}/i18n/index.js +1 -1
- package/dist/components/JsonViewer/i18n/index.js.map +1 -0
- package/dist/components/JsonViewer/unipika/StructuredYsonTypes.d.ts +51 -0
- package/dist/components/JsonViewer/unipika/StructuredYsonTypes.js +2 -0
- package/dist/components/JsonViewer/unipika/StructuredYsonTypes.js.map +1 -0
- package/dist/components/JsonViewer/unipika/flattenUnipika.d.ts +44 -0
- package/dist/components/JsonViewer/unipika/flattenUnipika.js +254 -0
- package/dist/components/JsonViewer/unipika/flattenUnipika.js.map +1 -0
- package/dist/components/JsonViewer/unipika/unipika.d.ts +12 -0
- package/dist/components/JsonViewer/unipika/unipika.js +20 -0
- package/dist/components/JsonViewer/unipika/unipika.js.map +1 -0
- package/dist/components/JsonViewer/utils.d.ts +2 -0
- package/dist/components/JsonViewer/utils.js +5 -0
- package/dist/components/JsonViewer/utils.js.map +1 -0
- package/dist/components/MetricChart/reducer.d.ts +2 -2
- package/dist/components/nodesColumns/i18n/index.d.ts +1 -1
- package/dist/containers/Cluster/i18n/en.json +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +3 -1
- package/dist/containers/Storage/Disks/Disks.js +6 -6
- package/dist/containers/Storage/Disks/Disks.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/columns/columns.js +2 -2
- package/dist/containers/Storage/StorageGroups/columns/columns.js.map +1 -1
- package/dist/containers/Storage/VDisks/VDisks.d.ts +3 -1
- package/dist/containers/Storage/VDisks/VDisks.js +2 -2
- package/dist/containers/Storage/VDisks/VDisks.js.map +1 -1
- package/dist/containers/Storage/utils/index.d.ts +2 -1
- package/dist/containers/Storage/utils/index.js +10 -2
- package/dist/containers/Storage/utils/index.js.map +1 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js +4 -8
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/Describe/Describe.scss +0 -6
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js +3 -2
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/Healthcheck/IssuesViewer/IssueTree.scss +2 -31
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js +1 -4
- package/dist/containers/Tenant/ObjectSummary/ObjectSummary.js.map +1 -1
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js +4 -0
- package/dist/containers/Tenant/ObjectSummary/SchemaTree/RefreshTreeButton.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditor/QueryEditor.scss +4 -0
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js +4 -2
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryResult/components/QueryJSONViewer/QueryJSONViewer.scss +5 -2
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js +4 -7
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/SchemaViewer.scss +15 -0
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js +9 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/columns.js.map +1 -1
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js +1 -3
- package/dist/containers/Tenant/Schema/SchemaViewer/prepareData.js.map +1 -1
- package/dist/containers/Tenant/Tenant.js +2 -5
- package/dist/containers/Tenant/Tenant.js.map +1 -1
- package/dist/containers/Tenant/utils/schemaQueryTemplates.js +68 -27
- package/dist/containers/Tenant/utils/schemaQueryTemplates.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 +10 -1
- package/dist/store/reducers/api.js.map +1 -1
- package/dist/store/reducers/authentication/authentication.d.ts +4 -4
- package/dist/store/reducers/cancelQuery.d.ts +2 -2
- package/dist/store/reducers/capabilities/capabilities.d.ts +16 -16
- package/dist/store/reducers/cluster/cluster.d.ts +5 -5
- package/dist/store/reducers/clusters/clusters.d.ts +2 -2
- package/dist/store/reducers/codeAssist/codeAssist.d.ts +6 -6
- package/dist/store/reducers/executeTopQueries/executeTopQueries.d.ts +3 -3
- package/dist/store/reducers/healthcheckInfo/healthcheckInfo.d.ts +35 -35
- 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 +2 -2
- package/dist/store/reducers/nodesList.d.ts +3 -3
- package/dist/store/reducers/operations.d.ts +4 -4
- package/dist/store/reducers/overview/overview.d.ts +3 -3
- package/dist/store/reducers/overview/overview.js +1 -1
- package/dist/store/reducers/overview/overview.js.map +1 -1
- package/dist/store/reducers/partitions/partitions.d.ts +2 -2
- package/dist/store/reducers/pdisk/pdisk.d.ts +2 -2
- package/dist/store/reducers/planToSvg.d.ts +2 -2
- 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/query/query.d.ts +2 -2
- package/dist/store/reducers/schema/schema.d.ts +16 -16
- package/dist/store/reducers/schemaAcl/schemaAcl.d.ts +2 -2
- package/dist/store/reducers/schemaAcl/schemaAcl.js +1 -1
- 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/prepareGroupsDisks.js +1 -3
- package/dist/store/reducers/storage/prepareGroupsDisks.js.map +1 -1
- package/dist/store/reducers/storage/storage.d.ts +3 -3
- package/dist/store/reducers/storage/types.d.ts +2 -2
- package/dist/store/reducers/tableData.d.ts +1 -1
- package/dist/store/reducers/tableSchemaData.d.ts +2 -2
- package/dist/store/reducers/tablet.d.ts +7 -7
- package/dist/store/reducers/tablets.d.ts +3 -3
- package/dist/store/reducers/tenant/tenant.d.ts +3 -3
- package/dist/store/reducers/tenantOverview/executeTopTables/executeTopTables.d.ts +2 -2
- package/dist/store/reducers/tenantOverview/topShards/tenantOverviewTopShards.d.ts +2 -2
- package/dist/store/reducers/tenants/selectors.d.ts +21 -21
- package/dist/store/reducers/tenants/tenants.d.ts +2 -2
- package/dist/store/reducers/topic.d.ts +35 -35
- package/dist/store/reducers/vdisk/vdisk.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.d.ts +2 -2
- package/dist/store/reducers/viewSchema/viewSchema.js +1 -1
- package/dist/store/reducers/viewSchema/viewSchema.js.map +1 -1
- package/dist/{index.css → styles/index.scss} +4 -0
- package/dist/styles/mixins.scss +0 -91
- package/dist/styles/unipika.scss +19 -0
- package/dist/types/api/cluster.d.ts +2 -1
- package/dist/types/api/cluster.js.map +1 -1
- package/dist/types/api/storage.d.ts +6 -2
- package/package.json +2 -2
- package/dist/components/JSONTree/JSONTree.d.ts +0 -9
- package/dist/components/JSONTree/JSONTree.js +0 -23
- package/dist/components/JSONTree/JSONTree.js.map +0 -1
- package/dist/components/JSONTree/JSONTree.scss +0 -20
- package/dist/components/JSONTree/i18n/en.json +0 -4
- package/dist/components/JSONTree/i18n/index.d.ts +0 -2
- package/dist/components/JSONTree/i18n/index.js.map +0 -1
@@ -1,6 +1,9 @@
|
|
1
|
+
function normalizeParameter(param) {
|
2
|
+
return param.replace(/\$/g, '\\$');
|
3
|
+
}
|
1
4
|
export const createTableTemplate = (params) => {
|
2
5
|
const tableName = (params === null || params === void 0 ? void 0 : params.relativePath)
|
3
|
-
? `\`${params
|
6
|
+
? `\`${normalizeParameter(params.relativePath)}/my_row_table\``
|
4
7
|
: '${1:my_row_table}';
|
5
8
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/create_table
|
6
9
|
CREATE TABLE ${tableName} (
|
@@ -36,7 +39,7 @@ WITH (
|
|
36
39
|
};
|
37
40
|
export const createColumnTableTemplate = (params) => {
|
38
41
|
const tableName = (params === null || params === void 0 ? void 0 : params.relativePath)
|
39
|
-
? `\`${params
|
42
|
+
? `\`${normalizeParameter(params.relativePath)}/my_column_table\``
|
40
43
|
: '${1:my_column_table}';
|
41
44
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/create_table#olap-tables
|
42
45
|
CREATE TABLE ${tableName} (
|
@@ -65,7 +68,9 @@ WITH (
|
|
65
68
|
);`;
|
66
69
|
};
|
67
70
|
export const alterTableTemplate = (params) => {
|
68
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
71
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
72
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
73
|
+
: '${1:<my_table>}';
|
69
74
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter_table/
|
70
75
|
|
71
76
|
ALTER TABLE ${path}
|
@@ -74,7 +79,9 @@ ALTER TABLE ${path}
|
|
74
79
|
\${2:ADD COLUMN numeric_column Int32};`;
|
75
80
|
};
|
76
81
|
export const manageAutoPartitioningTemplate = (params) => {
|
77
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
82
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
83
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
84
|
+
: '${1:<my_table>}';
|
78
85
|
return `-- documentation about partitioning https://ydb.tech/docs/en/concepts/datamodel/table#partitioning
|
79
86
|
|
80
87
|
ALTER TABLE ${path} SET
|
@@ -88,8 +95,10 @@ ALTER TABLE ${path} SET
|
|
88
95
|
};
|
89
96
|
export const selectQueryTemplate = (params) => {
|
90
97
|
var _a;
|
91
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
92
|
-
|
98
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
99
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
100
|
+
: '${2:<my_table>}';
|
101
|
+
const columns = ((_a = params === null || params === void 0 ? void 0 : params.schemaData) === null || _a === void 0 ? void 0 : _a.map((column) => { var _a; return '`' + normalizeParameter((_a = column.name) !== null && _a !== void 0 ? _a : '') + '`'; }).join(', ')) || '${1:*}';
|
93
102
|
const filters = (params === null || params === void 0 ? void 0 : params.relativePath) ? '' : 'WHERE ${3:Key1 = 1}\nORDER BY ${4:Key1}\n';
|
94
103
|
return `SELECT ${columns}
|
95
104
|
FROM ${path}
|
@@ -97,23 +106,31 @@ ${filters}LIMIT \${5:10};`;
|
|
97
106
|
};
|
98
107
|
export const upsertQueryTemplate = (params) => {
|
99
108
|
var _a;
|
100
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
101
|
-
|
109
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
110
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
111
|
+
: '${1:<my_table>}';
|
112
|
+
const columns = ((_a = params === null || params === void 0 ? void 0 : params.schemaData) === null || _a === void 0 ? void 0 : _a.map((column) => { var _a; return `\`${normalizeParameter((_a = column.name) !== null && _a !== void 0 ? _a : '')}\``; }).join(', ')) || '${2:id, name}';
|
102
113
|
const values = (params === null || params === void 0 ? void 0 : params.schemaData) ? '${3: }' : '${3:1, "foo"}';
|
103
114
|
return `UPSERT INTO ${path}
|
104
115
|
( ${columns} )
|
105
116
|
VALUES ( ${values} );`;
|
106
117
|
};
|
107
118
|
export const dropExternalTableTemplate = (params) => {
|
108
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
119
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
120
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
121
|
+
: '${1:my_table}';
|
109
122
|
return `DROP EXTERNAL TABLE ${path};`;
|
110
123
|
};
|
111
124
|
export const createExternalTableTemplate = (params) => {
|
112
125
|
// Remove data source name from path
|
113
126
|
// to create table in the same folder with data source
|
114
127
|
const targetPath = params === null || params === void 0 ? void 0 : params.relativePath.split('/').slice(0, -1).join('/');
|
115
|
-
const target = targetPath
|
116
|
-
|
128
|
+
const target = targetPath
|
129
|
+
? `\`${normalizeParameter(targetPath)}/my_external_table\``
|
130
|
+
: '${1:<my_external_table>}';
|
131
|
+
const source = (params === null || params === void 0 ? void 0 : params.relativePath)
|
132
|
+
? `${normalizeParameter(params.relativePath)}`
|
133
|
+
: '${2:<path_to_data_source>}';
|
117
134
|
return `CREATE EXTERNAL TABLE ${target} (
|
118
135
|
column1 Int,
|
119
136
|
column2 Int
|
@@ -125,7 +142,9 @@ export const createExternalTableTemplate = (params) => {
|
|
125
142
|
);`;
|
126
143
|
};
|
127
144
|
export const createTopicTemplate = (params) => {
|
128
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
145
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
146
|
+
? `\`${normalizeParameter(params.relativePath)}/my_topic\``
|
147
|
+
: '${1:my_topic}';
|
129
148
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/create-topic
|
130
149
|
CREATE TOPIC ${path} (
|
131
150
|
CONSUMER consumer1,
|
@@ -146,7 +165,9 @@ CREATE TOPIC ${path} (
|
|
146
165
|
);`;
|
147
166
|
};
|
148
167
|
export const alterTopicTemplate = (params) => {
|
149
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
168
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
169
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
170
|
+
: '${1:<my_topic>}';
|
150
171
|
return `-- docs: https://ydb.tech/en/docs/yql/reference/syntax/alter_topic
|
151
172
|
ALTER TOPIC ${path}
|
152
173
|
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.
|
@@ -168,38 +189,52 @@ ALTER TOPIC ${path}
|
|
168
189
|
);`;
|
169
190
|
};
|
170
191
|
export const dropTopicTemplate = (params) => {
|
171
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
192
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
193
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
194
|
+
: '${1:<my_topic>}';
|
172
195
|
return `DROP TOPIC ${path};`;
|
173
196
|
};
|
174
197
|
export const createViewTemplate = (params) => {
|
175
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
198
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
199
|
+
? `\`${normalizeParameter(params.relativePath)}/my_view\``
|
200
|
+
: '${1:my_view}';
|
176
201
|
return `CREATE VIEW ${path} WITH (security_invoker = TRUE) AS SELECT 1;`;
|
177
202
|
};
|
178
203
|
export const dropViewTemplate = (params) => {
|
179
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
204
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
205
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
206
|
+
: '${1:<my_view>}';
|
180
207
|
return `DROP VIEW ${path};`;
|
181
208
|
};
|
182
209
|
export const dropAsyncReplicationTemplate = (params) => {
|
183
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
210
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
211
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
212
|
+
: '${1:<my_replication>}';
|
184
213
|
return `DROP ASYNC REPLICATION ${path};`;
|
185
214
|
};
|
186
215
|
export const alterAsyncReplicationTemplate = (params) => {
|
187
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
216
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
217
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
218
|
+
: '${1:<my_replication>}';
|
188
219
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter-async-replication
|
189
220
|
ALTER ASYNC REPLICATION ${path} SET (STATE = "DONE", FAILOVER_MODE = "FORCE");`;
|
190
221
|
};
|
191
222
|
export const addTableIndex = (params) => {
|
192
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
223
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
224
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
225
|
+
: '${1:<my_table>}';
|
193
226
|
return `ALTER TABLE ${path} ADD INDEX \${2:index_name} GLOBAL ON (\${3:<column_name>});`;
|
194
227
|
};
|
195
228
|
export const dropTableIndex = (params) => {
|
196
229
|
const indexName = params === null || params === void 0 ? void 0 : params.relativePath.split('/').pop();
|
197
230
|
const path = params === null || params === void 0 ? void 0 : params.relativePath.split('/').slice(0, -1).join('/');
|
198
|
-
const pathSnippet = path ? `\`${path}\`` : '${1:<my_table>}';
|
199
|
-
return `ALTER TABLE ${pathSnippet} DROP INDEX ${indexName || '${2:<index_name>}'};`;
|
231
|
+
const pathSnippet = path ? `\`${normalizeParameter(path)}\`` : '${1:<my_table>}';
|
232
|
+
return `ALTER TABLE ${pathSnippet} DROP INDEX ${normalizeParameter(indexName !== null && indexName !== void 0 ? indexName : '') || '${2:<index_name>}'};`;
|
200
233
|
};
|
201
234
|
export const createCdcStreamTemplate = (params) => {
|
202
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
235
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
236
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
237
|
+
: '${1:<my_table>}';
|
203
238
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/alter_table/changefeed
|
204
239
|
ALTER TABLE ${path} ADD CHANGEFEED \${2:changefeed_name} WITH (
|
205
240
|
MODE = \${3:'UPDATES'}, -- KEYS_ONLY, UPDATES, NEW_IMAGE, OLD_IMAGE, or NEW_AND_OLD_IMAGES
|
@@ -231,7 +266,9 @@ CREATE USER \${1:user_name} PASSWORD \${2:'password'}
|
|
231
266
|
-- PASSWORD NULL creates a user with an empty password.`;
|
232
267
|
};
|
233
268
|
export const deleteRowsTemplate = (params) => {
|
234
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
269
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
270
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
271
|
+
: '${1:<my_table>}';
|
235
272
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/delete
|
236
273
|
DELETE FROM ${path}
|
237
274
|
WHERE \${2:Key1 = 1};`;
|
@@ -252,7 +289,7 @@ DROP USER \${1:<user_name>}
|
|
252
289
|
};
|
253
290
|
export const grantPrivilegeTemplate = (params) => {
|
254
291
|
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
255
|
-
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\``
|
292
|
+
? `\`${normalizeParameter(params === null || params === void 0 ? void 0 : params.relativePath)}\``
|
256
293
|
: '${2:<path_to_scheme_object>}';
|
257
294
|
return `GRANT \${1:<permission_name>}
|
258
295
|
ON ${path}
|
@@ -268,7 +305,7 @@ TO \${3:<role_name>}
|
|
268
305
|
};
|
269
306
|
export const revokePrivilegeTemplate = (params) => {
|
270
307
|
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
271
|
-
? `\`${params === null || params === void 0 ? void 0 : params.relativePath}\``
|
308
|
+
? `\`${normalizeParameter(params === null || params === void 0 ? void 0 : params.relativePath)}\``
|
272
309
|
: '${2:<path_to_scheme_object>}';
|
273
310
|
return `REVOKE \${1:<permission_name>}
|
274
311
|
ON ${path}
|
@@ -282,14 +319,18 @@ FROM \${3:<role_name>}
|
|
282
319
|
-- This construct has functionality similar to revoking the "ydb.access.grant" or GRANT right.`;
|
283
320
|
};
|
284
321
|
export const updateTableTemplate = (params) => {
|
285
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
322
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
323
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
324
|
+
: '${1:<my_table>}';
|
286
325
|
return `-- docs: https://ydb.tech/docs/en/yql/reference/syntax/update
|
287
326
|
UPDATE ${path}
|
288
327
|
SET \${2:Column1 = 'foo', Column2 = 'bar'}
|
289
328
|
WHERE \${3:Key1 = 1};`;
|
290
329
|
};
|
291
330
|
export const dropTableTemplate = (params) => {
|
292
|
-
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
331
|
+
const path = (params === null || params === void 0 ? void 0 : params.relativePath)
|
332
|
+
? `\`${normalizeParameter(params.relativePath)}\``
|
333
|
+
: '${1:<my_table>}';
|
293
334
|
return `DROP TABLE ${path};`;
|
294
335
|
};
|
295
336
|
//# 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,MAAM,SAAS,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY;QAClC,CAAC,CAAC,KAAK,
|
1
|
+
{"version":3,"file":"schemaQueryTemplates.js","sourceRoot":"","sources":["../../../../src/containers/Tenant/utils/schemaQueryTemplates.ts"],"names":[],"mappings":"AAUA,SAAS,kBAAkB,CAAC,KAAa;IACrC,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACvC,CAAC;AAED,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,MAA0B,EAAE,EAAE;IAC9D,MAAM,SAAS,GAAG,CAAA,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,YAAY;QAClC,CAAC,CAAC,KAAK,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,iBAAiB;QAC/D,CAAC,CAAC,mBAAmB,CAAC;IAC1B,OAAO;eACI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BtB,CAAC;AACH,CAAC,CAAC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;AACjC,CAAC,CAAC"}
|
@@ -7,7 +7,7 @@ export declare const metaBackend: string | undefined;
|
|
7
7
|
export declare const codeAssistBackend: string | undefined;
|
8
8
|
export declare function configureStore({ aRootReducer, singleClusterMode, api, }?: {
|
9
9
|
aRootReducer?: Reducer<{
|
10
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
10
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
11
11
|
singleClusterMode: boolean;
|
12
12
|
cluster: import("./reducers/cluster/types").ClusterState;
|
13
13
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -41,7 +41,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
41
41
|
} | {
|
42
42
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
43
43
|
} | Action<string>, Partial<{
|
44
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api"> | undefined;
|
44
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api"> | undefined;
|
45
45
|
singleClusterMode: boolean | undefined;
|
46
46
|
cluster: import("./reducers/cluster/types").ClusterState | undefined;
|
47
47
|
tenant: import("./reducers/tenant/types").TenantState | undefined;
|
@@ -72,7 +72,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
72
72
|
}): {
|
73
73
|
history: History<unknown>;
|
74
74
|
store: import("@reduxjs/toolkit").EnhancedStore<{
|
75
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
75
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
76
76
|
singleClusterMode: boolean;
|
77
77
|
cluster: import("./reducers/cluster/types").ClusterState;
|
78
78
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -107,7 +107,7 @@ export declare function configureStore({ aRootReducer, singleClusterMode, api, }
|
|
107
107
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
108
108
|
} | Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
109
109
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
110
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
110
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
111
111
|
singleClusterMode: boolean;
|
112
112
|
cluster: import("./reducers/cluster/types").ClusterState;
|
113
113
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
2
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
2
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
3
3
|
singleClusterMode: boolean;
|
4
4
|
cluster: import("./reducers/cluster/types").ClusterState;
|
5
5
|
tenant: import("./reducers/tenant/types").TenantState;
|
@@ -34,7 +34,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
34
34
|
readonly type: "DISABLE_FULLSCREEN_MODE";
|
35
35
|
} | import("redux").Action<string>, import("@reduxjs/toolkit").Tuple<[import("redux").StoreEnhancer<{
|
36
36
|
dispatch: import("redux-thunk").ThunkDispatch<{
|
37
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
37
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
38
38
|
singleClusterMode: boolean;
|
39
39
|
cluster: import("./reducers/cluster/types").ClusterState;
|
40
40
|
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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
3
3
|
export declare const _NEVER: unique symbol;
|
@@ -7,7 +7,16 @@ export const api = createApi({
|
|
7
7
|
*/
|
8
8
|
endpoints: () => ({}),
|
9
9
|
invalidationBehavior: 'immediately',
|
10
|
-
tagTypes: [
|
10
|
+
tagTypes: [
|
11
|
+
'All',
|
12
|
+
'PDiskData',
|
13
|
+
'PreviewData',
|
14
|
+
'SchemaTree',
|
15
|
+
'StorageData',
|
16
|
+
'Tablet',
|
17
|
+
'UserData',
|
18
|
+
'VDiskData',
|
19
|
+
],
|
11
20
|
});
|
12
21
|
export const _NEVER = Symbol();
|
13
22
|
/**
|
@@ -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,
|
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;QACN,KAAK;QACL,WAAW;QACX,aAAa;QACb,YAAY;QACZ,aAAa;QACb,QAAQ;QACR,UAAU;QACV,WAAW;KACd;CACJ,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"}
|
@@ -23,10 +23,10 @@ export declare const selectIsUserAllowedToMakeChanges: import("reselect").Select
|
|
23
23
|
export declare const authenticationApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
24
24
|
whoami: import("@reduxjs/toolkit/query").QueryDefinition<{
|
25
25
|
database?: string;
|
26
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", TUserToken | undefined, "api">;
|
26
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", TUserToken | undefined, "api">;
|
27
27
|
authenticate: import("@reduxjs/toolkit/query").MutationDefinition<{
|
28
28
|
user: string;
|
29
29
|
password: string;
|
30
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
31
|
-
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
32
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
30
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
31
|
+
logout: import("@reduxjs/toolkit/query").MutationDefinition<any, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
32
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", IQueryResult, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", IQueryResult, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
8
|
export {};
|
@@ -3,10 +3,10 @@ import type { AppDispatch, 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
4
|
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
|
5
5
|
database?: string;
|
6
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
8
|
export declare const selectDatabaseCapabilities: ((state: {
|
9
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
9
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
10
10
|
singleClusterMode: boolean;
|
11
11
|
cluster: import("../cluster/types").ClusterState;
|
12
12
|
tenant: import("../tenant/types").TenantState;
|
@@ -103,7 +103,7 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
103
103
|
resetResultsCount: () => void;
|
104
104
|
} & {
|
105
105
|
resultFunc: (resultFuncArgs_0: {
|
106
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
106
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
107
107
|
singleClusterMode: boolean;
|
108
108
|
cluster: import("../cluster/types").ClusterState;
|
109
109
|
tenant: import("../tenant/types").TenantState;
|
@@ -131,8 +131,8 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
131
131
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
132
132
|
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
|
133
133
|
database?: string;
|
134
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
135
|
-
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
134
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
135
|
+
}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
136
136
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
137
137
|
originalArgs?: undefined | undefined;
|
138
138
|
data?: undefined | undefined;
|
@@ -266,7 +266,7 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
266
266
|
isError: true;
|
267
267
|
});
|
268
268
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
269
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
269
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
270
270
|
singleClusterMode: boolean;
|
271
271
|
cluster: import("../cluster/types").ClusterState;
|
272
272
|
tenant: import("../tenant/types").TenantState;
|
@@ -294,8 +294,8 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
294
294
|
}, resultFuncArgs_1: (state: import("@reduxjs/toolkit/query").RootState<{
|
295
295
|
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
|
296
296
|
database?: string;
|
297
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
298
|
-
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
297
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
298
|
+
}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
299
299
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
300
300
|
originalArgs?: undefined | undefined;
|
301
301
|
data?: undefined | undefined;
|
@@ -500,7 +500,7 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
500
500
|
isError: true;
|
501
501
|
});
|
502
502
|
dependencies: [(state: RootState) => {
|
503
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
503
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
504
504
|
singleClusterMode: boolean;
|
505
505
|
cluster: import("../cluster/types").ClusterState;
|
506
506
|
tenant: import("../tenant/types").TenantState;
|
@@ -528,8 +528,8 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
528
528
|
}, (_state: RootState, database?: string) => (state: import("@reduxjs/toolkit/query").RootState<{
|
529
529
|
getClusterCapabilities: import("@reduxjs/toolkit/query").QueryDefinition<{
|
530
530
|
database?: string;
|
531
|
-
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
532
|
-
}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
531
|
+
}, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("./../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/capabilities").CapabilitiesResponse | undefined, "api">;
|
532
|
+
}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">) => ({
|
533
533
|
status: import("@reduxjs/toolkit/query").QueryStatus.uninitialized;
|
534
534
|
originalArgs?: undefined | undefined;
|
535
535
|
data?: undefined | undefined;
|
@@ -605,7 +605,7 @@ export declare const selectDatabaseCapabilities: ((state: {
|
|
605
605
|
memoize: typeof import("reselect").weakMapMemoize;
|
606
606
|
};
|
607
607
|
export declare const selectCapabilityVersion: ((state: {
|
608
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
608
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
609
609
|
singleClusterMode: boolean;
|
610
610
|
cluster: import("../cluster/types").ClusterState;
|
611
611
|
tenant: import("../tenant/types").TenantState;
|
@@ -636,7 +636,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
636
636
|
resetResultsCount: () => void;
|
637
637
|
} & {
|
638
638
|
resultFunc: (resultFuncArgs_0: {
|
639
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
639
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
640
640
|
singleClusterMode: boolean;
|
641
641
|
cluster: import("../cluster/types").ClusterState;
|
642
642
|
tenant: import("../tenant/types").TenantState;
|
@@ -663,7 +663,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
663
663
|
clusters: import("../clusters/types").ClustersFilters;
|
664
664
|
}, resultFuncArgs_1: Capability, resultFuncArgs_2: string | undefined) => number | undefined;
|
665
665
|
memoizedResultFunc: ((resultFuncArgs_0: {
|
666
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
666
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
667
667
|
singleClusterMode: boolean;
|
668
668
|
cluster: import("../cluster/types").ClusterState;
|
669
669
|
tenant: import("../tenant/types").TenantState;
|
@@ -695,7 +695,7 @@ export declare const selectCapabilityVersion: ((state: {
|
|
695
695
|
};
|
696
696
|
lastResult: () => number | undefined;
|
697
697
|
dependencies: [(state: RootState) => {
|
698
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
698
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
699
699
|
singleClusterMode: boolean;
|
700
700
|
cluster: import("../cluster/types").ClusterState;
|
701
701
|
tenant: import("../tenant/types").TenantState;
|
@@ -7,12 +7,12 @@ export declare function updateDefaultClusterTab(tab: string): (dispatch: Dispatc
|
|
7
7
|
declare const _default: import("redux").Reducer<ClusterState>;
|
8
8
|
export default _default;
|
9
9
|
export declare const clusterApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
10
|
-
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
|
10
|
+
getClusterInfo: import("@reduxjs/toolkit/query").QueryDefinition<string | undefined, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", {
|
11
11
|
clusterData: TClusterInfo;
|
12
12
|
groupsStats?: ClusterGroupsStats;
|
13
13
|
}, "api">;
|
14
|
-
getClusterBaseInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/meta").MetaBaseClusterInfo | undefined, "api">;
|
15
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
14
|
+
getClusterBaseInfo: import("@reduxjs/toolkit/query").QueryDefinition<string, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("../../../types/api/meta").MetaBaseClusterInfo | undefined, "api">;
|
15
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
16
16
|
export declare function useClusterBaseInfo(): {
|
17
17
|
name: string | undefined;
|
18
18
|
monitoring: string | undefined;
|
@@ -57,7 +57,7 @@ export declare function useClusterBaseInfo(): {
|
|
57
57
|
use_embedded_ui?: boolean;
|
58
58
|
};
|
59
59
|
export declare const selectClusterTitle: ((state: {
|
60
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
60
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
61
61
|
singleClusterMode: boolean;
|
62
62
|
cluster: ClusterState;
|
63
63
|
tenant: import("../tenant/types").TenantState;
|
@@ -113,7 +113,7 @@ export declare const selectClusterTitle: ((state: {
|
|
113
113
|
memoize: typeof import("reselect").weakMapMemoize;
|
114
114
|
};
|
115
115
|
export declare const selectClusterTabletsWithFqdn: ((state: {
|
116
|
-
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
116
|
+
api: import("@reduxjs/toolkit/query").CombinedState<{}, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", "api">;
|
117
117
|
singleClusterMode: boolean;
|
118
118
|
cluster: ClusterState;
|
119
119
|
tenant: import("../tenant/types").TenantState;
|
@@ -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" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", 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" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", import("./types").PreparedCluster[] | undefined, "api">;
|
7
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import type { AcceptEvent, DeclineEvent, IgnoreEvent, PromptFile, Suggestions } from '@ydb-platform/monaco-ghost';
|
2
2
|
import type { TelemetryOpenTabs } from '../../../types/api/codeAssist';
|
3
3
|
export declare const codeAssistApi: import("@reduxjs/toolkit/query").Api<import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, {
|
4
|
-
getCodeAssistSuggestions: import("@reduxjs/toolkit/query").QueryDefinition<PromptFile[], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", Suggestions, "api">;
|
5
|
-
acceptSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<AcceptEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
6
|
-
discardSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<DeclineEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
7
|
-
ignoreSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<IgnoreEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
8
|
-
sendUserQueriesData: import("@reduxjs/toolkit/query").MutationDefinition<TelemetryOpenTabs, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
9
|
-
}, "api", "All" | "PDiskData" | "PreviewData" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
4
|
+
getCodeAssistSuggestions: import("@reduxjs/toolkit/query").QueryDefinition<PromptFile[], import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", Suggestions, "api">;
|
5
|
+
acceptSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<AcceptEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
6
|
+
discardSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<DeclineEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
7
|
+
ignoreSuggestion: import("@reduxjs/toolkit/query").MutationDefinition<IgnoreEvent, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
8
|
+
sendUserQueriesData: import("@reduxjs/toolkit/query").MutationDefinition<TelemetryOpenTabs, import("@reduxjs/toolkit/query").BaseQueryFn<void, typeof import("../api")._NEVER, unknown, {}>, "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", any, "api">;
|
9
|
+
}, "api", "All" | "PDiskData" | "PreviewData" | "SchemaTree" | "StorageData" | "Tablet" | "UserData" | "VDiskData", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|