mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
24 lines
553 B
Protocol Buffer
24 lines
553 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message UserToken {
|
|
string token = 1;
|
|
}
|
|
message UserProfile {
|
|
string id = 1;
|
|
string email = 2;
|
|
string name = 3;
|
|
string token = 4;
|
|
}
|
|
message UpdateUserPayload {
|
|
string id = 1;
|
|
oneof one_of_name { string name = 2; };
|
|
oneof one_of_email { string email = 3; };
|
|
oneof one_of_password { string password = 4; };
|
|
}
|
|
message UpdateUserParams {
|
|
string id = 1;
|
|
oneof one_of_name { string name = 2; };
|
|
oneof one_of_email { string email = 3; };
|
|
oneof one_of_password { string password = 4; };
|
|
}
|