@lightdash/common 0.1379.3 → 0.1380.1
Sign up to get free protection for your applications and to get access to all the features.
- 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;
|