Pārlūkot izejas kodu

revert file name change

Peter Holmberg 7 gadi atpakaļ
vecāks
revīzija
7a10bf0141

+ 5 - 0
public/app/types/dashboard.ts

@@ -0,0 +1,5 @@
+import { DashboardAcl } from './acl';
+
+export interface DashboardState {
+  permissions: DashboardAcl[];
+}

+ 2 - 1
public/app/types/index.ts

@@ -3,7 +3,7 @@ import { AlertRuleDTO, AlertRule, AlertRulesState } from './alerting';
 import { LocationState, LocationUpdate, UrlQueryMap, UrlQueryValue } from './location';
 import { LocationState, LocationUpdate, UrlQueryMap, UrlQueryValue } from './location';
 import { NavModel, NavModelItem, NavIndex } from './navModel';
 import { NavModel, NavModelItem, NavIndex } from './navModel';
 import { FolderDTO, FolderState, FolderInfo } from './folders';
 import { FolderDTO, FolderState, FolderInfo } from './folders';
-import { DashboardSearchHit, DashboardState } from './dashboardSearchHit';
+import { DashboardState } from './dashboard';
 import { DashboardAcl, OrgRole, PermissionLevel } from './acl';
 import { DashboardAcl, OrgRole, PermissionLevel } from './acl';
 import { ApiKey, ApiKeysState, NewApiKey } from './apiKeys';
 import { ApiKey, ApiKeysState, NewApiKey } from './apiKeys';
 import { Invitee, OrgUser, User, UsersState } from './user';
 import { Invitee, OrgUser, User, UsersState } from './user';
@@ -29,6 +29,7 @@ import {
   AppNotificationsState,
   AppNotificationsState,
   AppNotificationTimeout,
   AppNotificationTimeout,
 } from './appNotifications';
 } from './appNotifications';
+import { DashboardSearchHit } from './search';
 
 
 export {
 export {
   Team,
   Team,

+ 1 - 1
public/app/types/organization.ts

@@ -1,4 +1,4 @@
-import { DashboardSearchHit } from './dashboardSearchHit';
+import { DashboardSearchHit } from './search';
 
 
 export interface Organization {
 export interface Organization {
   name: string;
   name: string;

+ 0 - 6
public/app/types/dashboardSearchHit.ts → public/app/types/search.ts

@@ -1,5 +1,3 @@
-import { DashboardAcl } from './acl';
-
 export interface DashboardSearchHit {
 export interface DashboardSearchHit {
   id: number;
   id: number;
   tags: string[];
   tags: string[];
@@ -9,7 +7,3 @@ export interface DashboardSearchHit {
   uri: string;
   uri: string;
   url: string;
   url: string;
 }
 }
-
-export interface DashboardState {
-  permissions: DashboardAcl[];
-}