view_create.proto 426 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. message CreateViewRequest {
  3. string app_id = 1;
  4. string name = 2;
  5. string desc = 3;
  6. oneof one_of_thumbnail { string thumbnail = 4; };
  7. ViewType view_type = 5;
  8. }
  9. message View {
  10. string id = 1;
  11. string app_id = 2;
  12. string name = 3;
  13. string desc = 4;
  14. ViewType view_type = 5;
  15. }
  16. message RepeatedView {
  17. repeated View items = 1;
  18. }
  19. enum ViewType {
  20. Blank = 0;
  21. Doc = 1;
  22. }