Skip to content

Commit

Permalink
feat: add total count field in list approvals response and filter cri…
Browse files Browse the repository at this point in the history
…teria
  • Loading branch information
Chief-Rishab committed Sep 19, 2023
1 parent 374a888 commit 0e3a9bb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions raystack/guardian/v1beta1/guardian.proto
Original file line number Diff line number Diff line change
Expand Up @@ -509,10 +509,14 @@ message ListUserApprovalsRequest {
ignore_empty: true
}];
repeated string appeal_statuses = 7;
string q = 8;
repeated string account_types = 9;
repeated string resource_types = 10;
}

message ListUserApprovalsResponse {
repeated Approval approvals = 1;
int32 total = 2;
}

message ListApprovalsRequest {
Expand All @@ -529,10 +533,14 @@ message ListApprovalsRequest {
ignore_empty: true
}];
repeated string appeal_statuses = 7;
string q = 8;
repeated string account_types = 9;
repeated string resource_types = 10;
}

message ListApprovalsResponse {
repeated Approval approvals = 1;
int32 total = 2;
}

message UpdateApprovalRequest {
Expand Down

0 comments on commit 0e3a9bb

Please sign in to comment.