/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/contacts.json
192 строки
4 KB
Jakob Weisblat
hook up contacts joined screen (#20820) + some blocking stuff
21 ноя 2019, 23:59
Не верифицирован
21 ноя 2019, 23:59
a74b3ef
Код
Авторство
О чём код?
{ "protocol": "contacts", "imports": [ { "path": "common.avdl", "type": "idl" } ], "types": [ { "type": "record", "name": "ContactComponent", "fields": [ { "type": "string", "name": "label" }, { "type": [ null, "RawPhoneNumber" ], "name": "phoneNumber" }, { "type": [ null, "EmailAddress" ], "name": "email" } ] }, { "type": "record", "name": "Contact", "fields": [ { "type": "string", "name": "name" }, { "type": { "type": "array", "items": "ContactComponent" }, "name": "components" } ] }, { "type": "record", "name": "ProcessedContact", "fields": [ { "type": "int", "name": "contactIndex" }, { "type": "string", "name": "contactName" }, { "type": "ContactComponent", "name": "component" }, { "type": "boolean", "name": "resolved" }, { "type": "UID", "name": "uid" }, { "type": "string", "name": "username" }, { "type": "string", "name": "fullName" }, { "type": "boolean", "name": "following" }, { "type": { "type": "map", "values": "string", "keys": "string" }, "name": "serviceMap" }, { "type": "string", "name": "assertion" }, { "type": "string", "name": "displayName" }, { "type": "string", "name": "displayLabel" } ] }, { "type": "record", "name": "ContactListResolutionResult", "fields": [ { "type": { "type": "array", "items": "ProcessedContact" }, "name": "newlyResolved" }, { "type": { "type": "array", "items": "ProcessedContact" }, "name": "resolved" } ] } ], "messages": { "lookupContactList": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "contacts", "type": { "type": "array", "items": "Contact" } } ], "response": { "type": "array", "items": "ProcessedContact" } }, "saveContactList": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "contacts", "type": { "type": "array", "items": "Contact" } } ], "response": "ContactListResolutionResult" }, "lookupSavedContactsList": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "ProcessedContact" } }, "getContactsForUserRecommendations": { "request": [ { "name": "sessionID", "type": "int" } ], "response": { "type": "array", "items": "ProcessedContact" } } }, "namespace": "keybase.1" }