Get the latest commit and show it on the home page
This commit is contained in:
parent
ffb3e791ab
commit
5d67e92245
23 changed files with 233 additions and 60 deletions
31
Website/Data/States/Git/RepositoryState.cs
Normal file
31
Website/Data/States/Git/RepositoryState.cs
Normal file
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
|
||||
namespace Website.Data.States.Git {
|
||||
public class RepositoryState {
|
||||
public int id { get; set; }
|
||||
public RepositoryOwnerState owner { get; set; }
|
||||
public string name { get; set; }
|
||||
public string full_name { get; set; }
|
||||
public string description { get; set; }
|
||||
public bool _private { get; set; }
|
||||
public bool fork { get; set; }
|
||||
public object parent { get; set; }
|
||||
public bool empty { get; set; }
|
||||
public bool mirror { get; set; }
|
||||
public int size { get; set; }
|
||||
public string html_url { get; set; }
|
||||
public string ssh_url { get; set; }
|
||||
public string clone_url { get; set; }
|
||||
public string website { get; set; }
|
||||
public int stars_count { get; set; }
|
||||
public int forks_count { get; set; }
|
||||
public int watchers_count { get; set; }
|
||||
public int open_issues_count { get; set; }
|
||||
public string default_branch { get; set; }
|
||||
public DateTime created_at { get; set; }
|
||||
public DateTime updated_at { get; set; }
|
||||
public RepositoryPermissionsState permissions { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue