add tickets api

This commit is contained in:
2026-09-18 16:08:35 +07:00
parent 32191529a5
commit 1be16d706e
11 changed files with 778 additions and 185 deletions
+4
View File
@@ -11,6 +11,7 @@ import (
"evening_detective_server/internal/services/participation_service"
"evening_detective_server/internal/services/scenarios_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"
@@ -28,6 +29,7 @@ type server struct {
answerService *answer_service.AnswerService
reviewService *game_review_service.Service
teamService *team_service.TeamService
ticketService *ticket_service.Service
participationService *participation_service.ParticipationService
screenRepo *screen_sessions_repo.ScreenSessionsRepo
mapRepo *game_map_repo.Repo
@@ -43,6 +45,7 @@ func NewServer(
answerService *answer_service.AnswerService,
reviewService *game_review_service.Service,
teamService *team_service.TeamService,
ticketService *ticket_service.Service,
participationService *participation_service.ParticipationService,
screenRepo *screen_sessions_repo.ScreenSessionsRepo,
mapRepo *game_map_repo.Repo,
@@ -57,6 +60,7 @@ func NewServer(
answerService: answerService,
reviewService: reviewService,
teamService: teamService,
ticketService: ticketService,
participationService: participationService,
screenRepo: screenRepo,
mapRepo: mapRepo,