mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
26 lines
441 B
Protocol Buffer
26 lines
441 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message Revision {
|
|
int64 base_rev_id = 1;
|
|
int64 rev_id = 2;
|
|
bytes delta_data = 3;
|
|
string md5 = 4;
|
|
string object_id = 5;
|
|
RevType ty = 6;
|
|
string user_id = 7;
|
|
}
|
|
message RepeatedRevision {
|
|
repeated Revision items = 1;
|
|
}
|
|
message RevId {
|
|
int64 value = 1;
|
|
}
|
|
message RevisionRange {
|
|
int64 start = 1;
|
|
int64 end = 2;
|
|
}
|
|
enum RevType {
|
|
DeprecatedLocal = 0;
|
|
DeprecatedRemote = 1;
|
|
}
|