-
Notifications
You must be signed in to change notification settings - Fork 26
/
manifest.webapp
202 lines (202 loc) · 6 KB
/
manifest.webapp
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
{
"name": "Home",
"name_prefix": "Cozy",
"slug": "home",
"icon": "icon.svg",
"categories": ["cozy", "konnectors"],
"type": "webapp",
"source": "git://github.com/cozy/cozy-home.git",
"editor": "Cozy",
"developer": {
"name": "Cozy Cloud",
"url": "https://cozy.io"
},
"version": "1.85.0",
"licence": "AGPL-3.0",
"permissions": {
"home": {
"description": "Required to manage default redirection update",
"type": "io.cozy.home.settings",
"verbs": ["GET", "POST", "PUT"]
},
"apps": {
"description": "Required by the cozy-bar to display the icons of the apps",
"type": "io.cozy.apps",
"verbs": ["GET", "POST", "PUT"]
},
"chatConversations": {
"description": "Required by the cozy Assistant",
"type": "io.cozy.ai.chat.conversations",
"verbs": ["GET", "POST"]
},
"chatEvents": {
"description": "Required by the cozy Assistant",
"type": "io.cozy.ai.chat.events",
"verbs": ["GET"]
},
"settings": {
"description": "Required by the cozy-bar display Claudy, to know which applications are coming soon and to manage default redirection update",
"type": "io.cozy.settings",
"verbs": ["GET", "PUT"]
},
"konnectors": {
"description": "Required to get the list of konnectors",
"type": "io.cozy.konnectors",
"verbs": ["GET", "POST", "PUT", "DELETE"]
},
"accounts": {
"description": "Required to manage accounts associated to konnectors",
"type": "io.cozy.accounts",
"verbs": ["GET", "POST", "PUT", "DELETE"]
},
"files": {
"description": "Required to access folders",
"type": "io.cozy.files",
"verbs": ["GET", "PATCH", "POST"]
},
"jobs": {
"description": "Required to run the konnectors",
"type": "io.cozy.jobs",
"verbs": ["ALL"]
},
"contacts": {
"description": "Required for the service to update the myself contact, and to add contacts to contracts/accounts",
"type": "io.cozy.contacts",
"verbs": ["ALL"]
},
"triggers": {
"description": "Required to run the konnectors",
"type": "io.cozy.triggers",
"verbs": ["ALL"]
},
"permissions": {
"description": "Required to run the konnectors",
"verbs": ["ALL"],
"type": "io.cozy.permissions"
},
"appSuggestions": {
"description": "Required to display konnector suggestions",
"verbs": ["GET", "PUT"],
"type": "io.cozy.apps.suggestions"
},
"organizations": {
"description": "Required to update konnector passwords",
"verbs": ["ALL"],
"type": "com.bitwarden.organizations"
},
"ciphers": {
"description": "Required to know if the vault is used or not",
"verbs": ["GET"],
"type": "com.bitwarden.ciphers"
},
"bank-accounts": {
"description": "Required to edit bank accounts",
"type": "io.cozy.bank.accounts"
},
"bank-settings": {
"description": "Required to edit bank settings",
"type": "io.cozy.bank.settings"
},
"geojson-timeseries": {
"description": "Required to display geojson timeseries",
"type": "io.cozy.timeseries.geojson"
},
"bills": {
"description": "Required to display bills debug data",
"type": "io.cozy.bills"
},
"identities": {
"description": "Required to display identities debug data",
"type": "io.cozy.identities"
},
"announcements-dev": {
"type": "cc.cozycloud.announcements.dev",
"verbs": ["GET"],
"description": "Remote-doctype required to get announcements, for development purposes"
},
"announcements-uploads-dev": {
"type": "cc.cozycloud.announcements.dev.uploads",
"verbs": ["GET"],
"description": "Remote-doctype required to get announcements images, for development purposes"
},
"announcements": {
"type": "cc.cozycloud.announcements",
"verbs": ["GET"],
"description": "Remote-doctype required to get announcements"
},
"announcements-uploads": {
"type": "cc.cozycloud.announcements.uploads",
"verbs": ["GET"],
"description": "Remote-doctype required to get announcements images"
}
},
"routes": {
"/": {
"folder": "/",
"index": "index.html",
"public": false
},
"/intents": {
"folder": "/intents",
"index": "index.html",
"public": false
},
"/intro": {
"folder": "/",
"index": "index.html",
"public": false
}
},
"intents": [
{
"action": "CREATE",
"type": ["io.cozy.accounts"],
"href": "/intents",
"data": ["slug"]
},
{
"action": "VIEW",
"type": ["io.cozy.accounts"],
"href": "/intents",
"data": ["slug", "accountId"]
},
{
"action": "REDIRECT",
"type": ["io.cozy.accounts"],
"href": "/#/redirect",
"data": ["account", "konnector"]
}
],
"services": {
"myselfFromIdentities": {
"type": "node",
"file": "services/myselfFromIdenties/home.js",
"trigger": "@event io.cozy.identities:CREATED,UPDATED"
},
"updateAccounts": {
"type": "node",
"file": "services/updateAccounts/home.js",
"trigger": "@event com.bitwarden.ciphers:UPDATED"
},
"deleteAccounts": {
"type": "node",
"file": "services/deleteAccounts/home.js",
"trigger": "@event com.bitwarden.ciphers:DELETED"
},
"softDeleteOrRestoreAccount": {
"type": "node",
"file": "services/softDeleteOrRestoreAccounts/home.js",
"trigger": "@event com.bitwarden.ciphers:UPDATED:!=:deletedDate"
},
"cliskTimeout": {
"type": "node",
"file": "services/cliskTimeout/home.js",
"comment": "This service must be called programmatically from the flagship app. It stopps the given job with a context deadline exceeded error"
},
"sourceAccountIdentifierNormalizer": {
"type": "node",
"file": "services/sourceAccountIdentifierNormalizer/home.js",
"comment": "This service must be called manually"
}
}
}