@lightdash/common 0.1394.0 → 0.1395.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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightdash/common",
3
- "version": "0.1394.0",
3
+ "version": "0.1395.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [