2021-11-07 13:45:18 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2022-02-24 13:49:18 +00:00
|
|
|
message SignInPayload {
|
2021-11-07 13:45:18 +00:00
|
|
|
string email = 1;
|
|
|
|
string password = 2;
|
|
|
|
string name = 3;
|
|
|
|
}
|
|
|
|
message SignInParams {
|
|
|
|
string email = 1;
|
|
|
|
string password = 2;
|
|
|
|
string name = 3;
|
|
|
|
}
|
|
|
|
message SignInResponse {
|
|
|
|
string user_id = 1;
|
|
|
|
string name = 2;
|
|
|
|
string email = 3;
|
|
|
|
string token = 4;
|
|
|
|
}
|
2022-02-24 13:49:18 +00:00
|
|
|
message SignUpPayload {
|
2021-11-07 13:45:18 +00:00
|
|
|
string email = 1;
|
|
|
|
string name = 2;
|
|
|
|
string password = 3;
|
|
|
|
}
|
|
|
|
message SignUpParams {
|
|
|
|
string email = 1;
|
|
|
|
string name = 2;
|
|
|
|
string password = 3;
|
|
|
|
}
|
|
|
|
message SignUpResponse {
|
|
|
|
string user_id = 1;
|
|
|
|
string name = 2;
|
|
|
|
string email = 3;
|
|
|
|
string token = 4;
|
|
|
|
}
|