mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[RAM] Reduce triggers actions UI bundle size (#149473)
## Summary Reduces the bundle size of `triggersActionsUI`. Fix a change in a recent PR that added util functions to an index file that was in turn being imported when it wasn't needed. Gets it down to `118085`. 
This commit is contained in:
parent
32b1e9b1ab
commit
e2824c3041
3 changed files with 8 additions and 10 deletions
|
@ -11,7 +11,3 @@ export { createActionConnector } from './create';
|
|||
export { deleteActions } from './delete';
|
||||
export { executeAction } from './execute';
|
||||
export { updateActionConnector } from './update';
|
||||
export type { LoadGlobalConnectorExecutionLogAggregationsProps } from './load_execution_log_aggregations';
|
||||
export { loadGlobalConnectorExecutionLogAggregations } from './load_execution_log_aggregations';
|
||||
export type { LoadGlobalConnectorExecutionKPIAggregationsProps } from './load_execution_kpi_aggregations';
|
||||
export { loadGlobalConnectorExecutionKPIAggregations } from './load_execution_kpi_aggregations';
|
||||
|
|
|
@ -29,7 +29,7 @@ import {
|
|||
CONNECTOR_LOCKED_COLUMNS,
|
||||
} from '../../../constants';
|
||||
import { CenterJustifiedSpinner } from '../../../components/center_justified_spinner';
|
||||
import { LoadGlobalConnectorExecutionLogAggregationsProps } from '../../../lib/action_connector_api';
|
||||
import { LoadGlobalConnectorExecutionLogAggregationsProps } from '../../../lib/action_connector_api/load_execution_log_aggregations';
|
||||
import {
|
||||
ComponentOpts as ConnectorApis,
|
||||
withActionOperations,
|
||||
|
|
|
@ -9,13 +9,15 @@ import React from 'react';
|
|||
|
||||
import { IExecutionLogResult, IExecutionKPIResult } from '@kbn/actions-plugin/common';
|
||||
import { ActionType } from '../../../../types';
|
||||
import { loadActionTypes } from '../../../lib/action_connector_api';
|
||||
import {
|
||||
loadActionTypes,
|
||||
LoadGlobalConnectorExecutionLogAggregationsProps,
|
||||
loadGlobalConnectorExecutionLogAggregations,
|
||||
LoadGlobalConnectorExecutionKPIAggregationsProps,
|
||||
loadGlobalConnectorExecutionKPIAggregations,
|
||||
} from '../../../lib/action_connector_api';
|
||||
LoadGlobalConnectorExecutionKPIAggregationsProps,
|
||||
} from '../../../lib/action_connector_api/load_execution_kpi_aggregations';
|
||||
import {
|
||||
loadGlobalConnectorExecutionLogAggregations,
|
||||
LoadGlobalConnectorExecutionLogAggregationsProps,
|
||||
} from '../../../lib/action_connector_api/load_execution_log_aggregations';
|
||||
import { useKibana } from '../../../../common/lib/kibana';
|
||||
|
||||
export interface ComponentOpts {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue