Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
486 B

using LiteDB;
using Octokit;
namespace StabilityMatrix.Core.Models.Database;
public class GithubCacheEntry
{
[BsonId]
public string CacheKey { get; set; }
public DateTimeOffset LastUpdated { get; set; } = DateTimeOffset.UtcNow;
public IEnumerable<Release> AllReleases { get; set; } = new List<Release>();
public IEnumerable<Branch> Branches { get; set; } = new List<Branch>();
public IEnumerable<GitCommit> Commits { get; set; } = new List<GitCommit>();
}