Skip to content

Commit

Permalink
feat: move reaction type to setting
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Oct 10, 2024
1 parent 1f9d657 commit e527b6a
Show file tree
Hide file tree
Showing 41 changed files with 927 additions and 3,467 deletions.
17 changes: 1 addition & 16 deletions proto/api/v1/reaction_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,5 @@ message Reaction {

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;
string reaction_type = 4;
}
2 changes: 2 additions & 0 deletions proto/api/v1/workspace_setting_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ message WorkspaceMemoRelatedSetting {
bool enable_location = 8;
// default_visibility set the global memos default visibility.
string default_visibility = 9;
// reactions is the list of reactions.
repeated string reactions = 10;
}

message GetWorkspaceSettingRequest {
Expand Down
114 changes: 21 additions & 93 deletions proto/gen/api/v1/activity_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e527b6a

Please sign in to comment.