2021-10-13 23:11:45 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2021-10-17 22:44:51 +08:00
|
|
|
message TrashIdentifiers {
|
|
|
|
repeated TrashIdentifier items = 1;
|
2021-10-18 18:40:15 +08:00
|
|
|
bool delete_all = 2;
|
2021-10-17 22:44:51 +08:00
|
|
|
}
|
|
|
|
message TrashIdentifier {
|
2021-10-13 23:11:45 +08:00
|
|
|
string id = 1;
|
2021-10-15 15:52:08 +08:00
|
|
|
TrashType ty = 2;
|
2021-10-13 23:11:45 +08:00
|
|
|
}
|
|
|
|
message Trash {
|
|
|
|
string id = 1;
|
|
|
|
string name = 2;
|
|
|
|
int64 modified_time = 3;
|
|
|
|
int64 create_time = 4;
|
2021-10-15 15:52:08 +08:00
|
|
|
TrashType ty = 5;
|
2021-10-13 23:11:45 +08:00
|
|
|
}
|
|
|
|
message RepeatedTrash {
|
|
|
|
repeated Trash items = 1;
|
|
|
|
}
|
2021-10-15 15:52:08 +08:00
|
|
|
enum TrashType {
|
|
|
|
Unknown = 0;
|
|
|
|
View = 1;
|
|
|
|
}
|