lumia-plugin 0.3.8 → 0.4.0
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "showcase_plugin",
|
|
3
3
|
"name": "Showcase Plugin",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"author": "Lumia Stream",
|
|
6
6
|
"email": "",
|
|
7
7
|
"website": "",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"helperText": "Used when the action does not supply a duration."
|
|
40
40
|
}
|
|
41
41
|
],
|
|
42
|
-
"settings_tutorial": "
|
|
43
|
-
"actions_tutorial": "
|
|
42
|
+
"settings_tutorial": "./settings_tutorial.md",
|
|
43
|
+
"actions_tutorial": "./actions_tutorial.md",
|
|
44
44
|
"actions": [
|
|
45
45
|
{
|
|
46
46
|
"type": "trigger_alert",
|
|
@@ -114,12 +114,19 @@
|
|
|
114
114
|
"type": "EQUAL_SELECTION",
|
|
115
115
|
"description": "Matches dynamic.value against the selected color.",
|
|
116
116
|
"selections": [
|
|
117
|
-
{
|
|
118
|
-
|
|
117
|
+
{
|
|
118
|
+
"label": "Blue",
|
|
119
|
+
"value": "#00c2ff"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"label": "Red",
|
|
123
|
+
"value": "#ff5f5f"
|
|
124
|
+
}
|
|
119
125
|
]
|
|
120
126
|
}
|
|
121
127
|
]
|
|
122
128
|
}
|
|
123
|
-
]
|
|
129
|
+
],
|
|
130
|
+
"translations": "./translations.json"
|
|
124
131
|
}
|
|
125
132
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
### Setup
|
|
3
|
+
1) Enter a default message and color.
|
|
4
|
+
2) Adjust the default duration if you want a longer or shorter alert.
|
|
5
|
+
3) Click Save to store the defaults.
|
|
6
|
+
---
|
|
7
|
+
### What this plugin does
|
|
8
|
+
- Stores the message, username, color, and duration in variables.
|
|
9
|
+
- Uses those values when triggering the sample alert.
|
|
10
|
+
---
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"en": {
|
|
3
|
+
"message": "Stores the most recent message handled by the plugin.",
|
|
4
|
+
"username": "Stores the most recent username handled by the plugin.",
|
|
5
|
+
"color": "Tracks the color used by the latest sample alert.",
|
|
6
|
+
"duration": "Tracks the duration used by the latest sample alert."
|
|
7
|
+
}
|
|
8
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lumia-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Command-line tools for creating, building, and validating Lumia Stream plugins.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"lumia-plugin": "scripts/cli.js"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"author": "Lumia Stream",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@lumiastream/plugin": "^0.
|
|
27
|
+
"@lumiastream/plugin": "^0.4.0",
|
|
28
28
|
"jszip": "3.10.1"
|
|
29
29
|
}
|
|
30
30
|
}
|