@lightdash/common 0.1379.2 → 0.1380.0
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/types/catalog.d.ts +3 -3
- package/package.json +1 -1
package/dist/types/catalog.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type CompiledExploreJoin, type Explore, type ExploreError, type InlineError } from './explore';
|
1
|
+
import { type CompiledExploreJoin, type CompiledTable, type Explore, type ExploreError, type InlineError } from './explore';
|
2
2
|
import { type CompiledDimension, type CompiledMetric, type Dimension, type Field, type FieldType } from './field';
|
3
3
|
import type { KnexPaginatedData } from './knex-paginate';
|
4
4
|
import { type ChartSummary } from './savedCharts';
|
@@ -62,9 +62,9 @@ export type ApiMetricsCatalog = {
|
|
62
62
|
status: 'ok';
|
63
63
|
results: KnexPaginatedData<ApiMetricsCatalogResults>;
|
64
64
|
};
|
65
|
-
export type
|
65
|
+
export type ApiGetMetricPeek = {
|
66
66
|
status: 'ok';
|
67
|
-
results: CompiledMetric
|
67
|
+
results: CompiledMetric & Pick<CompiledTable, 'defaultTimeDimension'>;
|
68
68
|
};
|
69
69
|
export type CatalogMetadata = {
|
70
70
|
name: string;
|