Teams: Move team API to own service (#76347)

* move team API to its own service

* remove uneeded import

* reshare pref api logic
This commit is contained in:
Jo
2023-10-12 10:10:54 +02:00
committed by GitHub
parent 665dc1fa44
commit 466f8a1f5a
12 changed files with 343 additions and 223 deletions
+2
View File
@@ -141,6 +141,7 @@ import (
"github.com/grafana/grafana/pkg/services/supportbundles/supportbundlesimpl"
"github.com/grafana/grafana/pkg/services/tag"
"github.com/grafana/grafana/pkg/services/tag/tagimpl"
"github.com/grafana/grafana/pkg/services/team/teamapi"
"github.com/grafana/grafana/pkg/services/team/teamimpl"
tempuser "github.com/grafana/grafana/pkg/services/temp_user"
"github.com/grafana/grafana/pkg/services/temp_user/tempuserimpl"
@@ -342,6 +343,7 @@ var wireBasicSet = wire.NewSet(
resolver.ProvideEntityReferenceResolver,
httpentitystore.ProvideHTTPEntityStore,
teamimpl.ProvideService,
teamapi.ProvideTeamAPI,
tempuserimpl.ProvideService,
loginattemptimpl.ProvideService,
wire.Bind(new(loginattempt.Service), new(*loginattemptimpl.Service)),