mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
28 lines
565 B
Protocol Buffer
28 lines
565 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
import "view.proto";
|
||
|
|
||
|
message ViewInfo {
|
||
|
string id = 1;
|
||
|
string belong_to_id = 2;
|
||
|
string name = 3;
|
||
|
string desc = 4;
|
||
|
ViewDataType data_type = 5;
|
||
|
RepeatedView belongings = 6;
|
||
|
ViewExtData ext_data = 7;
|
||
|
}
|
||
|
message ViewExtData {
|
||
|
ViewFilter filter = 1;
|
||
|
ViewGroup group = 2;
|
||
|
ViewSort sort = 3;
|
||
|
}
|
||
|
message ViewFilter {
|
||
|
string field_id = 1;
|
||
|
}
|
||
|
message ViewGroup {
|
||
|
string group_field_id = 1;
|
||
|
oneof one_of_sub_group_field_id { string sub_group_field_id = 2; };
|
||
|
}
|
||
|
message ViewSort {
|
||
|
string field_id = 1;
|
||
|
}
|