plugins: added state property to plugins

This commit is contained in:
Torkel Ödegaard
2017-04-07 12:00:03 +02:00
parent 26804d630f
commit 1cd632cc43
9 changed files with 12 additions and 177 deletions

View File

@@ -21,6 +21,7 @@ type PluginSetting struct {
LatestVersion string `json:"latestVersion"`
HasUpdate bool `json:"hasUpdate"`
State string `json:"state"`
}
type PluginListItem struct {
@@ -33,6 +34,7 @@ type PluginListItem struct {
LatestVersion string `json:"latestVersion"`
HasUpdate bool `json:"hasUpdate"`
DefaultNavUrl string `json:"defaultNavUrl"`
State string `json:"state"`
}
type PluginList []PluginListItem