package app import ( "evening_detective_server/internal/services/answer_service" "evening_detective_server/internal/services/file_service" "evening_detective_server/internal/services/game_review_service" "evening_detective_server/internal/services/game_service" "evening_detective_server/internal/services/gameplay_service" "evening_detective_server/internal/services/map_service" "evening_detective_server/internal/services/participation_service" "evening_detective_server/internal/services/playlist_service" "evening_detective_server/internal/services/scenarios_service" "evening_detective_server/internal/services/screen_plan_service" "evening_detective_server/internal/services/screen_service" "evening_detective_server/internal/services/task_service" "evening_detective_server/internal/services/team_service" "evening_detective_server/internal/services/ticket_service" "evening_detective_server/internal/services/ui_service" "evening_detective_server/internal/services/users_service" proto "evening_detective_server/proto" ) type server struct { proto.UnsafeEveningDetectiveServerServer usersService *users_service.UsersService uiService *ui_service.UIService taskService *task_service.TaskService fileService *file_service.FileService scenarioService *scenarios_service.ScenarioService gameService *game_service.GameService gameplayService *gameplay_service.GameplayService answerService *answer_service.AnswerService reviewService *game_review_service.GameReviewService teamService *team_service.TeamService ticketService *ticket_service.TicketService participationService *participation_service.ParticipationService screenService *screen_service.ScreenService playlistService *playlist_service.Service screenPlanService *screen_plan_service.ScreenPlanService mapService *map_service.MapService } // NewServer creates the application server. func NewServer( usersService *users_service.UsersService, uiService *ui_service.UIService, fileService *file_service.FileService, scenarioService *scenarios_service.ScenarioService, gameService *game_service.GameService, gameplayService *gameplay_service.GameplayService, answerService *answer_service.AnswerService, reviewService *game_review_service.GameReviewService, teamService *team_service.TeamService, ticketService *ticket_service.TicketService, participationService *participation_service.ParticipationService, screenService *screen_service.ScreenService, playlistService *playlist_service.Service, screenPlanService *screen_plan_service.ScreenPlanService, mapService *map_service.MapService, taskService *task_service.TaskService, ) proto.EveningDetectiveServerServer { return &server{ taskService: taskService, usersService: usersService, uiService: uiService, fileService: fileService, scenarioService: scenarioService, gameService: gameService, gameplayService: gameplayService, answerService: answerService, reviewService: reviewService, teamService: teamService, ticketService: ticketService, participationService: participationService, screenService: screenService, playlistService: playlistService, screenPlanService: screenPlanService, mapService: mapService, } }