Plugin schema are now just plugin forms (requires eV 1.2)

This commit is contained in:
Joel Collins 2019-09-14 15:51:51 +01:00
parent 0d7a5f71e0
commit d9e07f913a
16 changed files with 106 additions and 98 deletions

View file

@ -1,33 +0,0 @@
{
"id": "example-plugin",
"icon": "pets",
"forms": [
{
"name": "Hello world",
"isTask": false,
"selfUpdate": true,
"route": "/hello",
"schema": [
{
"fieldType": "textInput",
"placeholder": "Enter a string",
"label": "Plugin string",
"name": "plugin_string"
}
]
},
{
"name": "Timelapse",
"isTask": true,
"route": "/timelapse",
"submitLabel": "Start timelapse",
"schema": [
{
"fieldType": "numberInput",
"name": "n_images",
"label": "Number of images"
}
]
}
]
}