@lightdash/common 0.1395.0 → 0.1396.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/types/catalog.d.ts +11 -5
- package/package.json +1 -1
package/dist/types/catalog.d.ts
CHANGED
@@ -60,6 +60,9 @@ export type CatalogMetricsTreeNode = Pick<CatalogField, 'name' | 'tableName'>;
|
|
60
60
|
export type CatalogMetricsTreeEdge = {
|
61
61
|
source: CatalogMetricsTreeNode;
|
62
62
|
target: CatalogMetricsTreeNode;
|
63
|
+
createdAt: Date;
|
64
|
+
createdByUserUuid: string | null;
|
65
|
+
projectUuid: string;
|
63
66
|
};
|
64
67
|
export type ApiCatalogResults = CatalogItem[];
|
65
68
|
export type ApiMetricsCatalogResults = CatalogField[];
|
@@ -106,24 +109,27 @@ export type CatalogFieldMap = {
|
|
106
109
|
cachedExploreUuid: string;
|
107
110
|
};
|
108
111
|
};
|
109
|
-
export type
|
110
|
-
cachedExploreUuid: string;
|
112
|
+
export type CatalogItemSummary = Pick<CatalogItem, 'catalogSearchUuid' | 'name' | 'type'> & {
|
111
113
|
projectUuid: string;
|
112
|
-
|
113
|
-
|
114
|
+
cachedExploreUuid: string;
|
115
|
+
tableName: string;
|
116
|
+
fieldType: string | undefined;
|
117
|
+
};
|
118
|
+
export type CatalogItemWithTagUuids = CatalogItemSummary & {
|
114
119
|
catalogTags: {
|
115
120
|
tagUuid: string;
|
116
121
|
createdByUserUuid: string | null;
|
117
122
|
createdAt: Date;
|
118
123
|
}[];
|
119
124
|
};
|
120
|
-
export type CatalogItemsWithIcons =
|
125
|
+
export type CatalogItemsWithIcons = CatalogItemSummary & Pick<CatalogItem, 'icon'>;
|
121
126
|
export type SchedulerIndexCatalogJobPayload = {
|
122
127
|
projectUuid: string;
|
123
128
|
explores: (Explore | ExploreError)[];
|
124
129
|
userUuid: string;
|
125
130
|
prevCatalogItemsWithTags: CatalogItemWithTagUuids[];
|
126
131
|
prevCatalogItemsWithIcons: CatalogItemsWithIcons[];
|
132
|
+
prevMetricTreeEdges: CatalogMetricsTreeEdge[];
|
127
133
|
};
|
128
134
|
export type CatalogFieldWhere = {
|
129
135
|
fieldName: string;
|