chore: refactor memo module

This commit is contained in:
Steven
2023-12-21 23:40:43 +08:00
parent 671551bdc1
commit 81524c38e9
37 changed files with 454 additions and 2363 deletions

View File

@@ -128,9 +128,11 @@ message CreateMemoResponse {
}
message ListMemosRequest {
int32 page = 1;
// offset is the offset of the first memo to return.
int32 offset = 1;
int32 page_size = 2;
// limit is the maximum number of memos to return.
int32 limit = 2;
// Filter is used to filter memos returned in the list.
// Format: "creator == users/{username} && visibility == PUBLIC"