memo.proto 514 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package memos.store;
  3. option go_package = "gen/store";
  4. message MemoPayload {
  5. Property property = 1;
  6. Location location = 2;
  7. repeated string tags = 3;
  8. // The references of the memo. Should be a list of uuid.
  9. repeated string references = 4;
  10. message Property {
  11. bool has_link = 1;
  12. bool has_task_list = 2;
  13. bool has_code = 3;
  14. bool has_incomplete_tasks = 4;
  15. }
  16. message Location {
  17. string placeholder = 1;
  18. double latitude = 2;
  19. double longitude = 3;
  20. }
  21. }