summaryrefslogtreecommitdiffstats
path: root/lib/sellershut-core
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sellershut-core')
-rw-r--r--lib/sellershut-core/proto/users/users.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/sellershut-core/proto/users/users.proto b/lib/sellershut-core/proto/users/users.proto
index d1cf692..8c7b41d 100644
--- a/lib/sellershut-core/proto/users/users.proto
+++ b/lib/sellershut-core/proto/users/users.proto
@@ -17,7 +17,7 @@ message User {
// Unique identifier for the user
string id = 1;
// Email address of the user
- string email = 2;
+ optional string email = 2;
// Unique username chosen by the user
string username = 3;
// URL to the user's avatar image
@@ -32,6 +32,12 @@ message User {
UserType user_type = 8;
// Public key
string public_key = 9;
+ // Inbox
+ string inbox = 10;
+ // Outbox
+ string outbox = 11;
+ // Local
+ bool local = 12;
}
// Request message for creating a new user