From c7e46bbaee0133824efabb4ca2092e72be56212c Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Fri, 22 Jun 2018 18:07:29 -0700 Subject: [PATCH] Rename types/actions/error.ts to plural for consistency --- ui/src/dashboards/actions/index.ts | 2 +- ui/src/dashboards/containers/DashboardPage.tsx | 2 +- ui/src/shared/actions/errors.ts | 2 +- ui/src/types/actions/dashboards.ts | 2 +- ui/src/types/actions/{error.ts => errors.ts} | 0 5 files changed, 4 insertions(+), 4 deletions(-) rename ui/src/types/actions/{error.ts => errors.ts} (100%) diff --git a/ui/src/dashboards/actions/index.ts b/ui/src/dashboards/actions/index.ts index 97fee41a63..be1e1502c7 100644 --- a/ui/src/dashboards/actions/index.ts +++ b/ui/src/dashboards/actions/index.ts @@ -73,7 +73,7 @@ import * as DashboardAPIs from 'src/types/apis/dashboard' import * as DashboardReducers from 'src/types/reducers/dashboards' import * as AuthReducers from 'src/types/reducers/auth' import * as NotificationActions from 'src/shared/actions/notifications' -import * as ErrorActions from 'src/types/actions/error' +import * as ErrorActions from 'src/types/actions/errors' import {LocationAction} from 'react-router-redux' export const loadDashboards: DashboardActions.LoadDashboardsActionCreator = ( diff --git a/ui/src/dashboards/containers/DashboardPage.tsx b/ui/src/dashboards/containers/DashboardPage.tsx index fa31ad2cf3..1f8433e044 100644 --- a/ui/src/dashboards/containers/DashboardPage.tsx +++ b/ui/src/dashboards/containers/DashboardPage.tsx @@ -65,7 +65,7 @@ import * as AnnotationActions from 'src/types/actions/annotations' import * as AppActions from 'src/shared/actions/app' import * as CellEditorOverlayActions from 'src/dashboards/actions/cellEditorOverlay' import * as DashboardActions from 'src/types/actions/dashboards' -import * as ErrorActions from 'src/types/actions/error' +import * as ErrorActions from 'src/types/actions/errors' import * as NotificationActions from 'src/shared/actions/notifications' interface DashboardActions { diff --git a/ui/src/shared/actions/errors.ts b/ui/src/shared/actions/errors.ts index 40ad2fefaa..f74cff97cf 100644 --- a/ui/src/shared/actions/errors.ts +++ b/ui/src/shared/actions/errors.ts @@ -1,5 +1,5 @@ import * as ErrorData from 'src/types/errors' -import * as ErrorActions from 'src/types/actions/error' +import * as ErrorActions from 'src/types/actions/errors' export const errorThrown = ( error: ErrorData.ErrorDescription, diff --git a/ui/src/types/actions/dashboards.ts b/ui/src/types/actions/dashboards.ts index 51729344c8..a3a61d7077 100644 --- a/ui/src/types/actions/dashboards.ts +++ b/ui/src/types/actions/dashboards.ts @@ -5,7 +5,7 @@ import {Source} from 'src/types' import * as DashboardData from 'src/types/dashboard' import * as QueryData from 'src/types/query' import * as TempVarData from 'src/types/tempVars' -import * as ErrorActions from 'src/types/actions/error' +import * as ErrorActions from 'src/types/actions/errors' import * as NotificationActions from 'src/shared/actions/notifications' import * as DashboardReducers from 'src/types/reducers/dashboards' import {Location} from 'history' diff --git a/ui/src/types/actions/error.ts b/ui/src/types/actions/errors.ts similarity index 100% rename from ui/src/types/actions/error.ts rename to ui/src/types/actions/errors.ts