2022-12-25 20:27:37 +01:00

23 lines
324 B
Protocol Buffer

syntax = "proto3";
package textchange;
option go_package = "textchange";
message TextContent {
oneof value {
TextAppend textAppend = 1;
}
}
message TextAppend {
string text = 1;
}
message TextSnapshot {
string text = 1;
}
message TextData {
repeated TextContent content = 1;
TextSnapshot snapshot = 2;
}