remove barrel export in useStateSync
This commit is contained in:
@@ -3055,11 +3055,6 @@
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"public/app/features/explore/TraceView/components/utils/DraggableManager/demo/index.tsx": {
|
||||
"no-barrel-files/no-barrel-files": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"public/app/features/explore/TraceView/components/utils/sort.ts": {
|
||||
"no-restricted-syntax": {
|
||||
"count": 1
|
||||
@@ -3070,11 +3065,6 @@
|
||||
"count": 2
|
||||
}
|
||||
},
|
||||
"public/app/features/explore/hooks/useStateSync/index.ts": {
|
||||
"no-barrel-files/no-barrel-files": {
|
||||
"count": 1
|
||||
}
|
||||
},
|
||||
"public/app/features/explore/spec/helper/setup.tsx": {
|
||||
"@typescript-eslint/no-explicit-any": {
|
||||
"count": 1
|
||||
|
||||
@@ -73,7 +73,7 @@ import {
|
||||
contentOutlineTrackUnpinClicked,
|
||||
} from '../ContentOutline/ContentOutlineAnalyticEvents';
|
||||
import { useContentOutlineContext } from '../ContentOutline/ContentOutlineContext';
|
||||
import { getUrlStateFromPaneState } from '../hooks/useStateSync';
|
||||
import { getUrlStateFromPaneState } from '../hooks/useStateSync/external.utils';
|
||||
import { changePanelState } from '../state/explorePane';
|
||||
import { changeQueries, runQueries } from '../state/query';
|
||||
|
||||
|
||||
@@ -12,8 +12,6 @@ import { syncFromURL } from './synchronizer/fromURL';
|
||||
import { initializeFromURL } from './synchronizer/init';
|
||||
import { syncToURL, syncToURLPredicate } from './synchronizer/toURL';
|
||||
|
||||
export { getUrlStateFromPaneState } from './external.utils';
|
||||
|
||||
/**
|
||||
* Bi-directionally syncs URL changes with Explore's state.
|
||||
*/
|
||||
|
||||
@@ -11,7 +11,7 @@ import { withUniqueRefIds } from 'app/features/explore/utils/queries';
|
||||
import { ExploreItemState } from 'app/types/explore';
|
||||
import { ThunkDispatch } from 'app/types/store';
|
||||
|
||||
import { getUrlStateFromPaneState } from '../index';
|
||||
import { getUrlStateFromPaneState } from '../external.utils';
|
||||
import { urlDiff } from '../internal.utils';
|
||||
import { ExploreURLV1 } from '../migrators/v1';
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import { withUniqueRefIds } from 'app/features/explore/utils/queries';
|
||||
import { getDatasourceSrv } from 'app/features/plugins/datasource_srv';
|
||||
import { ThunkDispatch } from 'app/types/store';
|
||||
|
||||
import { getUrlStateFromPaneState } from '../index';
|
||||
import { getUrlStateFromPaneState } from '../external.utils';
|
||||
import {
|
||||
getDefaultQuery,
|
||||
getPaneDatasource,
|
||||
|
||||
@@ -11,7 +11,7 @@ import { runQueries } from 'app/features/explore/state/query';
|
||||
import { changeRangeAction } from 'app/features/explore/state/time';
|
||||
import { ExploreState } from 'app/types/explore';
|
||||
|
||||
import { getUrlStateFromPaneState } from '../index';
|
||||
import { getUrlStateFromPaneState } from '../external.utils';
|
||||
import { InitState } from '../internal.utils';
|
||||
|
||||
/*
|
||||
|
||||
@@ -30,7 +30,7 @@ import { parseDataplaneLogsFrame } from 'app/features/logs/logsFrame';
|
||||
import { ExploreItemState } from 'app/types/explore';
|
||||
|
||||
import { getLinkSrv } from '../../panel/panellinks/link_srv';
|
||||
import { getUrlStateFromPaneState } from '../hooks/useStateSync';
|
||||
import { getUrlStateFromPaneState } from '../hooks/useStateSync/external.utils';
|
||||
|
||||
type DataLinkFilter = (link: DataLink, scopedVars: ScopedVars) => boolean;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user