-
Notifications
You must be signed in to change notification settings - Fork 1
/
demo.json
33 lines (33 loc) · 888 Bytes
/
demo.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
{
"name": "Google Chat",
"description": "Google Chat Sample freedom.js application",
"app": {
"script": "demo.js",
"index": "main.html",
"static": [
"ux.js"
]
},
"dependencies": {
"socialprovider": {
"url": "social.facebook.json",
"api": "social"
}
},
"provides": ["chat"],
"default": "chat",
"api": {
"chat": {
"login": {"type": "method", "value": []},
"send": {"type": "method", "value": ["string", "string"]},
"recv-status": {"type": "event", "value": "string"},
"recv-err": {"type": "event", "value": {"message": "string"}},
"recv-message": {"type": "event", "value": {"message": "string", "from": {"userId": "string"}}},
"recv-buddylist": {"type": "event", "value": "object"},
"recv-uid": {"type": "event", "value": "string"}
}
},
"permissions": [
"core.xhr"
]
}