package repository

import (
	adsrepository "legalgo-BE-go/internal/accessor/ads"
	categoryrepository "legalgo-BE-go/internal/accessor/category"
	logrepository "legalgo-BE-go/internal/accessor/log"
	newsrepository "legalgo-BE-go/internal/accessor/news"
	"legalgo-BE-go/internal/accessor/oss"
	redisaccessor "legalgo-BE-go/internal/accessor/redis"
	staffrepository "legalgo-BE-go/internal/accessor/staff"
	subscriberepository "legalgo-BE-go/internal/accessor/subscribe"
	subscribeplanrepository "legalgo-BE-go/internal/accessor/subscribe_plan"
	tagrepository "legalgo-BE-go/internal/accessor/tag"
	userrepository "legalgo-BE-go/internal/accessor/user"

	"go.uber.org/fx"
)

var Module = fx.Module("repository", fx.Provide(
	staffrepository.New,
	userrepository.New,
	redisaccessor.New,
	subscribeplanrepository.New,
	subscriberepository.New,
	tagrepository.New,
	categoryrepository.New,
	newsrepository.New,
	oss.New,
	adsrepository.New,
	logrepository.New,
))
