From 92620ba85d729d27ffe4d141149ba9b82e543d74 Mon Sep 17 00:00:00 2001 From: rtkay123 Date: Mon, 28 Jul 2025 08:48:31 +0200 Subject: feat(users): create user --- lib/sellershut-core/proto/users/users.proto | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/sellershut-core/proto/users') 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 -- cgit v1.2.3