Skip to content

Commit

Permalink
fixup: add missing pagination to list method
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTugarev committed Nov 21, 2023
1 parent bc4137f commit 65698ca
Show file tree
Hide file tree
Showing 3 changed files with 186 additions and 138 deletions.
9 changes: 7 additions & 2 deletions components/public-api/gitpod/v1/scm.proto
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ syntax = "proto3";
package gitpod.v1;

import "google/protobuf/timestamp.proto";
import "gitpod/v1/pagination.proto";

option go_package = "github.com/gitpod-io/gitpod/components/public-api/go/v1";

Expand Down Expand Up @@ -39,10 +40,14 @@ message SearchRepositoriesResponse {
}

message ListSuggestedRepositoriesRequest {
string organization_id = 1;
PaginationRequest pagination = 1;

string organization_id = 2;
}
message ListSuggestedRepositoriesResponse {
repeated SuggestedRepository repositories = 1;
PaginationResponse pagination = 1;

repeated SuggestedRepository repositories = 2;
}

message SCMToken {
Expand Down
Loading

0 comments on commit 65698ca

Please sign in to comment.