mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-12 20:20:19 +01:00
43 lines
1.5 KiB
Go
43 lines
1.5 KiB
Go
package app
|
|
|
|
import (
|
|
"github.com/2fas/api/internal/api/icons/app/command"
|
|
"github.com/2fas/api/internal/api/icons/app/queries"
|
|
)
|
|
|
|
type Commands struct {
|
|
CreateWebService *command.CreateWebServiceHandler
|
|
UpdateWebService *command.UpdateWebServiceHandler
|
|
RemoveWebService *command.DeleteWebServiceHandler
|
|
RemoveAllWebServices *command.DeleteAllWebServicesHandler
|
|
|
|
CreateIcon *command.CreateIconHandler
|
|
UpdateIcon *command.UpdateIconHandler
|
|
RemoveIcon *command.DeleteIconHandler
|
|
RemoveAllIcons *command.DeleteAllIconsHandler
|
|
|
|
CreateIconRequest *command.CreateIconRequestHandler
|
|
RemoveIconRequest *command.DeleteIconRequestHandler
|
|
RemoveAllIconsRequests *command.DeleteAllIconsRequestsHandler
|
|
UpdateWebServiceFromIconRequest *command.UpdateWebServiceFromIconRequestHandler
|
|
TransformIconRequestToWebService *command.TransformIconRequestToWebServiceHandler
|
|
|
|
CreateIconsCollection *command.CreateIconsCollectionHandler
|
|
UpdateIconsCollection *command.UpdateIconsCollectionHandler
|
|
RemoveIconsCollection *command.DeleteIconsCollectionHandler
|
|
RemoveAllIconsCollections *command.DeleteAllIconsCollectionsHandler
|
|
}
|
|
|
|
type Queries struct {
|
|
WebServiceQuery *queries.WebServiceQueryHandler
|
|
WebServicesDumpQuery *queries.WebServicesDumpQueryHandler
|
|
IconQuery *queries.IconQueryHandler
|
|
IconRequestQuery *queries.IconRequestQueryHandler
|
|
IconsCollectionQuery *queries.IconsCollectionQueryHandler
|
|
}
|
|
|
|
type Cqrs struct {
|
|
Commands Commands
|
|
Queries Queries
|
|
}
|