Skip to content

Commit

Permalink
chore: add delete files (#1577)
Browse files Browse the repository at this point in the history
  • Loading branch information
duonganhthu43 authored May 19, 2023
1 parent 33269f9 commit 61c4fd9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dozer-types/protos/cloud.proto
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ service DozerCloud {
rpc list_files(ListFilesRequest) returns (ListFilesResponse);
rpc update_files(UpdateFileRequest) returns (UpdateFileResponse);
rpc save_files(SaveFilesRequest) returns (SaveFilesResponse);
rpc delete_files(DeleteFileRequest) returns (DeleteFileResponse);

rpc OnLogMessage(LogMessageRequest) returns (stream LogMessage);
rpc OnStatusUpdate(StatusUpdateRequest) returns (stream StatusUpdate);
Expand Down Expand Up @@ -217,12 +218,16 @@ message FileInfo {
string id = 1;
File file = 2;
}

message DeleteFileRequest {
string app_id = 1;
repeated string file_ids = 2;
}
message DeleteFileResponse {
}
message UpdateFileRequest {
string app_id = 1;
repeated FileInfo files = 2;
}

message UpdateFileResponse {
repeated FileInfo files = 1;
}
Expand Down

0 comments on commit 61c4fd9

Please sign in to comment.