package dashboard

import (
	"go.uber.org/zap"

	"codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/config"
	"codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/internal/interface/http/middleware"
	svc_dashboard "codeberg.org/mapleopentech/monorepo/cloud/maplefile-backend/internal/service/dashboard"
)

// Wire provider for dashboard HTTP handlers

func ProvideGetDashboardHTTPHandler(
	cfg *config.Configuration,
	logger *zap.Logger,
	service svc_dashboard.GetDashboardService,
	mw middleware.Middleware,
) *GetDashboardHTTPHandler {
	return NewGetDashboardHTTPHandler(cfg, logger, service, mw)
}
