mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-05 07:03:07 +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 { EntityReference } from '../../generated/entity/type';
|
||||||
import { TagLabel } from '../../generated/type/tagLabel';
|
import { TagLabel } from '../../generated/type/tagLabel';
|
||||||
import {
|
import {
|
||||||
|
ContainerSearchSource,
|
||||||
DashboardSearchSource,
|
DashboardSearchSource,
|
||||||
ExploreSearchSource,
|
ExploreSearchSource,
|
||||||
GlossarySearchSource,
|
GlossarySearchSource,
|
||||||
MlmodelSearchSource,
|
MlmodelSearchSource,
|
||||||
|
PipelineSearchSource,
|
||||||
QuerySearchSource,
|
QuerySearchSource,
|
||||||
SearchHitBody,
|
SearchHitBody,
|
||||||
TableSearchSource,
|
TableSearchSource,
|
||||||
TagClassSearchSource,
|
TagClassSearchSource,
|
||||||
TeamSearchSource,
|
TeamSearchSource,
|
||||||
TestCaseSearchSource,
|
TestCaseSearchSource,
|
||||||
|
TopicSearchSource,
|
||||||
UserSearchSource,
|
UserSearchSource,
|
||||||
} from '../../interface/search.interface';
|
} from '../../interface/search.interface';
|
||||||
import { ExploreSearchIndex } from '../Explore/explore.interface';
|
import { ExploreSearchIndex } from '../Explore/explore.interface';
|
||||||
@ -44,6 +47,9 @@ export type SourceType = (
|
|||||||
TableSearchSource,
|
TableSearchSource,
|
||||||
Fields | 'usageSummary' | 'database' | 'databaseSchema' | 'tableType'
|
Fields | 'usageSummary' | 'database' | 'databaseSchema' | 'tableType'
|
||||||
>
|
>
|
||||||
|
| Pick<TopicSearchSource, Fields>
|
||||||
|
| Pick<ContainerSearchSource, Fields>
|
||||||
|
| Pick<PipelineSearchSource, Fields>
|
||||||
| Pick<DashboardSearchSource | MlmodelSearchSource, Fields | 'usageSummary'>
|
| Pick<DashboardSearchSource | MlmodelSearchSource, Fields | 'usageSummary'>
|
||||||
| Pick<
|
| Pick<
|
||||||
Exclude<
|
Exclude<
|
||||||
|
Loading…
x
Reference in New Issue
Block a user