refactor: update user setting keys

This commit is contained in:
Steven
2024-07-24 00:04:10 +08:00
parent 87deeca110
commit 8010f54747
18 changed files with 519 additions and 377 deletions

View File

@ -28,11 +28,12 @@ message UserSetting {
// id is the user id.
int32 id = 1;
// locale is the user locale.
string locale = 2;
UserSettingGeneral general = 2;
}
// color_theme is the user color theme.
string color_theme = 3;
message UserSettingGeneral {
string locale = 1;
string color_theme = 2;
}
message GetUserSettingRequest {