memos/proto/api/v1/reaction_service.proto

33 lines
513 B
Protocol Buffer
Raw Permalink Normal View History

2024-02-08 06:54:59 +03:00
syntax = "proto3";
2024-04-27 19:44:29 +03:00
package memos.api.v1;
2024-02-08 06:54:59 +03:00
2024-04-27 19:44:29 +03:00
option go_package = "gen/api/v1";
2024-02-08 06:54:59 +03:00
message Reaction {
int32 id = 1;
2024-03-18 07:56:52 +03:00
// The name of the creator.
2024-03-20 15:39:16 +03:00
// Format: users/{id}
2024-02-08 06:54:59 +03:00
string creator = 2;
string content_id = 3;
enum Type {
TYPE_UNSPECIFIED = 0;
2024-02-08 16:20:51 +03:00
THUMBS_UP = 1;
THUMBS_DOWN = 2;
HEART = 3;
FIRE = 4;
CLAPPING_HANDS = 5;
LAUGH = 6;
OK_HAND = 7;
ROCKET = 8;
EYES = 9;
THINKING_FACE = 10;
CLOWN_FACE = 11;
2024-02-09 16:59:45 +03:00
QUESTION_MARK = 12;
2024-02-08 06:54:59 +03:00
}
Type reaction_type = 4;
}