-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforms.yaml
More file actions
219 lines (219 loc) · 6.61 KB
/
forms.yaml
File metadata and controls
219 lines (219 loc) · 6.61 KB
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
schema_version: 1
id: %extensionId%
inputs:
- id: layout
type: hidden
attributes:
value:
- %layout%
- id: tabs
tabs:
- label: Event
fields:
- id: event
type: dropdown
options:
- if: "values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && !values.platforms?.includes('youtube')"
label: Follow
value: follow
- if: "!values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && values.platforms?.includes('youtube')"
label: Subscriber
value: follow
- if: "values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && values.platforms?.includes('youtube')"
label: Follow/Subscriber
value: follow
- if: "values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && !values.platforms?.includes('youtube')"
label: Subscribe
value: subscribe
- if: "!values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && values.platforms?.includes('youtube')"
label: Memberships
value: subscribe
- if: "values.platforms?.some((s) => ['twitch', 'kick'].includes(s)) && values.platforms?.includes('youtube')"
label: Subscribe/Memberships
value: subscribe
- label: Cheer
value: cheer
- label: Donation
value: donation
attributes:
label: Event
value: follow
- id: platforms
type: platforms
options:
- value: twitch
- value: youtube
- value: kick
- value: own3d
attributes:
label: Platforms
value:
- twitch
multiple: true
required: true
- label: Content
fields:
- id: title
type: input
attributes:
type: text
label: Title
value: '%defaultTitle%'
- id: goal-target
type: input
attributes:
min: 1
step: 1
type: number
label: 'Goal target'
value: %defaultGoalTarget%
- id: goal-start
type: input
attributes:
min: 0
type: number
label: 'Goal start amount'
value:
value: 0
toggled: false
optional: true
- label: Appearance
fields:
- id: animated
type: %animatedFieldType%
attributes:
label: 'Animated Version'
value: %animatedDefault%
- label: Font
fields:
- id: title-font
type: font-settings
attributes:
label: Title
value:
font-size: %titleFontSize%
font-color: %titleFontColor%
font-style: %titleFontStyle%
text-align: %titleTextAlign%
font-family: %titleFontFamily%
font-weight: %titleFontWeight%
line-height: 1.2
text-indent: 0
letter-spacing: 0
- id: target-font
type: font-settings
attributes:
label: Goal
value:
font-size: %goalFontSize%
font-color: %goalFontColor%
font-style: %goalFontStyle%
text-align: %goalTextAlign%
font-family: %goalFontFamily%
font-weight: %goalFontWeight%
line-height: 1.2
text-indent: 0
letter-spacing: 0
- id: dates-font
type: font-settings
attributes:
label: Date
value:
font-size: %datesFontSize%
font-color: %datesFontColor%
font-style: %datesFontStyle%
text-align: %datesTextAlign%
font-family: %datesFontFamily%
font-weight: %datesFontWeight%
line-height: 1.2
text-indent: 0
letter-spacing: 0
- label: Colors
fields:
- id: fill-color
type: color
attributes:
label: Fill
value: %fillColor%
allow-gradient: true
- id: bg-color
type: color
attributes:
label: Background
value: %bgColor%
allow-gradient: true
- label: Dates
fields:
- id: goal-start-date
type: input
excluded_from_template: true
attributes:
type: datetime-local
label: 'Goal start date'
value:
value: ''
toggled: false
optional: true
- id: goal-end-date
type: input
excluded_from_template: true
attributes:
type: datetime-local
label: 'Goal end date'
value:
value: ''
toggled: false
optional: true
- id: dates-end-toggles
type: group
fields:
- id: dates-end-show
type: boolean
attributes:
label: 'Show End Date'
value: true
- id: dates-end-time-show
type: boolean
attributes:
label: 'Show End Time'
value: true
attributes: []
- id: dates-format-date
type: input
attributes:
type: text
label: 'Date Format'
value: MM/DD/YYYY
placeholder: MM/DD/YYYY
- id: dates-format-time
type: input
attributes:
type: text
label: 'Time Format'
value: 'HH:mm'
placeholder: 'HH:mm'
type: tabs
- id: bar-width
type: hidden
attributes:
value: %width%
- id: bar-height
type: hidden
attributes:
value: %height%
- id: bar-inset-top
type: hidden
attributes:
value: %barInsetTop%
- id: bar-inset-right
type: hidden
attributes:
value: %barInsetRight%
- id: bar-inset-bottom
type: hidden
attributes:
value: %barInsetBottom%
- id: bar-inset-left
type: hidden
attributes:
value: %barInsetLeft%