Skip to content

Commit

Permalink
update protos for the ts
Browse files Browse the repository at this point in the history
  • Loading branch information
sualehasif committed Jun 29, 2022
1 parent 6b4e2d2 commit 5673a44
Show file tree
Hide file tree
Showing 4 changed files with 2,228 additions and 620 deletions.
60 changes: 35 additions & 25 deletions gui/src/daemon/schema/daemon_grpc_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ 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>;
getMyPublicID: grpc.MethodDefinition<schema_daemon_pb.GetMyPublicIDRequest, schema_daemon_pb.GetMyPublicIDResponse>;
getFriendList: grpc.MethodDefinition<schema_daemon_pb.GetFriendListRequest, schema_daemon_pb.GetFriendListResponse>;
getPublicID: grpc.MethodDefinition<schema_daemon_pb.GetPublicIDRequest, schema_daemon_pb.GetPublicIDResponse>;
removeFriend: grpc.MethodDefinition<schema_daemon_pb.RemoveFriendRequest, schema_daemon_pb.RemoveFriendResponse>;
addSyncFriend: grpc.MethodDefinition<schema_daemon_pb.AddSyncFriendRequest, schema_daemon_pb.AddSyncFriendResponse>;
addAsyncFriend: grpc.MethodDefinition<schema_daemon_pb.AddAsyncFriendRequest, schema_daemon_pb.AddAsyncFriendResponse>;
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>;
getOutgoingSyncInvitations: grpc.MethodDefinition<schema_daemon_pb.GetOutgoingSyncInvitationsRequest, schema_daemon_pb.GetOutgoingSyncInvitationsResponse>;
getOutgoingAsyncInvitations: grpc.MethodDefinition<schema_daemon_pb.GetOutgoingAsyncInvitationsRequest, schema_daemon_pb.GetOutgoingAsyncInvitationsResponse>;
getIncomingAsyncInvitations: grpc.MethodDefinition<schema_daemon_pb.GetIncomingAsyncInvitationsRequest, schema_daemon_pb.GetIncomingAsyncInvitationsResponse>;
acceptAsyncInvitation: grpc.MethodDefinition<schema_daemon_pb.AcceptAsyncInvitationRequest, schema_daemon_pb.AcceptAsyncInvitationResponse>;
rejectAsyncInvitation: grpc.MethodDefinition<schema_daemon_pb.RejectAsyncInvitationRequest, schema_daemon_pb.RejectAsyncInvitationResponse>;
sendMessage: grpc.MethodDefinition<schema_daemon_pb.SendMessageRequest, schema_daemon_pb.SendMessageResponse>;
getMessages: grpc.MethodDefinition<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
getMessagesStreamed: grpc.MethodDefinition<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
Expand All @@ -34,14 +36,16 @@ export const DaemonService: IDaemonService;

export interface IDaemonServer extends grpc.UntypedServiceImplementation {
registerUser: grpc.handleUnaryCall<schema_daemon_pb.RegisterUserRequest, schema_daemon_pb.RegisterUserResponse>;
getMyPublicID: grpc.handleUnaryCall<schema_daemon_pb.GetMyPublicIDRequest, schema_daemon_pb.GetMyPublicIDResponse>;
getFriendList: grpc.handleUnaryCall<schema_daemon_pb.GetFriendListRequest, schema_daemon_pb.GetFriendListResponse>;
getPublicID: grpc.handleUnaryCall<schema_daemon_pb.GetPublicIDRequest, schema_daemon_pb.GetPublicIDResponse>;
removeFriend: grpc.handleUnaryCall<schema_daemon_pb.RemoveFriendRequest, schema_daemon_pb.RemoveFriendResponse>;
addSyncFriend: grpc.handleUnaryCall<schema_daemon_pb.AddSyncFriendRequest, schema_daemon_pb.AddSyncFriendResponse>;
addAsyncFriend: grpc.handleUnaryCall<schema_daemon_pb.AddAsyncFriendRequest, schema_daemon_pb.AddAsyncFriendResponse>;
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>;
getOutgoingSyncInvitations: grpc.handleUnaryCall<schema_daemon_pb.GetOutgoingSyncInvitationsRequest, schema_daemon_pb.GetOutgoingSyncInvitationsResponse>;
getOutgoingAsyncInvitations: grpc.handleUnaryCall<schema_daemon_pb.GetOutgoingAsyncInvitationsRequest, schema_daemon_pb.GetOutgoingAsyncInvitationsResponse>;
getIncomingAsyncInvitations: grpc.handleUnaryCall<schema_daemon_pb.GetIncomingAsyncInvitationsRequest, schema_daemon_pb.GetIncomingAsyncInvitationsResponse>;
acceptAsyncInvitation: grpc.handleUnaryCall<schema_daemon_pb.AcceptAsyncInvitationRequest, schema_daemon_pb.AcceptAsyncInvitationResponse>;
rejectAsyncInvitation: grpc.handleUnaryCall<schema_daemon_pb.RejectAsyncInvitationRequest, schema_daemon_pb.RejectAsyncInvitationResponse>;
sendMessage: grpc.handleUnaryCall<schema_daemon_pb.SendMessageRequest, schema_daemon_pb.SendMessageResponse>;
getMessages: grpc.handleUnaryCall<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
getMessagesStreamed: grpc.handleServerStreamingCall<schema_daemon_pb.GetMessagesRequest, schema_daemon_pb.GetMessagesResponse>;
Expand All @@ -59,30 +63,36 @@ export class DaemonClient extends grpc.Client {
registerUser(argument: schema_daemon_pb.RegisterUserRequest, callback: grpc.requestCallback<schema_daemon_pb.RegisterUserResponse>): grpc.ClientUnaryCall;
registerUser(argument: schema_daemon_pb.RegisterUserRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RegisterUserResponse>): grpc.ClientUnaryCall;
registerUser(argument: schema_daemon_pb.RegisterUserRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RegisterUserResponse>): grpc.ClientUnaryCall;
getMyPublicID(argument: schema_daemon_pb.GetMyPublicIDRequest, callback: grpc.requestCallback<schema_daemon_pb.GetMyPublicIDResponse>): grpc.ClientUnaryCall;
getMyPublicID(argument: schema_daemon_pb.GetMyPublicIDRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetMyPublicIDResponse>): grpc.ClientUnaryCall;
getMyPublicID(argument: schema_daemon_pb.GetMyPublicIDRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetMyPublicIDResponse>): grpc.ClientUnaryCall;
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;
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;
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;
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;
addAsyncFriend(argument: schema_daemon_pb.AddAsyncFriendRequest, callback: grpc.requestCallback<schema_daemon_pb.AddAsyncFriendResponse>): grpc.ClientUnaryCall;
addAsyncFriend(argument: schema_daemon_pb.AddAsyncFriendRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddAsyncFriendResponse>): grpc.ClientUnaryCall;
addAsyncFriend(argument: schema_daemon_pb.AddAsyncFriendRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AddAsyncFriendResponse>): 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;
getOutgoingSyncInvitations(argument: schema_daemon_pb.GetOutgoingSyncInvitationsRequest, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingSyncInvitationsResponse>): grpc.ClientUnaryCall;
getOutgoingSyncInvitations(argument: schema_daemon_pb.GetOutgoingSyncInvitationsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingSyncInvitationsResponse>): grpc.ClientUnaryCall;
getOutgoingSyncInvitations(argument: schema_daemon_pb.GetOutgoingSyncInvitationsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingSyncInvitationsResponse>): grpc.ClientUnaryCall;
getOutgoingAsyncInvitations(argument: schema_daemon_pb.GetOutgoingAsyncInvitationsRequest, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
getOutgoingAsyncInvitations(argument: schema_daemon_pb.GetOutgoingAsyncInvitationsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
getOutgoingAsyncInvitations(argument: schema_daemon_pb.GetOutgoingAsyncInvitationsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetOutgoingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncInvitations(argument: schema_daemon_pb.GetIncomingAsyncInvitationsRequest, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncInvitations(argument: schema_daemon_pb.GetIncomingAsyncInvitationsRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
getIncomingAsyncInvitations(argument: schema_daemon_pb.GetIncomingAsyncInvitationsRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.GetIncomingAsyncInvitationsResponse>): grpc.ClientUnaryCall;
acceptAsyncInvitation(argument: schema_daemon_pb.AcceptAsyncInvitationRequest, callback: grpc.requestCallback<schema_daemon_pb.AcceptAsyncInvitationResponse>): grpc.ClientUnaryCall;
acceptAsyncInvitation(argument: schema_daemon_pb.AcceptAsyncInvitationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AcceptAsyncInvitationResponse>): grpc.ClientUnaryCall;
acceptAsyncInvitation(argument: schema_daemon_pb.AcceptAsyncInvitationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.AcceptAsyncInvitationResponse>): grpc.ClientUnaryCall;
rejectAsyncInvitation(argument: schema_daemon_pb.RejectAsyncInvitationRequest, callback: grpc.requestCallback<schema_daemon_pb.RejectAsyncInvitationResponse>): grpc.ClientUnaryCall;
rejectAsyncInvitation(argument: schema_daemon_pb.RejectAsyncInvitationRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RejectAsyncInvitationResponse>): grpc.ClientUnaryCall;
rejectAsyncInvitation(argument: schema_daemon_pb.RejectAsyncInvitationRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.RejectAsyncInvitationResponse>): grpc.ClientUnaryCall;
sendMessage(argument: schema_daemon_pb.SendMessageRequest, callback: grpc.requestCallback<schema_daemon_pb.SendMessageResponse>): grpc.ClientUnaryCall;
sendMessage(argument: schema_daemon_pb.SendMessageRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.SendMessageResponse>): grpc.ClientUnaryCall;
sendMessage(argument: schema_daemon_pb.SendMessageRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<schema_daemon_pb.SendMessageResponse>): grpc.ClientUnaryCall;
Expand Down
Loading

0 comments on commit 5673a44

Please sign in to comment.