-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.json
47 lines (47 loc) · 1.59 KB
/
install.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
{
"resources": {
"head": [
{
"type": "script",
"src": "./cloudflare-shareaholic.js"
}
]
},
"hooks": [
{
"events":["option-change:account",
"option-change:siteId",
"preview",
"before-new-install",
"new-install",
"before-update-install",
"update-install"],
"endpoint": "https://www.shareaholic.com/integrations/cloudflare/hook",
"block": true,
"authenticate": ["account"]
}
],
"options": {
"properties": {
"account": {
"title": "Shareaholic Account",
"type": "object",
"format": "account",
"services": ["shareaholic"],
"order": 0
},
"siteId": {
"title": "Your Shareaholic Site ID",
"type": "string",
"required": true,
"description": "Enter the Site ID provided to you in your <a href='https://www.shareaholic.com/sites' target='_blank'>Shareaholic Sites Dashboard</a>. If you already have a Shareaholic account, please log in and we will present a list of your sites here for you to choose from. If not, please sign up and we will setup your site during the installation process.",
"placeholder": "for example: d66d1e26c0f1f07ba8e3709578a8e11a",
"order": 1
},
"setup": {
"type": "help",
"helpvalue": "Once you've linked your Cloudflare account with Shareaholic, head on over to your <a href='https://www.shareaholic.com/sites' target='_blank'>Shareaholic Sites Dashboard</a> to configure your settings."
}
}
}
}