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