change to address street

This commit is contained in:
Asim Aslam
2021-12-21 10:47:23 +00:00
parent 57bcfe84a4
commit 9b5e94905d
2 changed files with 115 additions and 115 deletions

View File

@@ -10,40 +10,40 @@ service Contact {
rpc Update(UpdateRequest) returns (UpdateResponse) {}
rpc Delete(DeleteRequest) returns (DeleteResponse) {}
rpc List(ListRequest) returns (ListResponse) {}
// TODO: wait for the search API
// TODO: wait for the search API
// rpc Search(Request) returns (Response) {}
}
message Phone {
// the label of the phone number
// the label of the phone number
string label = 1;
// phone number
// phone number
string number = 2;
}
message Email {
// the label of the email
// the label of the email
string label = 1;
// the email address
// the email address
string address = 2;
}
message Link {
// the label of the link
// the label of the link
string label = 1;
// the url of the contact
// the url of the contact
string url = 2;
}
message Address {
// the label of the address
// the label of the address
string label = 1;
// the address
string address = 2;
// the street address
string street = 2;
}
message SocialMedia {
// the label of the social
// the label of the social
string label = 1;
// the username of social media
string username = 2;
@@ -148,4 +148,4 @@ message ListRequest {
message ListResponse {
repeated ContactInfo contacts = 1;
}
}