package service // This package is the transport layer's entry point into the service tier. // Concrete implementations live under service/system, service/payment, // service/integration, and service/task; the aliases here give handlers one // import instead of four, and Wire composes the module provider sets directly. import ( "kra/internal/service/dto" integrationservice "kra/internal/service/integration" paymentservice "kra/internal/service/payment" systemservice "kra/internal/service/system" taskservice "kra/internal/service/task" "github.com/google/wire" ) type AccessControlService = systemservice.AccessControlService type AnnouncementService = systemservice.AnnouncementService type APIService = systemservice.APIService type AuditService = systemservice.AuditService type AuditRecorder = systemservice.AuditRecorder type AuthService = systemservice.AuthService type AuthorityService = systemservice.AuthorityService type DepartmentService = systemservice.DepartmentService type DictionaryService = systemservice.DictionaryService type EmailService = systemservice.EmailService type ExportService = systemservice.ExportService type LogViewerService = systemservice.LogViewerService type MediaService = systemservice.MediaService type MenuService = systemservice.MenuService type ParameterService = systemservice.ParameterService type PermissionService = systemservice.PermissionService type PositionService = systemservice.PositionService type SecurityService = systemservice.SecurityService type SystemConfigService = systemservice.SystemConfigService type TokenService = systemservice.TokenService type VersionService = systemservice.VersionService type PaymentService = paymentservice.PaymentService type IntegrationConfigService = integrationservice.IntegrationConfigService type TaskService = taskservice.TaskService type UserService = systemservice.UserService var ErrExportTokenMalformed = systemservice.ErrExportTokenMalformed var ErrExportTokenType = systemservice.ErrExportTokenType func IsPasswordPolicyError(err error) bool { return systemservice.IsPasswordPolicyError(err) } func DefaultPaymentCallbackAck(provider string, success bool) dto.PaymentCallbackAck { return paymentservice.DefaultPaymentCallbackAck(provider, success) } // ProviderSet aggregates all service modules for Wire. var ProviderSet = wire.NewSet( systemservice.ProviderSet, paymentservice.ProviderSet, integrationservice.ProviderSet, taskservice.ProviderSet, )