diff options
Diffstat (limited to 'model/plugins_response.go')
-rw-r--r-- | model/plugins_response.go | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/model/plugins_response.go b/model/plugins_response.go index fc0bd79ea..74c89af26 100644 --- a/model/plugins_response.go +++ b/model/plugins_response.go @@ -8,9 +8,14 @@ import ( "io" ) +type PluginInfo struct { + Manifest + Prepackaged bool `json:"prepackaged"` +} + type PluginsResponse struct { - Active []*Manifest `json:"active"` - Inactive []*Manifest `json:"inactive"` + Active []*PluginInfo `json:"active"` + Inactive []*PluginInfo `json:"inactive"` } func (m *PluginsResponse) ToJson() string { |