mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Refactor: move some files to @grafana/data (#17952)
* moving to data WIP * more refactoring * add missing test * mock full path * remove sinon from grafana-ui
This commit is contained in:
committed by
Torkel Ödegaard
parent
baed5d7bd9
commit
3f15170914
@@ -1,8 +1,9 @@
|
||||
import _ from 'lodash';
|
||||
import ansicolor from 'vendor/ansicolor/ansicolor';
|
||||
|
||||
import { colors } from '@grafana/ui';
|
||||
|
||||
import {
|
||||
colors,
|
||||
TimeSeries,
|
||||
Labels,
|
||||
LogLevel,
|
||||
@@ -21,10 +22,10 @@ import {
|
||||
LogsParser,
|
||||
LogLabelStatsModel,
|
||||
LogsDedupStrategy,
|
||||
} from '@grafana/ui';
|
||||
} from '@grafana/data';
|
||||
import { getThemeColor } from 'app/core/utils/colors';
|
||||
import { hasAnsiCodes } from 'app/core/utils/text';
|
||||
import { dateTime, toUtc } from '@grafana/ui/src/utils/moment_wrapper';
|
||||
import { dateTime, toUtc } from '@grafana/data';
|
||||
|
||||
export const LogLevelColor = {
|
||||
[LogLevel.critical]: colors[7],
|
||||
|
||||
Reference in New Issue
Block a user