From f45e39d5f99ada3150526b9e8c22bd6f668104c1 Mon Sep 17 00:00:00 2001 From: Christian Carlsson Date: Fri, 10 Jan 2025 15:14:44 +0000 Subject: [PATCH] chore: update protos --- .../v1/apiv1connect/auth_service.connect.go | 42 +++++++---------- .../apiv1connect/exercise_service.connect.go | 47 +++++++------------ .../v1/apiv1connect/feed_service.connect.go | 12 ++--- .../notification_service.connect.go | 22 ++++----- .../apiv1connect/routine_service.connect.go | 47 +++++++------------ .../v1/apiv1connect/user_service.connect.go | 37 ++++++--------- .../apiv1connect/workout_service.connect.go | 37 ++++++--------- server/gen/proto/api/v1/auth_service.pb.go | 2 +- server/gen/proto/api/v1/errors.pb.go | 2 +- .../gen/proto/api/v1/exercise_service.pb.go | 2 +- server/gen/proto/api/v1/feed_service.pb.go | 2 +- .../proto/api/v1/notification_service.pb.go | 2 +- server/gen/proto/api/v1/options.pb.go | 2 +- server/gen/proto/api/v1/routine_service.pb.go | 2 +- server/gen/proto/api/v1/shared.pb.go | 2 +- server/gen/proto/api/v1/user_service.pb.go | 2 +- server/gen/proto/api/v1/workout_service.pb.go | 2 +- 17 files changed, 102 insertions(+), 162 deletions(-) diff --git a/server/gen/proto/api/v1/apiv1connect/auth_service.connect.go b/server/gen/proto/api/v1/apiv1connect/auth_service.connect.go index bd510ed8..c3099940 100644 --- a/server/gen/proto/api/v1/apiv1connect/auth_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/auth_service.connect.go @@ -53,18 +53,6 @@ const ( AuthServiceUpdatePasswordProcedure = "/api.v1.AuthService/UpdatePassword" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - authServiceServiceDescriptor = v1.File_api_v1_auth_service_proto.Services().ByName("AuthService") - authServiceSignupMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("Signup") - authServiceLoginMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("Login") - authServiceRefreshTokenMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("RefreshToken") - authServiceLogoutMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("Logout") - authServiceVerifyEmailMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("VerifyEmail") - authServiceResetPasswordMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("ResetPassword") - authServiceUpdatePasswordMethodDescriptor = authServiceServiceDescriptor.Methods().ByName("UpdatePassword") -) - // AuthServiceClient is a client for the api.v1.AuthService service. type AuthServiceClient interface { Signup(context.Context, *connect.Request[v1.SignupRequest]) (*connect.Response[v1.SignupResponse], error) @@ -85,47 +73,48 @@ type AuthServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewAuthServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) AuthServiceClient { baseURL = strings.TrimRight(baseURL, "/") + authServiceMethods := v1.File_api_v1_auth_service_proto.Services().ByName("AuthService").Methods() return &authServiceClient{ signup: connect.NewClient[v1.SignupRequest, v1.SignupResponse]( httpClient, baseURL+AuthServiceSignupProcedure, - connect.WithSchema(authServiceSignupMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Signup")), connect.WithClientOptions(opts...), ), login: connect.NewClient[v1.LoginRequest, v1.LoginResponse]( httpClient, baseURL+AuthServiceLoginProcedure, - connect.WithSchema(authServiceLoginMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Login")), connect.WithClientOptions(opts...), ), refreshToken: connect.NewClient[v1.RefreshTokenRequest, v1.RefreshTokenResponse]( httpClient, baseURL+AuthServiceRefreshTokenProcedure, - connect.WithSchema(authServiceRefreshTokenMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("RefreshToken")), connect.WithClientOptions(opts...), ), logout: connect.NewClient[v1.LogoutRequest, v1.LogoutResponse]( httpClient, baseURL+AuthServiceLogoutProcedure, - connect.WithSchema(authServiceLogoutMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Logout")), connect.WithClientOptions(opts...), ), verifyEmail: connect.NewClient[v1.VerifyEmailRequest, v1.VerifyEmailResponse]( httpClient, baseURL+AuthServiceVerifyEmailProcedure, - connect.WithSchema(authServiceVerifyEmailMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("VerifyEmail")), connect.WithClientOptions(opts...), ), resetPassword: connect.NewClient[v1.ResetPasswordRequest, v1.ResetPasswordResponse]( httpClient, baseURL+AuthServiceResetPasswordProcedure, - connect.WithSchema(authServiceResetPasswordMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("ResetPassword")), connect.WithClientOptions(opts...), ), updatePassword: connect.NewClient[v1.UpdatePasswordRequest, v1.UpdatePasswordResponse]( httpClient, baseURL+AuthServiceUpdatePasswordProcedure, - connect.WithSchema(authServiceUpdatePasswordMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("UpdatePassword")), connect.WithClientOptions(opts...), ), } @@ -194,46 +183,47 @@ type AuthServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewAuthServiceHandler(svc AuthServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + authServiceMethods := v1.File_api_v1_auth_service_proto.Services().ByName("AuthService").Methods() authServiceSignupHandler := connect.NewUnaryHandler( AuthServiceSignupProcedure, svc.Signup, - connect.WithSchema(authServiceSignupMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Signup")), connect.WithHandlerOptions(opts...), ) authServiceLoginHandler := connect.NewUnaryHandler( AuthServiceLoginProcedure, svc.Login, - connect.WithSchema(authServiceLoginMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Login")), connect.WithHandlerOptions(opts...), ) authServiceRefreshTokenHandler := connect.NewUnaryHandler( AuthServiceRefreshTokenProcedure, svc.RefreshToken, - connect.WithSchema(authServiceRefreshTokenMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("RefreshToken")), connect.WithHandlerOptions(opts...), ) authServiceLogoutHandler := connect.NewUnaryHandler( AuthServiceLogoutProcedure, svc.Logout, - connect.WithSchema(authServiceLogoutMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("Logout")), connect.WithHandlerOptions(opts...), ) authServiceVerifyEmailHandler := connect.NewUnaryHandler( AuthServiceVerifyEmailProcedure, svc.VerifyEmail, - connect.WithSchema(authServiceVerifyEmailMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("VerifyEmail")), connect.WithHandlerOptions(opts...), ) authServiceResetPasswordHandler := connect.NewUnaryHandler( AuthServiceResetPasswordProcedure, svc.ResetPassword, - connect.WithSchema(authServiceResetPasswordMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("ResetPassword")), connect.WithHandlerOptions(opts...), ) authServiceUpdatePasswordHandler := connect.NewUnaryHandler( AuthServiceUpdatePasswordProcedure, svc.UpdatePassword, - connect.WithSchema(authServiceUpdatePasswordMethodDescriptor), + connect.WithSchema(authServiceMethods.ByName("UpdatePassword")), connect.WithHandlerOptions(opts...), ) return "/api.v1.AuthService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/exercise_service.connect.go b/server/gen/proto/api/v1/apiv1connect/exercise_service.connect.go index 5e19792f..0eff2119 100644 --- a/server/gen/proto/api/v1/apiv1connect/exercise_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/exercise_service.connect.go @@ -60,19 +60,6 @@ const ( ExerciseServiceListSetsProcedure = "/api.v1.ExerciseService/ListSets" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - exerciseServiceServiceDescriptor = v1.File_api_v1_exercise_service_proto.Services().ByName("ExerciseService") - exerciseServiceCreateExerciseMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("CreateExercise") - exerciseServiceGetExerciseMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("GetExercise") - exerciseServiceUpdateExerciseMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("UpdateExercise") - exerciseServiceDeleteExerciseMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("DeleteExercise") - exerciseServiceListExercisesMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("ListExercises") - exerciseServiceGetPreviousWorkoutSetsMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("GetPreviousWorkoutSets") - exerciseServiceGetPersonalBestsMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("GetPersonalBests") - exerciseServiceListSetsMethodDescriptor = exerciseServiceServiceDescriptor.Methods().ByName("ListSets") -) - // ExerciseServiceClient is a client for the api.v1.ExerciseService service. type ExerciseServiceClient interface { CreateExercise(context.Context, *connect.Request[v1.CreateExerciseRequest]) (*connect.Response[v1.CreateExerciseResponse], error) @@ -94,53 +81,54 @@ type ExerciseServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewExerciseServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) ExerciseServiceClient { baseURL = strings.TrimRight(baseURL, "/") + exerciseServiceMethods := v1.File_api_v1_exercise_service_proto.Services().ByName("ExerciseService").Methods() return &exerciseServiceClient{ createExercise: connect.NewClient[v1.CreateExerciseRequest, v1.CreateExerciseResponse]( httpClient, baseURL+ExerciseServiceCreateExerciseProcedure, - connect.WithSchema(exerciseServiceCreateExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("CreateExercise")), connect.WithClientOptions(opts...), ), getExercise: connect.NewClient[v1.GetExerciseRequest, v1.GetExerciseResponse]( httpClient, baseURL+ExerciseServiceGetExerciseProcedure, - connect.WithSchema(exerciseServiceGetExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetExercise")), connect.WithClientOptions(opts...), ), updateExercise: connect.NewClient[v1.UpdateExerciseRequest, v1.UpdateExerciseResponse]( httpClient, baseURL+ExerciseServiceUpdateExerciseProcedure, - connect.WithSchema(exerciseServiceUpdateExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("UpdateExercise")), connect.WithClientOptions(opts...), ), deleteExercise: connect.NewClient[v1.DeleteExerciseRequest, v1.DeleteExerciseResponse]( httpClient, baseURL+ExerciseServiceDeleteExerciseProcedure, - connect.WithSchema(exerciseServiceDeleteExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("DeleteExercise")), connect.WithClientOptions(opts...), ), listExercises: connect.NewClient[v1.ListExercisesRequest, v1.ListExercisesResponse]( httpClient, baseURL+ExerciseServiceListExercisesProcedure, - connect.WithSchema(exerciseServiceListExercisesMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("ListExercises")), connect.WithClientOptions(opts...), ), getPreviousWorkoutSets: connect.NewClient[v1.GetPreviousWorkoutSetsRequest, v1.GetPreviousWorkoutSetsResponse]( httpClient, baseURL+ExerciseServiceGetPreviousWorkoutSetsProcedure, - connect.WithSchema(exerciseServiceGetPreviousWorkoutSetsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetPreviousWorkoutSets")), connect.WithClientOptions(opts...), ), getPersonalBests: connect.NewClient[v1.GetPersonalBestsRequest, v1.GetPersonalBestsResponse]( httpClient, baseURL+ExerciseServiceGetPersonalBestsProcedure, - connect.WithSchema(exerciseServiceGetPersonalBestsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetPersonalBests")), connect.WithClientOptions(opts...), ), listSets: connect.NewClient[v1.ListSetsRequest, v1.ListSetsResponse]( httpClient, baseURL+ExerciseServiceListSetsProcedure, - connect.WithSchema(exerciseServiceListSetsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("ListSets")), connect.WithClientOptions(opts...), ), } @@ -216,52 +204,53 @@ type ExerciseServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewExerciseServiceHandler(svc ExerciseServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + exerciseServiceMethods := v1.File_api_v1_exercise_service_proto.Services().ByName("ExerciseService").Methods() exerciseServiceCreateExerciseHandler := connect.NewUnaryHandler( ExerciseServiceCreateExerciseProcedure, svc.CreateExercise, - connect.WithSchema(exerciseServiceCreateExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("CreateExercise")), connect.WithHandlerOptions(opts...), ) exerciseServiceGetExerciseHandler := connect.NewUnaryHandler( ExerciseServiceGetExerciseProcedure, svc.GetExercise, - connect.WithSchema(exerciseServiceGetExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetExercise")), connect.WithHandlerOptions(opts...), ) exerciseServiceUpdateExerciseHandler := connect.NewUnaryHandler( ExerciseServiceUpdateExerciseProcedure, svc.UpdateExercise, - connect.WithSchema(exerciseServiceUpdateExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("UpdateExercise")), connect.WithHandlerOptions(opts...), ) exerciseServiceDeleteExerciseHandler := connect.NewUnaryHandler( ExerciseServiceDeleteExerciseProcedure, svc.DeleteExercise, - connect.WithSchema(exerciseServiceDeleteExerciseMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("DeleteExercise")), connect.WithHandlerOptions(opts...), ) exerciseServiceListExercisesHandler := connect.NewUnaryHandler( ExerciseServiceListExercisesProcedure, svc.ListExercises, - connect.WithSchema(exerciseServiceListExercisesMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("ListExercises")), connect.WithHandlerOptions(opts...), ) exerciseServiceGetPreviousWorkoutSetsHandler := connect.NewUnaryHandler( ExerciseServiceGetPreviousWorkoutSetsProcedure, svc.GetPreviousWorkoutSets, - connect.WithSchema(exerciseServiceGetPreviousWorkoutSetsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetPreviousWorkoutSets")), connect.WithHandlerOptions(opts...), ) exerciseServiceGetPersonalBestsHandler := connect.NewUnaryHandler( ExerciseServiceGetPersonalBestsProcedure, svc.GetPersonalBests, - connect.WithSchema(exerciseServiceGetPersonalBestsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("GetPersonalBests")), connect.WithHandlerOptions(opts...), ) exerciseServiceListSetsHandler := connect.NewUnaryHandler( ExerciseServiceListSetsProcedure, svc.ListSets, - connect.WithSchema(exerciseServiceListSetsMethodDescriptor), + connect.WithSchema(exerciseServiceMethods.ByName("ListSets")), connect.WithHandlerOptions(opts...), ) return "/api.v1.ExerciseService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/feed_service.connect.go b/server/gen/proto/api/v1/apiv1connect/feed_service.connect.go index 187551ee..ff7d7e93 100644 --- a/server/gen/proto/api/v1/apiv1connect/feed_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/feed_service.connect.go @@ -39,12 +39,6 @@ const ( FeedServiceListFeedItemsProcedure = "/api.v1.FeedService/ListFeedItems" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - feedServiceServiceDescriptor = v1.File_api_v1_feed_service_proto.Services().ByName("FeedService") - feedServiceListFeedItemsMethodDescriptor = feedServiceServiceDescriptor.Methods().ByName("ListFeedItems") -) - // FeedServiceClient is a client for the api.v1.FeedService service. type FeedServiceClient interface { ListFeedItems(context.Context, *connect.Request[v1.ListFeedItemsRequest]) (*connect.Response[v1.ListFeedItemsResponse], error) @@ -59,11 +53,12 @@ type FeedServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewFeedServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) FeedServiceClient { baseURL = strings.TrimRight(baseURL, "/") + feedServiceMethods := v1.File_api_v1_feed_service_proto.Services().ByName("FeedService").Methods() return &feedServiceClient{ listFeedItems: connect.NewClient[v1.ListFeedItemsRequest, v1.ListFeedItemsResponse]( httpClient, baseURL+FeedServiceListFeedItemsProcedure, - connect.WithSchema(feedServiceListFeedItemsMethodDescriptor), + connect.WithSchema(feedServiceMethods.ByName("ListFeedItems")), connect.WithClientOptions(opts...), ), } @@ -90,10 +85,11 @@ type FeedServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewFeedServiceHandler(svc FeedServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + feedServiceMethods := v1.File_api_v1_feed_service_proto.Services().ByName("FeedService").Methods() feedServiceListFeedItemsHandler := connect.NewUnaryHandler( FeedServiceListFeedItemsProcedure, svc.ListFeedItems, - connect.WithSchema(feedServiceListFeedItemsMethodDescriptor), + connect.WithSchema(feedServiceMethods.ByName("ListFeedItems")), connect.WithHandlerOptions(opts...), ) return "/api.v1.FeedService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/notification_service.connect.go b/server/gen/proto/api/v1/apiv1connect/notification_service.connect.go index b14dd171..0df6151b 100644 --- a/server/gen/proto/api/v1/apiv1connect/notification_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/notification_service.connect.go @@ -45,14 +45,6 @@ const ( NotificationServiceUnreadNotificationsProcedure = "/api.v1.NotificationService/UnreadNotifications" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - notificationServiceServiceDescriptor = v1.File_api_v1_notification_service_proto.Services().ByName("NotificationService") - notificationServiceListNotificationsMethodDescriptor = notificationServiceServiceDescriptor.Methods().ByName("ListNotifications") - notificationServiceMarkNotificationsAsReadMethodDescriptor = notificationServiceServiceDescriptor.Methods().ByName("MarkNotificationsAsRead") - notificationServiceUnreadNotificationsMethodDescriptor = notificationServiceServiceDescriptor.Methods().ByName("UnreadNotifications") -) - // NotificationServiceClient is a client for the api.v1.NotificationService service. type NotificationServiceClient interface { ListNotifications(context.Context, *connect.Request[v1.ListNotificationsRequest]) (*connect.Response[v1.ListNotificationsResponse], error) @@ -69,23 +61,24 @@ type NotificationServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewNotificationServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) NotificationServiceClient { baseURL = strings.TrimRight(baseURL, "/") + notificationServiceMethods := v1.File_api_v1_notification_service_proto.Services().ByName("NotificationService").Methods() return ¬ificationServiceClient{ listNotifications: connect.NewClient[v1.ListNotificationsRequest, v1.ListNotificationsResponse]( httpClient, baseURL+NotificationServiceListNotificationsProcedure, - connect.WithSchema(notificationServiceListNotificationsMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("ListNotifications")), connect.WithClientOptions(opts...), ), markNotificationsAsRead: connect.NewClient[v1.MarkNotificationsAsReadRequest, v1.MarkNotificationsAsReadResponse]( httpClient, baseURL+NotificationServiceMarkNotificationsAsReadProcedure, - connect.WithSchema(notificationServiceMarkNotificationsAsReadMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("MarkNotificationsAsRead")), connect.WithClientOptions(opts...), ), unreadNotifications: connect.NewClient[v1.UnreadNotificationsRequest, v1.UnreadNotificationsResponse]( httpClient, baseURL+NotificationServiceUnreadNotificationsProcedure, - connect.WithSchema(notificationServiceUnreadNotificationsMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("UnreadNotifications")), connect.WithClientOptions(opts...), ), } @@ -126,22 +119,23 @@ type NotificationServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewNotificationServiceHandler(svc NotificationServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + notificationServiceMethods := v1.File_api_v1_notification_service_proto.Services().ByName("NotificationService").Methods() notificationServiceListNotificationsHandler := connect.NewUnaryHandler( NotificationServiceListNotificationsProcedure, svc.ListNotifications, - connect.WithSchema(notificationServiceListNotificationsMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("ListNotifications")), connect.WithHandlerOptions(opts...), ) notificationServiceMarkNotificationsAsReadHandler := connect.NewUnaryHandler( NotificationServiceMarkNotificationsAsReadProcedure, svc.MarkNotificationsAsRead, - connect.WithSchema(notificationServiceMarkNotificationsAsReadMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("MarkNotificationsAsRead")), connect.WithHandlerOptions(opts...), ) notificationServiceUnreadNotificationsHandler := connect.NewServerStreamHandler( NotificationServiceUnreadNotificationsProcedure, svc.UnreadNotifications, - connect.WithSchema(notificationServiceUnreadNotificationsMethodDescriptor), + connect.WithSchema(notificationServiceMethods.ByName("UnreadNotifications")), connect.WithHandlerOptions(opts...), ) return "/api.v1.NotificationService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/routine_service.connect.go b/server/gen/proto/api/v1/apiv1connect/routine_service.connect.go index 8cc528fa..d0671807 100644 --- a/server/gen/proto/api/v1/apiv1connect/routine_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/routine_service.connect.go @@ -60,19 +60,6 @@ const ( RoutineServiceUpdateExerciseOrderProcedure = "/api.v1.RoutineService/UpdateExerciseOrder" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - routineServiceServiceDescriptor = v1.File_api_v1_routine_service_proto.Services().ByName("RoutineService") - routineServiceCreateRoutineMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("CreateRoutine") - routineServiceGetRoutineMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("GetRoutine") - routineServiceUpdateRoutineMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("UpdateRoutine") - routineServiceDeleteRoutineMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("DeleteRoutine") - routineServiceListRoutinesMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("ListRoutines") - routineServiceAddExerciseMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("AddExercise") - routineServiceRemoveExerciseMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("RemoveExercise") - routineServiceUpdateExerciseOrderMethodDescriptor = routineServiceServiceDescriptor.Methods().ByName("UpdateExerciseOrder") -) - // RoutineServiceClient is a client for the api.v1.RoutineService service. type RoutineServiceClient interface { CreateRoutine(context.Context, *connect.Request[v1.CreateRoutineRequest]) (*connect.Response[v1.CreateRoutineResponse], error) @@ -94,53 +81,54 @@ type RoutineServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewRoutineServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) RoutineServiceClient { baseURL = strings.TrimRight(baseURL, "/") + routineServiceMethods := v1.File_api_v1_routine_service_proto.Services().ByName("RoutineService").Methods() return &routineServiceClient{ createRoutine: connect.NewClient[v1.CreateRoutineRequest, v1.CreateRoutineResponse]( httpClient, baseURL+RoutineServiceCreateRoutineProcedure, - connect.WithSchema(routineServiceCreateRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("CreateRoutine")), connect.WithClientOptions(opts...), ), getRoutine: connect.NewClient[v1.GetRoutineRequest, v1.GetRoutineResponse]( httpClient, baseURL+RoutineServiceGetRoutineProcedure, - connect.WithSchema(routineServiceGetRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("GetRoutine")), connect.WithClientOptions(opts...), ), updateRoutine: connect.NewClient[v1.UpdateRoutineRequest, v1.UpdateRoutineResponse]( httpClient, baseURL+RoutineServiceUpdateRoutineProcedure, - connect.WithSchema(routineServiceUpdateRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("UpdateRoutine")), connect.WithClientOptions(opts...), ), deleteRoutine: connect.NewClient[v1.DeleteRoutineRequest, v1.DeleteRoutineResponse]( httpClient, baseURL+RoutineServiceDeleteRoutineProcedure, - connect.WithSchema(routineServiceDeleteRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("DeleteRoutine")), connect.WithClientOptions(opts...), ), listRoutines: connect.NewClient[v1.ListRoutinesRequest, v1.ListRoutinesResponse]( httpClient, baseURL+RoutineServiceListRoutinesProcedure, - connect.WithSchema(routineServiceListRoutinesMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("ListRoutines")), connect.WithClientOptions(opts...), ), addExercise: connect.NewClient[v1.AddExerciseRequest, v1.AddExerciseResponse]( httpClient, baseURL+RoutineServiceAddExerciseProcedure, - connect.WithSchema(routineServiceAddExerciseMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("AddExercise")), connect.WithClientOptions(opts...), ), removeExercise: connect.NewClient[v1.RemoveExerciseRequest, v1.RemoveExerciseResponse]( httpClient, baseURL+RoutineServiceRemoveExerciseProcedure, - connect.WithSchema(routineServiceRemoveExerciseMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("RemoveExercise")), connect.WithClientOptions(opts...), ), updateExerciseOrder: connect.NewClient[v1.UpdateExerciseOrderRequest, v1.UpdateExerciseOrderResponse]( httpClient, baseURL+RoutineServiceUpdateExerciseOrderProcedure, - connect.WithSchema(routineServiceUpdateExerciseOrderMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("UpdateExerciseOrder")), connect.WithClientOptions(opts...), ), } @@ -216,52 +204,53 @@ type RoutineServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewRoutineServiceHandler(svc RoutineServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + routineServiceMethods := v1.File_api_v1_routine_service_proto.Services().ByName("RoutineService").Methods() routineServiceCreateRoutineHandler := connect.NewUnaryHandler( RoutineServiceCreateRoutineProcedure, svc.CreateRoutine, - connect.WithSchema(routineServiceCreateRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("CreateRoutine")), connect.WithHandlerOptions(opts...), ) routineServiceGetRoutineHandler := connect.NewUnaryHandler( RoutineServiceGetRoutineProcedure, svc.GetRoutine, - connect.WithSchema(routineServiceGetRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("GetRoutine")), connect.WithHandlerOptions(opts...), ) routineServiceUpdateRoutineHandler := connect.NewUnaryHandler( RoutineServiceUpdateRoutineProcedure, svc.UpdateRoutine, - connect.WithSchema(routineServiceUpdateRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("UpdateRoutine")), connect.WithHandlerOptions(opts...), ) routineServiceDeleteRoutineHandler := connect.NewUnaryHandler( RoutineServiceDeleteRoutineProcedure, svc.DeleteRoutine, - connect.WithSchema(routineServiceDeleteRoutineMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("DeleteRoutine")), connect.WithHandlerOptions(opts...), ) routineServiceListRoutinesHandler := connect.NewUnaryHandler( RoutineServiceListRoutinesProcedure, svc.ListRoutines, - connect.WithSchema(routineServiceListRoutinesMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("ListRoutines")), connect.WithHandlerOptions(opts...), ) routineServiceAddExerciseHandler := connect.NewUnaryHandler( RoutineServiceAddExerciseProcedure, svc.AddExercise, - connect.WithSchema(routineServiceAddExerciseMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("AddExercise")), connect.WithHandlerOptions(opts...), ) routineServiceRemoveExerciseHandler := connect.NewUnaryHandler( RoutineServiceRemoveExerciseProcedure, svc.RemoveExercise, - connect.WithSchema(routineServiceRemoveExerciseMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("RemoveExercise")), connect.WithHandlerOptions(opts...), ) routineServiceUpdateExerciseOrderHandler := connect.NewUnaryHandler( RoutineServiceUpdateExerciseOrderProcedure, svc.UpdateExerciseOrder, - connect.WithSchema(routineServiceUpdateExerciseOrderMethodDescriptor), + connect.WithSchema(routineServiceMethods.ByName("UpdateExerciseOrder")), connect.WithHandlerOptions(opts...), ) return "/api.v1.RoutineService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/user_service.connect.go b/server/gen/proto/api/v1/apiv1connect/user_service.connect.go index 737d1505..59b3a5e4 100644 --- a/server/gen/proto/api/v1/apiv1connect/user_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/user_service.connect.go @@ -51,17 +51,6 @@ const ( UserServiceSearchUsersProcedure = "/api.v1.UserService/SearchUsers" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - userServiceServiceDescriptor = v1.File_api_v1_user_service_proto.Services().ByName("UserService") - userServiceGetUserMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("GetUser") - userServiceFollowUserMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("FollowUser") - userServiceUnfollowUserMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("UnfollowUser") - userServiceListFollowersMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("ListFollowers") - userServiceListFolloweesMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("ListFollowees") - userServiceSearchUsersMethodDescriptor = userServiceServiceDescriptor.Methods().ByName("SearchUsers") -) - // UserServiceClient is a client for the api.v1.UserService service. type UserServiceClient interface { GetUser(context.Context, *connect.Request[v1.GetUserRequest]) (*connect.Response[v1.GetUserResponse], error) @@ -81,41 +70,42 @@ type UserServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewUserServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) UserServiceClient { baseURL = strings.TrimRight(baseURL, "/") + userServiceMethods := v1.File_api_v1_user_service_proto.Services().ByName("UserService").Methods() return &userServiceClient{ getUser: connect.NewClient[v1.GetUserRequest, v1.GetUserResponse]( httpClient, baseURL+UserServiceGetUserProcedure, - connect.WithSchema(userServiceGetUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("GetUser")), connect.WithClientOptions(opts...), ), followUser: connect.NewClient[v1.FollowUserRequest, v1.FollowUserResponse]( httpClient, baseURL+UserServiceFollowUserProcedure, - connect.WithSchema(userServiceFollowUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("FollowUser")), connect.WithClientOptions(opts...), ), unfollowUser: connect.NewClient[v1.UnfollowUserRequest, v1.UnfollowUserResponse]( httpClient, baseURL+UserServiceUnfollowUserProcedure, - connect.WithSchema(userServiceUnfollowUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("UnfollowUser")), connect.WithClientOptions(opts...), ), listFollowers: connect.NewClient[v1.ListFollowersRequest, v1.ListFollowersResponse]( httpClient, baseURL+UserServiceListFollowersProcedure, - connect.WithSchema(userServiceListFollowersMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("ListFollowers")), connect.WithClientOptions(opts...), ), listFollowees: connect.NewClient[v1.ListFolloweesRequest, v1.ListFolloweesResponse]( httpClient, baseURL+UserServiceListFolloweesProcedure, - connect.WithSchema(userServiceListFolloweesMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("ListFollowees")), connect.WithClientOptions(opts...), ), searchUsers: connect.NewClient[v1.SearchUsersRequest, v1.SearchUsersResponse]( httpClient, baseURL+UserServiceSearchUsersProcedure, - connect.WithSchema(userServiceSearchUsersMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("SearchUsers")), connect.WithClientOptions(opts...), ), } @@ -177,40 +167,41 @@ type UserServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewUserServiceHandler(svc UserServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + userServiceMethods := v1.File_api_v1_user_service_proto.Services().ByName("UserService").Methods() userServiceGetUserHandler := connect.NewUnaryHandler( UserServiceGetUserProcedure, svc.GetUser, - connect.WithSchema(userServiceGetUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("GetUser")), connect.WithHandlerOptions(opts...), ) userServiceFollowUserHandler := connect.NewUnaryHandler( UserServiceFollowUserProcedure, svc.FollowUser, - connect.WithSchema(userServiceFollowUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("FollowUser")), connect.WithHandlerOptions(opts...), ) userServiceUnfollowUserHandler := connect.NewUnaryHandler( UserServiceUnfollowUserProcedure, svc.UnfollowUser, - connect.WithSchema(userServiceUnfollowUserMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("UnfollowUser")), connect.WithHandlerOptions(opts...), ) userServiceListFollowersHandler := connect.NewUnaryHandler( UserServiceListFollowersProcedure, svc.ListFollowers, - connect.WithSchema(userServiceListFollowersMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("ListFollowers")), connect.WithHandlerOptions(opts...), ) userServiceListFolloweesHandler := connect.NewUnaryHandler( UserServiceListFolloweesProcedure, svc.ListFollowees, - connect.WithSchema(userServiceListFolloweesMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("ListFollowees")), connect.WithHandlerOptions(opts...), ) userServiceSearchUsersHandler := connect.NewUnaryHandler( UserServiceSearchUsersProcedure, svc.SearchUsers, - connect.WithSchema(userServiceSearchUsersMethodDescriptor), + connect.WithSchema(userServiceMethods.ByName("SearchUsers")), connect.WithHandlerOptions(opts...), ) return "/api.v1.UserService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/apiv1connect/workout_service.connect.go b/server/gen/proto/api/v1/apiv1connect/workout_service.connect.go index 3557e86d..015c29a0 100644 --- a/server/gen/proto/api/v1/apiv1connect/workout_service.connect.go +++ b/server/gen/proto/api/v1/apiv1connect/workout_service.connect.go @@ -54,17 +54,6 @@ const ( WorkoutServiceUpdateWorkoutProcedure = "/api.v1.WorkoutService/UpdateWorkout" ) -// These variables are the protoreflect.Descriptor objects for the RPCs defined in this package. -var ( - workoutServiceServiceDescriptor = v1.File_api_v1_workout_service_proto.Services().ByName("WorkoutService") - workoutServiceCreateWorkoutMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("CreateWorkout") - workoutServiceGetWorkoutMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("GetWorkout") - workoutServiceListWorkoutsMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("ListWorkouts") - workoutServiceDeleteWorkoutMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("DeleteWorkout") - workoutServicePostCommentMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("PostComment") - workoutServiceUpdateWorkoutMethodDescriptor = workoutServiceServiceDescriptor.Methods().ByName("UpdateWorkout") -) - // WorkoutServiceClient is a client for the api.v1.WorkoutService service. type WorkoutServiceClient interface { CreateWorkout(context.Context, *connect.Request[v1.CreateWorkoutRequest]) (*connect.Response[v1.CreateWorkoutResponse], error) @@ -84,41 +73,42 @@ type WorkoutServiceClient interface { // http://api.acme.com or https://acme.com/grpc). func NewWorkoutServiceClient(httpClient connect.HTTPClient, baseURL string, opts ...connect.ClientOption) WorkoutServiceClient { baseURL = strings.TrimRight(baseURL, "/") + workoutServiceMethods := v1.File_api_v1_workout_service_proto.Services().ByName("WorkoutService").Methods() return &workoutServiceClient{ createWorkout: connect.NewClient[v1.CreateWorkoutRequest, v1.CreateWorkoutResponse]( httpClient, baseURL+WorkoutServiceCreateWorkoutProcedure, - connect.WithSchema(workoutServiceCreateWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("CreateWorkout")), connect.WithClientOptions(opts...), ), getWorkout: connect.NewClient[v1.GetWorkoutRequest, v1.GetWorkoutResponse]( httpClient, baseURL+WorkoutServiceGetWorkoutProcedure, - connect.WithSchema(workoutServiceGetWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("GetWorkout")), connect.WithClientOptions(opts...), ), listWorkouts: connect.NewClient[v1.ListWorkoutsRequest, v1.ListWorkoutsResponse]( httpClient, baseURL+WorkoutServiceListWorkoutsProcedure, - connect.WithSchema(workoutServiceListWorkoutsMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("ListWorkouts")), connect.WithClientOptions(opts...), ), deleteWorkout: connect.NewClient[v1.DeleteWorkoutRequest, v1.DeleteWorkoutResponse]( httpClient, baseURL+WorkoutServiceDeleteWorkoutProcedure, - connect.WithSchema(workoutServiceDeleteWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("DeleteWorkout")), connect.WithClientOptions(opts...), ), postComment: connect.NewClient[v1.PostCommentRequest, v1.PostCommentResponse]( httpClient, baseURL+WorkoutServicePostCommentProcedure, - connect.WithSchema(workoutServicePostCommentMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("PostComment")), connect.WithClientOptions(opts...), ), updateWorkout: connect.NewClient[v1.UpdateWorkoutRequest, v1.UpdateWorkoutResponse]( httpClient, baseURL+WorkoutServiceUpdateWorkoutProcedure, - connect.WithSchema(workoutServiceUpdateWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("UpdateWorkout")), connect.WithClientOptions(opts...), ), } @@ -180,40 +170,41 @@ type WorkoutServiceHandler interface { // By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf // and JSON codecs. They also support gzip compression. func NewWorkoutServiceHandler(svc WorkoutServiceHandler, opts ...connect.HandlerOption) (string, http.Handler) { + workoutServiceMethods := v1.File_api_v1_workout_service_proto.Services().ByName("WorkoutService").Methods() workoutServiceCreateWorkoutHandler := connect.NewUnaryHandler( WorkoutServiceCreateWorkoutProcedure, svc.CreateWorkout, - connect.WithSchema(workoutServiceCreateWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("CreateWorkout")), connect.WithHandlerOptions(opts...), ) workoutServiceGetWorkoutHandler := connect.NewUnaryHandler( WorkoutServiceGetWorkoutProcedure, svc.GetWorkout, - connect.WithSchema(workoutServiceGetWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("GetWorkout")), connect.WithHandlerOptions(opts...), ) workoutServiceListWorkoutsHandler := connect.NewUnaryHandler( WorkoutServiceListWorkoutsProcedure, svc.ListWorkouts, - connect.WithSchema(workoutServiceListWorkoutsMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("ListWorkouts")), connect.WithHandlerOptions(opts...), ) workoutServiceDeleteWorkoutHandler := connect.NewUnaryHandler( WorkoutServiceDeleteWorkoutProcedure, svc.DeleteWorkout, - connect.WithSchema(workoutServiceDeleteWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("DeleteWorkout")), connect.WithHandlerOptions(opts...), ) workoutServicePostCommentHandler := connect.NewUnaryHandler( WorkoutServicePostCommentProcedure, svc.PostComment, - connect.WithSchema(workoutServicePostCommentMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("PostComment")), connect.WithHandlerOptions(opts...), ) workoutServiceUpdateWorkoutHandler := connect.NewUnaryHandler( WorkoutServiceUpdateWorkoutProcedure, svc.UpdateWorkout, - connect.WithSchema(workoutServiceUpdateWorkoutMethodDescriptor), + connect.WithSchema(workoutServiceMethods.ByName("UpdateWorkout")), connect.WithHandlerOptions(opts...), ) return "/api.v1.WorkoutService/", http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { diff --git a/server/gen/proto/api/v1/auth_service.pb.go b/server/gen/proto/api/v1/auth_service.pb.go index 61d10f59..658712d1 100644 --- a/server/gen/proto/api/v1/auth_service.pb.go +++ b/server/gen/proto/api/v1/auth_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/auth_service.proto diff --git a/server/gen/proto/api/v1/errors.pb.go b/server/gen/proto/api/v1/errors.pb.go index beb534ee..97b2dc91 100644 --- a/server/gen/proto/api/v1/errors.pb.go +++ b/server/gen/proto/api/v1/errors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/errors.proto diff --git a/server/gen/proto/api/v1/exercise_service.pb.go b/server/gen/proto/api/v1/exercise_service.pb.go index 22b3ce34..09c4117a 100644 --- a/server/gen/proto/api/v1/exercise_service.pb.go +++ b/server/gen/proto/api/v1/exercise_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/exercise_service.proto diff --git a/server/gen/proto/api/v1/feed_service.pb.go b/server/gen/proto/api/v1/feed_service.pb.go index 6d8a0349..ec738777 100644 --- a/server/gen/proto/api/v1/feed_service.pb.go +++ b/server/gen/proto/api/v1/feed_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/feed_service.proto diff --git a/server/gen/proto/api/v1/notification_service.pb.go b/server/gen/proto/api/v1/notification_service.pb.go index 8c2f5521..be0b4c04 100644 --- a/server/gen/proto/api/v1/notification_service.pb.go +++ b/server/gen/proto/api/v1/notification_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/notification_service.proto diff --git a/server/gen/proto/api/v1/options.pb.go b/server/gen/proto/api/v1/options.pb.go index d99275b3..e17fe096 100644 --- a/server/gen/proto/api/v1/options.pb.go +++ b/server/gen/proto/api/v1/options.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/options.proto diff --git a/server/gen/proto/api/v1/routine_service.pb.go b/server/gen/proto/api/v1/routine_service.pb.go index 3a2429e3..8fe7048d 100644 --- a/server/gen/proto/api/v1/routine_service.pb.go +++ b/server/gen/proto/api/v1/routine_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/routine_service.proto diff --git a/server/gen/proto/api/v1/shared.pb.go b/server/gen/proto/api/v1/shared.pb.go index 0608a391..92f343fe 100644 --- a/server/gen/proto/api/v1/shared.pb.go +++ b/server/gen/proto/api/v1/shared.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/shared.proto diff --git a/server/gen/proto/api/v1/user_service.pb.go b/server/gen/proto/api/v1/user_service.pb.go index 0ecbeb8f..63feca16 100644 --- a/server/gen/proto/api/v1/user_service.pb.go +++ b/server/gen/proto/api/v1/user_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/user_service.proto diff --git a/server/gen/proto/api/v1/workout_service.pb.go b/server/gen/proto/api/v1/workout_service.pb.go index 7491324a..bb2fe4e5 100644 --- a/server/gen/proto/api/v1/workout_service.pb.go +++ b/server/gen/proto/api/v1/workout_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.0 +// protoc-gen-go v1.36.2 // protoc (unknown) // source: api/v1/workout_service.proto