mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 14:13:06 +00:00
fix: type errors for tests (#12456)
This commit is contained in:
parent
27a0c9e802
commit
9147bb01e4
@ -16,16 +16,19 @@ import { ReactNode } from 'react';
|
||||
import { EntityReference } from '../../generated/entity/type';
|
||||
import { TagLabel } from '../../generated/type/tagLabel';
|
||||
import {
|
||||
ContainerSearchSource,
|
||||
DashboardSearchSource,
|
||||
ExploreSearchSource,
|
||||
GlossarySearchSource,
|
||||
MlmodelSearchSource,
|
||||
PipelineSearchSource,
|
||||
QuerySearchSource,
|
||||
SearchHitBody,
|
||||
TableSearchSource,
|
||||
TagClassSearchSource,
|
||||
TeamSearchSource,
|
||||
TestCaseSearchSource,
|
||||
TopicSearchSource,
|
||||
UserSearchSource,
|
||||
} from '../../interface/search.interface';
|
||||
import { ExploreSearchIndex } from '../Explore/explore.interface';
|
||||
@ -44,6 +47,9 @@ export type SourceType = (
|
||||
TableSearchSource,
|
||||
Fields | 'usageSummary' | 'database' | 'databaseSchema' | 'tableType'
|
||||
>
|
||||
| Pick<TopicSearchSource, Fields>
|
||||
| Pick<ContainerSearchSource, Fields>
|
||||
| Pick<PipelineSearchSource, Fields>
|
||||
| Pick<DashboardSearchSource | MlmodelSearchSource, Fields | 'usageSummary'>
|
||||
| Pick<
|
||||
Exclude<
|
||||
|
Loading…
x
Reference in New Issue
Block a user