Browse Source

model -< models

master
Alexey Velikiy 6 years ago
parent
commit
542e172cde
  1. 14763
      dist/module.js
  2. 12
      src/controllers/analytic_controller.ts
  3. 2
      src/graph_renderer.ts
  4. 2
      src/graph_tooltip.ts
  5. 0
      src/models/analytic_unit.ts
  6. 0
      src/models/datasource.ts
  7. 0
      src/models/metric.ts
  8. 0
      src/models/segment.ts
  9. 0
      src/models/segment_array.ts
  10. 0
      src/models/segment_set.ts
  11. 6
      src/module.ts
  12. 10
      src/services/analytic_service.ts

14763
dist/module.js vendored

File diff suppressed because one or more lines are too long

12
src/controllers/analytic_controller.ts

@ -3,12 +3,12 @@ import { AnalyticService } from '../services/analytic_service'
import {
AnalyticUnitKey, AnalyticUnit,
AnalyticUnitsSet, AnalyticSegment, AnalyticSegmentsSearcher, AnalyticSegmentPair
} from '../model/analytic_unit';
import { MetricExpanded } from '../model/metric';
import { DatasourceRequest } from '../model/datasource';
import { Segment, SegmentKey } from '../model/segment';
import { SegmentsSet } from '../model/segment_set';
import { SegmentArray } from '../model/segment_array';
} from '../models/analytic_unit';
import { MetricExpanded } from '../models/metric';
import { DatasourceRequest } from '../models/datasource';
import { Segment, SegmentKey } from '../models/segment';
import { SegmentsSet } from '../models/segment_set';
import { SegmentArray } from '../models/segment_array';
import { Emitter } from 'grafana/app/core/utils/emitter'
import _ from 'lodash';

2
src/graph_renderer.ts

@ -1,4 +1,4 @@
import { Segment } from './model/segment';
import { Segment } from './models/segment';
import { GraphTooltip } from './graph_tooltip';
import { ThresholdManager } from './threshold_manager';
import { convertValuesToHistogram, getSeriesValues } from './histogram';

2
src/graph_tooltip.ts

@ -1,4 +1,4 @@
import { AnalyticSegmentsSearcher } from "model/analytic_unit";
import { AnalyticSegmentsSearcher } from "models/analytic_unit";
export class GraphTooltip {

0
src/model/analytic_unit.ts → src/models/analytic_unit.ts

0
src/model/datasource.ts → src/models/datasource.ts

0
src/model/metric.ts → src/models/metric.ts

0
src/model/segment.ts → src/models/segment.ts

0
src/model/segment_array.ts → src/models/segment_array.ts

0
src/model/segment_set.ts → src/models/segment_set.ts

6
src/module.ts

@ -6,9 +6,9 @@ import template from './template';
import { GraphRenderer } from './graph_renderer';
import { GraphLegend } from './graph_legend';
import { DataProcessor } from './data_processor';
import { MetricExpanded } from './model/metric';
import { DatasourceRequest } from './model/datasource';
import { AnalyticUnitKey, AnalyticUnit } from './model/analytic_unit';
import { MetricExpanded } from './models/metric';
import { DatasourceRequest } from './models/datasource';
import { AnalyticUnitKey, AnalyticUnit } from './models/analytic_unit';
import { AnalyticService } from './services/analytic_service';
import { AnalyticController } from './controllers/analytic_controller';

10
src/services/analytic_service.ts

@ -1,8 +1,8 @@
import { Segment, SegmentKey } from '../model/segment';
import { MetricExpanded } from '../model/metric';
import { DatasourceRequest } from '../model/datasource';
import { SegmentsSet } from '../model/segment_set';
import { AnalyticUnitKey, AnalyticUnit, AnalyticSegment } from '../model/analytic_unit';
import { Segment, SegmentKey } from '../models/segment';
import { MetricExpanded } from '../models/metric';
import { DatasourceRequest } from '../models/datasource';
import { SegmentsSet } from '../models/segment_set';
import { AnalyticUnitKey, AnalyticUnit, AnalyticSegment } from '../models/analytic_unit';
import { BackendSrv } from 'grafana/app/core/services/backend_srv';

Loading…
Cancel
Save