Skip to content

Commit

Permalink
refactor: move tags from property to payload (usememos#4229)
Browse files Browse the repository at this point in the history
* refactor: move tags from property to payload

* chore: fix tests

* chore: drop memo tags

* chore: update

---------

Co-authored-by: Steven <[email protected]>
  • Loading branch information
johnnyjoygh and boojack authored Dec 24, 2024
1 parent f15346e commit e913271
Show file tree
Hide file tree
Showing 38 changed files with 1,478 additions and 1,436 deletions.
9 changes: 4 additions & 5 deletions proto/api/v1/memo_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,10 @@ message Memo {
}

message MemoProperty {
repeated string tags = 1;
bool has_link = 2;
bool has_task_list = 3;
bool has_code = 4;
bool has_incomplete_tasks = 5;
bool has_link = 1;
bool has_task_list = 2;
bool has_code = 3;
bool has_incomplete_tasks = 4;
}

message Location {
Expand Down
43 changes: 19 additions & 24 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.

44 changes: 20 additions & 24 deletions proto/gen/api/v1/auth_service.pb.go

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

11 changes: 5 additions & 6 deletions proto/gen/api/v1/common.pb.go

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

Loading

0 comments on commit e913271

Please sign in to comment.