using System;
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
/// The config settings for mod update checks.
internal class ModUpdateCheckConfig
{
/*********
** Accessors
*********/
/// The number of minutes successful update checks should be cached before re-fetching them.
public int SuccessCacheMinutes { get; set; }
/// The number of minutes failed update checks should be cached before re-fetching them.
public int ErrorCacheMinutes { get; set; }
/// Update-check metadata to override.
public ModOverrideConfig[] ModOverrides { get; set; } = Array.Empty();
/// The update-check config for SMAPI's own update checks.
public SmapiInfoConfig SmapiInfo { get; set; } = null!;
}
}