generated from mattermost/mattermost-plugin-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.go
101 lines (95 loc) · 2.52 KB
/
manifest.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// This file is automatically generated. Do not modify it manually.
package main
import (
"strings"
"github.com/mattermost/mattermost-server/v5/model"
)
var manifest *model.Manifest
const manifestStr = `
{
"id": "gather-users",
"name": "Gather users",
"description": "This plugin pair two user to chat.",
"version": "2.4.0",
"min_server_version": "5.12.0",
"server": {
"executables": {
"linux-amd64": "server/dist/plugin-linux-amd64",
"darwin-amd64": "server/dist/plugin-darwin-amd64",
"windows-amd64": "server/dist/plugin-windows-amd64.exe"
},
"executable": ""
},
"settings_schema": {
"header": "",
"footer": "",
"settings": [
{
"key": "Cron",
"display_name": "Recurrence",
"type": "dropdown",
"help_text": "",
"placeholder": "",
"default": "@weekly",
"options": [
{
"display_name": "Hourly",
"value": "@hourly"
},
{
"display_name": "Daily",
"value": "@daily"
},
{
"display_name": "Weekly",
"value": "@weekly"
},
{
"display_name": "Monthly",
"value": "@monthly"
},
{
"display_name": "Custom",
"value": "custom"
}
]
},
{
"key": "CustomCron",
"display_name": "Cron expression",
"type": "text",
"help_text": "Select custom recurrence a set a valid cron expression",
"placeholder": "",
"default": null
},
{
"key": "InitText",
"display_name": "Initial text",
"type": "text",
"help_text": "",
"placeholder": "",
"default": "Let's chat!"
},
{
"key": "FirstMeeting",
"display_name": "Start chats on sign in",
"type": "bool",
"help_text": "If this is activated when the user type '/gather-plugin on' the plugin try to find a meeting instead of waiting to the next scheduled.",
"placeholder": "",
"default": false
},
{
"key": "AllowInfoForEveryone",
"display_name": "Info for Everyone",
"type": "bool",
"help_text": "If this is activated, any user can type '/gather-plugin info' to see who is currently signed up. Otherwise, only system users can.",
"placeholder": "",
"default": false
}
]
}
}
`
func init() {
manifest = model.ManifestFromJson(strings.NewReader(manifestStr))
}