forked from elasticio/x-twitter-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent.json
62 lines (62 loc) · 1.79 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"title": "X (Twitter) component",
"description": "X (Twitter) component",
"version": "2.0.0",
"credentials": {
"fields": {
"consumer_key": {
"label": "Consumer key",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "Y2fvFsuFUBvmQ6Z36XRNdp5IZ"
},
"consumer_secret": {
"label": "Consumer secret",
"required": true,
"viewClass": "PasswordFieldView",
"placeholder": "2cUxV7ntLtpPcizC7zmRvVrkNb64hc9ttAPPHdkgFj9CqWR1Sm"
},
"access_token_key": {
"label": "Access token key",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "1338442486423883776-c3cjtfx75fw13l5ryX1EeuucdP2vBn"
},
"access_token_secret": {
"label": "Access token secret",
"required": true,
"viewClass": "PasswordFieldView",
"placeholder": "e7L5IephIqv76EiPKHZHiHr1taGnWzdugb4LF4bnkKD3S"
}
}
},
"actions": {
"makeRawRequest": {
"main": "./src/actions/rawRequest.js",
"title": "Make Raw Request",
"help": {
"description": "Manually construct a request to send to the server.",
"link": "/components/twitter/index.html#make-raw-request"
},
"fields": {},
"metadata": {
"in": "./src/schemas/actions/rawRequest.in.json",
"out": "./src/schemas/actions/rawRequest.out.json"
}
},
"postTweet": {
"main": "./src/actions/postTweet.js",
"title": "Post tweet",
"help": {
"description": "",
"link": "/components/twitter/index.html#post-tweet"
},
"fields": {},
"metadata": {
"in": "./src/schemas/actions/postTweet.in.json",
"out": "./src/schemas/actions/postTweet.out.json"
}
}
},
"triggers": {}
}