25 lines
425 B
Protocol Buffer
Raw Normal View History

2021-10-13 23:11:45 +08:00
syntax = "proto3";
message TrashIdentifiers {
repeated TrashIdentifier items = 1;
bool delete_all = 2;
}
message TrashIdentifier {
2021-10-13 23:11:45 +08:00
string id = 1;
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;
TrashType ty = 5;
2021-10-13 23:11:45 +08:00
}
message RepeatedTrash {
repeated Trash items = 1;
}
enum TrashType {
Unknown = 0;
View = 1;
}