Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Commit

Permalink
Async Invitations UI (#27)
Browse files Browse the repository at this point in the history
* add async test

* add isvalidpublicid

* trunk fmt
  • Loading branch information
arvid220u authored Jul 26, 2022
1 parent 2447486 commit 8a68408
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions schema/daemon.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ service Daemon {
rpc RegisterUser(RegisterUserRequest) returns (RegisterUserResponse) {}

rpc GetMyPublicID(GetMyPublicIDRequest) returns (GetMyPublicIDResponse) {}
rpc IsValidPublicID(IsValidPublicIDRequest)
returns (IsValidPublicIDResponse) {}

rpc GetFriendList(GetFriendListRequest) returns (GetFriendListResponse) {}
rpc RemoveFriend(RemoveFriendRequest) returns (RemoveFriendResponse) {}
Expand All @@ -37,6 +39,8 @@ service Daemon {
returns (AcceptAsyncInvitationResponse) {}
rpc RejectAsyncInvitation(RejectAsyncInvitationRequest)
returns (RejectAsyncInvitationResponse) {}
rpc CancelAsyncInvitation(CancelAsyncInvitationRequest)
returns (CancelAsyncInvitationResponse) {}

rpc SendMessage(SendMessageRequest) returns (SendMessageResponse) {}

Expand Down Expand Up @@ -93,6 +97,10 @@ message GetMyPublicIDResponse {
// en encoding of the public identifier in a nice story format
}

message IsValidPublicIDRequest { string public_id = 1; }

message IsValidPublicIDResponse { bool valid = 1; }

message AddSyncFriendRequest {
string unique_name = 1;
string display_name = 2;
Expand Down Expand Up @@ -163,6 +171,10 @@ message RejectAsyncInvitationRequest { string public_id = 1; }

message RejectAsyncInvitationResponse {}

message CancelAsyncInvitationRequest { string public_id = 1; }

message CancelAsyncInvitationResponse {}

message RemoveFriendRequest { string unique_name = 1; }

message RemoveFriendResponse {}
Expand Down

0 comments on commit 8a68408

Please sign in to comment.