iobroker.gotify-ws 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -67,6 +67,11 @@ You can then configure a notification service of your choice for forwarding.
67
67
  ## Changelog
68
68
 
69
69
  <!-- ### **WORK IN PROGRESS** -->
70
+ ### 0.1.13 (2025-04-16)
71
+
72
+ - (simatec) Dependencies updated
73
+ - (simatec) migrated to json5
74
+
70
75
  ### 0.1.12 (2025-02-22)
71
76
 
72
77
  - (simatec) Dependencies updated
@@ -0,0 +1,356 @@
1
+ {
2
+ i18n: true,
3
+ type: 'panel',
4
+ items: {
5
+ gotifyDesc: {
6
+ type: 'staticText',
7
+ text: 'Gotify web socket for connection to various notification systems',
8
+ newLine: true,
9
+ style: {
10
+ fontSize: 20,
11
+ },
12
+ xs: 12,
13
+ sm: 10,
14
+ md: 10,
15
+ lg: 10,
16
+ xl: 10,
17
+ },
18
+ gotifySettings: {
19
+ newLine: true,
20
+ type: 'header',
21
+ text: 'Gotify Settings',
22
+ size: 2,
23
+ xs: 12,
24
+ sm: 12,
25
+ md: 12,
26
+ lg: 12,
27
+ xl: 12,
28
+ },
29
+ ip: {
30
+ type: 'text',
31
+ label: 'Gotify IP or Domain',
32
+ xs: 12,
33
+ sm: 12,
34
+ md: 8,
35
+ lg: 4,
36
+ xl: 4,
37
+ help: 'Gotify IP or Domain',
38
+ validator: 'data.ip',
39
+ validatorNoSaveOnError: true,
40
+ placeholder: '10.250.1.10',
41
+ newLine: true,
42
+ },
43
+ port: {
44
+ xs: 12,
45
+ sm: 12,
46
+ md: 8,
47
+ lg: 4,
48
+ xl: 4,
49
+ min: 1,
50
+ max: 65535,
51
+ help: 'Gotify Port',
52
+ type: 'number',
53
+ validator: 'data.port',
54
+ validatorNoSaveOnError: true,
55
+ placeholder: '8080',
56
+ label: 'Gotify Port',
57
+ },
58
+ token: {
59
+ type: 'password',
60
+ visible: true,
61
+ label: 'Gotify Token',
62
+ xs: 12,
63
+ sm: 12,
64
+ md: 8,
65
+ lg: 4,
66
+ xl: 4,
67
+ validator: 'data.token',
68
+ validatorNoSaveOnError: true,
69
+ help: 'Gotify Token',
70
+ },
71
+ notificationSettings: {
72
+ newLine: true,
73
+ type: 'header',
74
+ text: 'Notification Settings',
75
+ size: 2,
76
+ xs: 12,
77
+ sm: 12,
78
+ md: 12,
79
+ lg: 12,
80
+ xl: 12,
81
+ },
82
+ notificationType: {
83
+ type: 'select',
84
+ label: 'Notification type',
85
+ xs: 12,
86
+ sm: 12,
87
+ md: 8,
88
+ lg: 4,
89
+ xl: 4,
90
+ help: 'Notification type',
91
+ options: [
92
+ {
93
+ label: 'E-Mail',
94
+ value: 'email',
95
+ },
96
+ {
97
+ label: 'Matrix',
98
+ value: 'matrix-org',
99
+ },
100
+ {
101
+ label: 'Notification-Manager',
102
+ value: 'notification-manager',
103
+ },
104
+ {
105
+ label: 'Pushover',
106
+ value: 'pushover',
107
+ },
108
+ {
109
+ label: 'Discord',
110
+ value: 'discord',
111
+ },
112
+ {
113
+ label: 'Signal',
114
+ value: 'signal-cmb',
115
+ },
116
+ {
117
+ label: 'Telegram',
118
+ value: 'telegram',
119
+ },
120
+ {
121
+ label: 'Whatsapp',
122
+ value: 'whatsapp-cmb',
123
+ },
124
+ ],
125
+ newLine: true,
126
+ },
127
+ emailInstance: {
128
+ type: 'selectSendTo',
129
+ command: 'sendToInstance',
130
+ jsonData: '{ "type": "email" }',
131
+ hidden: "data.notificationType !== 'email'",
132
+ label: 'E-Mail Instance',
133
+ xs: 12,
134
+ sm: 12,
135
+ md: 8,
136
+ lg: 4,
137
+ xl: 4,
138
+ help: 'E-Mail Instance',
139
+ },
140
+ emailReceiver: {
141
+ type: 'text',
142
+ hidden: "data.notificationType !== 'email'",
143
+ label: 'E-Mail Receiver',
144
+ xs: 12,
145
+ sm: 12,
146
+ md: 8,
147
+ lg: 4,
148
+ xl: 4,
149
+ help: 'E-Mail Receiver',
150
+ validator: 'data.emailReceiver',
151
+ validatorNoSaveOnError: true,
152
+ placeholder: 'xxxx@xxxx.com',
153
+ newLine: true,
154
+ },
155
+ emailSender: {
156
+ type: 'text',
157
+ hidden: "data.notificationType !== 'email'",
158
+ label: 'E-Mail Sender',
159
+ xs: 12,
160
+ sm: 12,
161
+ md: 8,
162
+ lg: 4,
163
+ xl: 4,
164
+ validator: 'data.emailSender',
165
+ validatorNoSaveOnError: true,
166
+ placeholder: 'xxxx@xxxx.com',
167
+ help: 'E-Mail Sender',
168
+ },
169
+ matrixInstance: {
170
+ type: 'selectSendTo',
171
+ command: 'sendToInstance',
172
+ jsonData: '{ "type": "matrix-org" }',
173
+ hidden: "data.notificationType !== 'matrix-org'",
174
+ label: 'Matrix Instance',
175
+ xs: 12,
176
+ sm: 12,
177
+ md: 8,
178
+ lg: 4,
179
+ xl: 4,
180
+ help: 'Matrix Instance',
181
+ },
182
+ notificationManagerInstance: {
183
+ type: 'selectSendTo',
184
+ command: 'sendToInstance',
185
+ jsonData: '{ "type": "notification-manager" }',
186
+ hidden: "data.notificationType !== 'notification-manager'",
187
+ label: 'Notification-Manager Instance',
188
+ xs: 12,
189
+ sm: 12,
190
+ md: 8,
191
+ lg: 4,
192
+ xl: 4,
193
+ help: 'Notification-Manager Instance',
194
+ },
195
+ pushoverInstance: {
196
+ type: 'selectSendTo',
197
+ command: 'sendToInstance',
198
+ jsonData: '{ "type": "pushover" }',
199
+ hidden: "data.notificationType !== 'pushover'",
200
+ label: 'Pushover Instance',
201
+ xs: 12,
202
+ sm: 12,
203
+ md: 8,
204
+ lg: 4,
205
+ xl: 4,
206
+ help: 'Pushover Instance',
207
+ },
208
+ pushoverDeviceID: {
209
+ type: 'text',
210
+ hidden: "data.notificationType !== 'pushover'",
211
+ label: 'Device ID',
212
+ xs: 12,
213
+ sm: 12,
214
+ md: 8,
215
+ lg: 4,
216
+ xl: 4,
217
+ help: 'Device ID',
218
+ },
219
+ pushoverSilentNotice: {
220
+ newLine: true,
221
+ type: 'checkbox',
222
+ hidden: "data.notificationType !== 'pushover'",
223
+ label: 'Silent Notice',
224
+ xs: 12,
225
+ sm: 12,
226
+ md: 8,
227
+ lg: 4,
228
+ xl: 4,
229
+ },
230
+ discordInstance: {
231
+ type: 'selectSendTo',
232
+ command: 'sendToInstance',
233
+ jsonData: '{ "type": "discord" }',
234
+ hidden: "data.notificationType !== 'discord'",
235
+ label: 'Discord Instance',
236
+ xs: 12,
237
+ sm: 12,
238
+ md: 8,
239
+ lg: 4,
240
+ xl: 4,
241
+ help: 'Discord Instance',
242
+ },
243
+ discordTarget: {
244
+ type: 'selectSendTo',
245
+ command: 'sendToDiscordTarget',
246
+ jsonData: '{ "instance": "${data.discordInstance}" }',
247
+ hidden: "data.notificationType !== 'discord'",
248
+ label: 'Discord Target',
249
+ xs: 12,
250
+ sm: 12,
251
+ md: 8,
252
+ lg: 4,
253
+ xl: 4,
254
+ default: 'none',
255
+ help: 'Discord Target',
256
+ },
257
+ signalInstance: {
258
+ type: 'selectSendTo',
259
+ command: 'sendToInstance',
260
+ jsonData: '{ "type": "signal-cmb" }',
261
+ hidden: "data.notificationType !== 'signal-cmb'",
262
+ label: 'Signal Instance',
263
+ xs: 12,
264
+ sm: 12,
265
+ md: 8,
266
+ lg: 4,
267
+ xl: 4,
268
+ help: 'Signal Instance',
269
+ },
270
+ telegramInstance: {
271
+ type: 'selectSendTo',
272
+ command: 'sendToInstance',
273
+ jsonData: '{ "type": "telegram" }',
274
+ hidden: "data.notificationType !== 'telegram'",
275
+ label: 'Telegram Instance',
276
+ xs: 12,
277
+ sm: 12,
278
+ md: 8,
279
+ lg: 4,
280
+ xl: 4,
281
+ help: 'Telegram Instance',
282
+ },
283
+ telegramUser: {
284
+ type: 'selectSendTo',
285
+ command: 'sendToTelegramUser',
286
+ jsonData: '{ "instance": "${data.telegramInstance}" }',
287
+ hidden: "data.notificationType !== 'telegram'",
288
+ label: 'Telegram User',
289
+ noTranslation: false,
290
+ xs: 12,
291
+ sm: 12,
292
+ md: 8,
293
+ lg: 4,
294
+ xl: 4,
295
+ help: 'Telegram User',
296
+ },
297
+ whatsappInstance: {
298
+ type: 'selectSendTo',
299
+ command: 'sendToInstance',
300
+ jsonData: '{ "type": "whatsapp-cmb" }',
301
+ hidden: "data.notificationType !== 'whatsapp-cmb'",
302
+ label: 'Whatsapp Instance',
303
+ xs: 12,
304
+ sm: 12,
305
+ md: 8,
306
+ lg: 4,
307
+ xl: 4,
308
+ help: 'Whatsapp Instance',
309
+ },
310
+ _helpLine2: {
311
+ newLine: true,
312
+ type: 'divider',
313
+ color: 'secondary',
314
+ xs: 12,
315
+ sm: 12,
316
+ md: 12,
317
+ lg: 12,
318
+ xl: 12,
319
+ },
320
+ _donateTxt: {
321
+ type: 'staticText',
322
+ text: 'If you like this project and would like to support its development, you are welcome to leave a donation.',
323
+ newLine: true,
324
+ xs: 12,
325
+ sm: 12,
326
+ md: 12,
327
+ lg: 12,
328
+ xl: 12,
329
+ },
330
+ _donate: {
331
+ type: 'staticImage',
332
+ tooltip: 'PayPal.Me',
333
+ noTranslation: true,
334
+ href: 'https://paypal.me/mk1676',
335
+ src: 'https://img.shields.io/badge/paypal-donate%20%7C%20spenden-blue.svg',
336
+ newLine: true,
337
+ xs: 7,
338
+ sm: 3,
339
+ md: 3,
340
+ lg: 1.2,
341
+ xl: 1.2,
342
+ },
343
+ _githubSponsor: {
344
+ type: 'staticImage',
345
+ tooltip: 'GitHub Sponsors',
346
+ noTranslation: true,
347
+ href: 'https://github.com/sponsors/simatec',
348
+ src: 'https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86',
349
+ xs: 5,
350
+ sm: 2,
351
+ md: 2,
352
+ lg: 0.8,
353
+ xl: 0.8,
354
+ },
355
+ },
356
+ }
package/io-package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "common": {
3
3
  "name": "gotify-ws",
4
- "version": "0.1.12",
4
+ "version": "0.1.13",
5
5
  "news": {
6
+ "0.1.13": {
7
+ "en": "Dependencies updated\nmigrated to json5",
8
+ "de": "Ausgaben aktualisiert\nzu json5 migriert",
9
+ "ru": "Обновленные зависимости\nиммиграция в json5",
10
+ "pt": "Dependências atualizadas\nmigrado para json5",
11
+ "nl": "Afhankelijkheden bijgewerkt\ngemigreerd naar json5",
12
+ "fr": "Dépendances actualisées\nmigré vers json5",
13
+ "it": "Dipendenze aggiornate\nmigrato a json5",
14
+ "es": "Actualización de las dependencias\nmigrated to json5",
15
+ "pl": "Aktualizacja zależności\nmigrant do json5",
16
+ "uk": "Залежність оновлено\nмігрований в json5",
17
+ "zh-cn": "更新的依赖关系\n迁移到json5"
18
+ },
6
19
  "0.1.12": {
7
20
  "en": "Dependencies updated\nsmall fix",
8
21
  "de": "Ausgaben aktualisiert\nkleine fix",
@@ -80,19 +93,6 @@
80
93
  "pl": "Aktualizacja zależności\nResponsive Design fix",
81
94
  "uk": "Залежність оновлено\nКріплення адаптивного дизайну",
82
95
  "zh-cn": "更新的依赖关系\n反应设计修正"
83
- },
84
- "0.1.6": {
85
- "en": "Fix Adapter Check\nDependencies updated\nResponsive Design added",
86
- "de": "Fix Adapter Überprüfung\nAusgaben aktualisiert\nResponsive Design hinzugefügt",
87
- "ru": "Fix Adapter Проверка\nОбновленные данные о зависимостях\nResponsive Design",
88
- "pt": "Adaptador de fixação Verificação\nDependências atualizadas\nDesign responsivo adicionado",
89
- "nl": "Repareren Adapter Controleren\nAfhankelijkheden bijgewerkt\nResponsive Design toegevoegd",
90
- "fr": "Correction de l'adaptateur Vérifier\nDépendances actualisées\nDesign sensible ajouté",
91
- "it": "Adattatore di fissaggio Check\nDipendenze aggiornate\nResponsive Design aggiunto",
92
- "es": "Adaptador de fijación Check\nActualización de las dependencias\nDiseño responsable añadido",
93
- "pl": "Napraw adapter Sprawdź\nAktualizacja zależności\nDodano projekt odpowiedzialny",
94
- "uk": "Фіксований адаптер Зареєструватися\nЗалежність оновлено\nДодано адаптивний дизайн",
95
- "zh-cn": "修复适配器 检查\n更新的依赖关系\n添加响应设计"
96
96
  }
97
97
  },
98
98
  "titleLang": {
@@ -183,7 +183,8 @@
183
183
  "emailSender": "xxx@xxx.com",
184
184
  "pushoverDeviceID": "",
185
185
  "pushoverSilentNotice": false,
186
- "discordTarget": "none"
186
+ "discordTarget": "none",
187
+ "token": ""
187
188
  },
188
189
  "encryptedNative": [
189
190
  "token"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iobroker.gotify-ws",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Gotify web socket for connection to various notification systems",
5
5
  "author": {
6
6
  "name": "simatec",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@iobroker/adapter-core": "^3.2.3",
32
- "axios": "^1.7.9",
32
+ "axios": "^1.8.4",
33
33
  "ws": "^8.18.1"
34
34
  },
35
35
  "devDependencies": {
@@ -38,19 +38,19 @@
38
38
  "@alcalzone/release-script-plugin-license": "^3.7.0",
39
39
  "@alcalzone/release-script-plugin-manual-review": "^3.7.0",
40
40
  "@iobroker/adapter-dev": "^1.4.0",
41
- "@iobroker/eslint-config": "^1.0.0",
42
- "@iobroker/testing": "^5.0.3",
43
- "chai": "^5.1.2",
41
+ "@iobroker/eslint-config": "^2.0.1",
42
+ "@iobroker/testing": "^5.0.4",
43
+ "chai": "^5.2.0",
44
44
  "chai-as-promised": "^8.0.1",
45
45
  "mocha": "^11.1.0",
46
- "sinon": "^19.0.2",
46
+ "sinon": "^20.0.0",
47
47
  "sinon-chai": "^4.0.0"
48
48
  },
49
49
  "main": "main.js",
50
50
  "files": [
51
- "admin{,/!(src)/**}/!(tsconfig|tsconfig.*|.eslintrc).json",
52
- "admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
53
- "admin{,/!(i18n)/**}/flat.txt",
51
+ "admin/",
52
+ "!admin/**/*/flat.txt",
53
+ "!admin/**/tsconfig.json",
54
54
  "lib/",
55
55
  "!lib/**/*.{sh,bat,log}",
56
56
  "!.dev-server",
@@ -1,356 +0,0 @@
1
- {
2
- "i18n": true,
3
- "type": "panel",
4
- "items": {
5
- "gotifyDesc": {
6
- "type": "staticText",
7
- "text": "Gotify web socket for connection to various notification systems",
8
- "newLine": true,
9
- "style": {
10
- "fontSize": 20
11
- },
12
- "xs": 10,
13
- "sm": 10,
14
- "md": 10,
15
- "lg": 10,
16
- "xl": 10
17
- },
18
- "gotifySettings": {
19
- "newLine": true,
20
- "type": "header",
21
- "text": "Gotify Settings",
22
- "size": 2,
23
- "xs": 12,
24
- "sm": 12,
25
- "md": 12,
26
- "lg": 12,
27
- "xl": 12
28
- },
29
- "ip": {
30
- "type": "text",
31
- "label": "Gotify IP or Domain",
32
- "xs": 12,
33
- "sm": 12,
34
- "md": 8,
35
- "lg": 4,
36
- "xl": 4,
37
- "help": "Gotify IP or Domain",
38
- "validator": "data.ip",
39
- "validatorNoSaveOnError": true,
40
- "placeholder": "10.250.1.10",
41
- "newLine": true
42
- },
43
- "port": {
44
- "xs": 12,
45
- "sm": 12,
46
- "md": 8,
47
- "lg": 4,
48
- "xl": 4,
49
- "min": 1,
50
- "max": 65535,
51
- "help": "Gotify Port",
52
- "type": "number",
53
- "validator": "data.port",
54
- "validatorNoSaveOnError": true,
55
- "placeholder": "8080",
56
- "label": "Gotify Port"
57
- },
58
- "token": {
59
- "type": "password",
60
- "visible": true,
61
- "label": "Gotify Token",
62
- "xs": 12,
63
- "sm": 12,
64
- "md": 8,
65
- "lg": 4,
66
- "xl": 4,
67
- "validator": "data.token",
68
- "validatorNoSaveOnError": true,
69
- "help": "Gotify Token"
70
- },
71
- "notificationSettings": {
72
- "newLine": true,
73
- "type": "header",
74
- "text": "Notification Settings",
75
- "size": 2,
76
- "xs": 12,
77
- "sm": 12,
78
- "md": 12,
79
- "lg": 12,
80
- "xl": 12
81
- },
82
- "notificationType": {
83
- "type": "select",
84
- "label": "Notification type",
85
- "xs": 12,
86
- "sm": 12,
87
- "md": 8,
88
- "lg": 4,
89
- "xl": 4,
90
- "help": "Notification type",
91
- "options": [
92
- {
93
- "label": "E-Mail",
94
- "value": "email"
95
- },
96
- {
97
- "label": "Matrix",
98
- "value": "matrix-org"
99
- },
100
- {
101
- "label": "Notification-Manager",
102
- "value": "notification-manager"
103
- },
104
- {
105
- "label": "Pushover",
106
- "value": "pushover"
107
- },
108
- {
109
- "label": "Discord",
110
- "value": "discord"
111
- },
112
- {
113
- "label": "Signal",
114
- "value": "signal-cmb"
115
- },
116
- {
117
- "label": "Telegram",
118
- "value": "telegram"
119
- },
120
- {
121
- "label": "Whatsapp",
122
- "value": "whatsapp-cmb"
123
- }
124
- ],
125
- "newLine": true
126
- },
127
- "emailInstance": {
128
- "type": "selectSendTo",
129
- "command": "sendToInstance",
130
- "jsonData": "{ \"type\": \"email\" }",
131
- "hidden": "data.notificationType !== 'email'",
132
- "label": "E-Mail Instance",
133
- "xs": 12,
134
- "sm": 12,
135
- "md": 8,
136
- "lg": 4,
137
- "xl": 4,
138
- "help": "E-Mail Instance"
139
- },
140
- "emailReceiver": {
141
- "type": "text",
142
- "hidden": "data.notificationType !== 'email'",
143
- "label": "E-Mail Receiver",
144
- "xs": 12,
145
- "sm": 12,
146
- "md": 8,
147
- "lg": 4,
148
- "xl": 4,
149
- "help": "E-Mail Receiver",
150
- "validator": "data.emailReceiver",
151
- "validatorNoSaveOnError": true,
152
- "placeholder": "xxxx@xxxx.com",
153
- "newLine": true
154
- },
155
- "emailSender": {
156
- "type": "text",
157
- "hidden": "data.notificationType !== 'email'",
158
- "label": "E-Mail Sender",
159
- "xs": 12,
160
- "sm": 12,
161
- "md": 8,
162
- "lg": 4,
163
- "xl": 4,
164
- "validator": "data.emailSender",
165
- "validatorNoSaveOnError": true,
166
- "placeholder": "xxxx@xxxx.com",
167
- "help": "E-Mail Sender"
168
- },
169
- "matrixInstance": {
170
- "type": "selectSendTo",
171
- "command": "sendToInstance",
172
- "jsonData": "{ \"type\": \"matrix-org\" }",
173
- "hidden": "data.notificationType !== 'matrix-org'",
174
- "label": "Matrix Instance",
175
- "xs": 12,
176
- "sm": 12,
177
- "md": 8,
178
- "lg": 4,
179
- "xl": 4,
180
- "help": "Matrix Instance"
181
- },
182
- "notificationManagerInstance": {
183
- "type": "selectSendTo",
184
- "command": "sendToInstance",
185
- "jsonData": "{ \"type\": \"notification-manager\" }",
186
- "hidden": "data.notificationType !== 'notification-manager'",
187
- "label": "Notification-Manager Instance",
188
- "xs": 12,
189
- "sm": 12,
190
- "md": 8,
191
- "lg": 4,
192
- "xl": 4,
193
- "help": "Notification-Manager Instance"
194
- },
195
- "pushoverInstance": {
196
- "type": "selectSendTo",
197
- "command": "sendToInstance",
198
- "jsonData": "{ \"type\": \"pushover\" }",
199
- "hidden": "data.notificationType !== 'pushover'",
200
- "label": "Pushover Instance",
201
- "xs": 12,
202
- "sm": 12,
203
- "md": 8,
204
- "lg": 4,
205
- "xl": 4,
206
- "help": "Pushover Instance"
207
- },
208
- "pushoverDeviceID": {
209
- "type": "text",
210
- "hidden": "data.notificationType !== 'pushover'",
211
- "label": "Device ID",
212
- "xs": 12,
213
- "sm": 12,
214
- "md": 8,
215
- "lg": 4,
216
- "xl": 4,
217
- "help": "Device ID"
218
- },
219
- "pushoverSilentNotice": {
220
- "newLine": true,
221
- "type": "checkbox",
222
- "hidden": "data.notificationType !== 'pushover'",
223
- "label": "Silent Notice",
224
- "xs": 12,
225
- "sm": 12,
226
- "md": 8,
227
- "lg": 4,
228
- "xl": 4
229
- },
230
- "discordInstance": {
231
- "type": "selectSendTo",
232
- "command": "sendToInstance",
233
- "jsonData": "{ \"type\": \"discord\" }",
234
- "hidden": "data.notificationType !== 'discord'",
235
- "label": "Discord Instance",
236
- "xs": 12,
237
- "sm": 12,
238
- "md": 8,
239
- "lg": 4,
240
- "xl": 4,
241
- "help": "Discord Instance"
242
- },
243
- "discordTarget": {
244
- "type": "selectSendTo",
245
- "command": "sendToDiscordTarget",
246
- "jsonData": "{ \"instance\": \"${data.discordInstance}\" }",
247
- "hidden": "data.notificationType !== 'discord'",
248
- "label": "Discord Target",
249
- "xs": 12,
250
- "sm": 12,
251
- "md": 8,
252
- "lg": 4,
253
- "xl": 4,
254
- "default": "none",
255
- "help": "Discord Target"
256
- },
257
- "signalInstance": {
258
- "type": "selectSendTo",
259
- "command": "sendToInstance",
260
- "jsonData": "{ \"type\": \"signal-cmb\" }",
261
- "hidden": "data.notificationType !== 'signal-cmb'",
262
- "label": "Signal Instance",
263
- "xs": 12,
264
- "sm": 12,
265
- "md": 8,
266
- "lg": 4,
267
- "xl": 4,
268
- "help": "Signal Instance"
269
- },
270
- "telegramInstance": {
271
- "type": "selectSendTo",
272
- "command": "sendToInstance",
273
- "jsonData": "{ \"type\": \"telegram\" }",
274
- "hidden": "data.notificationType !== 'telegram'",
275
- "label": "Telegram Instance",
276
- "xs": 12,
277
- "sm": 12,
278
- "md": 8,
279
- "lg": 4,
280
- "xl": 4,
281
- "help": "Telegram Instance"
282
- },
283
- "telegramUser": {
284
- "type": "selectSendTo",
285
- "command": "sendToTelegramUser",
286
- "jsonData": "{ \"instance\": \"${data.telegramInstance}\" }",
287
- "hidden": "data.notificationType !== 'telegram'",
288
- "label": "Telegram User",
289
- "noTranslation": false,
290
- "xs": 12,
291
- "sm": 12,
292
- "md": 8,
293
- "lg": 4,
294
- "xl": 4,
295
- "help": "Telegram User"
296
- },
297
- "whatsappInstance": {
298
- "type": "selectSendTo",
299
- "command": "sendToInstance",
300
- "jsonData": "{ \"type\": \"whatsapp-cmb\" }",
301
- "hidden": "data.notificationType !== 'whatsapp-cmb'",
302
- "label": "Whatsapp Instance",
303
- "xs": 12,
304
- "sm": 12,
305
- "md": 8,
306
- "lg": 4,
307
- "xl": 4,
308
- "help": "Whatsapp Instance"
309
- },
310
- "_helpLine2": {
311
- "newLine": true,
312
- "type": "divider",
313
- "color": "secondary",
314
- "xs": 12,
315
- "sm": 12,
316
- "md": 12,
317
- "lg": 12,
318
- "xl": 12
319
- },
320
- "_donateTxt": {
321
- "type": "staticText",
322
- "text": "If you like this project and would like to support its development, you are welcome to leave a donation.",
323
- "newLine": true,
324
- "xs": 12,
325
- "sm": 12,
326
- "md": 12,
327
- "lg": 12,
328
- "xl": 12
329
- },
330
- "_donate": {
331
- "type": "staticImage",
332
- "tooltip": "PayPal.Me",
333
- "noTranslation": true,
334
- "href": "https://paypal.me/mk1676",
335
- "src": "https://img.shields.io/badge/paypal-donate%20%7C%20spenden-blue.svg",
336
- "newLine": true,
337
- "xs": 7,
338
- "sm": 3,
339
- "md": 3,
340
- "lg": 1.2,
341
- "xl": 1.2
342
- },
343
- "_githubSponsor": {
344
- "type": "staticImage",
345
- "tooltip": "GitHub Sponsors",
346
- "noTranslation": true,
347
- "href": "https://github.com/sponsors/simatec",
348
- "src": "https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86",
349
- "xs": 5,
350
- "sm": 2,
351
- "md": 2,
352
- "lg": 0.8,
353
- "xl": 0.8
354
- }
355
- }
356
- }