moving things around

This commit is contained in:
Torkel Ödegaard
2018-09-02 07:11:21 -07:00
parent de456f8b73
commit 2ac202b22f
23 changed files with 53 additions and 34 deletions

View File

@@ -7,7 +7,7 @@ import appEvents from 'app/core/app_events';
import Highlighter from 'react-highlight-words';
import { initNav, updateLocation } from 'app/core/actions';
import { ContainerProps } from 'app/types';
import { getAlertRules, AlertRule } from '../apis';
import { getAlertRules, AlertRule } from './state/apis';
interface Props extends ContainerProps {
updateLocation: typeof updateLocation;

View File

@@ -1,7 +1,7 @@
import _ from 'lodash';
import { ThresholdMapper } from './threshold_mapper';
import { ThresholdMapper } from './state/ThresholdMapper';
import { QueryPart } from 'app/core/components/query_part/query_part';
import alertDef from './alert_def';
import alertDef from './state/alertDef';
import config from 'app/core/config';
import appEvents from 'app/core/app_events';

View File

@@ -1,2 +0,0 @@
import './notifications_list_ctrl';
import './notification_edit_ctrl';

View File

@@ -1,6 +1,6 @@
import { describe, it, expect } from 'test/lib/common';
import { ThresholdMapper } from '../threshold_mapper';
import { ThresholdMapper } from './threshold_mapper';
describe('ThresholdMapper', () => {
describe('with greater than evaluator', () => {

View File

@@ -1,5 +1,5 @@
import { getBackendSrv } from 'app/core/services/backend_srv';
import alertDef from '../alert_def';
import alertDef from './alertDef';
import moment from 'moment';
export interface AlertRule {