package translation import ( "tercul/internal/app/authz" "tercul/internal/domain" ) // Service is the application service for the translation aggregate. type Service struct { Commands *TranslationCommands Queries *TranslationQueries } // NewService creates a new translation Service. func NewService(repo domain.TranslationRepository, authzSvc *authz.Service) *Service { return &Service{ Commands: NewTranslationCommands(repo, authzSvc), Queries: NewTranslationQueries(repo), } }