2023-12-06 04:47:41 +00:00
|
|
|
package provider
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2023-12-16 11:59:58 +00:00
|
|
|
resolver "github.com/satisfactorymodding/ficsit-resolver"
|
|
|
|
|
2023-12-06 04:47:41 +00:00
|
|
|
"github.com/satisfactorymodding/ficsit-cli/ficsit"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Provider interface {
|
2023-12-16 11:59:58 +00:00
|
|
|
resolver.Provider
|
2023-12-06 04:47:41 +00:00
|
|
|
Mods(context context.Context, filter ficsit.ModFilter) (*ficsit.ModsResponse, error)
|
|
|
|
GetMod(context context.Context, modReference string) (*ficsit.GetModResponse, error)
|
2023-12-07 16:57:31 +00:00
|
|
|
IsOffline() bool
|
2023-12-06 04:47:41 +00:00
|
|
|
}
|