|
1 | 1 | import React from 'react';
|
2 |
| -import { GetDatasetDocument, UpdateDatasetDocument, GetDatasetSchemaDocument } from './graphql/dataset.generated'; |
3 |
| -import { GetDataFlowDocument } from './graphql/dataFlow.generated'; |
4 |
| -import { GetDataJobDocument } from './graphql/dataJob.generated'; |
5 |
| -import { GetBrowsePathsDocument, GetBrowseResultsDocument } from './graphql/browse.generated'; |
| 2 | + |
| 3 | +import { Entity } from '@app/entity/Entity'; |
| 4 | +import { VIEW_ENTITY_PAGE } from '@app/entity/shared/constants'; |
| 5 | +import { GenericEntityProperties } from '@app/entity/shared/types'; |
| 6 | +import { ViewBuilderState } from '@app/entity/view/types'; |
| 7 | +import { EntityCapabilityType } from '@app/entityV2/Entity'; |
| 8 | +import { FetchedEntity } from '@app/lineage/types'; |
| 9 | +import { DEFAULT_APP_CONFIG } from '@src/appConfigContext'; |
| 10 | + |
| 11 | +import { AppConfigDocument, GetEntityCountsDocument } from '@graphql/app.generated'; |
| 12 | +import { GetBrowsePathsDocument, GetBrowseResultsDocument } from '@graphql/browse.generated'; |
| 13 | +import { GetDataFlowDocument } from '@graphql/dataFlow.generated'; |
| 14 | +import { GetDataJobDocument } from '@graphql/dataJob.generated'; |
| 15 | +import { GetDatasetDocument, GetDatasetSchemaDocument, UpdateDatasetDocument } from '@graphql/dataset.generated'; |
| 16 | +import { GetGlossaryTermDocument, GetGlossaryTermQuery } from '@graphql/glossaryTerm.generated'; |
| 17 | +import { GetMeDocument } from '@graphql/me.generated'; |
| 18 | +import { GetMlModelDocument } from '@graphql/mlModel.generated'; |
| 19 | +import { GetMlModelGroupDocument } from '@graphql/mlModelGroup.generated'; |
| 20 | +import { GetGrantedPrivilegesDocument } from '@graphql/policy.generated'; |
| 21 | +import { GetQuickFiltersDocument } from '@graphql/quickFilters.generated'; |
| 22 | +import { ListRecommendationsDocument } from '@graphql/recommendations.generated'; |
6 | 23 | import {
|
7 |
| - GetAutoCompleteResultsDocument, |
8 | 24 | GetAutoCompleteMultipleResultsDocument,
|
| 25 | + GetAutoCompleteResultsDocument, |
9 | 26 | GetSearchResultsDocument,
|
10 |
| - GetSearchResultsQuery, |
11 | 27 | GetSearchResultsForMultipleDocument,
|
12 | 28 | GetSearchResultsForMultipleQuery,
|
13 |
| -} from './graphql/search.generated'; |
14 |
| -import { GetUserDocument } from './graphql/user.generated'; |
| 29 | + GetSearchResultsQuery, |
| 30 | +} from '@graphql/search.generated'; |
| 31 | +import { GetTagDocument } from '@graphql/tag.generated'; |
| 32 | +import { GetUserDocument } from '@graphql/user.generated'; |
15 | 33 | import {
|
16 |
| - Dataset, |
| 34 | + AppConfig, |
| 35 | + BusinessAttribute, |
| 36 | + Container, |
17 | 37 | DataFlow,
|
| 38 | + DataHubView, |
| 39 | + DataHubViewFilter, |
| 40 | + DataHubViewType, |
18 | 41 | DataJob,
|
19 |
| - GlossaryTerm, |
20 |
| - GlossaryNode, |
| 42 | + Dataset, |
| 43 | + EntityPrivileges, |
| 44 | + EntityRelationshipsResult, |
21 | 45 | EntityType,
|
22 |
| - PlatformType, |
| 46 | + FilterOperator, |
| 47 | + GlobalTags, |
| 48 | + GlossaryNode, |
| 49 | + GlossaryTerm, |
| 50 | + LogicalOperator, |
| 51 | + Maybe, |
23 | 52 | MlModel,
|
24 | 53 | MlModelGroup,
|
25 |
| - SchemaFieldDataType, |
26 |
| - ScenarioType, |
| 54 | + Owner, |
| 55 | + OwnershipType, |
| 56 | + PlatformPrivileges, |
| 57 | + PlatformType, |
27 | 58 | RecommendationRenderType,
|
28 | 59 | RelationshipDirection,
|
29 |
| - Container, |
30 |
| - PlatformPrivileges, |
31 |
| - FilterOperator, |
32 |
| - AppConfig, |
33 |
| - EntityPrivileges, |
34 |
| - BusinessAttribute, |
35 |
| - EntityRelationshipsResult, |
36 |
| - Maybe, |
| 60 | + ScenarioType, |
| 61 | + SchemaFieldDataType, |
37 | 62 | SearchResult,
|
38 |
| - DataHubViewType, |
39 |
| - LogicalOperator, |
40 |
| - DataHubView, |
41 |
| - DataHubViewFilter, |
42 |
| - GlobalTags, |
43 |
| - OwnershipType, |
44 |
| - Owner, |
45 |
| -} from './types.generated'; |
46 |
| -import { GetTagDocument } from './graphql/tag.generated'; |
47 |
| -import { GetMlModelDocument } from './graphql/mlModel.generated'; |
48 |
| -import { GetMlModelGroupDocument } from './graphql/mlModelGroup.generated'; |
49 |
| -import { GetGlossaryTermDocument, GetGlossaryTermQuery } from './graphql/glossaryTerm.generated'; |
50 |
| -import { GetEntityCountsDocument, AppConfigDocument } from './graphql/app.generated'; |
51 |
| -import { GetMeDocument } from './graphql/me.generated'; |
52 |
| -import { ListRecommendationsDocument } from './graphql/recommendations.generated'; |
53 |
| -import { FetchedEntity } from './app/lineage/types'; |
54 |
| -import { DEFAULT_APP_CONFIG } from './appConfigContext'; |
55 |
| -import { GetQuickFiltersDocument } from './graphql/quickFilters.generated'; |
56 |
| -import { GetGrantedPrivilegesDocument } from './graphql/policy.generated'; |
57 |
| -import { VIEW_ENTITY_PAGE } from './app/entity/shared/constants'; |
58 |
| -import { Entity } from './app/entity/Entity'; |
59 |
| -import { GenericEntityProperties } from './app/entity/shared/types'; |
60 |
| -import { ViewBuilderState } from './app/entity/view/types'; |
61 |
| -import { EntityCapabilityType } from './app/entityV2/Entity'; |
| 63 | +} from '@types'; |
62 | 64 |
|
63 | 65 | export const entityPrivileges: EntityPrivileges = {
|
64 | 66 | canEditLineage: true,
|
|
0 commit comments