mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-07 21:47:02 +09:00
22 lines
338 B
Protocol Buffer
22 lines
338 B
Protocol Buffer
syntax = "proto3";
|
|
package textchange;
|
|
option go_package = "document/textchangeproto";
|
|
|
|
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;
|
|
}
|