Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
walterra committed Mar 18, 2024
1 parent 1ce61a3 commit 32859e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions x-pack/packages/ml/time_buckets/time_buckets.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,6 @@ export declare class TimeBuckets {
*/
public getScaledDateFormat(): string;
}
/**
* Retrieves a TimeBuckets instance from cache.
* @returns An instance of TimeBuckets.
*/
export declare function getTimeBucketsFromCache(): InstanceType<typeof TimeBuckets>;

/**
* Adjusts the given time range bounds to align with the specified interval.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ import { each, get, find } from 'lodash';
import moment from 'moment-timezone';

import { isMultiBucketAnomaly, ML_JOB_AGGREGATION } from '@kbn/ml-anomaly-utils';
import { getBoundsRoundedToInterval, getTimeBucketsFromCache } from '@kbn/ml-time-buckets';
import { getBoundsRoundedToInterval } from '@kbn/ml-time-buckets';

import { isTimeSeriesViewJob } from '../../../../common/util/job_utils';
import { parseInterval } from '../../../../common/util/parse_interval';

import { getTimeBucketsFromCache } from '../../util/get_time_buckets_from_cache';
import { CHARTS_POINT_TARGET, TIME_FIELD_NAME } from '../timeseriesexplorer_constants';

// create new job objects based on standard job config objects
Expand Down

0 comments on commit 32859e5

Please sign in to comment.