mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-23 08:38:02 +00:00

Co-authored-by: Annadoesdesign <annaerocca@gmail.com> Co-authored-by: Anna Everhart <149417426+annadoesdesign@users.noreply.github.com> Co-authored-by: John Joyce <john@ip-192-168-1-64.us-west-2.compute.internal> Co-authored-by: John Joyce <john@Mac.lan> Co-authored-by: amit-apptware <132869468+amit-apptware@users.noreply.github.com> Co-authored-by: John Joyce <john@Mac-302.lan>
85 lines
2.2 KiB
TypeScript
85 lines
2.2 KiB
TypeScript
import React from 'react';
|
|
import { AppConfig } from './types.generated';
|
|
|
|
export const DEFAULT_APP_CONFIG = {
|
|
analyticsConfig: {
|
|
enabled: false,
|
|
},
|
|
policiesConfig: {
|
|
enabled: false,
|
|
platformPrivileges: [],
|
|
resourcePrivileges: [],
|
|
},
|
|
identityManagementConfig: {
|
|
enabled: false,
|
|
},
|
|
managedIngestionConfig: {
|
|
enabled: false,
|
|
},
|
|
lineageConfig: {
|
|
supportsImpactAnalysis: false,
|
|
},
|
|
visualConfig: {
|
|
logoUrl: undefined,
|
|
queriesTab: {
|
|
queriesTabResultSize: 5,
|
|
},
|
|
entityProfile: {
|
|
domainDefaultTab: null,
|
|
},
|
|
searchResult: {
|
|
enableNameHighlight: false,
|
|
},
|
|
},
|
|
authConfig: {
|
|
tokenAuthEnabled: false,
|
|
},
|
|
telemetryConfig: {
|
|
enableThirdPartyLogging: false,
|
|
},
|
|
testsConfig: {
|
|
enabled: false,
|
|
},
|
|
viewsConfig: {
|
|
enabled: false,
|
|
},
|
|
featureFlags: {
|
|
readOnlyModeEnabled: false,
|
|
showSearchFiltersV2: true,
|
|
showBrowseV2: true,
|
|
showAcrylInfo: false,
|
|
erModelRelationshipFeatureEnabled: false,
|
|
showAccessManagement: false,
|
|
nestedDomainsEnabled: true,
|
|
platformBrowseV2: false,
|
|
businessAttributeEntityEnabled: false,
|
|
dataContractsEnabled: false,
|
|
editableDatasetNameEnabled: false,
|
|
themeV2Enabled: false,
|
|
themeV2Default: false,
|
|
themeV2Toggleable: false,
|
|
lineageGraphV2: false,
|
|
showSeparateSiblings: false,
|
|
schemaFieldCLLEnabled: false,
|
|
schemaFieldLineageIgnoreStatus: false,
|
|
showManageStructuredProperties: false,
|
|
hideDbtSourceInLineage: false,
|
|
showNavBarRedesign: false,
|
|
showAutoCompleteResults: false,
|
|
entityVersioningEnabled: false,
|
|
showHasSiblingsFilter: false,
|
|
showSearchBarAutocompleteRedesign: false,
|
|
showManageTags: false,
|
|
},
|
|
chromeExtensionConfig: {
|
|
enabled: false,
|
|
lineageEnabled: false,
|
|
},
|
|
};
|
|
|
|
export const AppConfigContext = React.createContext<{
|
|
config: AppConfig;
|
|
loaded: boolean;
|
|
refreshContext: () => void;
|
|
}>({ config: DEFAULT_APP_CONFIG, loaded: false, refreshContext: () => null });
|