-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmanifest.json
147 lines (147 loc) · 4.87 KB
/
manifest.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"$schema": "https://developer.microsoft.com/json-schemas/teams/v1.17/MicrosoftTeams.schema.json",
"id": "f2b103f1-1ab1-4e1b-8f0b-072aa3d4e19d",
"manifestVersion": "1.17",
"version": "1.0.0",
"name": {
"short": "Contoso Task Pane Add-in",
"full": "Contoso Task Pane Add-in"
},
"description": {
"short": "An add-in that shows how to use SSO.",
"full": "An add-in that shows how to use SSO, and to fallback to interactive login when SSO is not available."
},
"developer": {
"name": "Contoso",
"websiteUrl": "https://www.contoso.com",
"privacyUrl": "https://www.contoso.com/privacy",
"termsOfUseUrl": "https://www.contoso.com/servicesagreement"
},
"icons": {
"outline": "assets/outline.png",
"color": "assets/color.png"
},
"accentColor": "#230201",
"localizationInfo": {
"defaultLanguageTag": "en-us",
"additionalLanguages": []
},
"authorization": {
"permissions": {
"resourceSpecific": [
{
"name": "Mailbox.ReadWrite.User",
"type": "Delegated"
}
]
}
},
"webApplicationInfo": {
"id": "{application GUID here}",
"resource": "api://localhost:{PORT}/{application GUID here}"
},
"validDomains": ["contoso.com"],
"extensions": [
{
"requirements": {
"scopes": ["mail"],
"capabilities": [
{ "name": "Mailbox", "minVersion": "1.3" }
]
},
"runtimes": [
{
"requirements": {
"capabilities": [
{ "name": "Mailbox", "minVersion": "1.3" }
]
},
"id": "TaskPaneRuntime",
"type": "general",
"code": {
"page": "https://localhost:{PORT}/taskpane.html"
},
"lifetime": "short",
"actions": [
{
"id": "TaskPaneRuntimeShow",
"type":"openPage",
"pinnable": false,
"view": "dashboard"
}
]
},
{
"id": "CommandsRuntime",
"type": "general",
"code": {
"page": "https://localhost:{PORT}/commands.html",
"script": "https://localhost:{PORT}/commands.js"
},
"lifetime": "short",
"actions": [
{
"id": "action",
"type": "executeFunction"
}
]
}
],
"ribbons": [
{
"contexts": [
"mailCompose"
],
"tabs": [
{
"builtInTabId": "TabDefault",
"groups": [
{
"id": "msgComposeGroup",
"label": "Contoso Add-in",
"icons": [
{ "size": 16, "url": "https://localhost:{PORT}/assets/icon-16.png" },
{ "size": 32, "url": "https://localhost:{PORT}/assets/icon-32.png" },
{ "size": 80, "url": "https://localhost:{PORT}/assets/icon-80.png" }
],
"controls": [
{
"id": "msgComposeOpenPaneButton",
"type": "button",
"label": "Show Task Pane",
"icons": [
{ "size": 16, "url": "https://localhost:{PORT}/assets/icon-16.png" },
{ "size": 32, "url": "https://localhost:{PORT}/assets/icon-32.png" },
{ "size": 80, "url": "https://localhost:{PORT}/assets/icon-80.png" }
],
"supertip": {
"title": "Show Task Pane",
"description": "Opens a task pane."
},
"actionId": "TaskPaneRuntimeShow"
},
{
"id": "ActionButton",
"type": "button",
"label": "Perform an action",
"icons": [
{ "size": 16, "url": "https://localhost:{PORT}/assets/icon-16.png" },
{ "size": 32, "url": "https://localhost:{PORT}/assets/icon-32.png" },
{ "size": 80, "url": "https://localhost:{PORT}/assets/icon-80.png" }
],
"supertip": {
"title": "Perform an action",
"description": "Perform an action when clicked."
},
"actionId": "action"
}
]
}
]
}
]
}
]
}
]
}