add pluginBundle backend api methods and SQL storage

This commit is contained in:
woodsaj
2015-12-03 23:43:55 +08:00
parent bd4cb549d6
commit c4a0fe0234
13 changed files with 219 additions and 23 deletions
+2 -2
View File
@@ -37,8 +37,7 @@ type ExternalPluginRoute struct {
}
type ExternalPluginJs struct {
Module string `json:"module"`
Directive string `json:"Directive"`
Module string `json:"module"`
}
type ExternalPluginNavLink struct {
@@ -68,6 +67,7 @@ type PluginBundle struct {
PanelPlugins []string `json:"panelPlugins"`
DatasourcePlugins []string `json:"datasourcePlugins"`
ExternalPlugins []string `json:"externalPlugins"`
Module string `json:"module"`
}
type EnabledPlugins struct {