Fixes + stable gateway ids
This commit is contained in:
@@ -2,11 +2,17 @@ syntax = "proto3";
|
||||
package common.pagination.v1;
|
||||
option go_package = "github.com/tech/sendico/pkg/proto/common/pagination/v1;paginationv1";
|
||||
|
||||
// CursorPageRequest carries opaque cursor-based pagination parameters.
|
||||
message CursorPageRequest {
|
||||
string cursor = 1; // opaque
|
||||
int32 limit = 2; // page size
|
||||
// cursor is the opaque continuation token from a previous response.
|
||||
string cursor = 1;
|
||||
// limit is the maximum number of items to return per page.
|
||||
int32 limit = 2;
|
||||
}
|
||||
|
||||
// CursorPageResponse carries the opaque token for the next page.
|
||||
message CursorPageResponse {
|
||||
string next_cursor = 1; // opaque
|
||||
// next_cursor is the opaque token to fetch the next page; empty when no
|
||||
// more results are available.
|
||||
string next_cursor = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user