Skip to content

Commit

Permalink
add common/types
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Apr 16, 2020
1 parent aa330b8 commit b2ea7f8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions x-pack/plugins/reporting/common/types.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/

export { ConfigType } from '../server/config';
4 changes: 2 additions & 2 deletions x-pack/plugins/reporting/public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import {
HomePublicPluginSetup,
} from '../../../../src/plugins/home/public';
import { SharePluginSetup } from '../../../../src/plugins/share/public';
import { ReportingConfigType } from '../../../legacy/plugins/reporting/server/config';
import { LicensingPluginSetup } from '../../licensing/public';
import { ConfigType } from '../common/types';
import { JOB_COMPLETION_NOTIFICATIONS_SESSION_KEY } from '../constants';
import { getGeneralErrorToast } from './components';
import { ReportListing } from './components/report_listing';
Expand All @@ -38,7 +38,7 @@ import { csvReportingProvider } from './share_context_menu/register_csv_reportin
import { reportingPDFPNGProvider } from './share_context_menu/register_pdf_png_reporting';

export interface ClientConfigType {
poll: ReportingConfigType['poll'];
poll: ConfigType['poll'];
}

interface PluginsSetup {
Expand Down

0 comments on commit b2ea7f8

Please sign in to comment.