summaryrefslogtreecommitdiffstats
path: root/lib/sellershut-core/proto/users/users.proto
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2025-07-30 08:52:05 +0200
committerrtkay123 <dev@kanjala.com>2025-07-30 08:52:05 +0200
commit259cad06f8d88db9ddfa85c2c188b5b0130cb393 (patch)
tree2211866223d17d7a36c89e3eb39da39ea9863153 /lib/sellershut-core/proto/users/users.proto
parent92620ba85d729d27ffe4d141149ba9b82e543d74 (diff)
downloadsellershut-259cad06f8d88db9ddfa85c2c188b5b0130cb393.tar.bz2
sellershut-259cad06f8d88db9ddfa85c2c188b5b0130cb393.zip
feat(auth): create keypair
Diffstat (limited to 'lib/sellershut-core/proto/users/users.proto')
-rw-r--r--lib/sellershut-core/proto/users/users.proto6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sellershut-core/proto/users/users.proto b/lib/sellershut-core/proto/users/users.proto
index 8c7b41d..bbc8188 100644
--- a/lib/sellershut-core/proto/users/users.proto
+++ b/lib/sellershut-core/proto/users/users.proto
@@ -46,6 +46,8 @@ message CreateUserRequest {
string email = 1;
// Avatar for the new user
optional string avatar = 2;
+ // Public key
+ string public_key = 3;
}
// Response message for CreateUser RPC
@@ -70,10 +72,8 @@ message CompleteUserRequest {
string outbox = 6;
// Is this user local or remote
bool local = 7;
- // Public key for this user
- string public_key = 8;
// User type
- UserType user_type = 9;
+ UserType user_type = 8;
}
// Users gRPC service