support adding profile to a user

This commit is contained in:
Asim Aslam
2021-07-01 09:48:53 +01:00
parent 6d401db8b1
commit 1c3465ad98
3 changed files with 200 additions and 156 deletions

View File

@@ -53,6 +53,9 @@ message CreateRequest {
string email = 3;
// the user password
string password = 4;
// the user profile as map<string,string>
map<string,string> profile = 5;
}
message CreateResponse {
@@ -88,6 +91,8 @@ message UpdateRequest {
string username = 2;
// the new email address
string email = 3;
// the user profile as map<string,string>
map<string,string> profile = 4;
}
message UpdateResponse {
@@ -164,4 +169,4 @@ message SendVerificationEmailRequest{
string fromName = 6;
}
message SendVerificationEmailResponse{}
message SendVerificationEmailResponse{}