using System;
using System.Threading.Tasks;
using StardewModdingAPI.Models;
namespace StardewModdingAPI.Web.Framework.ModRepositories
{
/// A repository which provides mod metadata.
internal interface IModRepository : IDisposable
{
/*********
** Accessors
*********/
/// The unique key for this vendor.
string VendorKey { get; }
/*********
** Public methods
*********/
/// Get metadata about a mod in the repository.
/// The mod ID in this repository.
Task GetModInfoAsync(string id);
}
}