From ae488909bcb41fd649767b52917d85880b1bd7bc Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Thu, 24 Feb 2022 22:00:29 +0000 Subject: [PATCH] add contact comments --- contact/proto/contact.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/contact/proto/contact.proto b/contact/proto/contact.proto index a6390dc..42184bf 100644 --- a/contact/proto/contact.proto +++ b/contact/proto/contact.proto @@ -74,6 +74,7 @@ message ContactInfo { string updated_at = 11; } +// Create a contact message CreateRequest { // required, the name of the contact string name = 1; @@ -97,6 +98,7 @@ message CreateResponse { ContactInfo contact = 1; } +// Read contact details message ReadRequest { string id = 1; } @@ -105,6 +107,7 @@ message ReadResponse { ContactInfo contact = 1; } +// Delete a contact message DeleteRequest { // the id of the contact string id = 1; @@ -114,6 +117,7 @@ message DeleteResponse { } +// Update a contact message UpdateRequest { // required, the contact id string id = 1; @@ -139,6 +143,7 @@ message UpdateResponse { ContactInfo contact = 1; } +// List contacts message ListRequest { // optional uint32 offset = 1;