nameservice: queryRecords filter by attributes

This commit is contained in:
2022-04-13 17:33:42 +05:30
parent 8f5449f397
commit d762ce98b3
6 changed files with 743 additions and 84 deletions
@@ -68,8 +68,18 @@ message QueryParamsResponse{
// QueryListRecordsRequest is request type for nameservice records list
message QueryListRecordsRequest{
message ValueInput {
string string = 1;
int64 int = 2;
}
message KeyValueInput {
string key = 1;
ValueInput value = 2;
}
repeated KeyValueInput attributes = 1;
// pagination defines an optional pagination for the request.
cosmos.base.query.v1beta1.PageRequest pagination = 1;
cosmos.base.query.v1beta1.PageRequest pagination = 2;
}
// QueryListRecordsResponse is response type for nameservice records list