AppFlowy/shared-lib/flowy-folder-data-model/src/protobuf/proto/view_info.proto

28 lines
565 B
Protocol Buffer
Raw Normal View History

2022-06-14 15:11:48 +00:00
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;
}