-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathappsscript.json
75 lines (75 loc) · 1.99 KB
/
appsscript.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
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"timeZone": "America/New_York",
"dependencies": {
"libraries": [
{
"userSymbol": "OAuth2",
"version": "43",
"libraryId": "1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF"
}
]
},
"exceptionLogging": "STACKDRIVER",
"oauthScopes": [
"https://www.googleapis.com/auth/documents",
"https://www.googleapis.com/auth/drive.addons.metadata.readonly",
"https://www.googleapis.com/auth/drive.file",
"https://www.googleapis.com/auth/script.container.ui",
"https://www.googleapis.com/auth/script.external_request",
"https://www.googleapis.com/auth/script.locale",
"https://www.googleapis.com/auth/workspace.linkpreview"
],
"runtimeVersion": "V8",
"urlFetchWhitelist": ["https://www.mermaidchart.com/"],
"addOns": {
"common": {
"name": "Mermaid Chart",
"logoUrl": "https://www.mermaidchart.com/img/mermaid-chart-48.png",
"useLocaleFromApp": true,
"universalActions": [
{
"label": "Learn more about Mermaid Chart",
"openLink": "https://www.mermaidchart.com"
}
],
"layoutProperties": {
"primaryColor": "#424242",
"secondaryColor": "#ff3670"
}
},
"gmail": {
"contextualTriggers": [
{
"unconditional": {},
"onTriggerFunction": "onGmailMessage"
}
],
"composeTrigger": {
"selectActions": [
{
"text": "Insert Diagram",
"runFunction": "onGmailCompose"
}
],
"draftAccess": "NONE"
}
},
"docs": {
"homepageTrigger": {
"runFunction": "onDocsHomepage"
},
"linkPreviewTriggers": [
{
"patterns": [
{
"hostPattern": "mermaidchart.com"
}
],
"runFunction": "diagramLinkPreview",
"labelText": "Mermaid Diagram",
"logoUrl": "https://www.mermaidchart.com/img/mermaid-chart-48.png"
}
]
}
}
}