From 684e4cb0070c0b4cf155822590f6b2b558e72fc2 Mon Sep 17 00:00:00 2001 From: Hanzei <16541325+hanzei@users.noreply.github.com> Date: Wed, 23 Jan 2019 08:46:37 -0400 Subject: [PATCH] Add props to plugin manifest (#10124) --- model/manifest.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/model/manifest.go b/model/manifest.go index 7a0f121d0a..5e83cef59d 100644 --- a/model/manifest.go +++ b/model/manifest.go @@ -130,6 +130,9 @@ type Manifest struct { // To allow administrators to configure your plugin via the Mattermost system console, you can // provide your settings schema. SettingsSchema *PluginSettingsSchema `json:"settings_schema,omitempty" yaml:"settings_schema,omitempty"` + + // Plugins can store any kind of data in Props to allow other plugins to use it. + Props map[string]interface{} `json:"props,omitempty" yaml:"props,omitempty"` } type ManifestServer struct {