-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathmanifest.webapp
More file actions
118 lines (118 loc) · 2.88 KB
/
manifest.webapp
File metadata and controls
118 lines (118 loc) · 2.88 KB
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
{
"name": "Contacts",
"editor": "Cozy",
"name_prefix": "Twake",
"slug": "contacts",
"icon": "assets/icon.svg",
"type": "webapp",
"description": "Contact manager for Twake Workplace",
"category": "cozy",
"version": "1.16.0",
"licence": "AGPL-3.0",
"source": "https://github.com/cozy/cozy-contacts.git@build",
"developer": {
"name": "Twake Workplace",
"url": "https://twake.app"
},
"default_locale": "en",
"screenshots": [
"assets/screenshots/fr/screenshot01.png",
"assets/screenshots/fr/screenshot02.png",
"assets/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"]
},
"identities": {
"type": "io.cozy.identities",
"verbs": ["GET"]
},
"files": {
"description": "Required to get shortcuts",
"type": "io.cozy.files",
"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"]
},
"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"]
}
},
"intents": [
{
"action": "PICK",
"type": ["io.cozy.contacts"],
"href": "/services"
},
{
"action": "CREATE",
"type": ["io.cozy.contacts"],
"href": "/services"
},
{
"action": "LIST",
"type": ["io.cozy.contacts"],
"href": "/services"
}
],
"services": {
"keepIndexFullNameAndDisplayNameUpToDate": {
"type": "node",
"file": "services/keepIndexFullNameAndDisplayNameUpToDate.js",
"trigger": "@event io.cozy.contacts:CREATED,UPDATED",
"debounce": "5s"
},
"autoDefineLabels": {
"type": "node",
"file": "services/autoDefineLabels.js",
"trigger": "@event io.cozy.contacts:CREATED,UPDATED",
"debounce": "5s"
},
"cleanRelatedContacts": {
"type": "node",
"file": "services/cleanRelatedContacts.js",
"trigger": "@event io.cozy.contacts:DELETED"
}
}
}