feat: implement user setting service

This commit is contained in:
steven
2023-09-03 13:28:18 +08:00
parent a970d85e14
commit 35c396a88f
6 changed files with 162 additions and 33 deletions

View File

@ -4,6 +4,7 @@ package slash.api.v2;
import "google/api/annotations.proto";
import "google/api/client.proto";
import "google/protobuf/field_mask.proto";
option go_package = "gen/api/v2";
@ -44,7 +45,11 @@ message UpdateUserSettingRequest {
// id is the user id.
int32 id = 1;
// user_setting is the user setting to update.
UserSetting user_setting = 2;
// update_mask is the field mask to update the user setting.
google.protobuf.FieldMask update_mask = 3;
}
message UpdateUserSettingResponse {