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

26 lines
431 B
Protocol Buffer

syntax = "proto3";
message Trash {
string id = 1;
string name = 2;
int64 modified_time = 3;
int64 create_time = 4;
TrashType ty = 5;
}
message RepeatedTrash {
repeated Trash items = 1;
}
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;
}