mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
30 lines
590 B
Protocol Buffer
30 lines
590 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "revision.proto";
|
|
import "revision.proto";
|
|
message CreateTextBlockParams {
|
|
string id = 1;
|
|
RepeatedRevision revisions = 2;
|
|
}
|
|
message TextBlockInfo {
|
|
string block_id = 1;
|
|
string text = 2;
|
|
int64 rev_id = 3;
|
|
int64 base_rev_id = 4;
|
|
}
|
|
message ResetTextBlockParams {
|
|
string block_id = 1;
|
|
RepeatedRevision revisions = 2;
|
|
}
|
|
message TextBlockDelta {
|
|
string block_id = 1;
|
|
string delta_str = 2;
|
|
}
|
|
message NewDocUser {
|
|
string user_id = 1;
|
|
int64 rev_id = 2;
|
|
string doc_id = 3;
|
|
}
|
|
message TextBlockId {
|
|
string value = 1;
|
|
}
|