From b95f0baa5ac136d72820ae192cdbb33fc0739727 Mon Sep 17 00:00:00 2001 From: Mingle-2012 <1610365132@qq.com> Date: Sat, 10 Aug 2024 21:04:13 +0800 Subject: [PATCH] refactor: update UserDetail field name from 'username' to 'nickname' --- meowcloud/user/common.proto | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/meowcloud/user/common.proto b/meowcloud/user/common.proto index d0dc59d..3708a6a 100644 --- a/meowcloud/user/common.proto +++ b/meowcloud/user/common.proto @@ -15,7 +15,7 @@ message UserPreview { message UserDetail { string id = 1; - string username = 2; + string nickname = 2; string bio = 3; string avatar = 4; int64 updatedAt = 5; @@ -48,19 +48,3 @@ message UserDetail { int32 points = 16; repeated string achievements = 17; } - -message Like { - string targetId = 1; - string associatedId = 2; -} - -message ItemScore { - string id = 1; - int64 score = 2; -} - -enum LikeType { - Unknown = 0; - Cat = 1; - Album = 2; -} \ No newline at end of file