reaction.proto 591 B

12345678910111213141516171819202122232425262728293031323334
  1. syntax = "proto3";
  2. package memos.store;
  3. option go_package = "gen/store";
  4. message Reaction {
  5. int32 id = 1;
  6. int64 created_ts = 2;
  7. int32 creator_id = 3;
  8. // content_id is the id of the content that the reaction is for.
  9. // This can be a memo. e.g. memos/101
  10. string content_id = 4;
  11. enum Type {
  12. TYPE_UNSPECIFIED = 0;
  13. THUMBS_UP = 1;
  14. THUMBS_DOWN = 2;
  15. HEART = 3;
  16. FIRE = 4;
  17. CLAPPING_HANDS = 5;
  18. LAUGH = 6;
  19. OK_HAND = 7;
  20. ROCKET = 8;
  21. EYES = 9;
  22. THINKING_FACE = 10;
  23. CLOWN_FACE = 11;
  24. QUESTION_MARK = 12;
  25. }
  26. Type reaction_type = 5;
  27. }