1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-10 18:10:49 +09:00

GO-2966 Update service pb

This commit is contained in:
mcrakhman 2024-02-27 17:44:52 +01:00
parent b02d165b3e
commit d45756d154
No known key found for this signature in database
GPG key ID: DED12CFEF5B8396B

View file

@ -6107,6 +6107,20 @@ func (h *ClientCommandsHandlerProxy) SpaceExit(ctx context.Context, req *pb.RpcS
call, _ := actualCall(ctx, req)
return call.(*pb.RpcSpaceExitResponse)
}
func (h *ClientCommandsHandlerProxy) SpaceStopSharing(ctx context.Context, req *pb.RpcSpaceStopSharingRequest) *pb.RpcSpaceStopSharingResponse {
actualCall := func(ctx context.Context, req any) (any, error) {
return h.client.SpaceStopSharing(ctx, req.(*pb.RpcSpaceStopSharingRequest)), nil
}
for _, interceptor := range h.interceptors {
toCall := actualCall
currentInterceptor := interceptor
actualCall = func(ctx context.Context, req any) (any, error) {
return currentInterceptor(ctx, req, "SpaceStopSharing", toCall)
}
}
call, _ := actualCall(ctx, req)
return call.(*pb.RpcSpaceStopSharingResponse)
}
func (h *ClientCommandsHandlerProxy) SpaceRequestApprove(ctx context.Context, req *pb.RpcSpaceRequestApproveRequest) *pb.RpcSpaceRequestApproveResponse {
actualCall := func(ctx context.Context, req any) (any, error) {
return h.client.SpaceRequestApprove(ctx, req.(*pb.RpcSpaceRequestApproveRequest)), nil