Persist maps to SQL store

This commit is contained in:
Christian Simon
2025-12-01 14:01:46 +00:00
parent ac188c1fe1
commit b9ae0c98b6
21 changed files with 1378 additions and 115 deletions
@@ -0,0 +1,15 @@
package exploremapimpl
import (
"context"
"github.com/grafana/grafana/pkg/services/exploremap"
)
type store interface {
Insert(ctx context.Context, cmd *exploremap.CreateExploreMapCommand) (*exploremap.ExploreMap, error)
Update(ctx context.Context, cmd *exploremap.UpdateExploreMapCommand) (*exploremap.ExploreMapDTO, error)
Get(ctx context.Context, query *exploremap.GetExploreMapByUIDQuery) (*exploremap.ExploreMap, error)
List(ctx context.Context, query *exploremap.GetExploreMapsQuery) (exploremap.ExploreMaps, error)
Delete(ctx context.Context, cmd *exploremap.DeleteExploreMapCommand) error
}