Skip to content

Commit

Permalink
update protos
Browse files Browse the repository at this point in the history
  • Loading branch information
sualehasif committed Jun 28, 2022
1 parent cdc0fcc commit b518cc0
Show file tree
Hide file tree
Showing 4 changed files with 4,540 additions and 3,421 deletions.
40 changes: 30 additions & 10 deletions gui/src/daemon/schema/daemon_grpc_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ import * as grpc from "@grpc/grpc-js";
interface IDaemonService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
registerUser: grpc.MethodDefinition<schema_daemon_pb.RegisterUserRequest, schema_daemon_pb.RegisterUserResponse>;
getFriendList: grpc.MethodDefinition<schema_daemon_pb.GetFriendListRequest, schema_daemon_pb.GetFriendListResponse>;
generateFriendKey: grpc.MethodDefinition<schema_daemon_pb.GenerateFriendKeyRequest, schema_daemon_pb.GenerateFriendKeyResponse>;
addFriend: grpc.MethodDefinition<schema_daemon_pb.AddFriendRequest, schema_daemon_pb.AddFriendResponse>;
getPublicID: grpc.MethodDefinition<schema_daemon_pb.GetPublicIDRequest, schema_daemon_pb.GetPublicIDResponse>;
addSyncFriend: grpc.MethodDefinition<schema_daemon_pb.AddSyncFriendRequest, schema_daemon_pb.AddSyncFriendResponse>;
sendAsyncFriendRequest: grpc.MethodDefinition<schema_daemon_pb.SendAsyncFriendRequestRequest, schema_daemon_pb.SendAsyncFriendRequestResponse>;
getOutgoingFriendRequests: grpc.MethodDefinition<schema_daemon_pb.GetOutgoingFriendRequestsRequest, schema_daemon_pb.GetOutgoingFriendRequestsResponse>;
getIncomingAsyncFriendRequests: grpc.MethodDefinition<schema_daemon_pb.GetIncomingAsyncFriendRequestsRequest, schema_daemon_pb.GetIncomingAsyncFriendRequestsResponse>;
decideAsyncFriendRequest: grpc.MethodDefinition<schema_daemon_pb.DecideAsyncFriendRequestRequest, schema_daemon_pb.DecideAsyncFriendRequestResponse>;
removeFriend: grpc.MethodDefinition<schema_daemon_pb.RemoveFriendRequest, schema_daemon_pb.RemoveFriendResponse>;
sendMessage: grpc.MethodDefinition<schema_daemon_pb.SendMessageRequest, schema_daemon_pb.SendMessageResponse>;
getMessages: grpc.MethodDefinition<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
Expand All @@ -31,8 +35,12 @@ export const DaemonService: IDaemonService;
export interface IDaemonServer extends grpc.UntypedServiceImplementation {
registerUser: grpc.handleUnaryCall<schema_daemon_pb.RegisterUserRequest, schema_daemon_pb.RegisterUserResponse>;
getFriendList: grpc.handleUnaryCall<schema_daemon_pb.GetFriendListRequest, schema_daemon_pb.GetFriendListResponse>;
generateFriendKey: grpc.handleUnaryCall<schema_daemon_pb.GenerateFriendKeyRequest, schema_daemon_pb.GenerateFriendKeyResponse>;
addFriend: grpc.handleUnaryCall<schema_daemon_pb.AddFriendRequest, schema_daemon_pb.AddFriendResponse>;
getPublicID: grpc.handleUnaryCall<schema_daemon_pb.GetPublicIDRequest, schema_daemon_pb.GetPublicIDResponse>;
addSyncFriend: grpc.handleUnaryCall<schema_daemon_pb.AddSyncFriendRequest, schema_daemon_pb.AddSyncFriendResponse>;
sendAsyncFriendRequest: grpc.handleUnaryCall<schema_daemon_pb.SendAsyncFriendRequestRequest, schema_daemon_pb.SendAsyncFriendRequestResponse>;
getOutgoingFriendRequests: grpc.handleUnaryCall<schema_daemon_pb.GetOutgoingFriendRequestsRequest, schema_daemon_pb.GetOutgoingFriendRequestsResponse>;
getIncomingAsyncFriendRequests: grpc.handleUnaryCall<schema_daemon_pb.GetIncomingAsyncFriendRequestsRequest, schema_daemon_pb.GetIncomingAsyncFriendRequestsResponse>;
decideAsyncFriendRequest: grpc.handleUnaryCall<schema_daemon_pb.DecideAsyncFriendRequestRequest, schema_daemon_pb.DecideAsyncFriendRequestResponse>;
removeFriend: grpc.handleUnaryCall<schema_daemon_pb.RemoveFriendRequest, schema_daemon_pb.RemoveFriendResponse>;
sendMessage: grpc.handleUnaryCall<schema_daemon_pb.SendMessageRequest, schema_daemon_pb.SendMessageResponse>;
getMessages: grpc.handleUnaryCall<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
Expand All @@ -54,12 +62,24 @@ export class DaemonClient extends grpc.Client {
getFriendList(argument: schema_daemon_pb.GetFriendListRequest, callback: grpc.requestCallback<schema_daemon_pb.GetFriendListResponse>): grpc.ClientUnaryCall;
getFriendList(argument: schema_daemon_pb.GetFriendListRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetFriendListResponse>): grpc.ClientUnaryCall;
getFriendList(argument: schema_daemon_pb.GetFriendListRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetFriendListResponse>): grpc.ClientUnaryCall;
generateFriendKey(argument: schema_daemon_pb.GenerateFriendKeyRequest, callback: grpc.requestCallback<schema_daemon_pb.GenerateFriendKeyResponse>): grpc.ClientUnaryCall;
generateFriendKey(argument: schema_daemon_pb.GenerateFriendKeyRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GenerateFriendKeyResponse>): grpc.ClientUnaryCall;
generateFriendKey(argument: schema_daemon_pb.GenerateFriendKeyRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GenerateFriendKeyResponse>): grpc.ClientUnaryCall;
addFriend(argument: schema_daemon_pb.AddFriendRequest, callback: grpc.requestCallback<schema_daemon_pb.AddFriendResponse>): grpc.ClientUnaryCall;
addFriend(argument: schema_daemon_pb.AddFriendRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddFriendResponse>): grpc.ClientUnaryCall;
addFriend(argument: schema_daemon_pb.AddFriendRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddFriendResponse>): grpc.ClientUnaryCall;
getPublicID(argument: schema_daemon_pb.GetPublicIDRequest, callback: grpc.requestCallback<schema_daemon_pb.GetPublicIDResponse>): grpc.ClientUnaryCall;
getPublicID(argument: schema_daemon_pb.GetPublicIDRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetPublicIDResponse>): grpc.ClientUnaryCall;
getPublicID(argument: schema_daemon_pb.GetPublicIDRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetPublicIDResponse>): grpc.ClientUnaryCall;
addSyncFriend(argument: schema_daemon_pb.AddSyncFriendRequest, callback: grpc.requestCallback<schema_daemon_pb.AddSyncFriendResponse>): grpc.ClientUnaryCall;
addSyncFriend(argument: schema_daemon_pb.AddSyncFriendRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddSyncFriendResponse>): grpc.ClientUnaryCall;
addSyncFriend(argument: schema_daemon_pb.AddSyncFriendRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddSyncFriendResponse>): grpc.ClientUnaryCall;
sendAsyncFriendRequest(argument: schema_daemon_pb.SendAsyncFriendRequestRequest, callback: grpc.requestCallback<schema_daemon_pb.SendAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
sendAsyncFriendRequest(argument: schema_daemon_pb.SendAsyncFriendRequestRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.SendAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
sendAsyncFriendRequest(argument: schema_daemon_pb.SendAsyncFriendRequestRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.SendAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
getOutgoingFriendRequests(argument: schema_daemon_pb.GetOutgoingFriendRequestsRequest, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingFriendRequestsResponse>): grpc.ClientUnaryCall;
getOutgoingFriendRequests(argument: schema_daemon_pb.GetOutgoingFriendRequestsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingFriendRequestsResponse>): grpc.ClientUnaryCall;
getOutgoingFriendRequests(argument: schema_daemon_pb.GetOutgoingFriendRequestsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingFriendRequestsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncFriendRequests(argument: schema_daemon_pb.GetIncomingAsyncFriendRequestsRequest, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncFriendRequestsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncFriendRequests(argument: schema_daemon_pb.GetIncomingAsyncFriendRequestsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncFriendRequestsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncFriendRequests(argument: schema_daemon_pb.GetIncomingAsyncFriendRequestsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncFriendRequestsResponse>): grpc.ClientUnaryCall;
decideAsyncFriendRequest(argument: schema_daemon_pb.DecideAsyncFriendRequestRequest, callback: grpc.requestCallback<schema_daemon_pb.DecideAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
decideAsyncFriendRequest(argument: schema_daemon_pb.DecideAsyncFriendRequestRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.DecideAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
decideAsyncFriendRequest(argument: schema_daemon_pb.DecideAsyncFriendRequestRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.DecideAsyncFriendRequestResponse>): grpc.ClientUnaryCall;
removeFriend(argument: schema_daemon_pb.RemoveFriendRequest, callback: grpc.requestCallback<schema_daemon_pb.RemoveFriendResponse>): grpc.ClientUnaryCall;
removeFriend(argument: schema_daemon_pb.RemoveFriendRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RemoveFriendResponse>): grpc.ClientUnaryCall;
removeFriend(argument: schema_daemon_pb.RemoveFriendRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RemoveFriendResponse>): grpc.ClientUnaryCall;
Expand Down
Loading

0 comments on commit b518cc0

Please sign in to comment.