Moved cursor to a separate file
This commit is contained in:
12
api/proto/common/pagination/v2/cursor.proto
Normal file
12
api/proto/common/pagination/v2/cursor.proto
Normal file
@@ -0,0 +1,12 @@
|
||||
syntax = "proto3";
|
||||
package common.pagination.v2;
|
||||
option go_package = "github.com/tech/sendico/pkg/proto/common/pagination/v2;paginationv2";
|
||||
|
||||
|
||||
import "google/protobuf/wrappers.proto";
|
||||
|
||||
message ViewCursor {
|
||||
google.protobuf.Int64Value limit = 1;
|
||||
google.protobuf.Int64Value offset = 2;
|
||||
google.protobuf.BoolValue is_archived = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user