-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmanifest.yml
155 lines (149 loc) · 3.29 KB
/
manifest.yml
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
plugin:
name: example-plugin
version: 1.0
url: https://github.com/programmfabrik/easydb-example-plugin
displayname:
de-DE: Example Plugin
en-US: Example Plugin
info:
de-DE: "Das Beispiel Plugin für **easydb**."
en-US: "An example plugin for **easydb**."
webhooks:
- name: example
secret_base_config: "example_plugin.webhook_secret"
webfrontend:
url: example-plugin.js
l10n: l10n/
css: example-plugin.css
type_extension:
mask:
text_oneline:
- name: "ex_text_online"
parameters:
ex_1:
type: "text"
eas:
- name: ex_eas
parameters:
show:
type: bool
default: true
custom_events:
- EASYDB_EXAMPLE_PLUGIN_EVENT
- EXAMPLEFILEPICKER_FILE_COPY
- EXAMPLEFILEPICKER_FILE_COPY_ERROR
custom_types:
slider:
config:
schema:
- name: range
parameters:
from:
type: int
position: 0
to:
type: int
position: 1
mask:
- name: appearance
parameters:
color:
type: select
options: ["red", "blue", "green"]
example:
update:
script: build/update/example-update.js
timeout: 10
batch_size: 1000
interval_base_config: default_update_interval.days
base_config:
- name: example_plugin
group: example
parameters:
text:
type: text
position: 0
int:
type: int
position: 1
email:
type: email
position: 2
text_multi:
type: text-multiline
position: 3
text_l10n:
type: text-l10n
position: 4
text_l10n_multi:
type: text-l10n-multiline
position: 5
string_list:
type: string-list
choices:
- one
- two
- three
position: 6
string_list_sort:
type: string-list-sort
choice_label: "list-sort.choice"
choices:
- one
- two
- three
position: 7
select:
type: select
options:
- apple
- banana
- kiwi
position: 8
date:
type: text
plugin_type: date
position: 9
tag_select:
type: tag-select
position: 10
tagfilter_select:
type: tagfilter-select
position: 11
profile_mapping:
type: int
plugin_type: profile_mapping_select
position: 12
easydb_group:
type: int
plugin_type: group_easydb_select
position: 13
bool:
type: bool
position: 14
example_base_config:
type: text
plugin_type: example-base-config
store_as_json: true
position: 15
webhook_secret:
type: text
default: ""
position: 16
- name: ExampleFilepicker
group: cms
parameters:
active:
position: 0
type: bool
send_files:
position: 1
type: bool
send_files_max_filesize:
position: 2
type: int
python-2:
file: src/server/example.py
system_rights:
- name: example
comment: this right was added by a the example plugin