[API Split] Move star api inside of packages (#61987)

move star api inside of packages
This commit is contained in:
ying-jeanne
2023-01-25 14:58:54 +00:00
committed by GitHub
parent 7c85db5bfa
commit b0b2b72290
5 changed files with 62 additions and 18 deletions
+2
View File
@@ -116,6 +116,7 @@ import (
"github.com/grafana/grafana/pkg/services/shorturls"
"github.com/grafana/grafana/pkg/services/shorturls/shorturlimpl"
"github.com/grafana/grafana/pkg/services/sqlstore"
starApi "github.com/grafana/grafana/pkg/services/star/api"
"github.com/grafana/grafana/pkg/services/star/starimpl"
"github.com/grafana/grafana/pkg/services/stats/statsimpl"
"github.com/grafana/grafana/pkg/services/store"
@@ -327,6 +328,7 @@ var wireBasicSet = wire.NewSet(
publicdashboardsStore.ProvideStore,
wire.Bind(new(publicdashboards.Store), new(*publicdashboardsStore.PublicDashboardStoreImpl)),
publicdashboardsApi.ProvideApi,
starApi.ProvideApi,
userimpl.ProvideService,
orgimpl.ProvideService,
statsimpl.ProvideService,