From eadb890a6d9f217a181f56ecbd48da1c408dc7e5 Mon Sep 17 00:00:00 2001 From: rozetko Date: Mon, 22 Apr 2019 12:54:20 +0300 Subject: [PATCH] Rename: models/detection_span -> models/detection --- src/panel/graph_panel/colors.ts | 2 +- src/panel/graph_panel/controllers/analytic_controller.ts | 2 +- src/panel/graph_panel/models/analytic_unit.ts | 2 +- .../graph_panel/models/{detection_span.ts => detection.ts} | 0 src/panel/graph_panel/services/analytic_service.ts | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename src/panel/graph_panel/models/{detection_span.ts => detection.ts} (100%) diff --git a/src/panel/graph_panel/colors.ts b/src/panel/graph_panel/colors.ts index eddf73e..a13b79d 100644 --- a/src/panel/graph_panel/colors.ts +++ b/src/panel/graph_panel/colors.ts @@ -1,5 +1,5 @@ import tinycolor from 'tinycolor2'; -import { DetectionStatus } from './models/detection_span'; +import { DetectionStatus } from './models/detection'; export const PALETTE_ROWS = 4; export const PALETTE_COLUMNS = 14; diff --git a/src/panel/graph_panel/controllers/analytic_controller.ts b/src/panel/graph_panel/controllers/analytic_controller.ts index e849310..f84c93b 100644 --- a/src/panel/graph_panel/controllers/analytic_controller.ts +++ b/src/panel/graph_panel/controllers/analytic_controller.ts @@ -14,7 +14,7 @@ import { SegmentsSet } from '../models/segment_set'; import { SegmentArray } from '../models/segment_array'; import { HasticServerInfo, HasticServerInfoUnknown } from '../models/hastic_server_info'; import { Threshold, Condition } from '../models/threshold'; -import { DetectionStatus, DETECTION_STATUS_TEXT } from '../models/detection_span'; +import { DetectionStatus, DETECTION_STATUS_TEXT } from '../models/detection'; import text from '../partials/help_section.html'; import { diff --git a/src/panel/graph_panel/models/analytic_unit.ts b/src/panel/graph_panel/models/analytic_unit.ts index 0fee4e1..a64b4e5 100644 --- a/src/panel/graph_panel/models/analytic_unit.ts +++ b/src/panel/graph_panel/models/analytic_unit.ts @@ -1,7 +1,7 @@ import { SegmentsSet } from './segment_set'; import { SegmentArray } from './segment_array'; import { Segment, SegmentId } from './segment'; -import { DetectionSpan } from './detection_span'; +import { DetectionSpan } from './detection'; import { ANALYTIC_UNIT_COLORS, DEFAULT_DELETED_SEGMENT_COLOR } from '../colors'; diff --git a/src/panel/graph_panel/models/detection_span.ts b/src/panel/graph_panel/models/detection.ts similarity index 100% rename from src/panel/graph_panel/models/detection_span.ts rename to src/panel/graph_panel/models/detection.ts diff --git a/src/panel/graph_panel/services/analytic_service.ts b/src/panel/graph_panel/services/analytic_service.ts index 7ff87a6..d73428d 100644 --- a/src/panel/graph_panel/services/analytic_service.ts +++ b/src/panel/graph_panel/services/analytic_service.ts @@ -5,7 +5,7 @@ import { SegmentsSet } from '../models/segment_set'; import { AnalyticUnitId, AnalyticUnit, AnalyticSegment } from '../models/analytic_unit'; import { HasticServerInfo, HasticServerInfoUnknown } from '../models/hastic_server_info'; import { Threshold } from '../models/threshold'; -import { DetectionSpan } from '../models/detection_span'; +import { DetectionSpan } from '../models/detection'; import { isHasticServerResponse, isSupportedServerVersion, SUPPORTED_SERVER_VERSION } from '../../../utlis';