reaction_service.proto 513 B

1234567891011121314151617181920212223242526272829303132
  1. syntax = "proto3";
  2. package memos.api.v1;
  3. option go_package = "gen/api/v1";
  4. message Reaction {
  5. int32 id = 1;
  6. // The name of the creator.
  7. // Format: users/{id}
  8. string creator = 2;
  9. string content_id = 3;
  10. enum Type {
  11. TYPE_UNSPECIFIED = 0;
  12. THUMBS_UP = 1;
  13. THUMBS_DOWN = 2;
  14. HEART = 3;
  15. FIRE = 4;
  16. CLAPPING_HANDS = 5;
  17. LAUGH = 6;
  18. OK_HAND = 7;
  19. ROCKET = 8;
  20. EYES = 9;
  21. THINKING_FACE = 10;
  22. CLOWN_FACE = 11;
  23. QUESTION_MARK = 12;
  24. }
  25. Type reaction_type = 4;
  26. }