/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
protocol/json/keybase1/kvstore.json
281 строка
5 KB
Alex Gessner
when entryValue is nil, emit the null from kvstore api (#23884)
27 апр 2020, 16:28
Не верифицирован
27 апр 2020, 16:28
e128bd6
Код
Авторство
О чём код?
{ "protocol": "kvstore", "imports": [ { "path": "common.avdl", "type": "idl" } ], "types": [ { "type": "record", "name": "KVGetResult", "fields": [ { "type": "string", "name": "teamName" }, { "type": "string", "name": "namespace" }, { "type": "string", "name": "entryKey" }, { "type": [ null, "string" ], "name": "entryValue", "nullSerializable": true }, { "type": "int", "name": "revision" } ] }, { "type": "record", "name": "KVPutResult", "fields": [ { "type": "string", "name": "teamName" }, { "type": "string", "name": "namespace" }, { "type": "string", "name": "entryKey" }, { "type": "int", "name": "revision" } ] }, { "type": "record", "name": "KVEntryID", "fields": [ { "type": "TeamID", "name": "teamID" }, { "type": "string", "name": "namespace" }, { "type": "string", "name": "entryKey" } ] }, { "type": "record", "name": "EncryptedKVEntry", "fields": [ { "type": "int", "name": "v" }, { "type": "bytes", "name": "e" }, { "type": "bytes", "name": "n" } ] }, { "type": "record", "name": "KVListNamespaceResult", "fields": [ { "type": "string", "name": "teamName" }, { "type": { "type": "array", "items": "string" }, "name": "namespaces" } ] }, { "type": "record", "name": "KVListEntryKey", "fields": [ { "type": "string", "name": "entryKey" }, { "type": "int", "name": "revision" } ] }, { "type": "record", "name": "KVListEntryResult", "fields": [ { "type": "string", "name": "teamName" }, { "type": "string", "name": "namespace" }, { "type": { "type": "array", "items": "KVListEntryKey" }, "name": "entryKeys" } ] }, { "type": "record", "name": "KVDeleteEntryResult", "fields": [ { "type": "string", "name": "teamName" }, { "type": "string", "name": "namespace" }, { "type": "string", "name": "entryKey" }, { "type": "int", "name": "revision" } ] } ], "messages": { "getKVEntry": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" }, { "name": "namespace", "type": "string" }, { "name": "entryKey", "type": "string" } ], "response": "KVGetResult" }, "putKVEntry": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" }, { "name": "namespace", "type": "string" }, { "name": "entryKey", "type": "string" }, { "name": "revision", "type": "int" }, { "name": "entryValue", "type": "string" } ], "response": "KVPutResult" }, "listKVNamespaces": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" } ], "response": "KVListNamespaceResult" }, "listKVEntries": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" }, { "name": "namespace", "type": "string" } ], "response": "KVListEntryResult" }, "delKVEntry": { "request": [ { "name": "sessionID", "type": "int" }, { "name": "teamName", "type": "string" }, { "name": "namespace", "type": "string" }, { "name": "entryKey", "type": "string" }, { "name": "revision", "type": "int" } ], "response": "KVDeleteEntryResult" } }, "namespace": "keybase.1" }