-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomponent.json
More file actions
57 lines (57 loc) · 1.65 KB
/
Copy pathcomponent.json
File metadata and controls
57 lines (57 loc) · 1.65 KB
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
51
52
53
54
55
56
57
{
"title": "versions_test",
"description": "Hello world component for the elastic.io platform",
"docsUrl":"https://github.com/elasticio/hello-world-nodejs",
"credentials": {
"fields": {
"username": {
"label": "Username",
"required": true,
"viewClass": "TextFieldView"
},
"password": {
"label": "Password",
"required": true,
"viewClass": "TextFieldView"
}
}
},
"triggers": {
"getHello": {
"main": "./lib/triggers/getHello.js",
"type": "polling",
"title": "Query Hello",
"fields": {
"foo": {
"label": "Foo Field",
"required": true,
"viewClass": "TextFieldView"
}
},
"metadata": {
"out": "./lib/schemas/getHello.out.json"
}
}
},
"actions": {
"updateHello": {
"main": "./lib/actions/updateHello.js",
"title": "Update Hello",
"fields": {
"foo": {
"label": "Foo Field",
"required": true,
"viewClass": "TextFieldView"
},
"templateName": {
"label": "Template",
"required": true,
"viewClass": "SelectView",
"model": "getTemplateModel",
"prompt":"Select Template"
}
},
"dynamicMetadata": true
}
}
}