1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-07 21:47:02 +09:00
any-sync/client/document/textchangeproto/protos/textchange.proto
2022-12-25 21:20:41 +01:00

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;
}