mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-11 18:20:28 +09:00
26 lines
386 B
Protocol Buffer
26 lines
386 B
Protocol Buffer
syntax = "proto3";
|
|
package anytype;
|
|
option go_package = "pb";
|
|
|
|
// TODO: move to separate package
|
|
|
|
message PlainTextChange {
|
|
message Content {
|
|
oneof value {
|
|
TextAppend textAppend = 1;
|
|
}
|
|
}
|
|
|
|
message TextAppend {
|
|
string text = 1;
|
|
}
|
|
|
|
message Snapshot {
|
|
string text = 1;
|
|
}
|
|
|
|
message Data {
|
|
repeated Content content = 1;
|
|
Snapshot snapshot = 2;
|
|
}
|
|
}
|