Skip to content

Commit

Permalink
[ML] Rename DataFrameAnalyticsType
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 committed Sep 2, 2020
1 parent 9962c25 commit 8248d7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/ml/common/types/ml_url_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const ANALYSIS_CONFIG_TYPE = {
CLASSIFICATION: 'classification',
} as const;

type DATAFRAME_ANALYTICS_TYPE = typeof ANALYSIS_CONFIG_TYPE[keyof typeof ANALYSIS_CONFIG_TYPE];
type DataFrameAnalyticsType = typeof ANALYSIS_CONFIG_TYPE[keyof typeof ANALYSIS_CONFIG_TYPE];

export interface MlCommonGlobalState {
time?: TimeRange;
Expand Down Expand Up @@ -162,15 +162,15 @@ export interface DataVisualizerUrlState {
export interface DataFrameAnalyticsExplorationQueryState {
ml: {
jobId: JobId;
analysisType: DATAFRAME_ANALYTICS_TYPE;
analysisType: DataFrameAnalyticsType;
};
}

export type DataFrameAnalyticsExplorationUrlState = MLPageState<
typeof ML_PAGES.DATA_FRAME_ANALYTICS_EXPLORATION,
{
jobId: JobId;
analysisType: DATAFRAME_ANALYTICS_TYPE;
analysisType: DataFrameAnalyticsType;
}
>;

Expand Down

0 comments on commit 8248d7f

Please sign in to comment.