AppFlowy/shared-lib/flowy-folder-data-model/resources/proto/trash.proto

26 lines
431 B
Protocol Buffer
Raw Normal View History

2021-10-13 15:11:45 +00:00
syntax = "proto3";
message Trash {
string id = 1;
string name = 2;
int64 modified_time = 3;
int64 create_time = 4;
TrashType ty = 5;
2021-10-13 15:11:45 +00:00
}
message RepeatedTrash {
repeated Trash items = 1;
}
2022-01-21 13:41:24 +00:00
message RepeatedTrashId {
repeated TrashId items = 1;
bool delete_all = 2;
}
message TrashId {
string id = 1;
TrashType ty = 2;
}
enum TrashType {
Unknown = 0;
TrashView = 1;
TrashApp = 2;
}