@lightdash/common 0.1394.0 → 0.1395.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,4 @@
|
|
1
1
|
import type { CatalogMetricsTreeNode } from '../types/catalog';
|
2
|
+
export declare const MAX_METRICS_TREE_NODE_COUNT = 30;
|
2
3
|
export declare function getMetricsTreeNodeId(field: CatalogMetricsTreeNode): string;
|
3
4
|
export declare function parseMetricsTreeNodeId(id: string): CatalogMetricsTreeNode;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.parseMetricsTreeNodeId = exports.getMetricsTreeNodeId = void 0;
|
3
|
+
exports.parseMetricsTreeNodeId = exports.getMetricsTreeNodeId = exports.MAX_METRICS_TREE_NODE_COUNT = void 0;
|
4
|
+
exports.MAX_METRICS_TREE_NODE_COUNT = 30;
|
4
5
|
function getMetricsTreeNodeId(field) {
|
5
6
|
return `${field.tableName}::${field.name}`;
|
6
7
|
}
|