mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
refactor: api version
This commit is contained in:
32
proto/api/v1/reaction_service.proto
Normal file
32
proto/api/v1/reaction_service.proto
Normal file
@@ -0,0 +1,32 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package memos.api.v1;
|
||||
|
||||
option go_package = "gen/api/v1";
|
||||
|
||||
message Reaction {
|
||||
int32 id = 1;
|
||||
|
||||
// The name of the creator.
|
||||
// Format: users/{id}
|
||||
string creator = 2;
|
||||
|
||||
string content_id = 3;
|
||||
|
||||
enum Type {
|
||||
TYPE_UNSPECIFIED = 0;
|
||||
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;
|
||||
QUESTION_MARK = 12;
|
||||
}
|
||||
Type reaction_type = 4;
|
||||
}
|
Reference in New Issue
Block a user