merch-api/internal/common/interfaces.go

15 lines
294 B
Go
Raw Permalink Normal View History

2026-03-08 14:07:00 +03:00
package common
2026-03-08 16:42:37 +03:00
import (
"context"
)
2026-03-08 14:07:00 +03:00
type MerchProvider interface {
GetTasks(ctx context.Context) ([]Task, error)
2026-03-08 16:42:37 +03:00
InsertPrices(ctx context.Context, rawPrices []Result) error
2026-03-08 14:07:00 +03:00
}
type AuthDataProvider interface {
GetPersonalData(ctx context.Context, userUuid string) (*PersonalDTO, error)
}