diff --git a/public/app/types/dashboard.ts b/public/app/types/dashboard.ts new file mode 100644 index 00000000000..d33405c985e --- /dev/null +++ b/public/app/types/dashboard.ts @@ -0,0 +1,5 @@ +import { DashboardAcl } from './acl'; + +export interface DashboardState { + permissions: DashboardAcl[]; +} diff --git a/public/app/types/index.ts b/public/app/types/index.ts index 7bdf709f023..f99e8046289 100644 --- a/public/app/types/index.ts +++ b/public/app/types/index.ts @@ -3,7 +3,7 @@ import { AlertRuleDTO, AlertRule, AlertRulesState } from './alerting'; import { LocationState, LocationUpdate, UrlQueryMap, UrlQueryValue } from './location'; import { NavModel, NavModelItem, NavIndex } from './navModel'; import { FolderDTO, FolderState, FolderInfo } from './folders'; -import { DashboardSearchHit, DashboardState } from './dashboardSearchHit'; +import { DashboardState } from './dashboard'; import { DashboardAcl, OrgRole, PermissionLevel } from './acl'; import { ApiKey, ApiKeysState, NewApiKey } from './apiKeys'; import { Invitee, OrgUser, User, UsersState } from './user'; @@ -29,6 +29,7 @@ import { AppNotificationsState, AppNotificationTimeout, } from './appNotifications'; +import { DashboardSearchHit } from './search'; export { Team, diff --git a/public/app/types/organization.ts b/public/app/types/organization.ts index aa7476b361b..f525ecc6d83 100644 --- a/public/app/types/organization.ts +++ b/public/app/types/organization.ts @@ -1,4 +1,4 @@ -import { DashboardSearchHit } from './dashboardSearchHit'; +import { DashboardSearchHit } from './search'; export interface Organization { name: string; diff --git a/public/app/types/dashboardSearchHit.ts b/public/app/types/search.ts similarity index 58% rename from public/app/types/dashboardSearchHit.ts rename to public/app/types/search.ts index 0fca8389e0b..e5e17288de1 100644 --- a/public/app/types/dashboardSearchHit.ts +++ b/public/app/types/search.ts @@ -1,5 +1,3 @@ -import { DashboardAcl } from './acl'; - export interface DashboardSearchHit { id: number; tags: string[]; @@ -9,7 +7,3 @@ export interface DashboardSearchHit { uri: string; url: string; } - -export interface DashboardState { - permissions: DashboardAcl[]; -}