forked from cozy/cozy-contacts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.webapp
83 lines (83 loc) · 1.91 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
{
"name": "Contacts",
"editor": "Cozy",
"name_prefix": "Cozy",
"slug": "contacts",
"icon": "icon.svg",
"type": "webapp",
"description": "Contact manager for Cozy Cloud",
"category": "cozy",
"version": "1.1.0",
"licence": "AGPL-3.0",
"source": "https://github.com/cozy/cozy-contacts.git@build",
"developer": {
"name": "Cozy Cloud",
"url": "https://cozy.io"
},
"default_locale": "en",
"screenshots": [
"screenshots/fr/screenshot01.png",
"screenshots/fr/screenshot02.png",
"screenshots/fr/screenshot03.png"
],
"routes": {
"/": {
"folder": "/",
"index": "index.html",
"public": false
},
"/services": {
"folder": "/intents",
"index": "index.html",
"public": false
}
},
"permissions": {
"apps": {
"type": "io.cozy.apps",
"verbs": ["GET"]
},
"contacts": {
"type": "io.cozy.contacts",
"verbs": ["ALL"]
},
"contactsgroups": {
"type": "io.cozy.contacts.groups",
"verbs": ["ALL"]
},
"contactsAccounts": {
"type": "io.cozy.contacts.accounts",
"verbs": ["ALL"]
},
"settings": {
"description": "Required by the cozy-bar to display Claudy and know which applications are coming soon",
"type": "io.cozy.settings",
"verbs": ["GET"]
},
"triggers": {
"description": "Used to sort contacts",
"type": "io.cozy.triggers",
"verbs": ["GET", "POST"]
}
},
"intents": [
{
"action": "PICK",
"type": ["io.cozy.contacts"],
"href": "/services"
},
{
"action": "CREATE",
"type": ["io.cozy.contacts"],
"href": "/services"
}
],
"services": {
"keepIndexFullNameAndDisplayNameUpToDate": {
"type": "node",
"file": "services/keepIndexFullNameAndDisplayNameUpToDate/contacts.js",
"trigger": "@event io.cozy.contacts:CREATED,UPDATED",
"debounce": "5s"
}
}
}