Skip to content

Commit

Permalink
APP-6392 - add root id, change frag response to return arr of trees
Browse files Browse the repository at this point in the history
  • Loading branch information
anjinai committed Oct 24, 2024
1 parent be67f74 commit 8976831
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions proto/viam/app/v1/app.proto
Original file line number Diff line number Diff line change
Expand Up @@ -759,9 +759,10 @@ enum FragmentErrorType {
FRAGMENT_ERROR_TYPE_DUPLICATE_NAMES = 4;
}

message FragmentTrees {
repeated string fragment_merge_order = 1;
repeated FragmentError errors = 2;
message FragmentTree {
string root_fragment_id = 1;
repeated string fragment_merge_order = 2;
repeated FragmentError errors = 3;
}

message ListFragmentsRequest {
Expand Down Expand Up @@ -837,7 +838,7 @@ message ListMachineFragmentsRequest {

message ListMachineFragmentsResponse {
repeated Fragment fragments = 1;
FragmentTrees fragment_trees = 2;
repeated FragmentTree fragment_trees = 2;
}

message ListRobotsResponse {
Expand Down

0 comments on commit 8976831

Please sign in to comment.