forked from OfficeDev/Office-Addin-TaskPane-React-JS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.json
145 lines (144 loc) · 4.74 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
{
"$schema": "https://raw.githubusercontent.com/OfficeDev/microsoft-teams-app-schema/preview/DevPreview/MicrosoftTeams.schema.json",
"id": "f2b103f1-1ab1-4e1b-8f0b-072aa3d4e19d",
"manifestVersion": "devPreview",
"version": "1.0.0",
"name": {
"short": "Contoso Task Pane Add-in",
"full": "Contoso Task Pane Add-in"
},
"description": {
"short": "A template to get started.",
"full": "This is the template to get started."
},
"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": "MailboxItem.Read.User",
"type": "Delegated"
}
]
}
},
"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:3000/taskpane.html"
},
"lifetime": "short",
"actions": [
{
"id": "TaskPaneRuntimeShow",
"type":"openPage",
"pinnable": false,
"view": "dashboard"
}
]
},
{
"id": "CommandsRuntime",
"type": "general",
"code": {
"page": "https://localhost:3000/commands.html",
"script": "https://localhost:3000/commands.js"
},
"lifetime": "short",
"actions": [
{
"id": "action",
"type": "executeFunction",
"displayName": "action"
}
]
}
],
"ribbons": [
{
"contexts": [
"mailRead"
],
"tabs": [
{
"builtInTabId": "TabDefault",
"groups": [
{
"id": "msgReadGroup",
"label": "Contoso Add-in",
"icons": [
{ "size": 16, "file": "https://localhost:3000/assets/icon-16.png" },
{ "size": 32, "file": "https://localhost:3000/assets/icon-32.png" },
{ "size": 80, "file": "https://localhost:3000/assets/icon-80.png" }
],
"controls": [
{
"id": "msgReadOpenPaneButton",
"type": "button",
"label": "Show Taskpane",
"icons": [
{ "size": 16, "file": "https://localhost:3000/assets/icon-16.png" },
{ "size": 32, "file": "https://localhost:3000/assets/icon-32.png" },
{ "size": 80, "file": "https://localhost:3000/assets/icon-80.png" }
],
"supertip": {
"title": "Show Taskpane",
"description": "Opens a pane displaying all available properties."
},
"actionId": "TaskPaneRuntimeShow"
},
{
"id": "ActionButton",
"type": "button",
"label": "Perform an action",
"icons": [
{ "size": 16, "file": "https://localhost:3000/assets/icon-16.png" },
{ "size": 32, "file": "https://localhost:3000/assets/icon-32.png" },
{ "size": 80, "file": "https://localhost:3000/assets/icon-80.png" }
],
"supertip": {
"title": "Perform an action",
"description": "Perform an action when clicked."
},
"actionId": "action"
}
]
}
]
}
]
}
]
}
]
}