diff options
author | rtkay123 <dev@kanjala.com> | 2025-07-28 08:48:31 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-07-28 08:48:31 +0200 |
commit | 92620ba85d729d27ffe4d141149ba9b82e543d74 (patch) | |
tree | dfe24061170931480484e53dda9c47f80ceaedb6 /lib/sellershut-core/proto/users/users.proto | |
parent | 3c4d17cf2840c643b8cd111ef775750cc5ae83b3 (diff) | |
download | sellershut-92620ba85d729d27ffe4d141149ba9b82e543d74.tar.bz2 sellershut-92620ba85d729d27ffe4d141149ba9b82e543d74.zip |
feat(users): create user
Diffstat (limited to 'lib/sellershut-core/proto/users/users.proto')
-rw-r--r-- | lib/sellershut-core/proto/users/users.proto | 8 |
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 |