-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextension.js
50 lines (50 loc) · 1.53 KB
/
extension.js
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
({
name: "IFTTT Webhooks", // Category Name
description: "allows you to integrate other services on IFTTT",
author: "microBlock",
category: "Communication",
version: "1.1.0",
icon: "/static/icon.png", // Category icon
color: "#3498DB", // Category color (recommend some blocks color)
blocks: [ // Blocks in Category
{
xml: `
<block type="iftttt_webhook">
<value name="key">
<shadow type="text">
<field name="TEXT">--IFTTT-Key--</field>
</shadow>
</value>
<value name="event">
<shadow type="text">
<field name="TEXT">--IFTTT-Event--</field>
</shadow>
</value>
<value name="value1">
<shadow type="text">
<field name="TEXT">--IFTTT-Value1--</field>
</shadow>
</value>
</block>
`
},
{
xml: `
<block type="text">
<field name="TEXT">--IFTTT-Value2--</field>
</block>
`
},
{
xml: `
<block type="text">
<field name="TEXT">--IFTTT-Value3--</field>
</block>
`
}
],
chip: [
"ESP32", // Chip support
"RP2-WiFi"
]
});