Skip to content

Commit

Permalink
Type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nickpeihl committed May 3, 2024
1 parent aa121f2 commit a649b03
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion src/plugins/dashboard/public/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export {
DASHBOARD_CONTAINER_TYPE,
type DashboardCreationOptions,
type DashboardLocatorParams,
type DashboardContainer,
type IProvidesLegacyPanelPlacementSettings,
} from './dashboard_container';
export type { DashboardSetup, DashboardStart, DashboardFeatureFlagConfig } from './plugin';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import React from 'react';

import { getDashboardLocatorParamsFromEmbeddable } from '@kbn/dashboard-plugin/public';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import { DEFAULT_DASHBOARD_DRILLDOWN_OPTIONS } from '@kbn/presentation-util-plugin/public';
import { createEvent, fireEvent, render, screen, waitFor, within } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
DashboardLocatorParams,
getDashboardLocatorParamsFromEmbeddable,
} from '@kbn/dashboard-plugin/public';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import {
DashboardDrilldownOptions,
DEFAULT_DASHBOARD_DRILLDOWN_OPTIONS,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
EuiFlexGroup,
EuiComboBoxOptionOption,
} from '@elastic/eui';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import { DashboardItem } from '../../embeddable/types';
import { DashboardLinkStrings } from './dashboard_link_strings';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import React, { useState } from 'react';

import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import { EuiFormRow } from '@elastic/eui';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/links/public/components/editor/link_editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import {
EuiFlyoutHeader,
EuiRadioGroupOption,
} from '@elastic/eui';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import {
LinkType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
EuiSwitch,
EuiTitle,
} from '@elastic/eui';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import {
Link,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
EuiSkeletonTitle,
DraggableProvidedDragHandleProps,
} from '@elastic/eui';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import { LinkInfo } from '../../embeddable/types';
import { validateUrl } from '../external_link/external_link_tools';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/links/public/editor/open_editor_flyout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { skip, take } from 'rxjs';
import { v4 as uuidv4 } from 'uuid';

import { EuiLoadingSpinner, EuiPanel } from '@elastic/eui';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import { toMountPoint } from '@kbn/react-kibana-mount';
import { withSuspense } from '@kbn/shared-ux-utility';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import React from 'react';
import ReactDOM from 'react-dom';

import { KibanaRenderContextProvider } from '@kbn/react-kibana-context-render';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';

import { coreServices } from '../services/kibana_services';
import { Link } from '../../common/content_management';
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/links/public/embeddable/links_embeddable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import React, { createContext } from 'react';
import { unmountComponentAtNode } from 'react-dom';
import { distinctUntilChanged, skip, Subject, Subscription, switchMap } from 'rxjs';

import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import {
AttributeService,
Embeddable,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { DASHBOARD_GRID_COLUMN_COUNT, PanelPlacementStrategy } from '@kbn/dashboard-plugin/public';
import { DashboardContainer } from '@kbn/dashboard-plugin/public';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import { IProvidesLegacyPanelPlacementSettings } from '@kbn/dashboard-plugin/public';
import { EmbeddableStateWithType } from '@kbn/embeddable-plugin/common';
import {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/links/public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
} from '@kbn/content-management-plugin/public';
import { CoreSetup, CoreStart, Plugin } from '@kbn/core/public';
import { DashboardStart } from '@kbn/dashboard-plugin/public';
import { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import type { DashboardContainer } from '@kbn/dashboard-plugin/public/dashboard_container';
import { EmbeddableSetup, EmbeddableStart } from '@kbn/embeddable-plugin/public';
import { PresentationUtilPluginStart } from '@kbn/presentation-util-plugin/public';
import { UsageCollectionStart } from '@kbn/usage-collection-plugin/public';
Expand Down

0 comments on commit a649b03

Please sign in to comment.