using System; using System.Threading.Tasks; using StardewModdingAPI.Common.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); } }