Search: cleanup old Angular files (#23860)

* Search: Remove wrapperRef

* Search: Remove angular search files

* Search: Unify search types

* Search: Remove redundant hideHeader prop

* Search: Remove app/types/search.ts

* Search: Update imports

* Search: Fix type errors
This commit is contained in:
Alex Khomenko
2020-04-24 18:07:57 +03:00
committed by GitHub
parent 58b566a252
commit 1f2a70117b
28 changed files with 43 additions and 2392 deletions

View File

@@ -4,7 +4,8 @@ import { useAsyncFn } from 'react-use';
import { SelectableValue } from '@grafana/data';
import { AsyncSelect } from '@grafana/ui';
import { backendSrv } from 'app/core/services/backend_srv';
import { DashboardSearchHit, DashboardDTO } from 'app/types';
import { DashboardSearchHit } from 'app/features/search/types';
import { DashboardDTO } from 'app/types';
export interface Props {
onSelected: (dashboard: DashboardDTO) => void;

View File

@@ -5,7 +5,7 @@ import { debounce } from 'lodash';
import appEvents from '../../app_events';
import { getBackendSrv } from '@grafana/runtime';
import { contextSrv } from 'app/core/services/context_srv';
import { DashboardSearchHit } from '../../../types';
import { DashboardSearchHit } from 'app/features/search/types';
export interface Props {
onChange: ($folder: { title: string; id: number }) => void;