-
Notifications
You must be signed in to change notification settings - Fork 1
/
extension.js
46 lines (46 loc) · 1.5 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
({
name: "LINE Notify", // Category Name
description: "Send notification from everywhere to LINE",
author: "microBlock",
category: "Communication",
version: "1.2.0",
icon: "/static/icon.png", // Category icon
color: "#28B463", // Category color (recommend some blocks color)
blocks: [ // Blocks in Category
{
xml: `
<block type="linenotify">
<value name="auth">
<shadow type="text">
<field name="TEXT">--auth--</field>
</shadow>
</value>
<value name="msg">
<shadow type="text">
<field name="TEXT">Hello from microBlock</field>
</shadow>
</value>
<value name="stickerPackageId">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
</value>
<value name="stickerId">
<shadow type="text">
<field name="TEXT"></field>
</shadow>
</value>
</block>
`
}
],
chip: [ // Chip support
"ESP32",
"RP2-WiFi",
"Uno-R4-WiFi"
],
supportArduinoPlatform: true,
depends: [ // Arduino library
]
});