/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/notify_badges.json
259 строк
5 KB
Alex Gessner
implement gui for wot notifications (#23133)
25 мар 2020, 22:35
Не верифицирован
25 мар 2020, 22:35
0a7f5f4
Код
Авторство
О чём код?
{ "protocol": "NotifyBadges", "imports": [ { "path": "common.avdl", "type": "idl" }, { "path": "../gregor1", "type": "idl", "import_as": "gregor1" } ], "types": [ { "type": "record", "name": "ChatConversationID", "fields": [], "typedef": "bytes" }, { "type": "record", "name": "TeamMemberOutReset", "fields": [ { "type": "TeamID", "name": "teamID" }, { "type": "string", "name": "teamname" }, { "type": "string", "name": "username" }, { "type": "UID", "name": "uid" }, { "type": "gregor1.MsgID", "name": "id" } ] }, { "type": "record", "name": "DeletedTeamInfo", "fields": [ { "type": "string", "name": "teamName" }, { "type": "string", "name": "deletedBy" }, { "type": "gregor1.MsgID", "name": "id" } ] }, { "type": "record", "name": "WalletAccountInfo", "fields": [ { "type": "string", "name": "accountID" }, { "type": "int", "name": "numUnread" } ] }, { "type": "record", "name": "ResetState", "fields": [ { "type": "Time", "name": "endTime", "jsonkey": "end_time" }, { "type": "boolean", "name": "active" } ] }, { "type": "record", "name": "WotUpdate", "fields": [ { "type": "string", "name": "voucher" }, { "type": "string", "name": "vouchee" }, { "type": "WotStatusType", "name": "status" } ] }, { "type": "record", "name": "BadgeState", "fields": [ { "type": "int", "name": "newTlfs", "lint": "ignore" }, { "type": "int", "name": "rekeysNeeded" }, { "type": "int", "name": "newFollowers" }, { "type": "int", "name": "inboxVers" }, { "type": "int", "name": "homeTodoItems" }, { "type": "int", "name": "unverifiedEmails" }, { "type": "int", "name": "unverifiedPhones" }, { "type": "int", "name": "smallTeamBadgeCount" }, { "type": "int", "name": "bigTeamBadgeCount" }, { "type": "int", "name": "newTeamAccessRequestCount" }, { "type": { "type": "array", "items": "DeviceID" }, "name": "newDevices" }, { "type": { "type": "array", "items": "DeviceID" }, "name": "revokedDevices" }, { "type": { "type": "array", "items": "BadgeConversationInfo" }, "name": "conversations" }, { "type": { "type": "array", "items": "string" }, "name": "newGitRepoGlobalUniqueIDs" }, { "type": { "type": "array", "items": "TeamID" }, "name": "newTeams" }, { "type": { "type": "array", "items": "DeletedTeamInfo" }, "name": "deletedTeams" }, { "type": { "type": "array", "items": "TeamMemberOutReset" }, "name": "teamsWithResetUsers" }, { "type": { "type": "array", "items": "WalletAccountInfo" }, "name": "unreadWalletAccounts" }, { "type": { "type": "map", "values": "WotUpdate", "keys": "string" }, "name": "wotUpdates" }, { "type": "ResetState", "name": "resetState" } ] }, { "type": "record", "name": "BadgeConversationInfo", "fields": [ { "type": "ChatConversationID", "name": "convID" }, { "type": "int", "name": "badgeCount" }, { "type": "int", "name": "unreadMessages" } ] } ], "messages": { "badgeState": { "request": [ { "name": "badgeState", "type": "BadgeState" } ], "response": null, "notify": "" } }, "namespace": "keybase.1" }