react panels: working on changing type

This commit is contained in:
Torkel Ödegaard
2018-07-09 18:17:51 +02:00
parent e052e165e9
commit 761283231c
17 changed files with 352 additions and 90 deletions

View File

@@ -1,4 +1,5 @@
import _ from 'lodash';
import { PanelPlugin } from 'app/types/plugins';
export interface BuildInfo {
version: string;
@@ -7,17 +8,6 @@ export interface BuildInfo {
env: string;
}
export interface PanelPlugin {
id: string;
name: string;
meta: any;
hideFromList: boolean;
module: string;
baseUrl: string;
info: any;
sort: number;
}
export class Settings {
datasources: any;
panels: PanelPlugin[];