diff options
author | Chris <ccbrown112@gmail.com> | 2017-11-30 14:55:44 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-30 14:55:44 -0600 |
commit | daebd26a2894d88eb4c703b3be75f042cd563fef (patch) | |
tree | 0dfd6d21a1c284271f366c1b8279833fc4e7ed30 /model/plugins_response.go | |
parent | eaca461ee35993c07936a5888c003153d9e9b24f (diff) | |
download | chat-daebd26a2894d88eb4c703b3be75f042cd563fef.tar.gz chat-daebd26a2894d88eb4c703b3be75f042cd563fef.tar.bz2 chat-daebd26a2894d88eb4c703b3be75f042cd563fef.zip |
PLT-8018: Bundled jira plugin (#7920)
* bundled jira plugin
* fix generated file formatting, add prepackaged key
* whoops, uploaded wrong file
* whitelist generated files for license check
* make it work for people without go/bin in their path
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 { |