/
component.json
35 lines (35 loc) · 951 Bytes
/
component.json
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
{
"title": "Connector template",
"description": "OIH connector example",
"docsUrl": "https://github.com/openintegrationhub/contacts-adapter-template",
"buildType": "docker",
"credentials": {
"fields": {
"username": {
"label": "Your username",
"required": true,
"viewClass": "TextFieldView",
"note": "Your username in the target application",
"placeholder": "youremail@mail.com"
},
"password": {
"label": "Your password",
"required": true,
"viewClass": "PasswordFieldView",
"note": "Your password in the target application"
}
}
},
"triggers": {
"getObjectsPolling": {
"title": "Fetch new and updated objects",
"main": "./lib/triggers/getObjects.js"
}
},
"actions": {
"upsertObject": {
"title": "Upsert an object in your target application",
"main": "./lib/actions/upsertObject.js",
}
}
}