23 lines
442 B
Protocol Buffer
Raw Normal View History

2021-07-19 22:44:37 +08:00
syntax = "proto3";
message CreateViewRequest {
string app_id = 1;
string name = 2;
string desc = 3;
oneof one_of_thumbnail { string thumbnail = 4; };
ViewTypeIdentifier view_type = 5;
}
message View {
string id = 1;
string app_id = 2;
string name = 3;
string desc = 4;
ViewTypeIdentifier view_type = 5;
}
2021-07-20 15:51:49 +08:00
message RepeatedView {
repeated View items = 1;
}
2021-07-19 22:44:37 +08:00
enum ViewTypeIdentifier {
Docs = 0;
}